improvement of the performance.

Hello expert,

I have a statement below, the plan of the explain command showed using search for the complete execution of the table, what can I improve using the index (index have already here), appreciate.

Select
pp.policy_premium_pk,
pp.policy_fk,
pp.policy_term_fk,
pp.risk_fk,
pp.coverage_fk,
pp.transaction_log_fk,
pp.coverage_component_code,
hiroc_rpt_user.hiroc_get_delta_amount (pp.policy_fk, pp.policy_term_fk, pp.risk_fk, pp.coverage_fk, pp.transaction_log_fk,
pp.coverage_component_code),
pp.rate_period_from_date
proddw_mart.rmv_policy_premium pp
where pp.rate_period_type_code = 'TERM_COVG. '
and pp.coverage_component_code <>'NETPREM '.
Pp.policy_premium_pk group,
pp.policy_premium_pk,
pp.policy_fk,
pp.policy_term_fk,
pp.risk_fk,
pp.coverage_fk,
pp.transaction_log_fk,
pp.coverage_component_code,
pp.rate_period_from_date

the execution plan is the following:

OPERATING OPTIONS OBJECT_NAME POSITION
SELECT THE 35 396 DECLARATION
HASH GROUP BY 1
MAT_VIEW FULL RMV_POLICY_PREMIUM ACCESS 1

Hello

It is likely that the index is not used because the query returns a volume of data that allows access to an ineffective index. To access the rows of 3.5 m of data should take minutes, not hours with a full table scan, so I don't think that access to the table is the question.

I suggest that you run a trace of your session and then use TKPROF to analyze the trace file. I bet you will find that the function call contains the SQL statements that are responsible for the majority of your time.

Just because a query uses an index and runs quickly does not mean that each query must use an index to run quickly.

David

PS You can quickly verify that the function is the source of the problem by removing the SQL statement and then run the new statement.

Published by: David Tyler June 24, 2011 16:21

Tags: Database

Similar Questions

  • Re: How can I improve the performance of Vista on a Satellite L30-10s?

    I have worked in Vista on a Satellite L30 - 10s for a while and get very poor performance. It takes several seconds just to respond to the movement of the scroll bar. I put Control Plan-> system and Maintenance... System Properties-> visuals to "Adjust for best performance", but it gave no noticeable improvement. The RAM is 446 MB - upgraded this would improve performance? If so, what would the good do & spec to buy?

    > It RAM is 446 MB - upgraded this would improve performance?

    Of course, it is not enough to run vista with good performance. 1 GB minimum Ram required to run Vista, better than 2 GB ram

    To the l30 product specifications:

    standard: 256 MB
    maximum scalability: 2 048 MB
    technology: DDR2 RAM (533 MHz)

    You can be upgraded up to 2 GB DDR 2

    Post edited by: Jeka -?

  • What can be done to improve the performance of the Satellite P300-150

    Hello

    I have laptop Satellite P300-150.
    It seems powerful enough but struggles with some of the latest games.
    It s not my main but game machine I m aware if he's struggling now, it won t well before he won t be able to run at all.

    And I wouldn't be able to play on the move...

    What can be done to increase the capabilities of the laptop - like tweaks, tools and upgrades?

    Thank you
    Max

    Hello

    You could improve memory to 4 GB of RAM.
    The laptop can be upgraded to 4 GB, but note that the Windows 32 bit OS (Vista & XP) will see only 3.2 GB due to the limitation of the 32 bit OS.
    In this case, you must use the 64 bit OS to get full access to 4 GB.

    Second, you can configure laptops OS. I mean you could start the msconfig and might turn off some background process is not necessary including the performance of laptops of waste.

    Unfortunately, other upgrades are not possible (apart from HARD drive, but will not increase performance)

    See you soon

  • How to improve the performance of the Intel X 3100 on Satellite L300

    Hello everyone.

    First of all, I don't know if this is an appropriate place to post this thread here or no, but I would like to share with you the experience relating to the improvement of Intel X 3100 (GMA965).

    As we know, there is no driver is good for this chipset from Intel for the moment, especially on VIsta.
    This improvement is made by editing the registry of Intel driver.

    * Steps: *.
    * 1 * open run (Windows + R)
    * 2 * enter Regedit
    * 3 * open the subfolder: * HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contr ol\Video\ *.
    * 4 * from there you'll see lots of subfolders in video, open each one until you see the folder * 0000 * with + _3DMark03.exe +.
    (For example, my is {HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contr ol\Video\ {B5990899-FBCB-45E1-B0B0 *} and reg DWord _3Dmark03.exe lies in two subfolders * 0000 * and * 0001 *})
    * 5 * in * 0000 * and * 0001 *, create two new * DWORD format: * _software.exe* and * ~ software.exe*, value = 1 (hexadecimal). Here, * software * represents the name of the program you want to accelerate as * _photoshop.exe* and * ~photoshop.exe*
    * 6 * in these files, search for * GFX_Options * and change its value to * 1 *.
    * 7 * restart your computer to activate GFX
    * 8 * repeat step 4 to add more programs you want

    Other updates for the drivers are under developed. However, this method will help you to speed up your computer performance with + heavy + graphical software required. I got double FPS on some software on my Toshiba L300 using this method such as Corel, WarcraftIII and Titan Quest (24-32 fps measurement by Fraps)

    Hope it's useful for everyone.
    Best wishes

    Hi Luong Phan

    Thanks a lot for the details and this great instruction.

    I also found this thread. It s your ;)

    + Improve the performance of Satellite L300 graphics software and games-Vista +.
    http://forums.computers.Toshiba-Europe.com/forums//message.jspa?MessageID=119890#119890

    It s the same statement. I am happy. Thank you

  • How to improve the performance of your computer and free up space.

    Original title: the unwanted temporary files of windows is at the origin of the problems of proformanace

    According to a check of problem: the unwanted files temporary windows could take to improve the performance of your computer and free up space.

    Can anyone help with this simple problem.

    Angelo

    Hi Angelo,.

    1. which edition of Windows are you running?
    Example: Windows 7 Professional 32 bit.
    Please follow the below link to clean unwanted temporary files.
    Delete files using disk cleanup
     
    Microsoft at home.
    Slow PC? Optimize your computer for peak performance
    Make slate: how to remove the unwanted files and programs
     
    I hope this helps.
  • I have the computer laptop dv7 - 7227cl of HP Envy, is there a way to improve the performance of game?

    I have windows 8.1, 8 GB ram, amd quad core 4600 a10 m. Is it possible to increase its performance?

    Hello

    You seem to have pretty good specifications in the laptop.

    Even so, I prefer Intel than AMD processors.
    Try playing in low & medium resolution.

    You can go through this document, it can help you in improving the performance: http://support.hp.com/us-en/document/c03340676

    Thank you

  • How can I improve the performance of my compaq presario V2000, its very slow

    How can I improve the performance of my compaq presario V2000, its very slow!

    According to many things (specifications, you have now installed vs the programs he came originally with programs, etc.)-it may or may not work better that ever he does now.  However, in terms of nothing other than the software and others on the subject - there are some things you can do to optimize performance.

    Search for malware:

    Download, install, execute, update and perform analyses complete system with the two following applications:

    Remove anything they find.  Reboot when necessary.  (You can uninstall one or both when finished.)

    Search online with eSet Online Scanner.

    The less you have to run all the time, most things you want to run will perform:

    Use Autoruns to understand this all starts when your computer's / when you log in.  Look for whatever it is you do not know using Google (or ask here.)  You can hopefully figure out if there are things from when your computer does (or connect) you don't not need and then configure them (through their own built-in mechanisms is the preferred method) so they do not - start using your resources without reason.

    You can download and use Process Explorer to see exactly what is taking your time processor/CPU and memory.  This can help you to identify applications that you might want to consider alternatives for and get rid of all together.

    Do some cleaning and dusting off this hard drive:

    You can free up disk space (will also help get rid of the things that you do not use) through the following steps:

    Windows XP should take between 4.5 and 9 GB * with * an Office suite, editing Photo software, alternative Internet browser (s), various Internet plugins and a host of other things installed.

    If you are comfortable with the stability of your system, you can delete the uninstall of patches which has installed Windows XP...
    http://www3.TELUS.NET/dandemar/spack.htm
    (Especially of interest here - #4)
    (Variant: http://www.dougknox.com/xp/utils/xp_hotfix_backup.htm )

    You can run disk - integrated into Windows XP - cleanup to erase everything except your last restore point and yet more 'free '... files cleaning

    How to use disk cleanup
    http://support.Microsoft.com/kb/310312

    You can disable hibernation if it is enabled and you do not...

    When you Hibernate your computer, Windows saves the contents of the system memory in the hiberfil.sys file. As a result, the size of the hiberfil.sys file will always be equal to the amount of physical memory in your system. If you don't use the Hibernate feature and want to reclaim the space used by Windows for the hiberfil.sys file, perform the following steps:

    -Start the Control Panel Power Options applet (go to start, settings, Control Panel, and then click Power Options).
    -Select the Hibernate tab, uncheck "Activate the hibernation", and then click OK. Although you might think otherwise, selecting never under "Hibernate" option on the power management tab does not delete the hiberfil.sys file.
    -Windows remove the "Hibernate" option on the power management tab and delete the hiberfil.sys file.

    You can control the amount of space your system restore can use...

    1. Click Start, right click my computer and then click Properties.
    2. click on the System Restore tab.
    3. highlight one of your readers (or C: If you only) and click on the button "settings".
    4 change the percentage of disk space you want to allow... I suggest moving the slider until you have about 1 GB (1024 MB or close to that...)
    5. click on OK. Then click OK again.

    You can control the amount of space used may or may not temporary Internet files...

    Empty the temporary Internet files and reduce the size, that it stores a size between 64 MB and 128 MB...

    -Open a copy of Microsoft Internet Explorer.
    -Select TOOLS - Internet Options.
    -On the general tab in the section 'Temporary Internet files', follow these steps:
    -Click on 'Delete the Cookies' (click OK)
    -Click on "Settings" and change the "amount of disk space to use: ' something between 64 MB and 128 MB. (There may be many more now.)
    -Click OK.
    -Click on 'Delete files', then select "Delete all offline content" (the box), and then click OK. (If you had a LOT, it can take 2 to 10 minutes or more).
    -Once it's done, click OK, close Internet Explorer, open Internet Explorer.

    You can use an application that scans your system for the log files and temporary files and use it to get rid of those who:

    CCleaner (free!)
    http://www.CCleaner.com/
    (just disk cleanup - do not play with the part of the registry for the moment)

    Other ways to free up space...

    SequoiaView
    http://www.win.Tue.nl/SequoiaView/

    JDiskReport
    http://www.jgoodies.com/freeware/JDiskReport/index.html

    Those who can help you discover visually where all space is used.  Then, you can determine what to do.

    After that - you want to check any physical errors and fix everything for efficient access"

    CHKDSK
    How to scan your disks for errors* will take time and a reboot.

    Defragment
    How to defragment your hard drives* will take time

    Cleaning the components of update on your WIndows XP computer

    While probably not 100% necessary-, it is probably a good idea at this time to ensure that you continue to get the updates you need.  This will help you ensure that your system update is ready to do it for you.

    Download and run the MSRT tool manually:
    http://www.Microsoft.com/security/malwareremove/default.mspx
    (Ignore the details and download the tool to download and save to your desktop, run it.)

    Reset.

    Download/install the latest program Windows installation (for your operating system):
    (Windows XP 32-bit: WindowsXP-KB942288-v3 - x 86 .exe )
    (Download and save it to your desktop, run it.)

    Reset.

    and...

    Download the latest version of Windows Update (x 86) agent here:
    http://go.Microsoft.com/fwlink/?LinkId=91237
    ... and save it to the root of your C:\ drive. After you register on the root of the C:\ drive, follow these steps:

    Close all Internet Explorer Windows and other applications.

    AutoScan--> RUN and type:
    %SystemDrive%\windowsupdateagent30-x86.exe /WUFORCE
    --> Click OK.

    (If asked, select 'Run'). --> Click on NEXT--> select 'I agree' and click NEXT--> where he completed the installation, click "Finish"...

    Reset.

    Now reset your Windows with this FixIt components update (you * NOT * use the aggressive version):
    How to reset the Windows Update components?

    Reset.

    Now that your system is generally free of malicious software (assuming you have an AntiVirus application), you've cleaned the "additional applications" that could be running and picking up your precious memory and the processor, you have authorized out of valuable and makes disk space as there are no problems with the drive itself and your Windows Update components are updates and should work fine - it is only only one other thing you pouvez wish to make:

    Get and install the hardware device last drivers for your system hardware/system manufacturers support and/or download web site.

    If you want, come back and let us know a bit more information on your system - particularly the brand / model of the system, you have - and maybe someone here can guide you to the place s x of law to this end.  This isn't 100% necessary - but I'd be willing to bet that you would gain some performance and features in making this part.

  • Anyone have information about the software to improve the performance of a computer called "MECHANICAL SYSTEM"

    original title: windows xp

    has anyone information about the software to improve the performance of a computer called "MECHANICAL SYSTEM"?

    It is located on the website at WWW.IOLO.COM.

    Maybe someone of expertise of knowledge about this software?   or maybe someone has experience with this product?

    There is a similar product, without the costs?

    DO NOT BUY OR INSTALL "SYSTEM MECHANIC".

    IT will bog your system with errors, which would mean probably a complete restoration of your system.

    Dell recommends and sells it from their technical support group and SHAME on THEM for DOING SO.

    THIS SOFTWARE IS A TRAGEDY IN THE MAKING.

    Go to PC Mag reviews and you will see for yourself that there is a very LOW RATING and under normal conditions, you need software to mess with your registry.

    I know someone who has installed this program and we always try to fix all of the errors generated by mechanical system.

    We did a complete restoration and stil having problem.

    Thus he PURCHASE a CERTAINLY DO NOT GOLD INSTALLER CE PROGRAM.

  • Lost "assess and improve the performance of your computer.

    When I got my laptop Vista Home Premium Dell Inspiron 1525, I was able to access the tools of Information Performance via the control panel and the page would show the "rates and improve your computers performance" upstairs with the details and the score below with the button 'update my score"at the bottom.
    Suddenly, all execution details and score, with the button "Update my score," disappeared leaving only the title of rate & Improve highlighted in blue that does not work when you click them. Is someone can you please tell me how I can return the performance score details?
    If this is relevant, I ran SFC \SCANNOW and I finished with a message "Windows Resource Protection found corrupt files but was unable to fix some of them." Details are provided in the c:\Windows\Logs\CBS\CBS.log. When I try to execute it I get 'access denied '.

    "Go to start / Control Panel / folder Options / view and click on 'Show hidden files' click on view files system, ' and unlclick ' hide the Extensions of known file Types".

    Then go to C:\Windows\Logs\CBS\CBS. JOURNAL and it should be there if you have run the SFC/SCANNOW command...

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • What is the best way to improve the performance of this all-in-one PC?

    What is the best way to improve the performance of this all-in-one PC?

    Thanks in advance.

    David Barrett.

    Here are a few methods:

    • Run msconfig.exe, and then uncheck the startup tasks that you don't need. No matter what you disable, Windows always starts.
    • Use a light virus scanner, for example Microsoft Security Essentials.
    • Replace your magnetic drive with a Solid State Disk (SSD)
  • delete prefetch files - other recommendations to improve the performance of the computer please

    After that I deleted the prefetch folder, use tools online to improve the performance of my computer in Windows 7?

    After that I deleted the prefetch folder, use tools online to improve the performance of my computer in Windows 7?

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_vista-performance/does-deleting-the-contents-of-a-prefetch-folder/1b9d4ab7-B553-4990-881c-5702ad724d8d

  • Whenever I try to evaluate and improve the performance of the computer, I get a type of white blue screen telling me I have bad software or hardware and my computer does climb?

    Whenever I try to evaluate and improve the performance of the computer, I get a type of white blue screen telling me I have bad software or hardware and my computer does climb? He did NOT finish the task is content to any screen blue screen saying it's bad it's bad, your computer is messed up bigtime, so-to-speak

    Hi Cynthia,.

    1 have you ever done any hardware or software changes to the PC?

    2. What is the brand and model of the PC?

    3. What is the full error you get when you try to evaluate the computer?

    Audit of the statues of the device in the Device Manager.
    a. click the Start button, type devmgmt.msc and press ENTER.
    b. check for any exclaimation mark and the status of the devices.

    Follow these methods.

    I suggest you to first run the resolution of performance problems.

    Method 1: Open the resolution of Performance problems
    http://Windows.Microsoft.com/en-in/Windows7/open-the-performance-Troubleshooter

    Method 2: Disconnect non-essential external devices and try to evaluate the computer.

    Method 3:  Also, temporarily disable the antivirus and check the question.  Anti-virus programs are sometimes called causes this problem.

    Turn off the Antivirus software
    http://Windows.Microsoft.com/en-us/Windows-Vista/disable-antivirus-software
    Note: Antivirus software can help protect your computer against viruses and other security threats. In most cases, you should not disable your antivirus software. If you need to disable temporarily to install other software, you must reactivate as soon as you are finished. If you are connected to the Internet or a network, while your antivirus software is disabled, your computer is vulnerable to attacks.

    Let us know if it helps. If the problem persists, please answer, we will be happy to help you.

  • I need to improve the performance of a Web site and I want to track the total number of requests per second...

    I need to improve the performance of a Web site and I want to track the total number of requests per second... we are currently hitting...

    Please I need to hit the current with 1200 queries/second application, please help in this regard.

    Hi Nivask,

    If you created the Web site, the question would be better suited in the MSDN Forums. I would recommend posting your query in the MSDN Forums for assistance:

    Internet Explorer Web development

  • How to improve the performance of my T61?

    Hello

    I got Lenovo T61 T7300, which means he has Intel Core 2 Duo 2.00 Ghz, 2 GB ram and nVidia Quadro NVS 140 M.

    And I want to improve its performance, then, what are the materials that I can use on it... (can eg. I attach another 2 GB of ram, or replace it with 4GB).

    Also, I have a T61 and am very happy with it.  An SSD would certainly speed things up but would not perform to its potential because of the interface SATA on the T61 is limited to SATA 150 speeds.

    I have a beautiful Seagate 7200 RPM 320g turning regularly drive and am happy with the performance.

    About the memory your T61 can support up to 8 GB of RAM.  Four should be much, but if you want to get out the machine max and don't mind a little extra money spending, I'd recommend the following memory: http://www.newegg.com/Product/Product.aspx?Item=N82E16820231210

    Also, be sure to disable unnecessary software on your computer.  It can easily be slowed down by the suites of security and background process.

    HTH

  • Improving the performance of OLAP in Oracle Database 11

    Hi all

    First of all sorry for a very generic question, lately I been faced with some problems of performance during the generation cubes

    for example we had a problem of low SGA_memory, now we have referred questions to Doc-ID 1464064.1

    to cut short-we have a list of things to look for in advance for OLAP can improve performance?

    similar to the one mentioned in a blog post (improving the performance of OLAP in Oracle Database 10 g Release 1) which is for 10 g

    we ORDM DW, which has the dimension of TIME based with about 10 k records sometimes, that it takes about 20 minutes to build recently its not not building at all throwing error mentioned Doc-ID 1464064.1 I have a wip SR to even SR 3-9620792761

    Similarly, we produced Sun with approximately 9million records sometimes he finished in 4 hours sometimes it ends quite

    I have twice fallen & recreated workspace that helps a little but does not appear inconsistent.

    Pointers would be really useful

    Thank you

    Prateek

    You can update following anonymous pl/sql block and change in your

    specific information for the name of the cube and measure names. You

    can add more steps as you like following the same convention of xml.

    DECLARE

    CLOB xmlCLOB;

    tmp varchar2 (4000);

    BEGIN

    DBMS_LOB.CREATETEMPORARY (xmlCLOB, true);

    DBMS_LOB. Open (xmlCLOB, DBMS_LOB. LOB_READWRITE);

    tmp: ='

    ';

    DBMS_LOB. WriteAppend (xmlCLOB, length (tmp), tmp);

    dbms_cube.import_xml (xmlClob);

    DBMS_LOB. Close (xmlClob);

    END;

Maybe you are looking for