Need info abt gathering statistics

Hi,
We are using 8.0.6 database and have around 90GB data in our database. Since we are adding lot of data daily, I wanted to know, Do we need to gather/update statistics of all the tables in our database?
1) How gathering/updating statistics will help improve my database.
2) Do i need to have dba priviliges to gather these stats.
3) Do i need to update the stats daily.
4) Do i need to update stats for SYS? I heard it slows down the system.
5) What are the methods in 8.0.6 to gather statistics
Regards,
Ateeq

ateeqrahman wrote:
Hi,
We are using 8.0.6 database and have around 90GB data in our database. Since we are adding lot of data daily, I wanted to know, Do we need to gather/update statistics of all the tables in our database?
1) How gathering/updating statistics will help improve my database.Yes ...
2) Do i need to have dba priviliges to gather these stats.Not Necessary. You should have analyze any table privilege or execute permission on DBMS_STATS.
3) Do i need to update the stats daily.Depends on change in data
4) Do i need to update stats for SYS? I heard it slows down the system.
5) What are the methods in 8.0.6 to gather statisticsPlease read
http://www.oracle-base.com/articles/8i/RefreshingStaleStatistics8i.php
http://www.oracle-base.com/articles/8i/CostBasedOptimizerAndDatabaseStatistics.php
Regards
Rajesh

Similar Messages

  • Pharmacist need info abt SAP career

    Im working as intern-pharmacist.I about to finish my internship in couple of months. After becoming pharmacist,Im looking into diversifying into IT..Im actually looking for information on SAP's pharmacuetical software and how it will be possible for pharmacist to become SAP solution consultant, specialising on pharmacuetical softwares and its application to pharmacy practice either in industry or hospital or retail.
    I need your advice on how to go about this....How easy will it be for pharmacist to break into SAP consultancy services,especially in managing pharmacuetical manufacturing and bussiness.
    thanks
    Anil

    Hi,
      SAP CRM 5.0 has Lots of new functionality for Pharma industry will be available in Industry specifc solution.
    For SAP best practices
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/23a3b890-0201-0010-cfa1-8d831df8c6ac
    Regards
    Bala

  • Based on Ingo Hilgefort's Thread, need info abt data federator workarounds

    Hi Experts,
    We checked a related thread with (Re: Restricted key figures from a Data Federator Universe), with Ingo Hilgefort's reply that we can create filtered measures on universe level, but in our scenario it is not working, since in the generated SQL, all the where conditions created for filtered measures are getting combined with AND operator, and hence not producing any report.
    For eg, if we are creating two different filtered measures for sales in US, and sales in UK, the generated SQL will combine the conditions as below:
    select sales, sales from <tbl name>
    where country = "US" AND country = "UK"
    which definitely wouldn't produce any result, since country can be either US or UK, not both for any record.
    We need to know how to proceed with this scenario.... will it be by creating aliases for fact table and using different contexts, writing subqueries in custom SQL, or any other workaround...?
    Guidance on the same is needed urgently. Please share your experience and thoughts regarding the same.
    Regards,
    Suzane

    Hi Experts,
    We checked a related thread with (Re: Restricted key figures from a Data Federator Universe), with Ingo Hilgefort's reply that we can create filtered measures on universe level, but in our scenario it is not working, since in the generated SQL, all the where conditions created for filtered measures are getting combined with AND operator, and hence not producing any report.
    For eg, if we are creating two different filtered measures for sales in US, and sales in UK, the generated SQL will combine the conditions as below:
    select sales, sales from <tbl name>
    where country = "US" AND country = "UK"
    which definitely wouldn't produce any result, since country can be either US or UK, not both for any record.
    We need to know how to proceed with this scenario.... will it be by creating aliases for fact table and using different contexts, writing subqueries in custom SQL, or any other workaround...?
    Guidance on the same is needed urgently. Please share your experience and thoughts regarding the same.
    Regards,
    Suzane

  • Need info on Billing Outputs

    Hello,
    I need info abt billing Outputs - The language is maintained in Bill to party (Customer master), Its maintained in Condition record, It can be changed while creating the invoice.
    Now my question is, which of the above three cases has got highest priority.
    Could some one provide me some info on this?
    Regards,
    Krishna

    By default, we will maintain language in Bill-to-Party & also Condition record. But if required, it can be chaged at Invoicing level while taking output. Priority will be Bill-to-party, followed by Condition Record.
    Regards,
    Rajesh Banka

  • Need info on RA

    Hi all,
    i am in mid of RA Config...
    where in i need to Assign the Line ids to cost elements
    here we create the coding mask for the cost element to be assigned to line ids...
    so we need to create diff cost elements a/c to the coding mask....????is it so....
    so in next step ie in "Update of WIP calc and RA(OKG4)"
    where in for our Cntrl area i need to maintain diff cost elements....
    so now i am finding the problem in creating those cost elements.... for  each diff cost element types ie primary,sec,rev,settled...do i need to create diff G/L account ???? coz it asking fo it so....and hw to create those diff cost element..
    is it thru (ka01)....
    i have link regarding RA...but it does nt say anything abt these cost elements...
    need info on this...
    reply soon for this thread...

    Hi Amit,
    While i was doing the config according to the notes given by u...
    i was stuck in OKG8
    they have told me to set RA cat as RFKA and POCB
    BUT THOSE REC DOES NT EXISTS....
    where in i can create these RA category.....or can i use any alternative RA category
    so can u tell me wat these mean if u knw...and which P&L and Balance a/c need to be used or created and provide the TCOde if u have as the one of my CO consulatant hasnt turned up today....so i only have to create them..
    AND TO ARCHIVE THE PROJECT IS THE STATUS OF PROJECT MUST BE SET TO CNF MCNF TECO
    OR ITS ENOUGH THT ITS BEEN RELEASED...
    REGARDS,
    PREETI.P.G

  • Gathering Statistics in 10.7 NCA with 8i Database

    In preparation for the 11i upgrade we are first migrating our database to 8i
    (strongly recommended Category 1 pre-upgrade step 5).
    I have contacted Oracle Support on whether it is recommended to gather
    statistics in a 10.7 NCA environment (optimizer_mode remains RULE). Oracle
    Support says NOT to gather statistics in a 10.7 environment.
    This is contradictory information to several documents I have found.
    Furthermore, Oracle has provided ADXANLYZ.sql and FND_STATS for the 10.7
    environment.
    The following sources recommend gathering statistics in a 10.7 environment:
    1) 10.7 Installation Manual (A47542-1) page A-16
    2) 11i Upgrade Manual (A69411-01) page 2-5
    3) Metalink note 1065584.6
    Can somebody please clarify? Your feedback is much appreciated.
    Thank you,
    Rich
    null

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Rich Cisneros:
    We will be running 10.7 NCA in a server partitioned mode for 6-8 month using 7.3.4.4 with 8.1.6.2.
    Should I gather statistics as part of the 8i database upgrade (still 10.7) or part of the 11i Application upgrade?<HR></BLOCKQUOTE>
    Rich,
    Gather Statistics is only relevant to databases running with optimiser mode = COST or CHOOSE. Apps 10.7 runs with optimiser mode = RULE so you don't need to gather statistics until you start your actual upgrade to 11i, which will run with CBO.
    Hope this makes it clear.
    Steve

  • How important is gathering statistics on SYS objects?

    Hi,
    How important is gathering statistics on Data dictionary tables and other X$ tables in SYS schema. Is it bad to keep the statistics. Recently our Sr.DBA has deleted all the SYS schema stats telling that it will inversely affect the DB performance. Is it true?
    Regards
    Satish

    Hi Satish,
    *10g:*
    A new DBA task in Oracle Database 10g is to generate statistics on data dictionary objects which are contained in the SYS schema. The stored procedures dbms_stats.gather_database_stats and dbms_stats.gather_schema_stats can be used to gather the SYS schema stats. Here is an example of using dbms_stats.gather_schema_stats to gather data dictionary statistics:
    EXEC dbms_stats.gather_schema_stats(’SYS’);
    *9i*
    While it is supported in 9.2 to gather statistics on the data dictionary and fixed views, doing so isn't the norm.
    There is a bug fixed only in 10gR2 (not expected to be back-ported to 9.2) that caused this error. The fix is – don’t generate statistics against SYS – especially not the Fixed tables.
    For this query, let's see if we can get a better plan by removing statistics or by getting better statistics, or if we need to do something else to tune it. Take the SYS statistics as before, but with gather_fixed => false.
    I would like for you to test first by deleting the statistics on these two X$ tables and see how the query runs (elapsed time, plan).
    delete_table_stats('SYS','X$KQLFXPL');
    delete_table_stats('SYS','X$KGLOB');
    Then you can take statistics on them using gather_table_stats and check again (elapsed time, plan).
    gather_table_stats('SYS','X$KQLFXPL');
    gather_table_stats('SYS','X$KGLOB');
    The issue with this is that the contents of these fixed views, particularly x$kqlfxpl, can change dramatically. Gathering fixed object statistics may help now and cause problems later as the contents change.
    Warning, this is a bit dangerous due to latch contention, see the following note. I've supported a couple of very busy systems that were completely halted for a time due to latch contention on x$kglob due to monitoring queries (particularly on v$open_cursors).
    Note.4339128.8 Ext/Pub Bug 4339128 - Heavy latch contention from queries against library cache views.
    Hope this answers your question . . .
    Donald K. Burleson
    Oracle Press author
    Author of "Oracle Tuning: The Definitive Reference":
    http://www.dba-oracle.com/bp/s_oracle_tuning_book.htm

  • MOVED: Need info on windows xp pro purchase

    This topic has been moved to Operating Systems.
    Need info on windows xp pro purchase

    A Windows 8.1 Product Key will not work for a Windows XP install.
    Please do not read this sentence. Please ignore the previous sentence.
    Hi,
    We wont use the Win 8.1 Product Key - We will Purchase new Windows 8.1 License for the fourth PC but install our copy of Win XP on the machine (we have only 3 License that we used for the older 3 machines).
    Carey's reply only speaks to the technical aspects of installing a dual boot environment.  It says nothing about licensing which is what I think you are asking about.  I do not believe that you can purchase a Windows 8.1 License and apply it to a
    Windows XP install.  You need to enter in the Product Key when the OS is installed and I seriously doubt that the XP install will accept the 8.1 Key.  If you don't have a 4th key for XP you won't be able to have a legal copy installed.
    Please do not read this sentence. Please ignore the previous sentence.

  • Error while navigating planning 9.3.1 through workspace/ need info on cpx,

    Hi all
    Hey I installed the planning 9.3.1 and also I created the application name, using planning address. but the problem is I am unable to navigate through workspace. I am getting three dialog boxes....
    " invalid or could not find module configuration"
    "Required application module hyperioin planning app wizard is not configured.please contact your administrator"
    " Communication error"
    I'm able to see the application name in projects of shared services. Can any one face the same situation , and also I need info regarding how to initialize modules of capx and wfp.
    regards
    M.V

    Hi,
    If you did a standard install then it should be running on port 19000 as well.
    I take it workspace is working fine on port 19000
    http://<hostname>:19000/HyperionPlanning/LogOn.jsp
    ^ this will be your workspace servername..
    When you run the configuration utility for Reporting and Analysis and the section "Configure Web Server", this is where you set up the Apache Server for workspace, there is an option for "Planning", this should be ticked and the correct planning server entered as it will default to the workspace server.
    The apache server redirects requests on the standard workspace port 19000 to the correct server and port, so for planning it redirects to the planning server and port 8300.
    Cheers
    John

  • Need Info about BW CRM Analytics

    Hi all,
    Guys,
    Please help me out...
    I need Info about BW with CRM Analytics
    What are the core areas where data's are extracted for CRM to BW
    What will be the Interview question related to BW CRM Analytics
    If possible if u have any docs kindly email me at [email protected]
    Thanks in Advance.
    Jaffer Ali.S

    Dear Jaffer Ali S.,
    The following types of analyses can be carried out:
    <b>CRM Lead Analysis</b>
    Use the InfoCube CRM Lead Management (Technical Name: 0MKTG_C01) for reporting.
    The Lead Management InfoCube contains all the characteristics and data used for the administration of leads. This InfoCube enables you to execute the following standard queries available in SAP BW:
    Channel Analysis
    Efficiency Reporting
    Historical Evaluation
    Lost Leads
    Channel Management: Top-n Lost Leads (Current Year)
    <b>CRM Activities Analysis</b>
    Use the InfoCube CRM Activities (Technical Name 0CSAL_C01) for reporting.
    The InfoCube for activities in CRM provides the data basis for evaluating business activities undertaken by your employees. It provides you with information about how much time is being spent on contacting the customer, whether customers actively seek out contact with your company and how intensively your employees look after your customers. It delivers data for queries such as:
    Intensity of customer care
    Activity History
    Success/failure analysis
    <b>Customer Interaction Center (CIC)</b>
    Activate the InfoCube Interactive Scripting Evaluation (IC WinClient) 0CRM_CIC1.
    Interactive Scripting Evaluation (IC WinClient)
    This InfoCube provides the data base for the interactive scripting evaluation. It supplies the data to the Interaction Center (IC): Interactive Scripting Evaluation query.
    <b>Opportunities Analysis</b>
    Activate InfoCube 0CRM_C04 - Opportunities.
    The CRM Opportunities InfoCube contains all the characteristics and data used for the opportunities analyses.
    <b>Sales Order Complaints Analysis</b>
    Activate InfoCube Complaints (Technical name: 0CSAL_C09).
    You can carry out the complaint analysis on a daily, monthly, weekly or a quarterly basis. The analysis can be done in relation to CRM Service Organization, CRM Sales Organization, CRM Product, and Sold-To Party.
    <b>Service Qualtiy Analysis</b>
    Activate the MultiProvider 0CSRVMC04 - CRM Service - Orders and Confirmations with Complaints.
    The MultiProvider 0CSRVMC04 - CRM Service - Orders and Confirmations with Complaints gets the data from the following ODS objects for analyses in various queries:
    0CRM_PROI - Orders: Item Data
    0CRM_COI - Controlling (Item Data)
    0CRM_CNFI - Confirmations (Item Data)
    0CRM_COMP - CRM Complaints (Items)
    Let me know if you need further help.
    Reward points if it helps.
    Regards,
    Naveen.

  • Best practices for gathering statistics in 10g

    I would like to get some opinions on what is considered best practice for gathering statistics in 10g. I know that 10g has auto statistics gathering, but that doesn't seem to be very effective as I see some table stats are way out of date.
    I have recommended that we have at least a weekly job that generates stats for our schema using DBMS_STATS (DBMS_STATS.gather_schema_stats). Is this the right approach to generate object stats for a schema and keep it up to date? Are index stats included in that using CASCADE?
    Is it also necessary to gather system stats? I welcome any thoughts anyone might have. Thanks.

    Hi,
    Is this the right approach to generate object stats for a schema and keep it up to date? The choices of executions plans made by the CBO are only as good as the statistics available to it. The old-fashioned analyze table and dbms_utility methods for generating CBO statistics are obsolete and somewhat dangerous to SQL performance. As we may know, the CBO uses object statistics to choose the best execution plan for all SQL statements.
    I spoke with Andrew Holsworth of Oracle Corp SQL Tuning group, and he says that Oracle recommends taking a single, deep sample and keep it, only re-analyzing when there is a chance that would make a difference in execution plans (not the default 20% re-analyze threshold).
    I have my detailed notes here:
    http://www.dba-oracle.com/art_otn_cbo.htm
    As to system stats, oh yes!
    By measuring the relative costs of sequential vs. scattered I/O, the CBO can make better decisons. Here are the data items collected by dbms_stats.gather_system_stats:
    No Workload (NW) stats:
    CPUSPEEDNW - CPU speed
    IOSEEKTIM - The I/O seek time in milliseconds
    IOTFRSPEED - I/O transfer speed in milliseconds
    I have my notes here:
    http://www.dba-oracle.com/t_dbms_stats_gather_system_stats.htm
    Hope this helps. . . .
    Don Burleson
    Oracle Press author
    Author of “Oracle Tuning: The Definitive Reference”
    http://www.dba-oracle.com/bp/s_oracle_tuning_book.htm

  • Need info on Mass Run FKK_EBS_TOI_COPA

    HI,
    For SAP FS-CD project,  We want to post data into CD by generating the IDOC through LSMW in Delayed Status (With out posting) and will be posted using Mass Run FKK_EBS_TOI_COPA.
    What is the standard process of posting throguh IDOC.  when i post through IDOC will they be posted with delayed status ( withour real postings).  Do we have to run Mass Run FKK_EBS_TOI_COPA for real postings.
    I need to know the relevant events for Mass Run FKK_EBS_TOI_COPA.
    Also i  need info on how to track errors on the below;  Is there any way where we can track errors on the below
    1)      LSMW Data Read/Convert
    2)       IDOC generation with error Status
    3)       FKK_EBS_TOI_COPA Mass run SLG1 log
    Please provide the information.
    Edited by: CVMaruthiRao on Jan 5, 2012 8:15 AM

    HI CVMaruthiRao,
    IDOC generation with error Status --> You can use the  WE05 transaction,   in this transaction you will see the error description and you can fixe!
    FKK_EBS_TOI_COPA Mass run SLG1 log  --> In SLG1 you will see only the error after the IDOC processing.... in this case you alredy have the DOCUMENT (FPE1)  Struture... and you can see any error at the document creation...  but not on the IDOC processing.
    WE19 you can use for creat  any IDOC test you need...
    I have a helpfull IDOC MANUAL (TOI COPA) configuration  if is interesant for you , just send me an email.... andreppf hotmail  com !!
    I'm olso in an FS-CD project... but in my client we are not using the TOI COPA ... I have used in RM-CA projet...
    André Frgulhetti....

  • Need info on table: LATP_ENQ

    HI Experts,
    I need info related to the table LATP_ENQ.
    We create sales order in CRM, through some B-Docs order will be replicated in ECC.
    Entries are getting created in this table based on availability of the materials.
    Through Z-Transaction code, we delete entries in this table.
    Sometimes blank entries are getting created in this table, I would like to know in which scenario this table is getting updated.
    Regards,
    Swaraj

    Hi Swaraj
    As it is a Z transaction t.code and as you have deleted the table when we upgrade our ECC version then those blank tables have to be upgraded
    Regards
    Srinath

  • Need info on basics of SAP Business One

    Hi Gurus !
    I need info on basic stuffs for SAP business one 2007 . I tried searching in forums and help but was not able to gather good info...
    Request u to pls guide me on :
    1. What is SAP bsuiness one 2007 and how it is diff from ecc 6 etc ..?
    2. How it is benefical for small and mid size businesses ?
    3, How much is the Cost / licence  ? ( if it can be discussed here ! )
    4. How many users it can cater to ? I mean what is min and max suggeted ...
    Thx !

    Hi,
    You have too many questions in one posting.  There is a forum rule that one question per one thread.
    For your question 1, check this link:
    http://wiki.sdn.sap.com/wiki/display/B1/SAPBusinessOne
    Thanks,
    Gordon

  • Need Info on RDA-enabled data source based on FM

    Hi,
    I need Info on RDA-enabled data source based on Function Module.
    How to implement it?
    Thanks & Regards,
    Rashmi.

    Hi Rashmi
    Check this link
    http://help.sap.com/saphelp_nw70/helpdata/EN/52/777e403566c65de10000000a155106/frameset.htm
    [under tab Tranferring Transaction Data from Source Systems (RDA)]
    http://help.sap.com/saphelp_nw70/helpdata/EN/3f/548c9ec754ee4d90188a4f108e0121/frameset.htm
    Regards
    Jagadish

Maybe you are looking for

  • Is it possible to edit the calendar that an event is on from the phone?

    iPhone 2.0: I hope I'm not missing something here (though, I guess I hope I am), but is it possible to change the calendar that an event is on, after adding it to iPhone? In other words, first adding to Calendar an event to any of several calendars I

  • AW 6 Pattern Palette not available

    I was creating a drawing in AW 6, using the Pattern Palette to fill in objects, and saving the file.  Now when I try to edit the drawing the Pattern Palette is greyed-out and unavailable.  Why would that be, especially when the Color Palette is avail

  • Reader 9.0/9.1 Installation - files in use

    When I try to install Reader 9.0 or Reader 9.1 onto a new Vista machine (using an administrative installation file (the machine isn't connected to the Internet) it returns the following error: Adobe Reader 9.0 - Setup Files in Use Some files that nee

  • Need to disable Chrome PDF

    I need help I'm trying to print my return address labels from Avery website, but I need to disable Chrome PDF, how do i do this so that it just just Adobe Reader?

  • Can't get output of button to a byte array

    I am trying to get the output values of TestButtonHandler to become byte h[] in the connect method. Of course, when I compile it, the button System.out.println works but I get a null pointer exception at byte h[] = asciiStream.toByteArray(); Would so