Oracle statistics performance impact

We had empty and loaded tables more then 100 million lines, and our DBA put together the statiscis. Now, the tables are truncated, and we need to load data into empty tables.
My question is applying the statistics of the last run will improve performance or there is no performance gain by applying statistics.

I'm not a DBA, and so apologies if I ask a question wrong. Thank you

Published by: anuragtandon on February 1, 2013 21:47

If you are truncating and make the daily load in bulk then it's an unstable table for sure. Let me paste here what oracle white paper said "an unstable table is one where the amount of data changes radically over time. For example, a queue table orders, which, at the beginning of the day, the table is empty. As the day progresses and orders are placed the table starts to fill. Once each order is processed, it is deleted in the tables, so at the end of the day, the table is empty, once again.

If you base you on automatic statistics together in order to maintain statistics on these tables, then the statistics should always be that the table was empty because it was empty during the night, when the work missed. However, during the day, the table can have hundreds of thousands of lines in there.

In this case, it is best to gather a representative set of statistics for the table during the day when the table is filled, and then block them. Locking statistics will prevent the automatic statistics collection job among most of write them. Alternatively, you can rely on a dynamic sampling to collect statistics on these tables. The optimizer uses dynamic sampling during the compilation of a SQL statement to collect some basic statistics on the tables before the optimization of education. Although statistics collected by dynamic sampling are not as a quality or as complete as statistics collected using the DBMS_STATS package, they should be good enough in most cases. »

SOURCE http://www.oracle.com/technetwork/database/focus-areas/bi-datawarehousing/twp-bp-optimizer-stats-04042012-1577139.pdf

Tags: Database

Similar Questions

  • Update Oracle statistics

    Hi everyone again once,

    I'm looking for a short document for a guide to statistics of update of oracle to 10g

    The oracle server that I currently am, I copied to another server. On this new server, we use the same resources as the original server, but the performance is poor.

    I'm looking to update the statistics, but obviously I Don t want to do one by one because the number of tables on production is enormous. If anyone can tell me how to do an update of oracle statistics automatically?

    Thank you all for reading

    http://download.Oracle.com/docs/CD/B19306_01/server.102/b14211/stats.htm#sthref1095

  • The performance impact on the size of the CHM file

    Is there any performance impact depending on the size of a CHM file?

    Main issues people with the help file performance (whether a CHM file) are related to the number of images, the hotspots DHTML, bookmarks, and links they have in a topic. The number of subjects in a CHM shouldn't be a problem. What exactly you are trying to access the performance impact?

  • Space/performance impact of attachments on oracle applications

    Hello everyone!

    We are about to go to allow attachments in our Oracle Apps R12.1.3 (RHEL 5.5 64-Bit. Database 11.1.0.7). Before you go for it, however, we want to know how it will impact storagewise and performance wise.

    Thanks in advance!

    Vinod

    Edited by: VinodNagpure January 6, 2013 23:19

    Attachments are stored in the table FND_LOBS - attachments are not compressed. There should be no performance issues don't related - extra storage will be necessary depending on how many and how big are the attachments. Store attachments on the file (instead of the database) system is also an option.

    How the store Image/PDF spare part on the filesystem in 11i and R12 (as an attachment file directory) [ID 294525.1]
    Is there a limit to size of file for EBS Attachments [ID 739643.1]
    Attachments and exports, a Troubleshooting Guide [ID 135444.1]
    Attachments in the Oracle Applications 11i, storage and considerations [ID 176658.1]

    HTH
    Srini

  • Reg: Oracle audit regular performance impact

    Dear all,

    Oracle Database 11g R2 11.2.0.1 SE1

    Currently in the development database, I activated the regular audit on SELECT, INSERT, UPDATE, DELETE for about 10 (more accessible) tables on 140

    The growth rate of aud$ table is about 100 files per minute (on average) and the DB is accessible by 20 people simultaneously.

    I also planned the DELETE task for aud$ table every night at 12:00. (Delete rule-> SYSDATE - 2)

    This audit decreases the performance of the database when I implement the same production?

    If all this, I want to stop an audit anyway, not the bug (Bug 1257564: noaudit does not turn off auditing database.) avoid me by doing this, since I've found the fixed version of the bug in oracle support.

    Guide to in this regard.

    Hi malfoy

    I suggest strongly that you to check the following documents concerning the Audit of the Oracle performance problems

    http://www.Oracle.com/technetwork/products/Audit-Vault/learnmore/TWP-security-auditperformance-166655.PDF

    However, it is very rare that someone has faced the bug you mentioned, and the only way to solve it is to raise SR Oracle support

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

    Best regards

    Kamran Aghayev has.

    Personal site removed by moderator - this is a violation of the terms of use of forums - include only personal website in your profile details *.

  • understand Oracle statistics

    Hi experts,

    I am new to Oracle performance optimization. can someone tell me what the average "Collection of statistics of the Oracle" in words/simplicity. I it is read from the Oracle website http://docs.oracle.com/cd/A87860_01/doc/server.817/a76992/stats.htm.

    But I'm not understand properly. He a role in optimizing the performance of oracle? Does make good performance of Oracle DB?

    Reg

    Thomas

    I have a couple of spastics as well in my team, they can type very fast, but the database is not complete...

    Seriously now:

    You will need to read and understand the documentation.

    This isn't something we can explain in 2 sentences, it is quite complicated.

    In fact, I think that the most recent version (12.1 (c) documented it better, especially the Oracle® database SQL Tuning Guide
    12c Release 1 (12,1)
    which you can find here: content

  • MySQL to Oracle using LKM SQL to Oracle, poor performance

    Hello

    I'm on the underside of technology.

    I'm try to use ODI to import data from MySQL to Oracle using the LKM SQL to Oracle, it works well for small amounts of documents but once volumes go higher it performs very badly.

    I'm replacing an integration of existing HS dblink to 44 seconds and ODI is 9 minutes.

    The MySQL and Oracle DB are on the same host with an autonomous ODI agent on the same host.

    MySQL 5.6.21

    Oracle 11.2.0.4

    Oracle Data Integrator 12.1.3

    I may try a different approach to dumping the MySQL table to a flat file and import from external table or sqlldr but y at - it a way to make the LKM SQL for Oracle perform better?

    Hello

    This problem has been resolved.

    I was setting the table sizes in batches on the data source server, after you set the values on the target data server is it now works as expected.

    Using a value of 5,000 for the two tables has reduced the operating time of 9 minutes to about 40 seconds.

  • Oracle APEX Performance on Oracle Express Edition

    Hello

    I was wondering if someone can help me, I'm looking to change my environment hosted on a virtual server. The server running VMWARE Windows 2012 R2 and Oracle Express Edition with the latest version of the APEX.

    The server would be:

    3Gig Ram

    25Gig storage

    1 virtual processor

    Someone at - he no idea how it would perform? I currently have applications with up to 200 people using the system at a point in time. Performance is critical obviusly and I don't want this virtual solution if I'll take a drop in performance.

    Just to clarify, the only reason why I'm looking to spend are all my clients are located in South Africa and I am currently hosted in the United Kingdom. The shift would be seriously reduced if I moved to accommodation in South Africa.

    Thanks in advance.

    Andrew

    Hi André,.

    I did a few tests of performance and scalability with APEX on XE with JMeter (https://jmeter.apache.org/)

    The limitation of the XE is mainly database size (I think only 11 GB for user data) and max 1 GB for the database altogether instance.

    When you use the EPG of APEX I started to run into trouble after 20 + sessions at the same time.

    When you use the earpiece of the APEX, I was able to push a tot of factor 2 3...

    After that XE has usually crashed due to problems of memory.

    Everything depends on the application and how active users are their session but more importantly could give you a good indication that XE isn't the way to go for 200 users working at the same time.

    Maybe check jmeter (very easy) with your application and the config to see when it crashes. SE1 could also be a cheap alternative.

    Concerning

    Bottom

  • Client Server application performance impact due to the strong issue of retransmission of TCP packets

    People,

    I'm having problem of performance of serious application with my vSphere environment where I deployed a couple of database SQL Server stand-alone VMs (4 x VM) to be used by some applications virtual computers servers (4 x stand alone VMs) running Oracle Forms (Java) servers. Users connect from their own workstation to various geographic locations in Asia, the data center is in Australia.

    User (150 users of workstations Win7) - RDP-TCP/3389-> Terminal Server VM pool (one of the 45 x VM available) -Oracle Forms app TCP/80-> Application Server HTTP -SQL Server TCP/1433-> SQL Server VM.

    Somehow, report of the team of the network there are some consistent event TCP retransmit the packet between the Application Server to the database, as well as between Terminal servers.

    the accident occurred in any type of scenario same ESXi host or even different ESXi

    Material:

    HP BL 465c G7/G8 blades on c7000 enclosure

    HP Virtual Connect modules

    Software:

    vSphere U1 5.1 for all blades HP running ESXi and VCenter server.

    All terminal Servers Server (RDSH) and the OS: Windows Server 2008 R2 SP1 STD.

    Database: SQL Server 2005 and 2008 R2

    What could cause the TCP retransmission on the virtual environment?

    wreedMH, what kind of problem you encounter on your server environment blade HP?

    What I did:

    1 perform the update firmware on blade HP, ANC and also updated the drivers of ESXi for last October 2015 using HP SPP.

    2. upgrade to the last update of VMware ESXi 5.1 3 b build number 2323236.

    3. switch to level the latest VMware tools v10.0.5 after having done both above.

    4. follow VMware KB: big packet loss at the OS level invited on the VMXNET3 vNIC in ESXi small buffers Rx = 8192 and Rx ring #1 size = 4096


    Hope that helps.

  • Measure the performance impact of a PowerCLI report on vCenter

    How will I know how much of an impact on the performance my powerCLI report will have on the performance of my Server vCenter?
    If I run a report for example which attracts a large number of events of vCenter Server and sorts through them, is that the processing and memory usage will be mainly on the virtual machine, I am under the report of?  How much charge it will put on vCenter itself?  (I see use RAM up substantially on the virtual machine, I am running the report)
    Thank you!

    Just leave out the MaxSamples parameter

  • VMFS extend computing performance impact

    Hi guys,.

    I would like to know how I can calculate the impact on performance (CPU resource mainly) to have a BATCH of VMFS extend (I know it's it is not advisable) on an ESXi 3.5 environment?

    Indeed, we have prepared 2 ESX Server with 70 VM total and an average of 35% CPU (normally we should have 5%), I want to better manage this problem (as VC report on average 20% of the CPU usage) by eliminating the other thing that can touch the CPU perf... ہ VMFS extension...

    Thanks for your comments

    Concerning

    Julien

    When using extends as far as I know, there is no loss of performance. It could even increase performance

    http://virtualgeek.typepad.com/virtual_geek/2009/03/VMFS-best-practices-and-counter-FUD.html

    Duncan

    VCDX | VMware communities user moderator

    -

  • ORACLE 10g Performance: Dual-core against multicore

    All the

    I'm not sure if this is the right place to ask this question, but what is generally the recommended hardware approach with regard to the data warehouse ORACLE running on a multiprocessor system with options is: dual-core or many - core (4, 6 or 8 cores)?

    I understand suggests that a server based on an 8-core processor does not offer the same performance benefits of eight processors core; So logically, it would be preferable to keep the carrots to a minimum while using the feature of "parallelism" to ORACLE on a multi-core system. Is it a correct assumption? Or can get you that little bit of performance using a single indictment of a multicore processor?

    Examples of an 8-core system:

    Option1: HP DL580 G5 Server, 4 * processors dualcores Intel Xeon E7220 2.93 GHz, 32 GB DIMM RAM
    Option2: Sun SPARC T5440 Server, 1 * T5440 8-core CPU module 1.4 Ghz 64 son, RAM 32 GB DIMM
    Option3: Server HP DL785 G5, 2 * processors four cores AMD Opteron 8393 3.1 GHz, 32 GB DIMM RAM

    Which option would be best?

    See you soon,.
    F

    Published by: OracleDisciple on September 16, 2009 12:03 AM

    Hello

    What is the recommended hardware approach regarding the data warehouse ORACLE running on a multiprocessor system with options is: dual-core or many - core (4, 6 or 8 cores)?

    It depends on the characteristics of your workload.

    Do you see the CPU in your top 5 timed?

    Most data warehouses are not related to the CPU, they are I/O related because there is not enough RAM to cache all data blocks...

    I have here some notes that explain this in detail:

    http://www.DBA-Oracle.com/oracle10g_tuning/t_cpu_constrained_bottleneck.htm

    Which option would be best?

    One of these will be fine. In a data warehouse, it is easy driving processors at full capacity, using OPQ by adjusting the LEVEL.

    For more information, visit http://www.tpc.org and searchg for Oracle TPC - H benchmarks, that's how I evaluate the DW servers:

    This is the bench for the DL580:

    http://www.Google.com/search?q=site%3Awww.TPC.org++Oracle+TPC-h+DL580+&AQ=f&OQ=&AQI=

    Why limit your choices to HP and Sun? IBM has screamer servers, as the fact of UNISYS and same Dell...

    Just be careful. I've seen shops that upgrading to more/more-fast CPU, to see no change in performance.

    I hope this helps...

    Donald K. Burleson
    Oracle Press author
    Author of "Oracle Tuning: the definitive reference".
    http://www.rampant-books.com/book_2005_1_awr_proactive_tuning.htm
    "Time flies like an arrow; Flies to fruit like a banana.

  • Oracle Application Performance Tuning

    Hi all
    Please forgive me if I'm asking this in the wrong section.

    I'm an engineer s/w with 2 years exp. I worked as a tuning performance for Oracle EBS resource in my company. Jobs in question especially SQL tuning and treating indices etc. At the moment I took interest in s/n things, and I finished my TRAY in Oracle 10 g. Now, my company gives me the opportunity to move to a team of DBA of the Application and I'm totally confused about this.

    Becoming a DBA Apps means that the effort that I put in the certification in 10g will be of no use. There are other Apps DBA certification documents. I should stay put in performance tuning & wait for a chance to base DBA or I will accept the opportunity to Apps DBA.

    Also, did my exp. in SQL tuning performance hold any value as such with exposure to activities of s/n?

    Please guide me in this matter I am very confused right now.

    Kind regards
    Lucette

    Lucette wrote:
    Hello bigdelboy, thank you very much for your answer.

    Yes, I meant by oracle Apps DBA Oracle EBS.

    1Z0-046 clearing, is an option. However, my question is will delete both reviews the Admin I and Admin II being of any help, bypassing the expericnce practice? The EBS DBA work involves support and patching, cloning and installation of the new node etc.

    Also, is my performance tuning experience will help me somehow on the way forward as a DBA / EBS DBA?

    Thank you for your valuable time.

    Kind regards
    Lucette Sarath

    The way I read it is that.

    People notice that you are able to understand and SQL performance. And you must have some knowledge of Oracle EBS. And in fact, you also have a DBA OCA.

    So, there are 98% + chance you can be transformed into a good Oracle Apps DBA (and the core s/n). If I was in their position I want you on my team. It's the way we used to bring on DBA in the old days before approval, and he still has a lot of merit. OK you can only do tasks limited at first... but the number of taks you can do will increase substantially in recent months.

    I imagine that the Oracle Apps DBA will be pleased to have a person on board who can tune SQL which sometimes can sometimes seem more like an art than a science of performance. The application of patches, etc. can be taught in small doses. If they are a good team, they're not trying to give you all at once, they'll get to learn one procedure at a time.

    And remember, if in doubt ask. and if you do not understand ask again. And be safe and not sorry on actions that could be serious.

    .................

    If your fear on liinux: recipes of Linux for Oracle DBA (Apress) might be a good book to read but can be expensive in India
    Same: (Oracle Applications Dba field Guide) can agree, and the same (Rman recipes for Oracle Database 11 g A problem-solution approach) can have some value if you need to get fast speed in these areas.
    They are not perfect, but they sometimes have to consolidate the information carefully; However only buy if you think they are pretty cheap. You can buy them well and feel disappointed (these all is found by Apress which have produced a number of good books... they also published some waste as well)

    And review the dba examples 2 days as well and install examples n OTN linux so... they are free from books I mentioned.

    Rgds - bigdelboy.

  • KB973687 - msxml3.dll msxml6.dll - services.exe uses excessive virtual memory, the performance impact on the first logon after restart

    Since the installation of fix KB973687, I had several SP2 and SP3 systems exhibit behavior that makes them unusable until after the first logon is completed, which can take up to 20 minutes.   I've identified the patch (KB973687) and DLLs, that it will update the origin of the problem, but uninstalling the patch does NOT return to normal operation.

    I need to understand how to upgrade these systems WindowsXP SP2 and SP3 to restore normal operation, reinstalling Windows, programs, and settings is an expensive solution.

    The performance problem is caused by services.exe slowly consumes about 1.5 GB of virtual memory, and then slowly releasing.  This seems to be triggered by the first logon after restart, this connection is very slow, the screen is blank for most of it, there might be failures of allocation memory during logon.  Once complete this opening of session and memory usage returns to normal levels, recording and return to work normally as do other operations until the system is restarted.

    Spent a lot of time working with SysInternals Process Explorer, trying to find what specific service might be involved, lightweight system for bare essential services with no luck.

    KB973687 seems to offer only two files msxml3.dll and msxml6.dll.  Uninstalling this patch, resettlement V3 and V6 of the XML parser fail to restore normal operation.

    Not all systems seem to have place still restrict the differences.  Systems that are appear to be the oldest, with Windows XP has been installed for at least a year, installed Microsoft Office and Adobe Acrobat.

    Looking for these forums and the Internet, I believe that many have encountered this problem, but have not is it this level of analysis, seem most attribute it to a virus, I see several start explorer.exe manually, I didn't know all the alternatives before reinstalling Windows.

    Found the solution, the following has been fixed in System Cleaner of Comodo 2.2.129172.4:

    "For some strange reason, after changing some settings of the system with the CSC LastGood.tmp Directoy began to constantly be read from my hard drive. This would occur up to about 90 to 99% of my memory was used and then stopped, begin to free the memory, and the system began to slowly to function normally.
    I used the process explore from sysinternals to help diagnose the problem with any process other than services.exe using memory.

    I used sysinterals filemonitor to see LastGood.tmp directory has been read repeatedly.
    After you have uninstalled CSC the problem has been resolved. »

    Even with the effort to find the solution, it was better to reinstall.  Hope this solution helps others.

  • Question about the rowchain and performance impact

    Hi all

    We have a table is partitioned and we insert data with values in column PK only leaving all other null column values. After one or two days we will update the column values.

    We are to suspect that our table suffers from rowchain. We did no analysis to see the rowchain as he is busy 24/7 system.  system stats "table continues line" could not useful as we do scan on partitions full and never no index lookup.

    Assuming that we suffer from rowchain what is the best practice to follow?

    (1) should we insert the dummy data in the first place? We wanted to insert some dummy values that is going to be same length of length of data for future update. What is this popular help with problem the chain line?

    Made Oracle deletes data on the block and reuses the same space for the new updated value? (Assuming that the new value of data will be exact same length)

    (2) if the method above doesn't work, then the only solution it to have high PCTFREE?

    -Thank you

    That should help, if your update does not increase the size of the line is not necessary for oracle to migrate.

    You another issue of additional work would not set. What is a two step process?

Maybe you are looking for

  • 12 Firefox will not now allow Hotmail work.

    Having been using Firefox for a few years now and never had any problems with access to Hotmail. Recently updated to 12 of Firefox and initially it worked fine with Hotmail. In the last days, Hotmail has become unusable. I can connect you as usual, b

  • Satellite P200 - 143 BIOS does not refresh

    Hi all. New here. Try to update the BIOS on my P200-143. The current version is v1.30, I; v2.70 ve downloaded from the Toshiba Web site, but every time I try and flash, I get the error code:-120 to winphlash BIOS update failed! New BIOS is not compat

  • iMessage Archive?

    I got two iPhone in a period of three years―same number, same iMessage account―and of countless messages in these two phones. Is it possible to see all of them? On TV, I see you can see the transcript of text messages and my parents used to threaten

  • Firefox turns off adobe flash plugin for debugging

    Firefox 3.6.4 turns off adobe flash plugin for debugging This has happened Each time Firefox opened Is when my application is stopped at the breakpoint in adobe flash builder switches off in 15-20 secconds firefox plugin flash. can I disable this beh

  • Dv7t recovery CD?

    I have a dv7t I bought in 2009 at hp with windows vista, I'm not sure at this moment on the submodel. I read somewhere some time I could buy a Hp recovery cd which would restore the computer. any help would be greatly appreciated, as I liked this com