ENQ: TX - index for cars running

Hi all
The system configuration is node 2 11 GR 2 cars used by 11.5.10.2 application ERP on RHEL 5

Face claim to index to insert it on the big table with 27 million.
We have solved this after purging of data to reduce the lines to 4 million and rebuild the index.
I was against the approach to keep mind that the tree index B are self balanced do not rebuold

I have presentation Joel and JLewis comments on this wait event
Index stats before purge :

SQL> select NAME,HEIGHT,BLOCKS,LF_ROWS,LF_BLKS ,LF_BLK_LEN,BR_BLKS,DISTI
NCT_KEYS ,BTREE_SPACE,USED_SPACE ,PCT_USED  from index_stats;

NAME                               HEIGHT     BLOCKS    LF_ROWS    LF_BLKS LF_BLK_LEN    BR_BLKS DISTINCT_KEYS BTREE_SPACE USED_SPACE   PCT_USED
------------------------------ ---------- ---------- ---------- ---------- ---------- ---------- ------------- ----------- ---------- ----------
OE_PROCESSING_MSGS_TL_U1                3     151040   27108882     149878       4276        422      27108882   644266144  516301179         81


Index stats After purge :


SQL> select NAME,HEIGHT,BLOCKS,LF_ROWS,LF_BLKS ,LF_BLK_LEN,BR_BLKS,DISTINCT_KEYS ,BTREE_SPACE,USED_SPACE ,PCT_USED  from index_stats;


NAME                               HEIGHT     BLOCKS    LF_ROWS    LF_BLKS LF_BLK_LEN    BR_BLKS DISTINCT_KEYS BTREE_SPACE USED_SPACE   PCT_USED
------------------------------ ---------- ---------- ---------- ---------- ---------- ---------- ------------- ----------- ---------- ----------
OE_PROCESSING_MSGS_TL_U1                3      14816     4763902     14556    5644         34        4763902    82618912    90654959           110


ASH data before data purge
-----------------------

Top User Events                   DB/Inst: PROD/PROD1  (Apr 04 12:00 to 13:00)

                                                               Avg Active
Event                               Event Class        % Event   Sessions
----------------------------------- --------------- ---------- ----------
db file sequential read             User I/O             32.36       9.69
read by other session               User I/O             19.43       5.82
enq: TX - index contention          Concurrency          11.29       3.38
enq: TX - row lock contention       Application          10.78       3.23
CPU + Wait for CPU                  CPU                   7.32       2.19
          -------------------------------------------------------------



Top Service/Module                DB/Inst: PROD/PROD1  (Apr 04 12:00 to 13:00)

Service        Module                   % Activity Action               % Action
-------------- ------------------------ ---------- ------------------ ----------
PROD           NPIWIPLR                      23.90 Concurrent Request      23.90
               OMRSVORD                       9.44 Concurrent Request       9.44
               NPIIMGION                      8.65 Concurrent Request       8.65
               OEOIMP                         4.53 Concurrent Request       4.53
               OEXOEORD                       3.83 FRM:B82562:NPI Cus       1.09
          -------------------------------------------------------------


Top User Events                   DB/Inst: PROD/PROD2  (Apr 04 12:00 to 13:00)

                                                               Avg Active
Event                               Event Class        % Event   Sessions
----------------------------------- --------------- ---------- ----------
db file sequential read             User I/O             30.41       5.62
CPU + Wait for CPU                  CPU                  22.40       4.14
enq: TX - row lock contention       Application          13.71       2.53
enq: TX - index contention          Concurrency           8.24       1.52
read by other session               User I/O              7.80       1.44
          -------------------------------------------------------------

Service        Module                   % Activity Action               % Action
-------------- ------------------------ ---------- ------------------ ----------
PROD           NPIWIPLR                      10.21 Concurrent Request      10.21
               OEXOIMPT                       9.60 FRM:B60221:NPI Cus       4.31
                                                   FRM:N11217:NPI Cus       2.75
                                                   FRM:N13737:NPI Ord       2.54
               OEXOEORD                       8.78 FRM:N11247:NPI Cus       3.80
                                                   FRM:C35809:NPI Cus       1.34
                                                   FRM:N11218:NPI Cus       1.20
               NPIIMGION                      6.67 Concurrent Request       6.67
               NPISLIM                        5.41 Concurrent Request       5.41
          -------------------------------------------------------------
Questions

(1) even if it seems he does not index unique sequence but the claim is there?
(2) after reconstruction, we see pct_used > 110, what will happen?
(3) prior use was 81 per cent, is higher and would lead to node splits for large indsddexes?

Concerning
KG

KG says:

Face claim to index to insert it on the big table with 27 million.
We have solved this after purging of data to reduce the lines to 4 million and rebuild the index.
I was against the approach to keep mind that the tree index B are self balanced do not rebuold

First point to note - if you delete M 23 rows in a table with 27 million lines, it is probably a good idea to rebuild the table and the index to recover the space empty, unless you wait another 20 million lines to be arriviing soon and re-use of space very soon. In fact, you can use the dbms_redefinition package to extract the data you want to keep rather than a deletion. Alternatively you could actually marked as unused as an index on the table that you can get away with before to delete data and (optionally) make an area of narrowing.

>

Index before you purge statistics:

SQL> select NAME,HEIGHT,BLOCKS,LF_ROWS,LF_BLKS ,LF_BLK_LEN,BR_BLKS,DISTI
NCT_KEYS ,BTREE_SPACE,USED_SPACE ,PCT_USED  from index_stats;

NAME                               HEIGHT     BLOCKS    LF_ROWS    LF_BLKS LF_BLK_LEN    BR_BLKS DISTINCT_KEYS BTREE_SPACE USED_SPACE   PCT_USED
------------------------------ ---------- ---------- ---------- ---------- ---------- ---------- ------------- ----------- ---------- ----------
OE_PROCESSING_MSGS_TL_U1                3     151040   27108882     149878       4276        422      27108882   644266144  516301179         81

Index stats After purge :

SQL> select NAME,HEIGHT,BLOCKS,LF_ROWS,LF_BLKS ,LF_BLK_LEN,BR_BLKS,DISTINCT_KEYS ,BTREE_SPACE,USED_SPACE ,PCT_USED  from index_stats;

NAME                               HEIGHT     BLOCKS    LF_ROWS    LF_BLKS LF_BLK_LEN    BR_BLKS DISTINCT_KEYS BTREE_SPACE USED_SPACE   PCT_USED
------------------------------ ---------- ---------- ---------- ---------- ---------- ---------- ------------- ----------- ---------- ----------
OE_PROCESSING_MSGS_TL_U1                3      14816     4763902     14556    5644         34        4763902    82618912    90654959           110

(1) even if it seems he does not index unique sequence but the claim is there?
(2) after reconstruction, we see pct_used > 110, what will happen?
(3) prior use was 81%, it is higher and would lead to node splits large index?

One of the comments in one of the blogs I wrote on the index highlights a key problem: http://jonathanlewis.wordpress.com/2009/07/20/index-quiz-1/#comment-33897
Note the LF_BLK_LEN in both cases: it is well below the 8000 bytes you get in general for an index btree, built in a block size of 8 KB. This is because the ITL list in some of the blocks sheet has grown to manage concurrent changes to the blocks, and the command ANALYZE took the biggest list ITL as typical of ALL blocks in the index. 110% and 81% are a side effect of this as Oracle took the used_space and the number of lf_blks * lf_blk_len to calculate the percenage: for example 90654959 / (5644 * 14556) = 1.1035

You have created the index with a very large INITRANS, either a number of pads of sheets have already been under pressure concurrent insert and hit the "ITL Explosion" bug, losing a lot of inputs ITL which can not be recovered without some sort of index maintenance.

You said that the index is not based on a sequence - but is it based on some form of monotonous increasing value (for example, a timestamp), you don't need a sequence to hit the problem you just need values that continue to increase. The problem is the number of basis 8767925 bug, fixed in paragraph 12.1 with backports available for some versions.

Concerning
Jonathan Lewis

Tags: Database

Similar Questions

  • For loop runs with the value of N unwired

    In this case will be a loop run connected to the loop N worthless? I have seen a few examples of the loop for run without a certain number of times set to be ran wired or for example a size of table or something like that.

    PauldePaor wrote:

    Here's a program I am and as you can see the image that the program runs without the loop N being wired. The program will run without problem

    As everyone else has said, you don't have to plug something on N.  If you wire up a table for loop for input "auto-index", the loop for will run automatically the smaller table size.

    Perhaps an example will help:

    This makes a loop on my table size (in this case, long of 5 elements).  On the edge of the loop for which resembles [] brackets, indicates that it is auto-indexé.  The loop should go through each item one at a time (1, then 2, then 3, then 4, then 5).

  • How to print an index for a directory?

    original title: print the directory

    How to print an index for a directory?  At home I run Windows 7, but I really want to do this at work - OS is Vista Business

    You mean "how to print a list of the directories?
    http://www.Google.com/search?q=how+do+I+print+a+directory+listing

    How to add the feature print directory for files in Windows XP, Windows Vista, in Windows 7
    http://support.Microsoft.com/kb/321379

    HTH

  • Test driver for agilent 8960 for instruments run CDMA

    Hi, just wonder if there is an instrument for agilent 8960 for driver run CDMA tests? I know 8960 has E1963 and E1968, but 1963 is designed for W-CDMA and GSM/GPRS/EGPRS 1968. So there is a driver designed for CDMA mode? Thank you very much!

    Unfortunately, it is not that there is currently a.  When I search the Instrument Driver Network, I can't find that both pilots that you pointed out.

    Brandon Treece

    Technical sales engineer

    National Instruments

  • What a time limit for care?

    I waited more than 10 minutes and more for others to make their movements.

    What a time limit for care?

    There are players who walk away a game when they are behind but never

    you know, if you wait for a long time and then must get yourself out.

    A very juvenile manner to act.

    This game is fun when you have a partner of responsible gaming, but lately, there has been a lot of

    Obviously ignorant who play in an abusive manner.

    A reasonable period of time would solve a lot of this.

    If you do not travel in time, your release of the game...

    ROFL. You will need to address this with each different game, you're talking about, by contacting their support, or post in the forums. This isn't a general/portal for games information center.

  • How can I stop my computer to go to the screen saver when I for example runs a scan of the computer, sometimes my scan takes a long time to finish?

    My problem is? How can I stop my computer to go to the screen saver when I for example runs a scan of the computer, sometimes my scan takes a long time to finish? Example I have Microsoft Security Essentials set allow to run daily on 1200 AM and until he finishes my computer goes to screen saver Mode. and when I click on my mouse, I must sign completely new in my computer > how to stop this from happening, I want to keep my Security Scan open until there finishes?

    All the solutions for this?

    Original title: Windows Vista systems

    Hello

    This can help you:

    "Enable or disable the screen saver.

    http://Windows.Microsoft.com/en-us/Windows/turn-screen-saver-on-off#1TC=Windows-Vista

    And this is how do to change the time to wait before the screensaver comes on (article 8) and how to disable the password to logon to him (art. 9):

    http://www.Vistax64.com/tutorials/85539-screen-saver.html

    "How to disable or enable Protection by password on Wake Up in Vista"

    http://www.Vistax64.com/tutorials/102686-password-protection-wakeup.html

    See you soon.

  • Debug log 5 Apex: "cannot find index for the item.

    I just spotted some strange output in the debug log in an application built in 4.0, still, using this mode of compatibility, now in 5.0.1

    apex5_debug_log.png

    Some error messages for crawlers

    Fetch application meta data
    can not find index for component (3,15469335749905175)
    can not find region index for region #15469335749905175 when trying to add (1,15481314906419581) - it must be excluded because of REQUIRED_PATCH
    

    Can anyone advise me on what it means? Or what other information of interest?

    Nothing seems to be a problem with the page. The specified region is extremely basic html with a compilation option that is excluded. Other regions with the same compilation option do not report these log files in the debug.

    Scott.

    Hi Scott,.

    It is indeed related to the build option and you can ignore the messages. I'll put their debug level 9 If you don't see them in the normal debug output.

    Before the page is rendered, APEX load relevant metadata in the wwv_flow package global variables. For example, fill us the tables g_items, the g_buttons and the g_plugs with the definitions of element, button and region, respectively. We do not charge the definitions of components that are excluded by a compilation option. After loading these data, we must build relationships between records, for example, we calculate index of the item in the g_plugs region and store it with the definition of the element. If the region is excluded by a compiler option, but the underlying element is not, the computation of the element cannot find the related region folder in g_plugs. You get messages from debugging for this kind of inconsistencies.

    Kind regards

    Christian

  • Auto generate indexes for CF

    Where as "auto generate FK index" option in DataModeler 4.0.3?

    You must right click on the browser for the design node and then select Properties.

    In the design properties dialog box, you will find the option automatic generation of indexes for FKs on settings > page DDL.

    David

  • When we use a unique index for PK?

    I was reading this part of the manual oracle:

    http://docs.Oracle.com/CD/B28359_01/server.111/b28310/indexes003.htm#ADMIN11727

    I got confused because I was trying to research why sometimes, we want to create a primary key by using a unique index.

    CREATE A UNIQUE MYTABLE_PK ON MYTABLE INDEX

    (START_DT, ANNUAL)

    LOGGING

    TABLESPACE TBS_INDEX01

    NOPARALLEL;

    ALTER TABLE MYTABLE ADD)

    CONSTRAINT MYTABLE_PK

    KEY ELEMENTARY SCHOOL

    (START_DT, ANNUAL)

    WITH THE HELP OF INDEX MYTABLE_PK);

    And sometimes we simply create the primary key without using a unique index.

    ALTER TABLE MYTABLE ADD)

    CONSTRAINT PK_MYTABLE

    KEY ELEMENTARY SCHOOL

    (START_DT, ANNUAL)

    THE HELP INDEX);

    When we use a unique index for PK?

    James, you have returned to the question thread.

    I apologize: I'm sorry, user8875620, your son has been hijacked. A UK or PK constraint needs an index. You can create a (unique or non-unique) explicitly, or you can let Uncle Oracle create it implicitly when you define the constraint.

  • I can't get the first CS5 for import running under Windows 10 .mov files.  MOV files will play on Windows 10 direcstly

    I can't get the first CS5 for import running under Windows 10 .mov files.  MOV files will play on Windows 10 direcstly.  Can anyone help?  I tried quicktime player loading but it will not work with Windowws 10

    You need to find an older version of Quicktime, from Apple, to be able to install on Win10

  • Cannot install After Effects CS6 for Mac running Yosemite 10.10.3. Tried to run the update, does not. Tried the update of the application Manager initialization failed. Referred to as Support Advisor, abandoned.

    Cannot install After Effects CS6 for Mac running Yosemite 10.10.3. Tried to run the update, does not. Tried the update of the application Manager initialization failed. Referred to as Support Advisor, abandoned.

    start at the top and work your way down to apply applicable patches until your problem is solved.

    If (win) cc: https://helpx.adobe.com/creative-cloud/kb/creative-cloud-desktop-application-failed.html

    If your error is:

    "Setup failed to initialize. File not found. ' or 'could not initialize installation. This could be due to missing files.

    first of all, rename folder OOBE OOBE.old.

    to find the OOBE:

    Win 64 bit OS: Program Files x86\Common Files\Adobe\OOBE

    Win 32 bit OS: Program Files \Common Files\Adobe\OOBE

    Mac os: HD > library > application support of > adobe > caps

    Mac os: USER > library > application support of > adobe > OOB

    If it fails or isn't the exact error you see, uninstall, clean (http://www.adobe.com/support/contact/cscleanertool.html) and reinstall.

    If you use an installation dvd:

    Copy the contents of the drive in a desktop folder and install from this directory.

    If you are using a mac:

    1. try to create a new user account in Mac with administrator privileges.

    2. connect to the new user, navigate to Mac HD > Application > utilities > Adobe Installer folder, locate products such as Adobe Reader, Adobe Flash, Adobe Air and uninstall the

    3. navigate to the user library > Application Support > Adobe and Adobe put in the trash.

    4. navigate to Mac HD > library > Application Support > Adobe and Adobe put in the trash.

    5 restart the installation.

    If everything is applicable above fails, check your Setup logs:

    http://helpx.Adobe.com/Photoshop-elements/KB/troubleshoot-install-using-logs-elements.html

  • All parameter memory index for Oracle text indexes

    Hi Experts,

    I'm on Oracle 11.2.0.3 on Linux and have implemented Oracle Text. I'm not an expert in this area and need help on a question. I created the Oracle text index with the default setting. However, in a white paper of oracle, I read that the default setting is perhaps not good. Excerpt from the white paper by Roger Ford:

    URL:http://www.oracle.com/technetwork/database/enterprise-edition/index-maintenance-089308.html

    "(Part of this white paper below. )" ...)

    Index memory as mentioned above, $I entries cached emptied out on the disk each time the indexing memory is exhausted. The default index to installing memory is a simple 12MB, which is very low. At the time of creating indexes, users can specify up to 50 MB, but it is still quite low.                                   

    This would be by a CREATE INDEX, something like statement:

     CREATE INDEX myindex ON mytable(mycol) INDEXTYPE IS ctxsys.context PARAMETERS ('index memory 50M');  

    Allow index of the parameters of memory beyond 50 MB, the CTXSYS user must first of all increase the value of the MAX_INDEX_MEMORY parameter, like this:

     begin ctx_adm.set_parameter('max_index_memory', '500M'); end;  

    The parameter memory must never be high point causes paging, because this will have a serious effect on indexing speed. The smallest of dedicated systems, it is sometimes advantageous to temporarily reduce the amount of memory consumed by the Oracle SGA (for example by reducing DB_CACHE_SIZE and/or SHARED_POOL_SIZE) during the index creation process. Once the index has been created, the size of the SGA can be increased again to improve query performance. & quot;

    (End of the excerpt from the white paper)


    My question is:

    (1) to apply this procedure (ctx_adm.set_parameter) obliged me to log on as user CTXSYS. Is this fair? or can it be avoided and will be based on the application schema? The CTXSYS user is locked by default and I had to unlock it. Is this OK to do it in production?

    (2) what value I should use for the max_index_memory there are 500 MB - my SGA is 2 GB in Dev / QA and / 3 GB in the production. Also in the creation of the index which is the value should I set for the parameter memory index - I had left to default, but how do I change now? Should it be 50 MB as shown in the example above?

    (3) the white paper also refer to the reconstruction of an index to an interval like once a month: ALTER INDEX DR$ index_name$ X REBUILD online;

    -Is this good advice? I would like to ask the experts once before doing this.  We are on Oracle 11 g and the white paper was drafted in 2003.

    Basically, while I read the book, I'm still not clear on many aspects and need help to understand this.

    Thank you

    OrauserN

    Index entries are built in memory, and then flushed to disk, memory is exhausted. With a setting of high index memory will mean the index entries can be longer and less fragmented, which provides better performance of the query.  Conversely, a small memory parameter index will mean emptied the disk pieces are smaller, so queries (especially on common words) will have to do a lot more e/s to extract several pieces of index for the words.

  • What Oracle network uses for CAR traffic? where you get the Info?

    Hello

    I use two-node RAC on Oracle 10 g R2 (10.2.0.3.0) version on SUN Solaris 10. I want to know "what Oracle network uses for CAR traffic? where you'll Info»

    -Kumar

    Hi Kumar,

    In 10g, you can query x$ ksxpia. If the cluster_interconnect is stored in the OCR (by default), you will get

    SQL > select INST_ID select, PUB_KSXPIA, PICKED_KSXPIA, NAME_KSXPIA, IP_KSXPIA, x$ ksxpia;

    If you have specified the cluster_interconnects parameter in your init.ora:

    Columns to look in: INST_ID select PICK NAME_KSXPIA IP_KSXPIA P

    And also you can use 'CPI oradebug' to see who connects the database uses:

    SQL > setmypid oradebug
    SQL > oradebug CPI

    It could be that useful...

    Thank you
    LaserSoft

  • Is there a fix or workaround for flash run on an iPad?

    Is there a fix or workaround for flash run on an iPad, I have an interface that works on a USB stick and now wants to use dropbox to distrubute the interface. Can anyone help?

    No, sorry.  Adobe will release Flash Player for iOS in the foreseeable future.

    There is an explanation of our priorities and the technical roadmap here:

    http://www.Adobe.com/devnet/FlashPlatform/whitepapers/roadmap.html

    You * can * create standalone applications for iOS using Adobe AIR.

  • Local/Global index for OLTP

    In our application (OLTP), we have a rule on

    * "" on all the partitioned tables, we need to have just partitioned LOCAL index "... *"
    I think that this rule is valid, because when we had GLOBAL index partitioned on the table when concurrent transactions
    was going on, we got below error:
    ORA - 00054:resource busy and...
    We get this error when rebuild us all indexes not valid...

    When we changed all the GLOBAL partitioned index at the LOCAL level... we get this error...

    We use MEV for cloud computing (i.e. we have several tenants and a partition for each tenant)


    My doubt is, is the rule as mentioned above may be still valid, because it is at odds with what is mentioned in the Oracle
    Documentation (the concepts guide)...
    http://docs.Oracle.com/CD/B19306_01/server.102/b14220/partconc.htm#i461446

    '' In general, you should use an index for OLTP applications and local storage of data or applications of DSS ''

    We use oracle 10 g 2...

    In our case, research www.lesormes.com will not create several partitions, only one partition (we have a partition for each tenant).

    Local is even better for you.

    Thanks for suggesting to rebuild online (for global)... I'll try with that... .but he would have any problem of performance relative to the index LOCAL...

    I don't think abnd so there shouldn't be any performance impact, rather it improves performance in locaking not all the table exclusively for the index creaiton.

    NY suggestion/idea why Oracle recommends partitioned Global index for OLTP?

    Because normally we have much aprtition of drop/merger/split partition of things in OLTP type (these operations are important in DSS normally loading data).

    any suggestion/idea why Oracle recommends partitioned Global index for OLTP?

    Because they are the fastest to access a record of a table and OLTP, response time is what counts. If you compare your reports OLTP or transactions, to spawn multiple partitions (a small percentage could access only a single partition and rules are made for the majority of cases, not for the small number of cases) and global index are better in this scenario.
    at MAS, you always have a huge data and as partition operation may stop your work until the index is rebuilt (which can take several hours for the huge data) where oracle is recommended to have a local indexing policy.

    Salman

Maybe you are looking for

  • AT300 - USB flash drive does not work

    I have a 16 GB at300. I try to plug in a flash drive with a micro usb to usb than female but adds nothing. The cable works with any other device. How can I use a flash drive with my AT300?

  • Satellite L50 - USB connectivity problem

    Hello, new to these forums and just buy a Toshiba Satellite L50. The problem is when I connect my iPhone in a few seconds it will disconnect, reconnect, disconnect plug. Then a pop up according to sleep and fresh loan, then another pop up will say ch

  • GTX 750 Ti and HP Pavilion p6 - 2108p? Are they compatible

    Online, I have seen that many people have problems with this model. I recently bought via amazon and will I wonder this work for my model before you return? HP Pavilion p6 - 2108p features Thank you...

  • I'm unable to find the missing drivers on my device manager.

    OT: Re: lack of pilots. Hello I'm unable to find the missing drivers on my device manager. A unknown device watch. Other shows, like in the storage controllers. I checked Windows update, but it does not find the missing drivers. I don't have the driv

  • Supported Cisco ISE Appliance virtual HyperV

    Hello ISE Virtual Appliance supports VMWare ESXi hypervisor. Is there a Plan on the roadmap that ISE will rely on HyperV (or, possibly, XEN) in the future, because some customers do not have VMWare, but using only HyperV. The same question can be for