Omptimizer statastics !!

Hi,
Source db : HP Unix with db 10.2.0.3 ( Enterprise Edition )
Target db : HP Unix with db 11.2.0.3 ( Enterprise Edition )
We are moving to new server , and i used oracle datapump to move user defined tablespaces. So i have 1 small question, i did NOT exclude statistics while doing export or import. Do you think i should exclude them & generate statistics on 11g system from scratch considering db version is diff. ? or it doesn't really matter ?
What is the general recommendations regarding statistics in this scenario ? Sorry i am still trying to learn performance related stuff at a bit slow and steady pace.
-Learner   

learner1 wrote:
Hi,
Hardware is pretty diff. , old hardware was purchased 10 + years back. Old hardware was HP Unix RISC based and the new hardware is HP Unix Itanium.
This is going to be our new test server. Correct me if i am wrong, i can always get stats from old server and if i am not happy with the performance , using inbuilt dbms package, i can drop existing stats and recreate from scratch for 11g ?
-Learner
You are correct.
Default DB behavior is that Oracle collects statistics  once every 24 hours.

Similar Messages

  • Regarding gathering statastics using dbms_stats

    Hi,
    BANNER
    Oracle8i Enterprise Edition Release 8.1.7.0.0 - 64bit Production
    PL/SQL Release 8.1.7.0.0 - Production
    CORE 8.1.7.0.0 Production
    TNS for Solaris: Version 8.1.7.0.0 - Production
    NLSRTL Version 3.4.1.0.0 - Production
    i would like generate statastics of tables using dbms_stats and i have lot of users in the database but i would like to generate statastics of "asap" user object(tables and indexes)i am using following syntax by connecting database as asap user :
    sql>connect asap/asap;
    sql>exec DBMS_STATS.GATHER_TABLE_STATS(NULL,'ITEM_T',CASCADE=>TRUE,METHOD_OPT=>'FOR ALL COLUMNS SIZE 254',
    ESTIMATE_PERCENT=>10,DEGREE=>4);
    is this statement is correct do anybody share valuable inputs since first time generating statastics in this database(new joinee)
    Regards
    Prakash

    Hi Prakash ,
    if i want gather statastics of asap schema how i need to connect database is as asap user or sys user OR both the cases are okIn general, I would carefully test the dbms_stats and the resulting new plans BEFORE doing anything in production! Lots may change!
    Oracle recommends only re-analyzing when you have had enough data changes that it will effect your SQL execution plans.
    Is there a reason for your desire to re-analyze? Have you identified sub-optimal SQL as a result of bad stats?
    The addage "If it ain't broke, don't fix it" applies here.
    Andy Holsworth recommends taking aa "deep" sample (perhaps more than 10% if you have the time), including histograms, and keep the stats as-is, only re-analyzing when required.
    Withour SKEWONLY, you will need to manually add your histograms, by identifying skewed column distributions and correlating them to historical SQL. I have some notes on manual histogram detection here:
    http://articles.techrepublic.com.com/5100-10878_11-5091017.html
    We have the term "Monday Morning Mayhem" to describe databases where the DBA blindly re-analyzes stats on Sunday, only to find that the execution plans change dramatically.
    Just make sure to test it throughly in both TEST and QA instances before changing production!

  • Job statastics-ABAP program in BW

    Hi All,
    I have an ABAP program that is in one of the update rules from source ODS to destination ODS. Source ODS has 20million records. When we are loading the records to destination ODS , Is there any way I can find howmuch time will take to process 1 record and also when it is running how do I know howmany records it has processed or howmany yet to process ? I have tried with SM50 but not able to find much useful information?
    Please help me and if you have any documents please send it to [email protected]
    Regards
    Vennela

    Hi,
    Please check with ST05 or ST03 or STAT
    or use Coverage Analyser
    aRs

  • Archiving Statastics

    Hi All,
    I am working on Archiving, my issue is how to check or where to find that until now how much volume of data is archived from InfoCube and how much database space is gained form a particular infocube.
    Plz can any one help me in this regard.................
    Thanks in Advance.......
    Regards
    Ramakrishna Kamurthy

    Hi,
    Pls chk this links:
    /people/santosh.v/blog/2007/03/20/cdb-data-archiving--part-2
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a111ae90-0201-0010-4bbe-809ec5627433
    PDF doc ...
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a111ae90-0201-0010-4bbe-809ec5627433
    regards
    CSM Reddy

  • Statastics Gatharing take long time

    Hi,
    can any one suggest me to improve the time for gathering statatics.
    OS version AIX 5.3 oracle 10.2.0.4 database in ASM. daily resoration dump size 110gb
    we are daily performing restoration and statatics gathering in UAT server.
    some time statatics gathering complete early some time it take long time.
    server have 11Gb RAM and 2cpu.
    i m using following following command
    exec DBMS_STATS.GATHER_SCHEMA_STATS(ownname=>'FFPREPRODBATCH',estimate_percent=>DBMS_STATS.AUTO_SAMPLE_SIZE);
    exec DBMS_STATS.GATHER_SCHEMA_STATS(ownname=>'FFPREPRODMASTER',estimate_percent=>DBMS_STATS.AUTO_SAMPLE_SIZE);
    exec DBMS_STATS.GATHER_SCHEMA_STATS(ownname=>'FFPREPRODMCT',estimate_percent=>DBMS_STATS.AUTO_SAMPLE_SIZE);
    exec DBMS_STATS.GATHER_SCHEMA_STATS(ownname=>'FFPREPRODCMS',estimate_percent=>DBMS_STATS.AUTO_SAMPLE_SIZE);
    exec DBMS_STATS.GATHER_SCHEMA_STATS(ownname=>'FFPREPRODUSER',estimate_percent=>DBMS_STATS.AUTO_SAMPLE_SIZE);
    please suggest me if i need to add some more poarameter in order to complete stat. early.
    Thanks

    You have only 2 CPUs and 110GB of data.
    I suggest that you prioritise what statistics do need to be gathered every day. Identify only the key tables where statistics need to be updated.
    Hemant K Chitale
    UPDATE : Remember that DataPump will be copying in statistics from the source. So, essentially, all tables will have statistics. You have to decide which tables really need to have updated statistics and gather_stats on those tables only.
    Edited by: Hemant K Chitale on Sep 14, 2011 2:41 PM

  • Print from ALV container

    Hi ,
    I am trying to print the contents from the ALV Container,This is a pop-up screen
    displaying details of the line selected in the ALV report.
    Standard tool bar print button is available, and it works, but I also have the print icon in bottom of the screen , which should print the container contents.
    Not sure what custom code shd go in for printing,
    Looked into the std BCALV * programs, but no luck so far.
    Appreciate any help.
    Thank you
    Lalitha

    Hi Joseph,
    in my case these are the settings...
    Just change your spool  settings also ..
    in my case
    SAP Cover Page  System Administrator: Default Settings
    OS Covert Sheet  System Administrator: Default Settings
    ALV statastics     NO
    i think for your case ALV statastics is markes as YES is it true.
    Can you change the settings.
    Regards
    Vijay

  • What is the use of delta in BW side when we have delta in R/3

    Hi,
    what is the use of delta in BW side when we are already using delta in R/3 side?
    Like,
    Generic extraction:-
    with different delta extractions (Time stamp, Calendar day, Numeric pointer).
    Lo-Cockpit extraction with change log method.
    Co/Pa extraction with time stamp method.
    So from this delta activation first time full data will be loaded and after that only changed data will be loaded because of these deltas in R/3 side.
    So now my question is what is the exact use of delta in BW side with ODS/DSO because data already reached to BW with delta activation right.
    Can you please explain me what is the exact use of BW delta?
    Thanks in advance.
    Points to be added.
    Regards,
    Shyam.

    The purpose of Delta Queue is same in R/3 and BW.
    In BW, Delta Queue is used to capture changes made to objects within BW. (for Eg: BW Statastics)or Update data from one BW system to another BW system (if you have multiple BW systems).
    Message was edited by:
            Praveen Vujjini

  • Error in First step of Process Chain

    Hi everybody,
    i have created a process chain with a start process (direct scheduling) to InfoPackage to load into InfoCube-so delete indexes and generate indexes were automatically inserted becoz of default chain option.
    i have checked the chain-- the message was chain is ok but when i activated the chain it gave a error message job-delete index cannot be scheduled return code-8. In addition to this, i checked the status of indexes and DB statastics at cube level and it's showing green light. Further to that, when i checked sytem log, it is displaying
    "> illegal values in step one....the Job_submit was not defined
    properly..???"
    Any inputs to this topic highly appriciated.
    Thanks and Regards,
    ~Sapins

    Make sure you have the following steps in order in your process chain.
    1.Start Process Variant.
    2.Delete Indexes step.
    3.Load data.
    4.Create Indexes.
    5.Roll up (if required)
    6.Compression(if required)
    7.Completion job.
    8.PSA deletion(if required)
    I process chain should allways start with a start Process variant step.
    Thanks,
    Uma Srinivasa Rao

  • 9i 10g upgrade execution plan differences.

    Hi all,
    I am tring to find execution plan differences after I upgrade production system from 9i to 10gR2. So I have restored only needed tablespaces from my production system (9i) to a new machine and then upgraded thiat Oracle server to 10GR2. At this new server I run a script to get new execution plans of 10g. What suprises me is that query plans of 10g is different and most of new plans choose to access tables via indexes instead of full table scans stated in the original plans taken from 9i. My idea about those differences is that the optimizer takes some values for its cost formula from other system tables that I do not have in 10g server.I guess I am missing something which is not documented in upgrade book.
    any idea?
    Regards.

    9i database is my production database and I regularly run cron jobs for missing or stale statistics on all tables. So there is no possibility to hit a problem on object level statistics. I guess that I am missing something about system level statistics which are the part of the formula (single block read time etc) for cost calculating. So I tried to use setting some statastics via dbms_stat.set_system_statistics procedure, but it did not work.
    Any idea?
    Regards.
    ALPER ÖNEY

  • Missing indexes found in DB02

    Respected All,
    We found a huge number of missing indexes(primary and secondary both) in DB02.Is there any way to rebuilt or produce all these missing indexes in a mass or in a single step?? Thanks in advance for your supports

    Dear,
    You can create indexes as per your requirement. You can create by BRTOOLS as well as from SE14 t-code. After creating index you have to run Update statastics job.
    Regards,
    Charanjit

  • DB Check failed

    Guru,
    in db13 while scheduking dbcheck and update statastics we are getting follwoing error.
    Job started
    Step 001 started (program RSDBAJOB, variant &0000000000027, user ID BASIS)
    No application server found on database host - rsh/gateway will be used
    Execute logical command BRCONNECT On host ERP-DB
    Parameters: -u / -jid CHECK20100308202948 -c -f check
    SXPG_STEP_XPG_START: is_local_host: rc = 403
    SXPG_STEP_XPG_START: host = xxxxDB
    SXPG_STEP_XPG_START: is_local_r3_host: rc = 802
    SXPG_STEP_XPG_START: RFC_TCPIP_CONNECTION_OPEN returned rc_cannot_get_rfc_dests
    SXPG_STEP_COMMAND_START: SXPG_STEP_XPG_START returned: 901
    SXPG_COMMAND_EXECUTE(LONG)
    COMMANDNAME = BRCONNECT
    OPERATINGSYSTEM = ANYOS
    TARGETSYSTEM = xxxxDB
    DESTINATION =
    SXPG_COMMAND_EXECUTE failed for BRCONNECT - Reason: x_error
    Job cancelled after system exception ERROR_MESSAGE
    no  instance on dbhost.
    please help

    Hi,
    Check this sap note 446172
    Regards,
    Maheshwer P

  • Performance of WAD report

    hello all,
    Please tell me how to find performance time of any WAD report?
    Please reply ASAP...
    Thanks in advance....
    Sneha

    Sneha,
    Please check statastics which is active in the system and ST03N where you can get the WAD reports time also
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/6dd54713-0c01-0010-8691-a3576b9a95d9
    Edited by: Prasad B on Sep 8, 2008 4:08 PM

  • Poker Engine Design Problem

    Hello Brothers,
    I am currently developing Texas Holdem Poker Game. I have designed some classes of this game. From which I have confusion abt two classes, PokerTable class and PokerEngine class.
    - whether I make PokerEngine class as an inner class of PokerTable class or as a seperate class?

    ok, thanks for your reply,
    Ther PokerEngine class has members like Deck, Player list, pot list, rake, and it executes the GameModel. GameMode contains rules of the game like maximum players, pot limit, number of raises etc. PokerTable class has playerlist, statastics, sitIn(), sitOut() etc.
    hitesh

  • FSL-06002  Error 193 during Database Instance

    Hello, I am getting FSL-06002  Error 193 on step 29 (Update Database Statistics) of database instance. Please Advice.
    Thank You.
    ERROR 2008-01-01 15:34:55
    FSL-06002  Error 193 (Unknown, try 'net helpmsg <Nr>') in execution of a 'CreateProcess' function, line (284), with parameter (C:\usr\sap\V11\SYS\exe\run/brconnect ...).
    Detail Log:
    INFO 2008-01-01 15:34:55
    Removing file C:\Program Files\sapinst_instdir\R3E47X2\SYSTEM\ABAP\ORA\NUC\DB\brconnect.log.
    INFO 2008-01-01 15:34:55
    Creating file C:\Program Files\sapinst_instdir\R3E47X2\SYSTEM\ABAP\ORA\NUC\DB\brconnect.log.
    INFO 2008-01-01 15:34:55
    Switched to user: v11adm.
    ERROR 2008-01-01 15:34:55
    FSL-06002  Error 193 (Unknown, try 'net helpmsg <Nr>') in execution of a 'CreateProcess' function, line (284), with parameter (C:\usr\sap\V11\SYS\exe\run/brconnect ...).
    INFO 2008-01-01 15:34:55
    Working directory changed to C:\Program Files\sapinst_instdir\R3E47X2\SYSTEM\ABAP\ORA\NUC\DB.

    hi syed
                  stop installation and login with sidadm user and goto brtolls menu
    from brtools menu ---> update databse statastics  manually from brtolls and after completion this process u start installation
    I think this may be helpful for u
    Regards
    vasu

  • Job SAP_PERIODIC_ORACLE_SNAPSHOT

    Hi All,
    We have checked that job SAP_PERIODIC_ORACLE_SNAPSHOT plays main role in Updating currect space statistics in DB02.
    But I do not find how this job is getting triggered, I expect some house keeping job (might be PERFORMANCE_COLLECTOR) is
    triggering this job but I am not sure. I also doubt that job SAP_PERIODIC_ORACLE_SNAPSHOT is running hourly but in DB02
    data is 8 hours old so what is the reason that every run of job SAP_PERIODIC_ORACLE_SNAPSHOT is not updating DB02 statastics.
    So please let me know how job SAP_PERIODIC_ORACLE_SNAPSHOT is getting started and how it is Updating DB02 space statistics.
    Regards,
    Shivam Mittal

    Hi Shivam,,
    It is part of RSCOLL00 program which can be configured on ST03 transaction. Scheduling data is stored on TCOLL table on the database.
    ST03N -> Expert Mode -> Collector and Performance DB -> Performance Monitor Collector -> Execution Times
    As an additional info, performance stat collector jobs are triggered by RSCOLL00 program automatically.
    Best regards,
    Orkun Gedik
    Edited by: Orkun Gedik on May 27, 2011 1:50 PM

Maybe you are looking for

  • Per-preset file name format for external editing presets

    This would be so that you could add an identifier of the program to the filename, as in [filename]-viveza, say, if you have edited the file in that plugin. That way, you would be able to track which programs you have filtered a particular file throug

  • ORA-12096: error in materialized view log on a table

    Hi while updating a table getting below error ORA-12096: error in materialized view log on "FII"."FII_GL_JE_SUMMARY_B" What might be the problem. Thanks.

  • Report regarding delivery and sales order

    anyone know of a report where i can see the quantity that is left from partially delivered orders. basically, if i place an order for 100 units and delivery only 50, i wanted a report that showed me the sales order that was partially delivery with th

  • Create internal order with reference - Do not copy distribution rule group

    Hi, I'm creating an internal order with reference to another order through tcode KO01. When i will display the new internal order, i already have distribuion rule group that was copied from the reference order. To delete the incorrect distribution ru

  • Shifting data from Old R/3 server to Freshly installed server

    Hi All I have freshly installed 4.6 C server on Windows 2000 and database is Oracle. Now i want to shift the data from existing 4.6C server to this new server. Is there any other procedure rather than backup/restore bec we are not going for the tape