Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to increase the Ini_trans for an index with and without rebuilding the index, and how to hash pa

Satyam ReddyFeb 16 2016 — edited Feb 18 2016

Team,

I have been doing stress test for my application and after looking at the top activity tab in the ORacle OEM , I have found out few recommendations. Could you please assist me in implementing the recommendations.

All our Indexes have ini_trans has 2 and max_Trans as 255.

Assuming we have base index IDX_CO_USRPASS on scott.emp table for column hiredate please provide your suggestion in this case.

Recomendation 1:


Consider increasing INITRANS for the INDEX "IDX_CO_USRPASS" with object ID 125068 without rebuilding it.

The SQL statement with SQL_ID "f2gfdy1mdjdz9" was found waiting for the Interested Transaction List (ITL) enqueue on the INDEX "IDX_CO_USRPASS" with object ID 125068.


Recommendations :2

Consider rebuilding the INDEX "IDX_CO_USRPASS" with object id 125068 using a higher value for INITRANS.

The SQL statement with SQL_ID "f2gfdy1mdjdz9" was found waiting for the Interested Transaction List (ITL) enqueue on the INDEX "IDX_CO_USRPASS" with object ID 125068.


Recommendation :3

Consider hash partitioning the INDEX "IDX_CO_USRPASS" with object ID 125068 in a manner that will evenly distribute concurrent DML across multiple partitions.

The SQL statement with SQL_ID "f2gfdy1mdjdz9" was found waiting for the Interested Transaction List (ITL) enqueue on the INDEX "IDX_CO_USRPASS" with object ID 125068.

THe above recommendations were suggested during an insert happening into the table.


Hope this index info from user_indexes data dictionary would be useful in assisting me further:


                                                      

INDEX_NAMEINDEX_TYPETABLE_NAMETABLE_TYPEUNIQUENESSCOMPRESSIONPREFIX_LENGTHTABLESPACE_NAMEINI_TRANSMAX_TRANSINITIAL_EXTENTNEXT_EXTENTMIN_EXTENTSMAX_EXTENTSPCT_INCREASEPCT_THRESHOLDINCLUDE_COLUMNFREELISTSFREELIST_GROUPSPCT_FREELOGGINGBLEVELLEAF_BLOCKSDISTINCT_KEYSAVG_LEAF_BLOCKS_PER_KEYAVG_DATA_BLOCKS_PER_KEYCLUSTERING_FACTORSTATUSNUM_ROWSSAMPLE_SIZELAST_ANALYZEDDEGREEINSTANCESPARTITIONEDTEMPORARYGENERATEDSECONDARYBUFFER_POOLFLASH_CACHECELL_FLASH_CACHEUSER_STATSDURATIONPCT_DIRECT_ACCESSITYP_OWNERITYP_NAMEPARAMETERSGLOBAL_STATSDOMIDX_STATUSDOMIDX_OPSTATUSFUNCIDX_STATUSJOIN_INDEXIOT_REDUNDANT_PKEY_ELIMDROPPEDVISIBILITYDOMIDX_MANAGEMENTSEGMENT_CREATED
IDX_CO_USRPASSNORMALscott.empTABLENONUNIQUEDISABLEDscott22556553610485761214748364510YES2863478143211864691VALID8653271088412/15/2016 3:4511NONNNDEFAULTDEFAULTDEFAULTNOYESNONONOVISIBLEYES

Thanks

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 17 2016
Added on Feb 16 2016
11 comments
2,646 views