Wednesday, May 8, 2013

gv$cell_thread_history ; A Nice View

There are certain dictionary views available to monitor the Exadata cells from the database.One of the view is gv$cell_thread_history. This view is very interesting as it delves down to the session level with its serial number, SQL, specific cell, instance and also which Exadata object was waited and every entry is logged with the time. Looks very cool:

SQL> desc gv$cell_thread_history
 Name                                                  Null?    Type
 ----------------------------------------------------- -------- ------------------------------------
 INST_ID                                                        NUMBER
 CELL_NAME                                                      VARCHAR2(1024)
 SNAPSHOT_ID                                                    NUMBER
 SNAPSHOT_TIME                                                  DATE
 THREAD_ID                                                      NUMBER
 JOB_TYPE                                                       VARCHAR2(32)
 WAIT_STATE                                                     VARCHAR2(32)
 WAIT_OBJECT_NAME                                               VARCHAR2(32)
 SQL_ID                                                         VARCHAR2(13)
 DATABASE_ID                                                    NUMBER
 INSTANCE_ID                                                    NUMBER
 SESSION_ID                                                     NUMBER
 SESSION_SERIAL_NUM                                             NUMBER

Here is a sample code snippet:

SQL> select wait_object_name,count(*) cnt from gv$cell_thread_history group by wait_object_name order by cnt;

WAIT_OBJECT_NAME                        CNT
-------------------------------- ----------
UserThread Cond                           4
PredicateDisk-113                         4
bwresv Q_1/2k                             4
bufWaitObjQ_8k                            4
PredicateDiskRead IO Completion           4
bwresv Q_8k                               4
FSA: cache replacementQ_1MHugePa          4
CachePut Fence                            4
NetworkDirectory ReqHandle                4
PredicateCacheGetJob                      4
Flash Cache LRU                           4
FSA: Cache Get Job                        4
DiskDirectory HT                          4
GenTimeStats Operation                    4
in use Q_8k                               4
Completed Map Element List                4
gdisk ext                                 4
FSA: fcCtxt                               8
FSA: cache replacementQ_8k                8
FlashCache HT buckets                     8
PredicateDisk-110                         8
FC outstanding IOs                        8
IOContext                                 8
Cache Completed Jobs                      8
PredicateDisk-32                         12
PredicateDisk-56                         12
PredicateDisk-50                         12
PredicateDisk-22                        12

Log Buffer #318, A Carnival of the Vanities for DBAs

News and views are an integral part of our modern daily life. When it comes to the information-hungry roles such as database professionals, such need becomes more pressing. Log Buffer is one way to keep abreast of news and views from the world of Oracle, SQL Server, and MySQL.

Oracle:

There is a significant update SLOB 2, Kevin Closson informs.
Charles Hooper is grouping Data Sets by Week Number of the Month.
Chris Antognini has shared a script that is used to demo ITL deadlocks.
As Exadata Storage Indexes (SI) are purely memory only structures located on the Exadata storage servers, care needs to be taken in how much memory they can potentially consume.
Connon McDonald says that its not about the outage, but….

SQL Server:

Richard Douglas is giving information about SQL Server events in UK.
Thomas LaRock has been involved in a virtualization projects for almost ten years now.
Kendra Little has five things about Fillfactor.
Kevin Kline suggests to use TPC database benchmarks to save money.
Here’s a quick mystery. You have a SQL Server with several jobs that appear to be running properly and on schedule, but many of them show no history.

MySQL:

How does InnoDB behave without a Primary Key? Jeremy Cole asks.
The MariaDB project is pleased to announce the immediate availability of the MariaDB Java Client 1.1.2.
Normal 0 false false false EN-US X-NONE X-NONE Everybody loves free. It is the best marketing term one could use.
MySQL Cluster Manager 1.2.3 is now available to download from My Oracle Support.
When is a Subquery Executed?  Øystein Grøvlen writes.

This post appeared at Pythian Blog initially.

Saturday, November 10, 2012

Log Buffer #294 Appears

Log writer process of Oracle is one of the most revered background process, a real work horse, a real charming darling who keeps the whole Oracle database system consistent and humming beautifully and many technologies in Oracle sprout from this good old process. Consistency is the key in database systems, and so in the Log Buffer Editions, and this Log Buffer #294 continues it. And yes, the coolest 2012 PASS Summit is also there.

Read More.

Thursday, November 1, 2012

Hanging with Jonathan Lewis at Oracle Open World 12 San Francisco


Hanging with Tom Kyte and Malenie Caffrey at AUSOUG Perth


Oracle with 20:20 Foresight Perth Australia was awesome

Perth is far from everywhere, but not far from the Oracle technologies. Passion, knowledge, and urge to share the experience, skills, tips and knowledge brought people from across the planet to gather under one roof and learn, educate and network under the banner of Oracle with 20:20 Foresight.

The event was organized by the Australian Oracle User Group with many other sponsors and exhibitors and was a explosion of innovation. Where there is Oracle on this planet, Pythian is there, rest assured. We presented three papers during this mega conference in West of Australia. Yury Velikanov presented on Direct NFS, and I presented on Exadata Patching and Oracle IORM in Exadata. Pythian’s Warren Adkins was also present during the event.

The sessions by Tom Kyte, Malenie Caffrey, Connor McDonald, Peter Sharman, Martin Power and Paul Geurin were few of the many great presenters. From pluggable databases to Oracle Data Archive, and from R12 migrations to Exadata, the conference had everything for everyone. It also supported the great cause of cancer council in Western Australia and the passion for it was great too.

Tuesday, October 16, 2012

Speaking in Perth at Oracle with 20:20 Foresight

The remotest city of the world, the capital of Western Australia, Perth is once again having its premier Oracle conference.

AUSOUG and OAUG invite you to join your colleagues from the WA Oracle community at their premier WA Oracle Conference being held at Hilton Parmelia Perth Hotel 29 - 30 October 2012.

The conference theme is "Technology and Applications Conference for the Oracle User Community".

I will be presenting there on Demystification of Oracle DBRM with IORM in Exadata and you can find my session location and time in the conference program

See you there in Perth on Oracle with 20:20 Foresight.

Followup to OTN Expert+ Conference at FAST

Firstly, thanks to all of you who attended the session and then sent the questions afterwards through the email and Twitter. Also apologies for rushing the session as we were very short on time. I will be presenting this session again very soon and will update the date and venue here. I will also be uploading the slides to the site in the near future.

Thanks to Oracle Technology Network (OTN) and Tariq Farooq of Brain Surface for having me there.

Thanks again.

Monday, October 15, 2012

Speaking at OTN Expert+ Conference @NUCES/FAST Lahore

Following is the detail of the event from the FAST NU website:

Oracle Technology Network (OTN) Expert+ Conference for the Oracle Community @NUCES/FAST Lahore

Oracle Technology Network (OTN) Presents:

Attend4FREE! - 5 Hours of Expert+ Speakers & Sessions!

Oct 16, 2012 5pm - 10pm Pakistan Time

100% LIVE: Attend Physically OR Virtually - @NUCES/FAST Lahore

100% FREE - Attend virtually by clicking on the link shown below:

https://www3.gotomeeting.com/register/452999046

Presented by Oracle Technology Network (OTN), Organized by BrainSurface & hosted at the prestigious National University of Computer and Emerging Sciences (FAST-NU), this is a DO-NOT-MISS event where some of the worlds best known independent Oracle experts come together physically and virtually in the first-ever independent Oracle-centric conference in Pakistan.

Physical Venue: National University of Computer & Emerging Sciences (FAST-NU) Block-B, Faisal Town, Lahore. Pakistan

Tel: +92-42-111-128-128

Wednesday, September 19, 2012

Speaking at Oracle Open World 2012 in San Fransico

When Oracle opens the world, it stays opened. Like every year, the climax of all things Oracle will be showcased in the elegant and bustling American city of San Fransisco. My session on Exadata patching will be there and its details are as follows:

=== Session Details ===

Smooth as Silk Oracle Exadata Patching CON6588 Conference Session Fahd Mirza Chughtai Thursday October 4, 2012, 11:15 – 12:15 Moscone West – Rm 3024 The more components a system has, the more challenging its maintenance becomes. Oracle Exadata marries storage with computation through a fast reliable network, and patching all of these seem daunting.  Many companies seem to struggle with it, with some even avoiding it altogether by keeping it ”pending”. This presentation will give tested, applied and working tips to make the Oracle Exadata patching experience smooth as silk, like vacationing in Hawaii.

See you there in SFO at OOW.