Oracle Exadata Storage unvailed

September 27, 2008

A few days ago Larry Ellison has unvailed Oracle Exadata Storage, a family of software and hardware products including a hardware product which has been designed specially for large Data Warehouses in cooperation with HP, HP Oracle Database Machine.

The Database Machine runs Oracle Database 11g and Real Application Clusters, Oracle Enterprise Linux, and includes all the required Infiniband infrastructure and related hardware.

This is the first hardware product ever Oracle marketed under its own name.
It integrates Oracle Database Software with highly suffisticated hardware using Linux and ASM to build a very fast database maschine.

You can find more detailed information on Kevin Closson’s blog where he maintains an FAQ page.
Kevin is Performance Architect in Oracle’s Systems Technology Group which is a part of Server Technologies.

A few impressions from OOW by Tim Hall can be found on his blog.

 

 


How to capture a workload in 10g for testing in 11g

March 3, 2008

Last week the patchset 10.2.0.4 was released by Oracle.

 This patchset not only contains bugfixes but also comes with a number of New Features.

One of the highlights is the possibilty to capture a workload in a 10.2.0.4 database and ship it to an 11g database for testing.

Only with this feature in place the 11g Real Application Testing Feature DATABASE REPLAY makes real sense.
Before this patchset it was only possible to capture a workload in an 11g database and run it for  testing in an also 11g database.

For more detailed evaluation please see my chapter on CHANGE MANAGEMENT in the forthcoming 11g New Features book.

book_cover_oracle_11g_new_features_255.jpg It will be shipping aroung middle of the year.

Now customers can check in front what an upgrade would bring for them.

Here is a brief desription of the new 1og Feature:

LUTZ AS SYSDBA @ orcl10g SQL> SELECT * FROM v$version;

BANNER
—————————————————————-
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 – Prod
PL/SQL Release 10.2.0.4.0 – Production
CORE    10.2.0.4.0      Production
TNS for Linux: Version 10.2.0.4.0 – Production
NLSRTL Version 10.2.0.4.0 – Production

In 10.2.0.4 a new paramter is used to enable workload capturing:

LUTZ AS SYSDBA @ orcl10g SQL> show parameter pre_11

NAME                                 TYPE        VALUE
———————————— ———– ——————————
pre_11g_enable_capture               boolean     FALSE
Note:
The PRE_11G_ENABLE_CAPTURE initialization parameter can only be used with Oracle Database 10g Release 2 (10.2). This parameter is not valid in subsequent releases. After upgrading the database, you will need to remove the parameter from the server parameter file (spfile) or the initialization parameter file (init.ora); otherwise, the database will fail to start up.

Oracle even has created the script $ORACLE_HOME/rdbms/admin/wrrenbl.sql which can be used to modity the parameter.  The script to disable workload capture is $ORACLE_HOME/rdbms/admin/wrrdsbl.sql.  

The package DBMS_WORKLOAD_CAPTURE has been added to the 10g RDBMS. This is the interface to workload capturing and filtering:

SYS AS SYSDBA @ orcl10g SQL> desc dbms_workload_capture


PROCEDURE ADD_FILTER
 Argument Name                  Type                    In/Out Default?
 —————————— ———————– —— ——–
 FNAME                          VARCHAR2                IN
 FATTRIBUTE                     VARCHAR2                IN
 FVALUE                         VARCHAR2                IN
PROCEDURE ADD_FILTER
 Argument Name                  Type                    In/Out Default?
 —————————— ———————– —— ——–
 FNAME                          VARCHAR2                IN
 FATTRIBUTE                     VARCHAR2                IN
 FVALUE                         NUMBER                  IN
PROCEDURE DELETE_CAPTURE_INFO
 Argument Name                  Type                    In/Out Default?
 —————————— ———————– —— ——–
 CAPTURE_ID                     NUMBER                  IN
PROCEDURE DELETE_FILTER
 Argument Name                  Type                    In/Out Default?
 —————————— ———————– —— ——–
 FNAME                          VARCHAR2                IN
PROCEDURE EXPORT_AWR
 Argument Name                  Type                    In/Out Default?
 —————————— ———————– —— ——–
 CAPTURE_ID                     NUMBER                  IN
PROCEDURE FINISH_CAPTURE
 Argument Name                  Type                    In/Out Default?
 —————————— ———————– —— ——–
 TIMEOUT                        NUMBER                  IN     DEFAULT
 REASON                         VARCHAR2                IN     DEFAULT
FUNCTION GET_CAPTURE_INFO RETURNS NUMBER
 Argument Name                  Type                    In/Out Default?
 —————————— ———————– —— ——–
 DIR                            VARCHAR2                IN
FUNCTION REPORT RETURNS CLOB
 Argument Name                  Type                    In/Out Default?
 —————————— ———————– —— ——–
 CAPTURE_ID                     NUMBER                  IN
 FORMAT                         VARCHAR2                IN
PROCEDURE START_CAPTURE
 Argument Name                  Type                    In/Out Default?
 —————————— ———————– —— ——–
 NAME                           VARCHAR2                IN
 DIR                            VARCHAR2                IN
 DURATION                       NUMBER                  IN     DEFAULT
 DEFAULT_ACTION                 VARCHAR2                IN     DEFAULT
 AUTO_UNRESTRICT                BOOLEAN                 IN     DEFAULT

And the data dictionary views DBA_WORKLOAD_CAPTURES and DBA_WORKLOAD_FILTERS can be used to monitor the captures.

 As in 11g the packages captures all incomming requestes into external files which need to be shipped to a testing system and pre-processed on the testing system. Those files contain logical information to replay client requests in the appropriate sequence and with all contention and waiting as it happened on the capture site. On the testing site we need to start replay clients to run the test workload.

This is the interface for REPLAY DATABASE in the OEM GUI:

capture_in_10g.png

The executable $ORACLE_HOME/bin/wrc is only available in 11g.

 So we can now capture in 10g and replay in 11g.


being a blind eyed Oracle instructor – system partitioning in 11g

February 8, 2008

Tonight I met with Laurent Schneider and we had a couple of beers together.

laurent_schlachthof.jpg We chatted about God and the world and we had lots of fun.

Amoung others we talked about things in Oracle 11g which do not really work yet and¦or are undocumented or documented wrong.
I was lucky to be able to tell him about things which he did not know about yet
like the not yet documented parameter DDL_LOGGING, see my post here.  I think that Oracle development just forgot to document it.

It is hard to catch up with Laurent sometimes!

I am the reviewer of Laurent’s yet to be published book on 11g SQL for advanced developers and DBAs and he demonstrated some features he had filed a BUG for in the last days.

Of course Oracle 11g was a big topic and we have found out some interesting things about system partitioning ( it is more that he found out than me, altough I teach the stuff to people in my New Features courses !!!!)

He  talked about something in one of the chapters in his book which he had found about system partitioning in 11g and which did not work. 

I got suspicious because I was so sure that it was possible, since it was something I teach to my students in my 1day 11g New Features Overview classes.
But I had to back down and confess again that I did not really verify every single bit of code of the Oracle Coureseware.

This is why I want to share the lecture I had to take tonight (luckily with a couple of beers!):

Oracle has introduced a number of new partitioning algorithms with release 11g.  One of these new features is called SYSTEM PARTITIONING. This is very handy if you want to partition a table but cannot make uo your mind about a partitioning key for some reason. Maybe there is only one column holding xml data in the table or what so ever.

The current version of the courseware for the 11g New  Features Courses says that the following syntax is valid and Laurent showed me that it is not:

– I create a table which is system partitioned:

SYS AS SYSDBA @ orcl SQL> create table lutz.t3 (col1 number, col2 number)
  2  partition by system
  3  (partition p1);
Table created.

– I create a bind varable (first time a number second time a string)
– which I want to use to tell Oracle which partition to user for an INSERT
–and assign it the value 1 and try an INSERT:

SYS AS SYSDBA @ orcl SQL> var par number
SYS AS SYSDBA @ orcl SQL> exec :par:=1
SYS AS SYSDBA @ orcl SQL> insert into lutz.t3 partition (:par) values (1,2);
insert into lutz.t3 partition (:par) values (1,2)
                               *
ERROR at line 1:
ORA-14108: illegal partition-extended table name syntax

– I try another time with a bid variable of type string:

SYS AS SYSDBA @ orcl SQL> var par varchar2(2)
SYS AS SYSDBA @ orcl SQL> exec :par:=’p1′

SYS AS SYSDBA @ orcl SQL> insert into lutz.t3 partition (:par) values (1,2);
insert into lutz.t3 partition (:par) values (1,2)
                               *
ERROR at line 1:
ORA-14108: illegal partition-extended table name syntax

– I try it for a last time and now I try to use the partition number directly:

SYS AS SYSDBA @ orcl SQL> insert into lutz.t3 partition (1) values (1,2);
insert into lutz.t3 partition (1) values (1,2)
                               *
ERROR at line 1:
ORA-14108: illegal partition-extended table name syntax

The same error pops up!

And here is the explanation of the error:

[oracle@rhas4 ~]$ oerr ora 14108
14108, 00000, “illegal partition-extended table name syntax”
// *Cause:  Partition to be accessed may only be specified using its name.
//          User attempted to use a partition number or a bind variable.
// *Action: Modify statement to refer to a partition using its name

You can only reference a system partition with its name not by its number or even via a bind variable! At least not in 11.0.6!!!

Sorry people but I just could not yet test all of the more than 500 New Features in the courseware. But I will keep on hitting the road, for sure!

=;-)


Oracle Virtualization Server is downloadable now!

November 14, 2007

It is out for download now:


http://www.oracle.com/technology/tech/virtualization/index.html?rssid=rss_otn_news

Virtualization Technology Center

Virtualization is the process of abstracting computing resources such that multiple operating system and application images can share a single physical server, bringing significant cost-of-ownership and manageability benefits. Through its Oracle VM product, Oracle offers scalable, low-cost server virtualization for heterogeneous applications.


New book on 11g ASM published

November 14, 2007

There are a couple of books on the market already which cover 11g features.
As always many of them do not really cover a lot of the new features because everything is so new and the books were written under preasure. So the have the “COVERS 11g” on the cover but inside it is mostly 10g stuff.

Here is one which is a MUST READ for everybody who is interested how Automatic Storage Management (ASM) really works:
Oracle Automatic Storage Management asm_book.jpg 
What makes this book especially interesting is the fact that the authors are the Oracle developers of ASM themselves, Nitin Vengurlekar and  Richard Long, and Murali Vallath., the president of the RAC SIG,  plus the architect of the technology Bill Bridge who wrote the foreword for the book .

This book keeps its promises and covers the 10g and 11g features of ASM in detail.
And it is an easy reader with a sence of humor:

“The ACD is a log that allows ASM to make atomic changes to multiple data structures. It is similar to the redo logs used by the Oracle RDBMS. Each instance gests a 42 MB chunk of the ACD. (As Douglas Adams explained in Hitchiker’s Guide to the Galary, “42″ is the answer to the ultimate question of life, the Univese and Everything.) …

 This is the way of reading I like!!

Thank you guys, I love it


Real Application Testing new features announced

November 14, 2007

Leng Leng Tan announced in her presentation yesterday, that
patchset 10.2.0.4 which will be available very soon!!! mask_02.jpg


which will allow to mask sensitive data in a captured workload  mask_01.jpg
so it is not possible to read the data in plain in the testing environment, but still run the workload for testing anyway. This will definitively make it more attractive for a number of customers to use Database Replay, one of the Real Application Testing (RAT) features in 11g.

Also it will be possible to capture a workload on a 10.2.0.4 database and run it on an 11g database for testing!!!


Realtime SQL Monitoring with Enterprise Manager 11g

November 13, 2007

Oracle VP Leng Leng Tan lang_lang.jpg and two members of her team presented some highlights of the new OEM which is at the beta level at present. You can find details  for her OOW presentations and demos and other sources here.

I want to share two of them:  sql_monitor_01.jpg The first is SQL Real Time Monitoring:
With OEM 11g it is possible to monitor every sql statement in real time while it is running.

 We will soon have a graphical interface which we can use to monitor sql statements while they are running and can drill down into the statement’s steps sql_monitor_021.jpg sql_monitor_03.jpg sql_monitor_04.jpg sql_monitor_05.jpg 

  and see which step takes how much DB-TIME and what does it consume: is it CPU is it I/O and so forth. This makes it very easy to find out which step needs tuning exactly. In the demo yesterday they executed a long runnig parallel select and showed how easy it is to find out which full table scan need tuning in order to improve the performance of teh entire statement.

This is a very cool feature!

My next post will be about Data masking for testing.
=,-)


Oracle Enterise Manager 10.2.0.4 now available

November 13, 2007

As of last week Enterprise Manager 10g Grid Control Release 4 (10.2.0.4) is available for Windows 32 bit and Linux 32 bit!
Also the Agent is available for Win 32 and Linux X86 .


Oracle 11g for HP, SUN Solaris & AIX available

November 13, 2007

Oracle 11g database is now available for the following platforms:

Microsoft Windows (32-bit) (1.7 GB) 
Microsoft Windows (x64) (1.7 GB)
Linux x86 (1.7 GB)
Linux x86-64 (1.8 GB)
Solaris (SPARC) (64-bit) (1.9 GB)
AIX (PPC64) Disk 1, Disk 2 (2.3 GB) 
HP-UX Itanium Disk 1, Disk 2 (2.3 GB)


Oracle Virtual Server for download

November 13, 2007

Tonight I was at a session with Wim Coekaerts wim01.jpg
who is responsible for all Linux related stuff at Oracle.
He is also the project leader for the Oracle Virtual Server.

Wim told me that the software for the OVS will be
available for download latest Thursday this week (Nov. 15th. 2007).

I asked him whether OVS is zertified for RAC and he said
that it is not right now but it will be soon, sometime beginning next year.


Follow

Get every new post delivered to your Inbox.