The query is performing very very slow, can any one please help me tue this

SELECT h.ROWID row_id, e.preparer_user_id
FROM arsarc.ars_sv_reconciliation e,
arsarc.ars_sv_reconciliation_accts a,
arsarc.ars_sv_acct_status_history h
WHERE e.rec_id = :b1
AND e.rec_id = a.rec_id
AND e.ledger_id = h.ledger_id
AND a.ccid = h.ccid
AND e.preparer_user_id <> h.preparer_user_id
AND h.fiscal_year + h.fiscal_period >= e.fiscal_year + e.fiscal_period
PLAN_TABLE_OUTPUT
Plan hash value: 2851427911
| Id  | Operation                     | Name                           | Rows  | Bytes | Cost (%CPU)| Time     |
|   0 | SELECT STATEMENT              |                                |    60 |  7740 |  6282  (11)| 00:00:08 |
|*  1 |  HASH JOIN                    |                                |    60 |  7740 |  6282  (11)| 00:00:08 |
|*  2 |   INDEX RANGE SCAN            | PK_RECONCILIATION_ACCTS        |   104 |  4160 |     3   (0)| 00:00:01 |
|   3 |   NESTED LOOPS                |                                |   178K|    15M|  6243  (10)| 00:00:08 |
|   4 |    TABLE ACCESS BY INDEX ROWID| ARS_SV_RECONCILIATION          |     1 |    23 |     2   (0)| 00:00:01 |
|*  5 |     INDEX UNIQUE SCAN         | PK_ARS_SV_RECONCILIATION       |     1 |       |     1   (0)| 00:00:01 |
PLAN_TABLE_OUTPUT
|*  6 |    TABLE ACCESS BY INDEX ROWID| ARS_SV_ACCT_STATUS_HISTORY     |   178K|    11M|  6241  (10)| 00:00:08 |
|*  7 |     INDEX RANGE SCAN          | ARS_SV_ACCT_STATUS_HISTORY$LPY | 62094 |       |  5243  (11)| 00:00:07 |
Predicate Information (identified by operation id):
   1 - access("A"."CCID"="H"."CCID")
   2 - access("A"."REC_ID"=TO_NUMBER(:B1))
   5 - access("E"."REC_ID"=TO_NUMBER(:B1))
   6 - filter("E"."PREPARER_USER_ID"<>"H"."PREPARER_USER_ID")
PLAN_TABLE_OUTPUT
   7 - access("E"."LEDGER_ID"="H"."LEDGER_ID")
       filter("H"."FISCAL_YEAR"+"H"."FISCAL_PERIOD">="E"."FISCAL_YEAR"+"E"."FISCAL_PERIOD")

Hi,
the plan isn't showing any problem (the cost isn't high) so it's not possible to use it to troublehshoot the query. Please provide more information: 4-digit Oracle version, and depending on the version, either SQL real-time monitor report or dbms_xplan output with rowsource stats (option "iostats last" after running your sql with ALTER SESSION SET STATISTICS_LEVEL = ALL).
Also, when reporting a performance problem it would be wise to avoid expressions like "very, very slow" replacing them with something more useful like "my query is taking 2.5 hours to retrieve 30k rows".
Best regards,
Nikolay

Similar Messages

  • I am not able to access my photos through the photo application... when I click on the photo app, I can see the camera roll but a transparent album screen is over it and I cannot click on the photos to see it... can any one please help ???

    I am not able to access my photos through the photo application... when I click on the photo app, I can see the camera roll, but a transparent "album" screen is over it and I cannot click on the photos to see it... can any one please help ???

    Known bug.  Quit the Camera App, double-tap the home key and delete Camera from the recent apps bar. Fire it up again, should be good.

  • How to install windows 7 on my macbook pro mid 2009 using usb. right now aim using mavericks 10.9 can any one please help me. I tried to edit plist in boot camp but it went wrong please help me

    how to install windows 7 on my macbook pro mid 2009 using usb. right now iam using mavericks 10.9 can any one please help me. I tried to edit plist in boot camp but it went wrong please help me.
    Iam new to coding. please help me.

    try the solution posted by kunu here and report back
    https://discussions.apple.com/thread/5105056?tstart=0

  • I bought CS6 creative suite. As of now i need to work each application in separate separate system. Can any one please help me how to solve this problem.

    I bought CS6 creative suite. As of now i need to work each application in separate separate system. Can any one please help me how to solve this problem.
    I saw the below quote on Adobe forum
    "You may install software on up to two computers. These two computers can be Windows, Mac OS, or one each."
    If i install each application in single single system the system count is more than two. In this case, are we have any license issue? Please advice how the problem will solve?
    If possible please send the advise to my mail id: <Removed by Moderator>
    Thanks
    Uvaraj S

    I already answered that.  If you purchased a Suite then you can only install and activate it on two machines.  Even if you only insdtall one of the applications of that suite, it counts as one activation of the suite.  You cannot take the six or seven different applications that might be in a suite and install and activate them in six or seven different machines... only two machines.
    If your scenario will allow for it, one thing you can do is install the programs on all the different machines and only activate two of the machines at any given time.  If you need to activate a program on a third machine then you need to deactivate on one of the currently activate machines first so that you have an open activation to use again.  I do not remember if there is a limit to the total number of activations you can process for the life of the software.

  • Hi when i convert a pdf to word I get a inccorect conversion, can any one please help me

    hi when I convert a pdf to word document I get a inccorect conversion, can any one please help me

    Hey nikolays87340013,
    Thanks for your reply.
    Please let me know what version of Adobe Reader you are using.
    You might need to check for updates as well as repair installation from Reader Help menu.
    While converting scanned PDF into Word, OCR runs automatically and its quality largely depends upon the quality of scanned images and clarity of characters in the PDF.
    Please try the same conversion online after signing in at "https://cloud.acrobat.com/exportpdf" and check if the conversion quality varies.
    Let me know.
    Regards,
    Anubha

  • Hi im using 4s and when i try to download apps its asking my credit card details. can any one please help me

    hi im using 4s and when i try to download apps its asking my credit card details. can any one please help me

    even when you are dowloading free app Apple needs to check that you have valid billing details but you will not be billed for downloading of free apps.  Go to settings/itunes & app store tap on ID there log in and check acocunt details there

  • How can put photo comment in Facebook in safari or other browser, am using ipad 4 and this was working perfectly but unfortunately it's not working now..the attach photo feature is there but can't attach, please help me in this

    How can put photo comment in Facebook in safari or other browser, am using ipad 4 and this was working perfectly but unfortunately it's not working now..the attach photo feature is there but can't attach, please help me in this

    How can put photo comment in Facebook in safari or other browser, am using ipad 4 and this was working perfectly but unfortunately it's not working now..the attach photo feature is there but can't attach, please help me in this

  • Can any one please help me resolving the following error while accessing online lync meeting portal

    When I am  try to access the Join
    Online Meeting link in a meeting portal in Lync Online, I am receiving the above of the following error messages in Microsoft Internet Explorer or Chrome browser.
    Can any one please suggest me how to overcome this issue.
    Thanks in advance
    Kiran Marri

    Hi,
    Did the issue happen only for you or for multiple users?
    You will need a valid conference for the URL to work. Please check if you did any typo for the URL. For example, in the format:
    https://meet.contoso.com/username/confID
    You can try to schedule a new conference from Outlook, check if the full URL like the example above and try to use this URL to join meeting.
    Best Regards,
    Eason Huang
    Eason Huang
    TechNet Community Support

  • Can any one please tell me why this e-class is not working

    Hi
    I want to listen the following e-class. But its not running. Can any one please tell me why its not working
    I have windows media player 11 in my system
    <a href="https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/media/uuid/34b9359e-0701-0010-f59d-ee014d5079b3?prtmode=navigate"></a>
    Best Regards
    Ravi Shankar B

    Hi
    I want to listen the following e-class. But its not running. Can any one please tell me why its not working
    I have windows media player 11 in my system
    <a href="https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/media/uuid/34b9359e-0701-0010-f59d-ee014d5079b3?prtmode=navigate"></a>
    Best Regards
    Ravi Shankar B

  • HT1349 my ipad has had all data and media deleted, i switch it on an it just shows that i n eed a connection to itunes, i went to the itunes site but could find nothing about reinstalling onto my ipad 2 can any one please help me

    my i pad has all the data and media deleted, it now shows me a diagram for connection to i tunes, I have visited i tunes but cannot find anywhere, that tells me to download to reinstall for my i pad can any one help me?

    You need to restore your iPad from iTunes. This assumes that you have a backup of your iPad either in iTunes or iCloud.
    Start iTunes.
    Plug in your iPad using the USB cable.
    Click on the iPad in the left hand column under "Devices".
    In the "Summary" tab, there are options to Back up, Update and Restore.
    Choose Restore and let it run.
    http://support.apple.com/kb/HT1414

  • Can Any One Please Help on this Requirement

    Hi All ,
                I am trying to creating a vendor in XK01 in Address screen im Enterying country as US , But System is showing this error (Incompete Address ; enter country ) im giving all the details , can any one explainn me where i am doing rong or while doing Configaration i need to maintain any specific setting for this particular Error . pls explain me , this is stoping everying of our work .
    thanks in andvance .
    Rafi .V

    Check out the account group for your vendor. May be, in your account group , it is mandatory to put the "Other Country" in the PO Box address.
    You can find account group config at
    SPRO > FI > Accounts receivable & accounts payable > Vendor account > Master data > Preparation for the creating vendor master > Defind acc group with screen layout (Vendors)... double click on your acc group... double click on general data... you will find the field settings for that account group ...
    Regards,
    Naimesh Patel

  • Hi i have asked for this help before and it was fixed but cant remember how to do it My ipad has lost sound in certain apps and general typing i remember fixing it through the settings can any one please help it not the mute

    Hi I have had this problem before butr cant remember how to fix it . What has happened is certain apps have no sound where as others do I also have no sound when typing.I remember when i last asked for help with this problem it was done through settings. It not on mute Please help me.

    You can enable keyboard sounds via Settings > General > Sounds . If they are enabled but you can't hear them then have you checked that you haven't got notifications muted (which will also affect most apps) ?
    Depending on what you've got Settings > General > Use Side Switch To set to (mute or rotation lock), then you can mute notifications by the switch on the right hand side of the iPad, or via the taskbar : double-click the home button; slide from the left; and it's the icon far left; press home again to exit the taskbar. The function that isn't on the side switch is set via the taskbar instead : http://support.apple.com/kb/HT4085

  • When i slid my finger nothing happens. i have to tap somthing once and then the phone reads whatever button i tap and if i tap 2 times real fast it will open whatever i clicked on. i can not scroll the screen up or down.  can any one please help me?

    i have the tap every thing twice to activate it and i can not scroll .

    Quickly, triple tap the Home button to turn off accessibility features.

  • Can Any one please help me find a compatible Wireless N MINI PCI Express Card for my HP G50-133us?

    I have a HP G50-133US notebook, it currently has a Atheros AR5007 802.11b/g WiFi Adapter. I am looking to upgrade it to a B/G/NWiFi Card. I can find plenty of Mini Pci-Express Wireless N cards but not sure if they are compatible. Does anyone know if as long as it is Mini PCI-Express and have the correct drivers this would work? Or does anyone know if a known working upgrade that would work? Any help would be appreciated!! Thank you!.

    You MUST get an HP branded wi-fi card AND it has to be on the "white list" for your computer in the BIOS or the card will block the computer from booting with an error message. Here is a link to your Manual:
    Manual
    Page 19 starts the list of known compatible wifi cards.
    You can search eBay by part number for the card and likely find one at a decent price.

  • Need help in my code . Can any one please help !

    In my report  ihave written
    'STOP'  in the middle  while printing out soma data.
    But the display stops there.
    After that i have again some write statement.
    but how to restart execution for furthur printing.
    tell me the syntax.
    reatart, resume.....anything like that ?????

    Hi,
    Try Using EXIT or CONTINUE Statements.
    Regards,
    Satish

Maybe you are looking for