Example of collections... Performance problem

Can you please help me why him below runs forever, it's because the table missing clues, I guess that is not the question as the emp & dept tables have 14 and 4 files only.

DECLARE
TYPE numlist IS TABLE OF emp.empno%type index by pls_integer;
enums numlist;
TYPE deptlist IS TABLE OF dep.deptno%TYPE INDEX BY pls_integer;
deptnums deptlist;
cursor c1 is select distinct deptno from dep;
BEGIN
dbms_output.put_line('Here 1');
OPEN c1;
loop
fetch c1 bulk collect into deptnums;
END loop;
CLOSE c1;
dbms_output.put_line('Here 2');
forall j IN 1..deptnums.count
DELETE FROM emp WHERE deptno=deptnums(j)
RETURNING empno BULK COLLECT INTO enums;
dbms_output.put_line('Here 3');
FOR i IN 1..enums.count
loop
dbms_output.put_line(enums(i));
end loop;
end;

Thank you

Put the OUTPUT WHEN c1% NOTFOUND; After line 11 in your code.

Tags: Database

Similar Questions

  • WRT54GS - wireless performance problem

    Dear someone

    I am currently having performance problems with my WRT54GSv1.1

    Just received my new internet connection to 30Mbit. Unfortunately, I am not able to download at that speed. If I connect via one of the linksys router's ethernet ports, I'm a happy person, but using the wireless makes me a little less happy.

    Wireless: 15Mbit/s

    Through the cable: 27Mbit/s

    Network information:

    The distance between the router and the computer laptop 3-4 meters

    Linksys WRT54GSv1.1 - Firmware Version: v4.71.4

    Network wireless - g only mode

    TV - 6 (because all the surrounding neighbor use 10-11, I noticed using Cain Abel & wireless discovered 4.9.29)

    Security: WPA2-Personal (TKIP + AES)

    All other settings are default (just reset to the factory settings).

    Laptop:

    Windows Vista Business SP1 32-bit

    Intel PRO/Wireless 3945ABG (installed the latest drivers from the website of intel, default settings)

    When you check the diagnostic of Intel tools, it tells me the link is 54 megabits and pushes meter packages of 54 megabits, while all lower speeds remain the same.

    More diagnostic information:

    Percent missed beacons: 0

    Percent transmit errors: 18

    Current Tx power: ~ 32 mW (100%)

    Supported power levels: 1.0 mW - 32.0 mW.

    Hope someone can help me here.

    Thanks in advance!

    Kind regards

    Ski Klesman

    Although wireless g "connects" to 54 Mbit/s, the maximum possible wireless "data rate" (in ideal laboratory conditions) is only about 20 to 25 Mbit/s.  Unfortunately, the phrase "in ideal laboratory conditions" generally excludes home intrusion!

    The aerial transmission for wireless connections is higher than for wired connections.   Thus, most individuals find that their Wi - Fi connection works at 50% to 70% of their speed of wired (LAN).  Your wired LAN being 27 Mbps connection speed, your 15 Mbps wireless speed is within normal limits.

    You might be able to tweak a bit more speed from your wireless network by optimizing all your wireless settings.  Here are a few suggestions:

    I guess you want actually to WPA2 encryption.  If so, set to AES only.   When you set the router to TKIP and AES, you actually tell the router to accept a WPA or WPA2 connection.

    Also, give your network a unique SSID. Do not use "linksys". If you use "linksys", you can try to connect the router to your neighbor. Also set 'SSID Broadcast' to 'active '. This will help your computer to find and lock on the signal from your router.

    Bad wireless connections are often caused by interference from other 2.4 GHz devices. This includes cordless phones, baby monitor wireless, microwave ovens, wireless mice and keyboards, wireless speakers and wireless network from your neighbor. In rare cases, Bluetooth devices can interfere. Even some 5 + GHz phones also use the 2.4 Ghz band. disconnect these devices and see if that solves your problem.

    In your router, try another channel. There are 11 channels in the band of 2.4 GHz channel 1, 6 or 11 generally works better. Discover your neighbors and see what channel they use. Because the channels overlap, try to stay at least + 5 or - 5 channels of your more powerful neighbors. For example, if you have a powerful neighbour on channel 9, try any channel 1 to 4.

    Also, try putting the router about 4 to 6 feet above the ground in an open area. Do not place behind your screen or other computer equipment or speakers. The antenna must be vertical.

    In addition, in the computer, go to your wireless software and go to 'Favorite networks' (sometimes called 'Profiles'). There are probably a few listed networks. Remove any network called "linksys". Also remove any network that you don't recognize or that you no longer use. If your current network is not listed, enter its information (SSID, encryption (if any) and key (if any)). Select your current network and make your network by default, then set it to auto login. You may need to go to 'settings' to do this, or you may need to right click on your network and select 'Properties' or 'settings '.

    If you continue to have problems, try the following:

    For wireless g routers, try setting the "baud rate" at 54 Mbps.

    If you still have problems, download and install the latest firmware for your router. After an update of the firmware, you must reset the default router, and then configure the router again from scratch. If you have saved a router configuration file, DO NOT use it.

    I hope this helps.

  • HP Pavilion 15-n005sg: performance problems and worsens

    Hello

    I bought this PC here is a year, has been a very good PC with good performance, but has been doing more and more slow to the month, for example, I used to run Diablo 3 on average - high specification with 60 fps constant with no performance problems, but that in the end, I can't still running at ultra low care without screen freezes and fps drops to 1-2 as well as the League of legends and other games.

    It takes more and more time for my pc to turn on, which was like 30 ~ 40 seconds not takes like 3 minutes.

    the performance gets really bad and should not happen on a pc of 1 year.

    What can I do?

    An update of the system may be your best course of action.

    Your data, files, etc. will be retained. Any Windows apps store is kept.

    Any program that came pre-installed is preserved.

    BUT all programs which are not in the above categories will have to be resettled; your games, printer, etc.

    Windows 8 system Refresh

    If you found my answer helpful please say thank you by clicking the s cursor Up icon. Thank you!

  • Isolate storage performance problems

    I'm looking for the most effective strategy to isolate a possible performance problem and to determine if storage is the cause.  VMware said that this physical device read latency and physical device write latency must be sheer 20ms lower and 10 ms on average.  I see peripheral physics average 11 percent read latency and write the average latency on some HBAs.  I see 120ms peak read latency and 240ms latency of writing on some HBAs.

    Suppose I want to isolate this issue - how to efficiently determine if these measures indicate the storage as the cause of the poor performance of the application?  (For example, storage VMotion virtual machine which is own LUN with no other VM and see if there is a difference in performance - something that does not require a lot of time).

    Migrate the virtual computer on a local storage on one of your hosts to see if latency goes away. Then you know almost for some it's a problem on the ESX Server or on the fabric. My bet is that it is on the fabric. Run perfstats on table and you will most likely find that you are maxing out the SECOND battery on the diskgroup to support for the LUN that you write to.

    CD.

  • EBS 11i performance problem

    Hi hussein, helios, & all,


    Happy New Year to you :)
    I hope we have a better year 2011 year of the rabbit.
    I hope that we have even better in 2011.

    I just want to learn something from each of you through the year 2010.

    Can you share how tackle you performance problems in EBS?
    I know that there is joint action, that you have done to improve performance.
    It should be after all statistical analyses of performance as Statspack, SAR,
    and other output of the performance monitoring report.

    What actions / solutions did you resolve performance issues in EBS?

    Is it upgraded the server itself for a more powerful?

    For example, our users are complaining about the Oracle Apps very slow race at any time of the day. This produces 20% of the day(performance problem) and 80%, as the Oracle applications is running fine (no complaints of users).
    The appearance of performance problem is not fixed in time, sometimes in the morning and in the afternoon sometimes. Sometimes, even when there are a few users logged in and sometimes it is no problem of performance, even if many users are connected. If you run a statspack you see programs to eat a lot of resources, but they are oracle programs if you can not touch or tune right? So to keep users calm, they agreed to get rebooted server. Temporarily, this solves the performance problem. So we just keep it this way. My suspect is that there are many programs of concurrent background (on request) who is running who is right for which users get slow even if only a few is connected to it. I want to know what are simultaneous programs running at the time where the performance issue of gets users.
    Is there a sqlplus program to list all concurrent programs running?


    Thank you very much

    Mrs. Mina

    What actions / solutions did you resolve performance issues in EBS?

    Depends on what kind of performance issues you have.

    Is it upgraded the server itself for a more powerful?

    Not necessarily.

    For example, our users are complaining about the Oracle Apps very slow race at any time of the day. This produces 20% of the day(performance problem) and 80%, as the Oracle applications is running fine (no complaints of users).

    What part of the application? What activities do you have when there are performance issues?

    The appearance of performance problem is not fixed in time, sometimes in the morning and in the afternoon sometimes. Sometimes, even when there are a few users logged in and sometimes it is no problem of performance, even if many users are connected. If you run a statspack you see programs to eat a lot of resources, but they are oracle programs if you can not touch or tune right? So to keep users calm, they agreed to get rebooted server. Temporarily, this solves the performance problem. So we just keep it this way.

    Please see old similar threads.

    Performance optimization
    http://forums.Oracle.com/forums/search.jspa?threadID=&q=performance+tuning&objid=C3&DateRange=all&userid=&NumResults=15&rankBy=10001

    My suspect is that there are many programs of concurrent background (on request) who is running who is right for which users get slow even if only a few is connected to it. I want to know what are simultaneous programs running at the time where the performance issue of gets users.
    Is there a program of sqlplus to the list of current jobs running?

    Please see these documents.

    How to find database Session & process associated with a competitor, which is currently running program. [735119.1 ID]
    How to extract information from SID to apply for operation [ID 280391.1]
    How to find abandoned UNIX PID for a competing program [154368.1 ID]

    Thank you
    Hussein

  • On query performance problem. Need help.

    It is essentially a performance problem. I hope someone can help me with that.

    Basically, I have four old masters (150000 records), (100000 records) Child1, Child2 (50 million records!), child 3 (10000 + records)
    (please forgive the alias).

    Each record in the master has now more than one matching record in each table child (one to many).
    Also there may be any record in any or all of the tables for a particular master record.

    Now, I need to get the maximum of last_updated_date for each master record in each table 3 child and then find the maximum of
    the three obtained last_active_dates from the 3 tables.
    for example: Master ID 100, to interrogate Child1 for all Master ID 100 records and get the max last_updated_date.
    Same for the other 2 tables and get the most out of these three values.
    (I also need to deal with cases where no trace may be found in a child table to a Master ID)

    Write a procedure that uses sliders that the value of each of the performance hits of child table
    evil. And that's, I need to know the last_updated_date for each master file (all 150000 of them). It will probably take days to do this.

    SELECT MAX (C1. LAST_UPDATED_DATE)
    MAX (C2. LAST_UPDATED_DATE)
    MAX (C3. LAST_UPDATED_DATE)
    OF CHILD1 C1
    CHILD2 C2
    CHILD3 C3
    WHERE C1. MASTER_ID = 100
    OR C2. MASTER_ID = 100
    OR C3. MASTER_ID = 100

    I tried the above, but I got an error in tablespace temp. I don't think that the application is good enough at all.
    (The GOLD clause is to take care of any records in a child table. If there is an AND, then the join and then select
    No, not even if there is no record in a child table, but valid values in the other 2 tables).

    Thank you very much.

    Published by: user773489 on December 16, 2008 11:49

    You want alias to this field then.

    SELECT MAX (C.LAST_UPDATED_DATE)
    FROM
    (select child1_master_id MASTER_ID, field2, field3,... field4 from CHILD1 UNION ALL
     select child2_master_id MASTER_ID, field2, field3,... field4 from CHILD2 UNION ALL
     select child3_master_id MASTER_ID, field2, field3,... field4 from CHILD3) C
    WHERE C.MASTER_ID = 100
    

    If do you something like that, and explicitly list the columns you want.

    Edit: for something like a specific query for a MASTER_ID...

    SELECT MAX (C.LAST_UPDATED_DATE)
    FROM
    (select child1_master_id MASTER_ID, LAST_UPDATED_DATE from CHILD1 where child1_master_id = 100 UNION ALL
     select child2_master_id MASTER_ID, LAST_UPDATED_DATE from CHILD2 where child2_master_id = 100 UNION ALL
     select child3_master_id MASTER_ID, LAST_UPDATED_DATE from CHILD3 where child3_master_id = 100) C
    WHERE C.MASTER_ID = 100
    

    That should give you very good performance by raising a record. But a better idea, as indicated, would be to get it all at once with a sql:

    SELECT MASTER_ID, MAX(C.LAST_UPDATED_DATE)
    FROM
    (select child1_master_id MASTER_ID, LAST_UPDATED_DATE from CHILD1 UNION ALL
     select child2_master_id MASTER_ID, LAST_UPDATED_DATE from CHILD2 UNION ALL
     select child3_master_id MASTER_ID, LAST_UPDATED_DATE from CHILD3 ) C
    GROUP BY MASTER_ID
    

    This will give you the max for each MASTER_ID in a sql without a cursor.

    Published by: tk-7381344, December 16, 2008 12:12

  • Spectrum of HP X 2 - HID SENSOR COLLECTION driver problem

    Hello

    I just bougt garage a Ultrabook of spectrum HP X 2/tablet.

    Since I already have a Windows 8 N Pro license I installed it on my spectrum X 2.

    The question I am now face is that the dirver HID SENSOR COLLECTION is not woking and I can't use my sensors such as: rotation (accelerometer), light sensor, the screen...

    I can see this error in Device Manager by double-clicking on the HID COLLECTION of SENSOR:

    "

    This device cannot start (Code 10).

    The process hosting the driver for this device was completed.

    "

    I have installed all drivers HP of my spectrum HP X 2 page drivers and I also installed all Windows updates.

    Can someone please?

    Thank you

    Mircea

    I found a solution for the problem of driver HID sensor Collection.

    It seems that the driver uses something Windows Media Framework and because it can not find it on my spectrum X 2 it fails.

    This driver problem will happen on all the HP spectrum X 2 who have installed Windows 8.1 Pro N (N is the European version) because there is no Media Feature Pack installed by default.

    To fix the driver HID Collection sensor problem, I installed the Media Feature Pack for N and KN here 8.1 Windows versions:

    http://www.Microsoft.com/en-US/Download/details.aspx?ID=40744

    After the instalation just sensors begin to work.

    It is a BIG PROBLEM and HP needs to do something about it!

    A big thank you to Wiab of Lenovo Comunity forum for us to share the solution:

    http://forums.Lenovo.com/T5/idea-Windows-based-tablets-and/yoga-13-hid-sensor-collection-Auto-rotate-functionality/TD-p/997095

    Kind regards

    Mircea

  • a defective battery in a tablet will cause performance problems of speed

    a defective battery in a tablet will cause a matter of output speed

    Hello

    Sometimes it can cause a performance problem, visit the following link to monitor how to take care of the battery:

    Taking care of your laptop battery

    http://Windows.Microsoft.com/en-us/Windows7/taking-care-of-your-laptop-battery

    In order to increase the performance of Windows XP please visit the link below:

    Windows XP performance

    http://TechNet.Microsoft.com/en-us/library/bb457057.aspx

    Reference: PC slow? Optimize your computer for peak performance

    http://www.Microsoft.com/athome/Setup/optimize.aspx

    Note: as long, the Tablet is connected to a power source it shouldn't affect the performance in itself. However, bad battery itself a performance problem.

  • Zoo Tycoon 2 Zookeeper Collection: EULA problem.

    I am very crazy :). First Microsoft support doesn't help. And I'm terrible Treaty by agents. OK so the problem is, I can not play my copy quite legitimate to Zoo Tycoon 2 Zookeeper collection unless he tells me "You must accept the EULA to play", just to let you know that I have in fact agreed during the installation for the 100th time. I won this point on an old Microsoft award winning service called 'Club Bing' a few years ago, I could just play wonderful when I got it. It's weird too, this game will play at home of my grandmother without error. But only on my computer, he decided to do this >: (.) And please for the love of God do not give me this link for " http://support.microsoft.com/kb/914313?wa=wsignin1.0 " linking aid is about as useful as a dry skeleton in a gas station. I am a legitimate customer, and I don't have to buy a new game. Best regards, Matthew.

    Table of contents on the double thread:

    Zoo Tycoon 2 Zookeeper Collection EULA problem.

    "Hi, I'm very angry :). First Microsoft support doesn't help. And I'm terrible Treaty by agents. OK so the problem is, I can not play my copy quite legitimate to Zoo Tycoon 2 Zookeeper collection unless he tells me "You must accept the EULA to play", just to let you know that I have in fact agreed during the installation for the 100th time. I won this point on an old Microsoft award winning service called 'Club Bing' a few years ago, I could just play wonderful when I got it. It's weird too, this game will play at home of my grandmother without error. But only on my computer, he decided to do this >: (.) And please for the love of God do not give me this link for " http://support.microsoft.com/kb/914313?wa=wsignin1.0 " linking aid is about as useful as a dry skeleton in a gas station. I am a legitimate customer, and I don't have to buy a new game. Best regards, Matthew. "Hi one who reads this I asked recently this question above me and I clicked on the button"answer"in the email. Just to be clear, he did not really answer, but I still have this problem help is very much appreciated.
     

    Hi Matthew,

    I imagine the inconvenience that you are experiencing. We are here to help and guide you in the right direction.

    Method 1:
    I suggest you run the fix it and check if it helps.

    Diagnose and solve the program installation and uninstallation problems automatically

    http://support.Microsoft.com/mats/Program_Install_and_Uninstall

    Method 2:
    I suggest you try the procedure described in the article and see if it helps.

    Error message when you install a Microsoft game or a mapping program
    http://support.Microsoft.com/kb/258496

    Note:
    (1) when running chkdsk on the drive if bad sectors are found on the disk hard when chkdsk attempts to repair this area if all available on which data may be lost.

    (2) after the boot minimum troubleshooting step, read the sections "How to reset the computer to start as usual after a clean boot troubleshooting" in the link provided to return the computer to a Normal startup mode.

    Hope this information helps. Answer the post with an up-to-date issue report to help you further.

  • 4.2 APEX performance problem

    Hi all

    We are facing the problem of performance when we are by selecting one of the underside of responsibility that rests in the Organization as if we select APEX_01 Reporting ALL then in this case, we can see all the organization such as ETL, BRN, CHICKEN ect in home page, but I am facing performance problem when it forms that select area of responsibility to the home page. Please indicate how to check this page's performance in the APEX and also advise how to solve this problem.

    apex_performance_issue_4.2.jpg

    LnTInfotech wrote:

    so you want to say below takes more time and we need to address this request?

    15.34901 224.01663 ... Run the statement: SELECT DISTINCT papf.full_name a, papf.full_name b
    OF po_agents pa
    per_all_people_f women's wear
    org_organization_definitions org
    WHERE 1 = 1
    AND papf.person_id = pa.agent_id
    AND org.organization_CODE = NVL(:P1_WARE_HOUSE,org.organization_CODE)
    AND TRUNC (SYSDATE) BETWEEN papf.effective_start_date AND papf.effective_end_date
    AND EXISTS SELECT (SEPARATE 1
    OF po_headers_all poh
    WHERE poh.agent_id = pa.agent_id
    AND poh.org_id = org.operating_unit)

    This request seems to be missing a join. An obligation to use DISTINCT in application code usually indicates that there is something seriously wrong with the data model or query...

  • Oracle 9i Java component performance problems

    Hello

    I am reorganizing a java component inherited because of performance problems.


    A java stored procedure is used to trigger a shell script that runs a java component. The component connects to a series of remote directories via ftp, gets the files and load them using slq * charger.

    Is there a better way to do this? I saw a few articles talking using a FTP interface directly from PL - SQL jump the java component entirely. It would be preferable to the current solution its?

    Thanks in advance,
    Pedro

    I am reorganizing a java component inherited because of performance problems.

    The first step is to identify what are the problems of performance, where they occur, and what causes them.

    View details on

    1. WHAT you do

    2. HOW to

    3. WHAT results you get

    4 what ARE the results you expect to get.

  • ViewObject range Paging performance problem

    Hi all

    I am facing a performance problem with the implementation of an obligation to programmatically add a number of extra where the parameters of the clause (using bind) variable in combination with range paging.

    My code looks like this

    ...
    
    ApplicationModule am = Configuration.createRootApplicationModule("services.DossierAM", "DossierAMLocal");
    ViewObject vo = am.findViewObject("DossierListView");
    
    // apply programmatic view criteria
    ViewCriteria vc = vo.createViewCriteria();
    ViewCriteriaRow vcr = vc.createViewCriteriaRow();
    vcr.setAttribute("Reference", "15/%");
    vc.addElement(vcr);
    vo.applyViewCriteria(vc, true);
    
    
    // enable range paging
    vo.setAccessMode(RowSet.RANGE_PAGING);
    vo.setIterMode(RowIterator.ITER_MODE_LAST_PAGE_PARTIAL);
    vo.setRangeSize(50);
    vo.scrollToRangePage(5); // Cause a java.sql.SQLException: Parameter IN or OUT missing for index.....debugging learned that the :vc_temp_1 bind variable is not filled
    // vo.scrollToRange(250); // Cause a java.sql.SQLException: Parameter IN or OUT missing for index.....debugging learned that the :vc_temp_1 bind variable is not filled
    
    ... 
      ...
    

    I found 2 solutions, but they both require an application of additional database that is, performance wise, is not acceptable.

    The first solution is to slip into an additional call to exectueQuery() before the call to function scrollToRangePage (int) or scrollToRange (int).

    The second solution is to use the method (int) setRangeStart instead of variants scrollToRange (Page). This method performs also 2 database calls.

    My question to you:

    Is there another way to satisfy the requirement of programming add a certain number of parameters of the additional where clause (using the variable binding) in combination with the pagination of the range without the need to perform queries of database 2?

    The code is tested with JDeveloper, 11.1.2.4.0, and 12.1.3.0.0 and behaves the same on both versions.

    Kind regards

    Steven.

    Have you tried to create truly VC with bind variable (rather than use binding implied var created by frame)?

    Something like: http://www.jobinesh.com/2010/10/creating-view-criteria-having-bind.html

    Dario

  • Performance problems since the update of 2015.6

    Hello together,

    Since I updated lightroom yesterday to version 2015.6 the performance on my machine is incredible bad.

    My system:

    -MacBook Pro (retina, mid-2012)

    -2.3 GHz Intel Core i7

    -16 GB 1600 MHz DDR3

    -NVIDIA GeForce GT 650M 1024Mo

    -OS X El Capitan (10.11.5)

    Lightroom synchronizes actually 1400 photos, but even if I stop this process, LR uses CPU so I can't work in other programs like Photoshop (updated yesterday, too). I detected this performance problem as PS freezes when I used the Healing Brush tool.

    LR.jpg

    I don't know what's happening LR, but is not ideal for my workflow.

    Does anyone have an idea?

    If I close LR I can work in PS, even though the Healing Brush tool is slower than in the version before. But I can't always close and open LR.

    Thank you

    regards Denis

    There are already dozens of threads discussing the same question in this forum as well as in the official comments forum here: https://feedback.photoshop.com/photoshop_family/categories/photoshop_family_photoshop_ligh troom

    You can restore 6.5.1 if you wish. Here's how: How do I roll back to Lightroom 2015.1.1 or Lightroom 6.1.1? Lightroom Queen

    Just replace 6.1.1 with 6.5.1

  • Performance problem - oracle 10.2.0.4

    HI Experts,

    Today I met a performance problem. I pulled a simple query to get the number of records in a table existed in the databases of PROD and QA. The two databases are the same settings at parameter level. But when I launch the application, Prod database takes 10 minutes to get the result. Not sure why prod base it takes a lot of time.

    Additional information:

    ---------------------

    The number of lines is almost the same on the two databases

    OPERATING SYSTEM: IBM AIX

    Oracle: 10.2.0.4

    QA Database - explain plan

    ==========================

    06:40:49 SQL > select count (*) in the Siebel.s_prod_baseline;

    COUNT (*)

    ----------

    42146408

    Elapsed time: 00:00:45.35 == > just 45 seconds

    PLAN_TABLE_OUTPUT

    --------------------------------------------------------------------------------

    Hash value of plan: 645963650

    -------------------------------------------------------------------------------

    | ID | Operation | Name               | Lines | Cost (% CPU). Time |

    -------------------------------------------------------------------------------

    |   0 | SELECT STATEMENT |                    |     1.  1165 (1) | 00:00:14 |

    |   1.  GLOBAL TRI |                    |     1.            |          |

    |   2.   INDEX SCAN FULL | S_PROD_BASELINE_P1 |    42 M |  1165 (1) | 00:00:14 |

    -------------------------------------------------------------------------------

    Database of PROD explain plan

    ======================

    06:42:59 SQL > select count (*) in the Siebel.s_prod_baseline;

    COUNT (*)

    ----------

    42730261

    Elapsed time: 00:10:13.43 == > took more than 10 minutes

    PLAN_TABLE_OUTPUT

    --------------------------------------------------------------------------------

    Hash value of plan: 645963650

    -------------------------------------------------------------------------------

    | ID | Operation | Name               | Lines | Cost (% CPU). Time |

    -------------------------------------------------------------------------------

    |   0 | SELECT STATEMENT |                    |     1.  4160 (1) | 00:00:50 |

    |   1.  GLOBAL TRI |                    |     1.            |          |

    |   2.   INDEX SCAN FULL | S_PROD_BASELINE_P1 |    42 M |  4160 (1) | 00:00:50 |

    -------------------------------------------------------------------------------

    Could if it you please let me know why oracle it takes a lot of time prod database?

    Thank you..

    > There was another option to check why prod database behaves differently?

    Yes.  The trace file, TRACE the request and review (or the tkprof).

    Hemant K Collette

  • How to investigate DB performance problems?

    How to investigate DB performance problems?

    You can refer to the oracle support doc: Doc ID 1362329.1

    In case you have difficulties to access the Oracle support, I copied some of these inline content:

    K.

  • [ORACLE 10.2.0.5] performance problem with high enq: TX - line lock contention waiting

    Hello

    I have a performance problem involving high line response to locking conflicts that I can't wait.

    The application updates the specific table about 1200 times for my AWR report representing 2 hours.

    This update represents 98% of the db_time and wait to enq: TX - line lock conflict is:

    -83 796 waiting

    -245 441 seconds

    The application updates a row both an unprecedented SELECT UPDATES. This is the query:

    Update my_table set creationtime =: 1, modificationdate =: version 2, =: creationuserid 3, =: fortesting 4, =: 5, modificationuserid =: participation_uuid 6, =: actimenucontact 7, =: allegroid 8, =: campaign_uuid 9, =: desjardinsemployeetype 10, =: effectiveparticipationtype 11, =: family_uuid 12, =: fetchpasseport 13, =: 14, healthratingfilldate =: hoursofsleeptimecommitment 15, =: igaid 16, =: initialsubscriptiontype 17, =: minutesofsleeptimecommitment 18, =: goal 19, =: partner_uuid 20, =: 21, promotionalemails =: 22, readrules =: sccsubscriptionprovenance 23, =: = subscriptionprovenance 24,: 25, supportemails =: where the 26 uuid = : 27 and = version: 28

    Clause where is filtering on uuid which is the primary key of my_table.

    The uuid is a specific user and two users would not update the same row, what could be the reason for this wait event?

    Thank you

    Why guess when you know.

    Watch ASH data for these events to the queue.

    He'll tell you sql id as well.

Maybe you are looking for

  • I lost my notes after installing Office 2016

    I installed Office 2016 with OneNote.  When I opened the Notes I find that all my notes disappear. How can I get back them? I m using EL CAPITAN IOS.

  • Re: How to get the Tempo to work properly?

    Hello I have problems with the service of Tempo. I don't get updates via this application (all the settings of this application are accurate, i.e. "full control"). I know this because there are updates available online to my laptop via the pilot site

  • Video call recording

    Is there a way I can record my own video calls?

  • Family for large families sharing

    Dear Apple, I peut understand the limits of the family sharing and for app purchases.  However, other features of the family sharing are more important to me (i.e. shared calendar, find my iphone, etc.).  I have a wife and five children.  This Christ

  • I want to uninstall Windows XP. How can I do this?

    original title: impossible to uninstall xp I want to uninstall windows XP, but it does not show in the list of components to uninstall. (I had a virus problem). I wanted to uininstall/reinstall. next?