Collecting database statistics in 10g

Hi,
We are using Oracle database 10.2.0.4 on hp os . As we know in 10g AWR automatically collect stats after 1 hour . is there any need to collect database stats agin manualy by using dbms_stats ...?
is there any difference betweencollecting stats by AWR and dbms_stats ... ?
"execute sys.dbms_stats.gather_system_stats('Start') ;
execute sys.dbms_stats.gather_schema_stats( ownname=>'pc01', cascade=>FALSE, degree=>dbms_stats.default_degree, estimate_percent=>100);
execute dbms_stats.delete_table_stats( ownname=>'pc01', tabname=>'statcol');
execute sys.dbms_stats.gather_system_stats('Stop');"
any idea ...?

Hello...
Thanks a lot ...
Some of our production systems ...those are running on oracle10g ....they are collecting database stats once in a month...manualy...
by using dbms.stats... to improve performance of system ....
so is there any need to collect stats manauly.....?
As per my understanding ...no need to collect it manualy ...because AWR is doing this ...
am i right ...?

Similar Messages

  • Resolution to error - Unable to update Database Statistics

    OK, If there's one thing i hate most about SAP, its the dreaded installation, I am always so paranoid, as to something will definitely go wrong,
    Lately i realized that it aint my mind , but the damn installation itself is pretty damn stupid. Why cant SAP leave the installation packaging to professionals like installshield...
    Unfortunately SAP doesnt think of it as a better idea, so until then lets try to resolve as many errors as possible thru these forums..
    Here's one error resolution ,i am pretty sure, many are checking for..
    Use the following procedure to resolve error
    <b>Warning - "loading of sql client library oci.dll failed"
    Error - Unable to update Database Statistics, Check BRCONNECT.log</b>
    The problem seems to be with the SAP Patch Collection InstallMaster disc Material No.(<b>51032143_13</b>).
    To resolve the problem, here's what needs to be done,
    1)Install DB Instance as usual.Then after the installation errors out due to loading of sql
    client library oci.dll ..
    2)I unsar the downloaded DBATOOLS.sar (Thanks for the Link Andreaz!!!)
    log into sapnet (eg. service.sap.com) with your user-id/pwd:
    -> downloads -> support packages and patches -> entry by application group -> additional
    components -> sap kernel -> now chose either 32 or 64 bit; either unicode or non-unicode ->
    sap kernel 6.40 -> windows server -> oracle -> download the package DBATOOLS Package for
    Oracle 9.2.x ... brconnect is part of that package...
    3)Copy the files in the Unsar'd package, as follows
         overwrite br*.exe to S:\usr\sap\R31\SYS\exe\run
         overwrite initSID.sap to S:\usr\sap\R31\SYS\exe\run & 
    S:\usr\sap\R31\SYS\exe\nuc\NTI386
         overwrite libsbt.dll to S:\usr\sap\R31\SYS\exe\run &
    S:\usr\sap\R31\SYS\exe\nuc\NTI386
         overwrite sapdba_role.sql to S:\usr\sap\R31\SYS\exe\run &
    S:\usr\sap\R31\SYS\exe\nuc\NTI386
    4) Retry the installation again & Guess what!! it works....
    Warning-: I initially tried a shortcut by replacing DBATOOLS.sar on the installmaster disc, rather than following above steps, but that doesnt seem to work, the installation fails as as soon as Tablespace creation starts. So the shortcut aint a good one..

    Well, it looks like you resolved your problem yourself.
    you can send feedback to SAP directly instead of posting this here in a forum.

  • 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

  • DB statistics - Use of 'Construct Database Statistics ' in process chain

    Hello,
    I would like to know the differences (or is it complementar ?) between:
    - using Business content Statistics cubes + Tools / BW statistics for infoproviders
    - variant 'Construct Database Statistics' that can be used in process chains
    Have the 2 techniques to be used together ?
    Thanks in advance,
    Regards

    Hi Thomas,
    Statistics should get loaded in the Business content Statistics cubes .........now by using the process type 'Construct Database Statistics' we can automate the process............actually ...........The DB Statistics options for the InfoCube allow to collect current DB statistics about the tables associated with the InfoCube............the collection of statistics can be automated.........
    Regards,
    Debjani........

  • Best Way to gather statistics in 10g

    Hi All,
    What is the best way to gather optimizer statistics in 10g databases? We are currently following the default automatic statistics gathering feature of 10g. But we feel it has got some shortcomings. For many of the tables the stats are not up to date. Also we have hit one bug in 10g which can cause "cursor: pin S wait on X " during stats gathering (As given in metalink note).
    So what do you experts feel about the issue. What would be the best way to gather stats=> manual or auto?
    Regards
    Satish

    The right reply to your question is "it depends". It depends on your application systems,
    the amount of change that your data suffers during time and your queries. You can choose what statistics to gather and when. You have to know your data and your application, though. There is no simple answer, right for everyone, which could be dispensed and set as a "golden
    rule". The great site with many useful articles about statistics is Wolfgang Breitling's site:
    www.centrexcc.com. That is for starters. Your question is far from trivial and is not easily answered. The best reply you can get is "it depends".

  • ERROR 2009-05-24 08:46:36 CJS-00288 Could not update database statistics.

    Hi all.
    i am in the middle of SAP ECC 5.0 installation .In the Database instance installation at the step 29 database update statistics, system stops giving error
    ERROR 2009-05-24 08:46:44
    CJS-00288  Could not update database statistics.<br>
    DIAGNOSIS: Command brconnect -u / -c -f crsyn -o SAPDB5 returned 3.<br>SOLUTION: See brconnect.log for details.
    when i checked in brconnect.log i found below error message
    BR0801I BRCONNECT 7.00 (16)
    BR0999E Loading of SQL client library oci.dll failed - please check Oracle configuration
    BR0310E Connect to database instance DB5 failed
    BR0280I BRCONNECT time stamp: 2009-05-24 08.46.44
    BR0804I BRCONNECT terminated with errors
    Q))Which oracle version are you using since BRTOOLS 7.0 is designed to work with Oracle 10g?
    If you are using an oracle 9.2.* it is needed to install oracle instant client or to downgrade your db tools (brt* tools)...... Through :Forums I came to know that we have to downgrade the br*tools to
    Could you please help me how to downgrade the Brtools or could you please suggest me how to proceed
    please help me
    Thanks
    Senthil

    Hi All,
    Thanks for your help, that error it has passed but now in 31 st step starting RFC jobs
    i get this error
    ERROR 2009-05-25 18:08:05
    FRF-00007  Unable to open RFC connection.
    ERROR 2009-05-25 18:08:05
    FRF-00063  RFC logon failed with message: Failed: SAP_CMINIT3 : rc=20 > Connect to SAP gateway failedConnect_PM  GWHOST=CTSINSAPEC5, GWSERV=sapgw00, ASHOST=CTSINSAPEC5, SYSNR=00
    but early during the last error update database statistics the SAP MMC console was up and running but now SAP is down during this error
    i tried to start SAP manually but it never works dispatcher goes down, i searched in forums and thought to update the kernal, so i updated the kernal also and tried it then also same error
    please help me my situation is very pathatic, i will be greatful if you help me
    Thanks
    Senthil

  • ERROR 2008-04-30 09:10:35 CJS-00288 Could not update database statistics.

    Hi Gurus..
    Hi i am in the middle of NW 2004  installation . At the step 29 database update statistics, system stops giving error
    ERROR 2008-04-30 09:10:35
    CJS-00288 Could not update database statistics.
    DIAGNOSIS: Command brconnect -u / -c -f crsyn -o SAPP47 returned
    3.SOLUTION: See brconnect.log for details.
    When i checked in brconnect.log i found below error message
    BR0801I BRCONNECT 7.00 (16)
    BR0999E Loading of SQL client library oci.dll failed - please check Oracle configuration
    BR0310E Connect to database instance P47 failed
    BR0280I BRCONNECT time stamp: 2008-04-30 09.10.35
    BR0804I BRCONNECT terminated with errors
    Q))Which oracle version are you using since BRTOOLS 7.0 is desinged to work with Oracle 10g?
    If you are using an oracle 9.2.* it is needed to install oracle instantclient or to downgrade your db tools (brt* tools)......  Through :Forums I came to know that we have to downgrade  the br*tools to
    Could you please help me how to downgrade the Brtools.
    It's urgent.
    Points will be awarded .
    Regards
    Jan.

    Hi janakiram
    Now i am facing the same error which you have faced before, have you solved that issue if it so could you pls help me how to solve this
    Hi All,
    i am in the middle of SAP ECC 5.0 installation .In the Database instance installation at the step 29 database update statistics, system stops giving error
    ERROR 2009-05-24 08:46:44
    CJS-00288 Could not update database statistics.
    DIAGNOSIS: Command brconnect -u / -c -f crsyn -o SAPDB5 returned 3.
    SOLUTION: See brconnect.log for details.
    when i checked in brconnect.log i found below error message
    BR0801I BRCONNECT 7.00 (16)
    BR0999E Loading of SQL client library oci.dll failed - please check Oracle configuration
    BR0310E Connect to database instance DB5 failed
    BR0280I BRCONNECT time stamp: 2009-05-24 08.46.44
    BR0804I BRCONNECT terminated with errors
    Q))Which oracle version are you using since BRTOOLS 7.0 is designed to work with Oracle 10g?
    If you are using an oracle 9.2.* it is needed to install oracle instant client or to downgrade your db tools (brt* tools)...... Through :Forums I came to know that we have to downgrade the br*tools to
    Could you please help me how to downgrade the Brtools or could you please suggest me how to proceed
    please help me
    Thanks
    Senthil

  • Error when Update Oracle database statistics

    HI All,
    Just recent we have upgraded oracle 11 in SAP Landscape. while we are trying to update database statistics through this command
    brconnect -c -u / -f stats -t all -f collect -p 4
    It is throwing following message without completion
    BR0280I BRCONNECT thread 2: time stamp: 2011-09-22 03.17.46
    BR0881I Collecting statistics for table SAPSR3./BEV3/CHASTEU with method/sample
    C ...
    ORA-24550: signal received: Unhandled exception: Code=ebf00baa Flags=0
    Can anyone guide us.
    Thanks.
    PrinceJ

    Have you applied patches to your 11g database?... Theres some info online about ORA-24550 been a know issue and a patch has been released for that...
    Regards
    Juan

  • Update Database Statistics during System Export

    hi All,
    I am getting following error on step (Update Database Statistics ) during system export.
    WARNING 2011-06-17 15:13:35
    Execution of the command "E:\usr\sap\PRD\SYS\exe\uc\NTAMD64\
    brconnect.exe -u / -c -o summary -f stats -o SAPSR3 -t all -m +I -s
    P10 -f allsel,collect,method,precision,space,keep -p 4"
    finished with return code 5.
    Output: BR0801I BRCONNECT 7.00 (31)BR0805I Start of BRCONNECT processing:
    cegczbfe.sta 2011-06-17 15.12.02BR0484I BRCONNECT log file:
    G:\oracle\PRD\sapcheck\cegczbfe.sta
    ERROR 2011-06-17 15:13:35
    CJS-30023  Process call 'E:\usr\sap\PRD\SYS\exe\uc\NTAMD64\
    brconnect.exe -u / -c -o summary -f stats -o SAPSR3 -t all -m +I -s P10
    -f allsel,collect,method,precision,space,keep -p 4'
    exits with error code 5. For details see log file(s) brconnect.log.
    there is small part of brconnect.log is:
    BR0204I Percentage done: 27.88%, estimated end time: 15:16
    BR0001I **************____________________________________
    BR0280I BRCONNECT thread 2: time stamp: 2011-06-17 15.13.31
    BR0301E SQL error -20003 in thread 2 at location stats_tab_collect-20, SQL statement:
    'BEGIN DBMS_STATS.GATHER_TABLE_STATS (OWNNAME => '"SAPSR3"', TABNAME => '"/BEV3/CHCL_STAT"', ESTIMATE_PERCENT => NULL, METHOD_OPT => 'FOR ALL COLUMNS SIZE 1', DEGREE => NULL, CASCADE => TRUE, NO_INVALIDATE => FALSE); END;'
    ORA-20003: Specified bug number (5099019) does not exist
    ORA-06512: at "SYS.DBMS_STATS", line 14830
    ORA-06512: at "SYS.DBMS_STATS", line 14851
    ORA-06512: at line 1
    BR0886E Checking/collecting statistics failed for table SAPSR3./BEV3/CHCL_STAT
    BR0280I BRCONNECT thread 2: time stamp: 2011-06-17 15.13.31
    BR0301E SQL error -20003 in thread 2 at location stats_tab_collect-20, SQL statement:
    'BEGIN DBMS_STATS.GATHER_TABLE_STATS (OWNNAME => '"SAPSR3"', TABNAME => '"/BEV3/CHCL_STATT"', ESTIMATE_PERCENT => NULL, METHOD_OPT => 'FOR ALL COLUMNS SIZE 1', DEGREE => NULL, CASCADE => TRUE, NO_INVALIDATE => FALSE); END;'
    ORA-20003: Specified bug number (5099019) does not exist
    ORA-06512: at "SYS.DBMS_STATS", line 14830
    ORA-06512: at "SYS.DBMS_STATS", line 14851
    ORA-06512: at line 1
    BR0886E Checking/collecting statistics failed for table SAPSR3./BEV3/CHCL_STATT
    BR0280I BRCONNECT thread 2: time stamp: 2011-06-17 15.13.31
    BR0301E SQL error -20003 in thread 2 at location stats_tab_collect-20, SQL statement:
    'BEGIN DBMS_STATS.GATHER_TABLE_STATS (OWNNAME => '"SAPSR3"', TABNAME => '"/BEV3/CHCMVWOBJ"', ESTIMATE_PERCENT => NULL, METHOD_OPT => 'FOR ALL COLUMNS SIZE 1', DEGREE => NULL, CASCADE => TRUE, NO_INVALIDATE => FALSE); END;'
    ORA-20003: Specified bug number (5099019) does not exist
    ORA-06512: at "SYS.DBMS_STATS", line 14830
    ORA-06512: at "SYS.DBMS_STATS", line 14851
    ORA-06512: at line 1
    BR0886E Checking/collecting statistics failed for table SAPSR3./BEV3/CHCMVWOBJ
    BR0280I BRCONNECT thread 2: time stamp: 2011-06-17 15.13.31
    BR0301E SQL error -20003 in thread 2 at location stats_tab_collect-20, SQL statement:
    'BEGIN DBMS_STATS.GATHER_TABLE_STATS (OWNNAME => '"SAPSR3"', TABNAME => '"/BEV3/CHCMVWOBPR"', ESTIMATE_PERCENT => NULL, METHOD_OPT => 'FOR ALL COLUMNS SIZE 1', DEGREE => NULL, CASCADE => TRUE, NO_INVALIDATE => FALSE); END;'
    ORA-20003: Specified bug number (5099019) does not exist
    ORA-06512: at "SYS.DBMS_STATS", line 14830
    BEGIN DBMS_STATS.GATHER_TABLE_STATS (OWNNAME => '"SAPSR3"', TABNAME => '"/BEV3/CHCTLVAR"', ESTIMATE_PERCENT => NULL, METHOD_OPT => 'FOR ALL COLUMNS SIZE 1', DEGREE => NULL, CASCADE => TRUE, NO_INVALIDATE => FALSE); END;'
    ORA-20003: Specified bug number (5099019) does not exist
    ORA-06512: at "SYS.DBMS_STATS", line 14830
    ORA-06512: at "SYS.DBMS_STATS", line 14851
    ORA-06512: at line 1
    ORA-06512: at line 1
    BR0886E Checking/collecting statistics failed for table SAPSR3./BEV3/CHCTMSTFUB
    BR0280I BRCONNECT thread 2: time stamp: 2011-06-17 15.13.34
    BR0844E 100 errors occurred in thread 2 - terminating processing of the thread...
    BR0280I BRCONNECT time stamp: 2011-06-17 15.13.34
    BR0848I Thread 2 finished with return code -1
    BR0280I BRCONNECT time stamp: 2011-06-17 15.13.34
    BR0879I Statistics checked for 0 tables
    BR0878I Number of tables selected to collect statistics after check: 0
    BR0880I Statistics collected for 639/0 tables/indexes
    BR0889I Structure validated for 0/749/0 tables/indexes/clusters
    BR1308E Collection of statistics failed for 68292/0 tables/indexes
    BR0806I End of BRCONNECT processing: cegczbfe.sta 2011-06-17 15.13.34
    BR0280I BRCONNECT time stamp: 2011-06-17 15.13.35
    BR0804I BRCONNECT terminated with errors
    how can I resolve this issue?
    Regards,
    majamil

    hi SM,
    I have applied these patches with Opatch which successfully applied.
    is it ok or i had to use the MOpatch for these?
    one more thing for your information , when i execute Delete Harmful Statistics  under Database Statistics in brtools then i got following
    BR0280I BRCONNECT time stamp: 2011-06-30 08.10.53
    BR0818I Number of tables found in DBSTATC for owner SAPSR3: 390
    BR0280I BRCONNECT time stamp: 2011-06-30 08.10.53
    BR0807I Name of database instance: PRD
    BR0808I BRCONNECT action ID: cegfjniv
    BR0809I BRCONNECT function ID: dst
    BR0810I BRCONNECT function: stats
    BR0812I Database objects for processing: HARMFUL
    BR0852I Number of tables to delete statistics: 0
    BR0856I Number of indexes to delete statistics: 0
    BR0863W No tables/indexes found to update/delete statistics or validate structur
    e
    BR0806I End of BRCONNECT processing: cegfjniv.dst 2011-06-30 08.10.53
    BR0280I BRCONNECT time stamp: 2011-06-30 08.10.53
    BR0803I BRCONNECT completed successfully with warnings
    BR0292I Execution of BRCONNECT finished with return code 1
    BR0668I Warnings or errors occurred - you can continue to ignore them or go back
    to repeat the last action
    BR0280I BRTOOLS time stamp: 2011-06-30 08.10.53
    BR0670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to abort:
    c
    why i am getting this return code 1?
    Regards,
    Edited by: majamil on Jun 30, 2011 8:20 AM

  • RE: Looking for some database statistics and wait event statistics

    Hi:
    We are using Oracle 10g RAC on Sun Solaris 5.9.
    1) In GV$SYSSTAT, we cannot find the following database statistics:
         'global cache converts',
         'global cache convert time',
         'global cache gets',
         'global cache get time',
         'global cache convert timeouts',
         'global cache defers'
    2) In GV$SYSTEM_EVENT, we cannot find the following wait event:
         'buffer busy global CR'
    For 1) and 2), could you please tell us where to retrieve the above information,
    or suggest a reasonable alternative?
    Have these stats been removed in Oracle 10g?
    Have they been renamed? To what?
    3) We currently compute the number of additional redo logs that can be accommodated in the free space of the archive directory using the formula:
    (arhive directory free space / redo log file size)
    However, using ASM we find that the free space for a ASM diskgroup is being reported as zero in the table v$asm_diskgroup if the diskgroup is mounted manually. How would one go about retrieving the free space for a logical volume?
    Thanks

    Hi:
    We are using Oracle 10g RAC on Sun Solaris 5.9.
    1) In GV$SYSSTAT, we cannot find the following database statistics:
         'global cache converts',
         'global cache convert time',
         'global cache gets',
         'global cache get time',
         'global cache convert timeouts',
         'global cache defers'
    2) In GV$SYSTEM_EVENT, we cannot find the following wait event:
         'buffer busy global CR'
    For 1) and 2), could you please tell us where to retrieve the above information,
    or suggest a reasonable alternative?
    Have these stats been removed in Oracle 10g?
    Have they been renamed? To what?
    3) We currently compute the number of additional redo logs that can be accommodated in the free space of the archive directory using the formula:
    (arhive directory free space / redo log file size)
    However, using ASM we find that the free space for a ASM diskgroup is being reported as zero in the table v$asm_diskgroup if the diskgroup is mounted manually. How would one go about retrieving the free space for a logical volume?
    Thanks

  • BRCONNECT for Database Statistics

    Hi,
    We have oracle 9.2 database with SAP 4.6B. We use BRCONNECT (6.20) for updating database Statistics. This takes about 5 to 6 hours to complete.
    Command used = brconnect -u / -c -f stats -t all -m +I -s P10 -f allsel,collect,method,precision -p 8
    Could you please help, investigating the reason for such a long run?
    Also, if any OSS notes need to applied.?
    Please, let me know, if additional info needed..
    Thanks,
    Sam

    Hi,
    Wondering if applying <u>OSS Note - 871455</u> could resolve this issue?
    Is there any other command options, to avoid unnessary data collections by BRconnect could be thought of, to reduce the long runtime?
    Command used:
    brconnect -u / -c -f stats -t all -m +I -s P10 -f allsel,collect,method,precision -p 8
    Thanks,
    Sam

  • Constructing Database Statistics

    When and where should I use Database Statistics?  I'm trying to improve overall system performance.  Are there any cons to running this process?
    Thank You All.

    Yes BRCONNECT will collect DB stas on the tables as it determines appropriate based on monitoring criteria which actaull allows for DB stats to be refreshed based on some % of rows added to the table (default is 50%) since the last time stats were collected.
    The Traffic light status of the performance tab simply checks to see if DB stats are missing on a fact or dimension table, setting the status to RED.  If the E fact table stats are more than 30 days old or 4 or more dimension table's stat are more than 30 days old, the status is set to yellow.  So yellow could mean your stats are really pretty accurate, or disastrously out of date.
    I'd bring your DBA into the discussion so determeine the best course of action.
    You can set the stats collection job in the performance tab to run automatically based on loads/deltas, or you could schedule the job to occur perhaps on weekends.  Better yet, setup a process chain to do it.  The main issue is probably whether you have time in your daily load window to refresh the stats.
    If you set the option to collect stats after a load/delta, stats are only collected on teh F fact table and the dimension tables.  If you run the job yourself or schedule it, it will collect stats on both the F and E fact tables, the dimension tables, and all related master data tables.

  • Problem in update database statistics

    when i run
    update database statistics
    when it completed it becomes red
    then i check it out
    log file  there i found error
    BR0301E SQL error -904 at location stats_ind_collect-3, SQL statement:                                                                       
    'BEGIN DBMS_STATS.GATHER_INDEX_STATS (OWNNAME => '"SAPECC"', INDNAME => '"SNAP~0"', ESTIMATE_PERCENT => NULL, DEGREE => NULL, NO_INVALIDATE => FALSE); END;                                                                      
    ORA-00904: : invalid identifier                                                                               
    ORA-06512: at "SYS.DBMS_STATS", line 10621                                                                               
    ORA-06512: at "SYS.DBMS_STATS", line 10645                                                                               
    ORA-06512: at line 1                                                                               
    BR0886E Checking/collecting statistics failed for index SAPECC.SNAP~0                                                                        
    BR0280I BRCONNECT time stamp: 2009-11-03 10.56.12                                                                               
    BR0301E SQL error -904 at location stats_ind_collect-3, SQL statement:                                                                       
    'BEGIN DBMS_STATS.GATHER_INDEX_STATS (OWNNAME => '"SAPECC"', INDNAME => '"SNAP~DSX"', ESTIMATE_PERCENT => NULL, DEGREE => NULL, NO_INVALIDATE
    ORA-00904: : invalid identifier                                                                               
    ORA-06512: at "SYS.DBMS_STATS", line 10621                                                                               
    ORA-06512: at "SYS.DBMS_STATS", line 10645                                                                               
    ORA-06512: at line 1                                                                               
    BR0886E Checking/collecting statistics failed for index SAPECC.SNAP~DSX                                                                      
    what will i do
    please suggest something

    Hi Anant ,
    I think you need to update your brtool patch as described in [Note 874911 - Workaround for ORA-31603 (BR0996E) during reorganization|https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=874911].
    Hope it will solve your problem as it is due to bug in oracle.
    Regards,
    Gagan Deep Kaushal

  • Default collection Database Tables Changed!!!

    Hello,
    First of all I would like to thank Microsoft for an amazing product Team Foundation Server 2013. We recently migrated from TFS 2012 to TFS 2013 and My Team loved it !!! Especially the team collaboration features and "Features".
    My query is regarding Team Foundation Server Default Collection Database. I have a report in SSRS for Test Cases Statistics wherein we use tables viz. - "tbl_Plan" and "tbl_Suite". The mapping between these two tables has been done on
    basis of RootSuiteId of tbl_Plan and ParentSuiteId of tbl_Suite and PlanId of both tables.
    Till Team foundation server 2012 the table tbl_Plan had a column - "Name".
    In Team foundation server 2013, when I compile the procedure written for the Report, I get a compilation error for this column, since this no more exists in tbl_Plan. The column Name exists in tbl_PlanData now. I can't infer how to map the tables tbl_Plan
    and tbl_PlanData to keep my report working.
    Please help!!!
    Thanks in advance.
    Best Regards
    Yogesh kumar Hindoliya

    You should be using the TFS data warehouse (default db name: Tfs_Warehouse), preferably through the associated SSRS server.
    "You will find a fortune, though it will not be the one you seek." -
    Blind Seer, O Brother Where Art Thou
    Please Mark posts as answers or helpful so that others may find the fortune they seek.

  • Migrating from MS SQL Server 2005 database to Oracle 10g

    Hello,
    I wanted the full procedure or steps to Migrate the MS SQL Server 2005 database to Oracle 10g. Is there a known procedure to do this or is there a tool which is used?
    I have not done migration of database from MS SQL Server to Oracle. Any help is appreciated. Thanks a lot for the time.
    Regards,
    RPS

    Wrong forum, go to the database forum!
    cu
    Andreas

Maybe you are looking for