PeopleSoft Database Update Statistics

I am trying to find out what is the best practices for implementing the Update statistics on Psoft Database. Any help or documentation regarding will be a great help
I am looking for
what is the best practice for update statistics on oracle , Intervals , Tables , do we need to include any custom script to generate and include all big tables.

I was the one who designed the pscbo_stats package to leverage the statistics collection techniques used in EBS and Seibel. (Mr. Sierra was the wizard who coded it.) I just noticed this thread and wanted to comment.
If you are using the pscbo_stats, the gather_schema_stats() procedure will by default gather only stale statistics, so it can be run regularly. I suggest weekly. You can follow the contents of the pscbo_log table for historical data for all (non-dynamic) stats gathering activities.
If you find there is a table that constantly stale and forcing you to think that the schema statistics should gathered more often, you may want to have two schedules - one weekly for schema, and one more often (daily?) to capture the more volatile objects excepting, of course, those that are already dynamically sampled.
There may be objects that are volatile enough that they should be added to the Stage Table Exception table. (see the stage_table_ins() procedure) We added that feature to configure dynamic sampling to work on volatile table - tables that are not working storage for COBOL and App Engine but are so often stale that they should be dynamically sampled.
I find that there are a few transactional tables that work well when dynamically sampled. For example, PSTREESELECT* tables can be problematic if they are dynamically rebuilt by a nVision report book - the end points can get stale quickly. They may be a good candidate for dynamic sampling.
Lastly, I am very interested to know user experience with the pscbo_stats package. Please post your comments to the communities.oracle.com forum for "Install/Upgrade PSFT".

Similar Messages

  • Database updates statistics maintenance plan issue.

    Hi team,
    We are configured one job through maintenance plan that job name is “database update statistics” and database size is 280 Gb, this job executing 13 to 15 hours but job was not finished  still it’s continually running.
    This same job I am running through below script it’s executing within 2 hours.
    Use database
    Go
    Exec sp_updatestats
    What is the main problem if this maintenance plan.
    Note: on this server no jobs and no traffic, only abc_update subpaln1 Job.

    Hello,
    Updating stats for whole database which is 280 G will always result in problem.It is better to run update statistics for tables and indexes which are changed frequently.
    Now to your question few points which sp_Updatestas list in BOL
    http://technet.microsoft.com/en-us/library/ms173804.aspx
    sp_updatestats updates statistics on disabled nonclustered indexes and does not update statistics on disabled clustered indexes.
    sp_updatestats updates only the statistics that require updating based on the rowmodctr information in the sys.sysindexes catalog view, thus avoiding unnecessary updates of statistics
    on unchanged rows.
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • Database update statistics

    Hi
    I am in the middle of ECC 5.0 installation (IDES). At the step 29 database update statistics, system stops giving error
    CJS-00288  Could not update database statistics. DIAGNOSIS: Command brconnect -c -f crsyn -o SAPDEV returned 128, which is not a success code. SOLUTION: See brconnect.log for details.
    brconnect log is empty.

    Hi Sandhya
    Check the Link:  [Link |http://sap.ittoolbox.com/groups/technical-functional/sap-basis/ides-r3-47-installation-error-1701550]
    and SAP notes 593582 and 145777
    Edited by: Anindya Bose on Dec 10, 2009 2:38 PM

  • IF Auto Update Statistics ENABLED in Database Design, Why we need to Update Statistics as a maintenance plan

    Hi Experts,
    IF Auto Update Statistics ENABLED in Database Design, Why we need to Update Statistics as a maintenance plan for Daily/weekly??
    Vinai Kumar Gandla

    Hi Vikki,
    Many systems rely solely on SQL Server to update statistics automatically(AUTO UPDATE STATISTICS enabled), however, based on my research, large tables, tables with uneven data distributions, tables with ever-increasing keys and tables that have significant
    changes in distribution often require manual statistics updates as the following explanation.
    1.If a table is very big, then waiting for 20% of rows to change before SQL Server automatically updates the statistics could mean that millions of rows are modified, added or removed before it happens. Depending on the workload patterns and the data,
    this could mean the optimizer is choosing a substandard execution plans long before SQL Server reaches the threshold where it invalidates statistics for a table and starts to update them automatically. In such cases, you might consider updating statistics
    manually for those tables on a defined schedule (while leaving AUTO UPDATE STATISTICS enabled so that SQL Server continues to maintain statistics for other tables).
    2.In cases where you know data distribution in a column is "skewed", it may be necessary to update statistics manually with a full sample, or create a set of filtered statistics in order to generate query plans of good quality. Remember,
    however, that sampling with FULLSCAN can be costly for larger tables, and must be done so as not to affect production performance.
    3.It is quite common to see an ascending key, such as an IDENTITY or date/time data types, used as the leading column in an index. In such cases, the statistic for the key rarely matches the actual data, unless we update the Statistic manually after
    every insert.
    So in the case above, we could perform manual statistics updates by
    creating a maintenance plan that will run the UPDATE STATISTICS command, and update statistics on a regular schedule. For more information about the process, please refer to the article:
    https://www.simple-talk.com/sql/performance/managing-sql-server-statistics/
    Regards,
    Michelle Li

  • Update Statistics for the database MS-SQL

    hi all ,
    I want to run the statistics programmatically ( update statistics ) and our database is MS-SQL. Can any one tell me which is the suitable function module to do the same.
    Thanks,
    Ram

    If you did not find this - I found the function module 'update_stats'.
    How this helps
    Or maybe you found somthing else?

  • SQL 2008 R2 Best Practices for Updating Statistics for a 1.5 TB VLDB

    We currently have a ~1.5 TB VLDB (SQL 2008 R2) that services both OLTP and DSS workloads pretty much on a 24x7x365 basis. For many years we have been updating statistics (full scan- 100% sample size) for this VLDB once a week on the weekend, which
    is currently taking up to 30 hours to complete.
    Somewhat recently we have been experiencing intermitent issues while statistics are being updated, which I doubt is just a coincidence. I'd like to understand exactly why the process of updating statistics can cause these issues (timeouts/errors). My theory
    is that the optimizer is forced to choose an inferior execution plan while the needed statistics are in "limbo" (stuck between the "old" and the "new"), but that is again just a theory. I'm somewhat surprised that the "old" statistics couldn't continue to
    get used while the new/current statistics are being generated (like the process for rebuilding indexes online), but I don't know all the facts behind this mechanism yet so that may not even apply here.
    I understand that we have the option of reducing the sample percentage/size for updating statistics, which is currently set at 100% (full scan).  Reducing the sample percentage/size for updating statistics will reduce the total processing time, but
    it's also my understanding that doing so will leave the optimizer with less than optimal statistics for choosing the best execution plans. This seems to be a classic case of not being able to have one’s cake and eat it too.
    So in a nutshell I'm looking to fully understand why the process of updating statistics can cause access issues and I'm also looking for best practices in general for updating statistics of such a VLDB. Thanks in advance.
    Bill Thacker

    I'm with you. Yikes is exactly right with regard to suspending all index optimizations for so long. I'll probably start a separate forum thread about that in the near future, but for now lets stick to the best practices for updating statistics.
    I'm a little disappointed that multiple people haven't already chimed in about this and offered up some viable solutions. Like I said previously, I can't be the first person in need of such a thing. This database has 552 tables with a whole lot more statistics
    objects than that associated with those tables. The metadata has to be there for determining which statistics objects can go (not utilized much if at all so delete them- also produce an actual script to delete the useless ones identified) and what
    the proper sample percentage/size should be for updating the remaining, utilized statistics (again, also produce a script that can be used for executing the appropriate update statistics commands for each table based on cardinality).
    The above solution would be much more ideal IMO than just issuing a single update statistics command that samples the same percentage/size for every table (e.g. 10%). That's what we're doing today at 100% (full scan).
    Come on SQL Server Community. Show me some love :)
    Bill Thacker

  • Update statistics error in prod

    Dear Experts ,
    we are facing an error while updating statistics by using db13
    please check on log below
    18.05.2011     18:52:41     Job started
    18.05.2011     18:52:41     Step 001 started (program RSDBAJOB, variant &0000000000047, user ID BASIS)
    18.05.2011     18:52:42     No application server found on database host - rsh/gateway will be used
    18.05.2011     18:52:42     Execute logical command BRCONNECT On host PRDHOSR
    18.05.2011     18:52:42     Parameters: -u / -jid STATS20110518185240 -c -f stats -t ALL
    18.05.2011     18:53:34     BR0801I BRCONNECT 7.00 (40)
    18.05.2011     18:53:34     BR1304W Checking SAP license failed at location BrLicCheck-108
    18.05.2011     18:53:34     BR0602W No valid SAP license found - please contact SAP
    18.05.2011     18:53:34     BR0805I Start of BRCONNECT processing: cefxifuy.sta 2011-05-18 18.52.44
    18.05.2011     18:53:34     BR0484I BRCONNECT log file: /oracle/PRD/sapcheck/cefxifuy.sta
    18.05.2011     18:53:34     
    18.05.2011     18:53:34     BR0280I BRCONNECT time stamp: 2011-05-18 18.52.53
    18.05.2011     18:53:34     BR0813I Schema owners found in database PRD: SAPSR3*, SAPSR3DB%
    18.05.2011     18:53:34     
    18.05.2011     18:53:34     BR0280I BRCONNECT time stamp: 2011-05-18 18.53.05
    18.05.2011     18:53:34     BR0814I Number of tables/partitions in schema of owner SAPSR3: 32818/10
    18.05.2011     18:53:34     BR0836I Number of info cube tables found for owner SAPSR3: 143
    18.05.2011     18:53:34     BR0814I Number of tables in schema of owner SAPSR3DB: 722
    18.05.2011     18:53:34     
    18.05.2011     18:53:34     BR0280I BRCONNECT time stamp: 2011-05-18 18.53.24
    18.05.2011     18:53:34     BR0815I Number of indexes/partitions in schema ofowner SAPSR3: 43208/13
    18.05.2011     18:53:34     BR0815I Number of indexes in schema of owner SAPSR3DB: 1051
    18.05.2011     18:53:34     
    18.05.2011     18:53:34     BR0280I BRCONNECT time stamp: 2011-05-18 18.53.29
    18.05.2011     18:53:34     BR0818I Number of tables found in DBSTATC for owner SAPSR3: 814
    18.05.2011     18:53:34     
    18.05.2011     18:53:34     BR0280I BRCONNECT time stamp: 2011-05-18 18.53.29
    18.05.2011     18:53:34     BR0807I Name of database instance: PRD
    18.05.2011     18:53:34     BR0808I BRCONNECT action ID: cefxifuy
    18.05.2011     18:53:34     BR0809I BRCONNECT function ID: sta
    18.05.2011     18:53:34     BR0810I BRCONNECT function: stats
    18.05.2011     18:53:34     BR0812I Database objects for processing: ALL
    18.05.2011     18:53:34     BR0851I Number of tables with missing statistics:0
    18.05.2011     18:53:34     BR0852I Number of tables to delete statistics: 0
    18.05.2011     18:53:34     BR0854I Number of tables to collect statistics without checking: 0
    18.05.2011     18:53:34     BR0855I Number of indexes with missing statistics: 0
    18.05.2011     18:53:34     BR0856I Number of indexes to delete statistics: 0
    18.05.2011     18:53:34     BR0857I Number of indexes to collect statistics: 0
    18.05.2011     18:53:34     BR0853I Number of tables to check (and collect ifneeded) statistics: 33537
    18.05.2011     18:53:34     BR0126I Unattended mode active - no operator confirmation required
    18.05.2011     18:53:34     
    18.05.2011     18:53:34     BR0280I BRCONNECT time stamp: 2011-05-18 18.53.31
    18.05.2011     18:53:34     BR0817I Number of monitored/modified tables in schema of owner SAPSR3: 32818/1055
    18.05.2011     18:53:34     BR0817I Number of monitored/modified tables in schema of owner SAPSR3DB: 722/8
    18.05.2011     18:53:34     BR0280I BRCONNECT time stamp: 2011-05-18 18.53.33
    18.05.2011     18:53:34     BR0301E SQL error -2132 at location thr_db_connect-3, SQL statement:
    18.05.2011     18:53:34     'ENABLE THREADS'
    18.05.2011     18:53:34     SQL-02132: Message 2132 not found; No message file for product=precomp, facility
    18.05.2011     18:53:34     BR0310E Connect to database instance PRD failed
    18.05.2011     18:53:34     
    18.05.2011     18:53:34     BR0806I End of BRCONNECT processing: cefxifuy.sta2011-05-18 18.53.33
    18.05.2011     18:53:34     BR0280I BRCONNECT time stamp: 2011-05-18 18.53.34
    18.05.2011     18:53:34     BR0804I BRCONNECT terminated with errors
    18.05.2011     18:53:34     External program terminated with exit code 5
    18.05.2011     18:53:34     BRCONNECT returned error status E
    18.05.2011     18:53:34     Job finished
    please help to solve this error in production
    Regards

    Dear Experts ,
    now i got an error
    because of oracle client update statistics are failed now i required to upgrade oracle client
    please share your valiable knoledge how can i upgrade my oracle client 10.2.0.2 to 10.2.0.4, i checked note 819829 now i need your suggesitions on this activity
    and also pre - requsits to upgrade (steps)
    Regards

  • Update statistics failing in BW systems..

    Hai,
    Update statistics in BW system fails with the below error.
    Error details:
    BR0886E Checking/collecting statistics failed for index SAPCAV./BI0/F0BWTC_C02~01
    BR0280I BRCONNECT time stamp: 2009-01-15 16.28.36
    BR0882I Collecting statistics for index SAPCAV./BI0/F0BWTC_C02~02 with method/sample E/P30 ...
    BR0280I BRCONNECT time stamp: 2009-01-15 16.28.36
    BR0301E SQL error -1008 at location stats_ind_collect-3, SQL statement:
    'BEGIN DBMS_STATS.GATHER_INDEX_STATS (OWNNAME => '"SAPCAV"', INDNAME => '"/BI0/F0BWTC_C02~02"', ESTIMATE_PERCENT => 30, DEGREE => NULL, GRANULARITY => 'ALL',
    NO_INVALIDATE => FALSE); END;'
    ORA-01008: not all variables bound
    ORA-06512: at "SYS.DBMS_STATS", line 10887
    ORA-06512: at "SYS.DBMS_STATS", line 10911
    ORA-06512: at line 1
    BR0886E Checking/collecting statistics failed for index SAPCAV./BI0/F0BWTC_C02~02
    BR0280I BRCONNECT time stamp: 2009-01-15 16.28.36
    BR0882I Collecting statistics for index SAPCAV./BI0/F0BWTC_C02~04 with method/sample E/P30 ...
    BR0280I BRCONNECT time stamp: 2009-01-15 16.28.36
    BR0882I Collecting statistics for index SAPCAV./BI0/F0BWTC_C02~05 with method/sample E/P30 ...
    BR0280I BRCONNECT time stamp: 2009-01-15 16.28.36
    BR0301E SQL error -1008 at location stats_ind_collect-3, SQL statement:
    'BEGIN DBMS_STATS.GATHER_INDEX_STATS (OWNNAME => '"SAPCAV"', INDNAME => '"/BI0/F0BWTC_C02~05"', ESTIMATE_PERCENT => 30, DEGREE => NULL, GRANULARITY => 'ALL',
    NO_INVALIDATE => FALSE); END;'
    ORA-01008: not all variables bound
    ORA-06512: at "SYS.DBMS_STATS", line 10887
    ORA-06512: at "SYS.DBMS_STATS", line 10911
    ORA-06512: at line 1
    Server Details:
    SAP BW, Component: NW 04
    Software component: SAP_BW,Release: 350,Level: 0017
    Database system: ORACLE
    Release: 10.2.0.4.0
    Operating system: Linux
    Machine type: x86_64
    Thanks for help.
    Regards,
    Yoganand.V

    Hai,
    Please find the output of the command:
    select INDEX_NAME,PARTITION_NAME,STATUS
      2  from DBA_IND_PARTITIONS where
      3  INDEX_NAME='/BI0/F0BWTC_C02~02';
    INDEX_NAME                     PARTITION_NAME                 STATUS
    /BI0/F0BWTC_C02~02             /BI0/F0BWTC_C020000000005      USABLE
    /BI0/F0BWTC_C02~02             /BI0/F0BWTC_C020000000003      USABLE
    /BI0/F0BWTC_C02~02             /BI0/F0BWTC_C020000000035      USABLE
    /BI0/F0BWTC_C02~02             /BI0/F0BWTC_C020000000014      USABLE
    /BI0/F0BWTC_C02~02             /BI0/F0BWTC_C020000000023      USABLE
    /BI0/F0BWTC_C02~02             /BI0/F0BWTC_C020000000008      USABLE
    /BI0/F0BWTC_C02~02             /BI0/F0BWTC_C020000000031      USABLE
    /BI0/F0BWTC_C02~02             /BI0/F0BWTC_C020000000073      USABLE
    /BI0/F0BWTC_C02~02             /BI0/F0BWTC_C020000000074      USABLE
    /BI0/F0BWTC_C02~02             /BI0/F0BWTC_C020               USABLE
    /BI0/F0BWTC_C02~02             /BI0/F0BWTC_C020000000013      USABLE
    It is usable and also it is a partitioned index, according to SAP Note 1137346 shall we go ahead and apply the merge fix patch. Will that fix the problem.
    Plese suggets.

  • Update statistics failed

    Hi All,
    I am geting the following error in the DB13 update statistics jobs.
    BR0986W Index SAPRP1.DD31S~0 is unbalanced - please rebuild the index
    BR0280I BRCONNECT time stamp: 2007-10-21 06.17.05
    BR0301E SQL error -604 at location stats_ind_collect-2
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01089: immediate shutdown in progress - no operations are permitted
    BR0886E Checking/collecting statistics failed for index SAPRP1.DSYAX~0
    BR0280I BRCONNECT time stamp: 2007-10-21 06.17.05
    BR0301E SQL error -1089 at location stats_ind_collect-2
    ORA-01089: immediate shutdown in progress - no operations are permitted
    BR0886E Checking/collecting statistics failed for index SAPRP1.DSYAX~VIE
    BR0280I BRCONNECT time stamp: 2007-10-21 06.17.05
    BR0301E SQL error -3114 at location stats_ind_collect-2
    ORA-03114: not connected to ORACLE
    BR0886E Checking/collecting statistics failed for index SAPRP1.DSYBA~0
    BR0280I BRCONNECT time stamp: 2007-10-21 06.17.05
    BR0301E SQL error -3114 at location stats_ind_collect-2
    ORA-03114: not connected to ORACLE
    BR0886E Checking/collecting statistics failed for index SAPRP1.DSYBB~0
    BR0280I BRCONNECT time stamp: 2007-10-21 06.17.05
    BR0301E SQL error -3114 at location stats_ind_collect-2
    ORA-03114: not connected to ORACLE
    Please help me with it
    Thanks and regards,
    Tajinder

    'UPDATE SAP_SDBAD SET LINE = 'A 00000000 0000000000000000 00000000 00079877 00000174 00000172 00000000 00000000 00000
    Hi ALL
    i'm getting below error in db13, please help me
    ORA-03114: not connected to ORACLE
    BR0325W Writing to database log failed
    BR0280I BRCONNECT time stamp: 2013-05-06 21.44.15
    BR0301W SQL error -3114 at location thr_db_disconnect-1, SQL statement:
    'COMMIT RELEASE'
    ORA-03114: not connected to ORACLE
    BR0327W Disconnect from database instance RGP failed
    BR0806I End of BRCONNECT processing: celdhczg.sta2013-05-06 21.44.15
    BR0280I BRCONNECT time stamp: 2013-05-06 21.44.15
    BR0804I BRCONNECT terminated with errors
    External program terminated with exit code 5
    BRCONNECT returned error status E
    Job finished

  • Update statistics job

    Dear All,
    I keep getting the following error message when trying to run the update statistics job, I wanted to know what would be the best approch as it is a critical server please?
    failed with the following error: "Could not allocate space for object 'dbo.'databasename'.'PK_'''''''' in database 'databasename' because the 'PRIMARY' filegroup is full. Create disk space by deleting unneeded files, dropping objects in the filegroup,
    adding additional files to the filegroup, or setting autogrowth on for existing files in the filegroup.".
    Thank you in advance!

    Thank you for your reply! there are already 2 primary files and I'm not sure if there are any implications on creating more files. One of the primary files are set to grow by 500mb with unrestricted grow and the other file with 500mb with restiricted
    grow?
    There is no need to create multiple data files if one of your data file is on RAID 10.You can create secondary data file if primary data file is on disk which is almost full .If both files are on same drive it is useless
    What you should do is disable autogrowth on one data file which seems to be large and will run out of space in near future .enable autogrowth fro data file which is small and then try running updatestats you will suceed
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • DB13 - Scheduled Update Statistics not run - Error

    Hello gurus,
    I´m faccing with an error in DB13, I scheduled Update statistics every day but it did not run due an error.
    I think this may resulted because an authorization problem.
    In /usr/sap is with this permissions:
    drwxr-xr-x  15 orad01 dba   4096 Oct 18 16:34 sap
    The /oracle/D01/sapcheck is with the following permissions:
    drwxr-xr-x  2 orad01 dba     4096 Nov 14 20:28 sapcheck
    Inside of sapcheck directory I can see the following files with permissions:
    -rw-r--r-- 1 orad01 dba       32262 Oct 14 13:16 ceeimamu.sta
    -rw-r--r-- 1 orad01 dba        2705 Oct 15 17:42 ceeisafo.sta
    -rw-r--r-- 1 orad01 dba        2705 Oct 15 17:50 ceeisazq.sta
    -rw-r--r-- 1 orad01 dba        1932 Oct 15 17:58 ceeisbie.sta
    -rw-r--r-- 1 orad01 dba        1791 Oct 15 22:16 ceeisyhm.sta
    -rw-r--r-- 1 orad01 dba        1931 Oct 15 22:24 ceeisyta.sta
    -rw-r--r-- 1 orad01 dba    19394261 Oct 15 23:45 ceeiszph.sta
    -rw-r--r-- 1 orad01 dba        1930 Nov  9 11:27 ceenjunx.sta
    -rw-r--r-- 1 orad01 dba        1790 Nov  9 11:38 ceenjvuv.sta
    -rw-r--r-- 1 orad01 dba      143103 Nov  9 11:40 ceenjwnr.sta
    -rw-r--r-- 1 d01adm sapsys      521 Nov 16 14:46 ceeosxxw.sta
    -rw-r--r-- 1 d01adm sapsys      521 Nov 16 14:49 ceeosydo.sta
    -rw-r--r-- 1 d01adm sapsys      521 Nov 16 14:54 ceeosyqi.sta
    -rw-r--r-- 1 d01adm sapsys      521 Nov 16 15:57 ceeotefd.sta
    -rw-r--r-- 1 orad01 dba       18530 Nov 16 16:27 ceeotgun.sta
    -rw-r--r-- 1 orad01 dba         996 Nov 16 16:27 connD01.log
    In DB13 at details error, it show the following statements:
    Job executado
    Etapa 001 executada (program.RSDBAJOB, variante &0000000000016, nome usuário XNSJAD)
    Execução do comando lógico BRCONNECT No host segoviad04
    Parâmetros: -u / -jid STATS20101123153214 -c -f stats -t ALL
    BR0801I BRCONNECT 7.20 (7)
    BR0301E SQL error -2133 at location BrOraThrEnable-1, SQL statement:
    'ENABLE THREADS'
    BR0806I End of BRCONNECT processing: ceeqbmqh.sta2010-11-23 15.32.15
    BR0280I BRCONNECT time stamp: 2010-11-23 15.32.15
    BR0804I BRCONNECT terminated with errors
    External program terminated with exit code 3
    BRCONNECT returned error status E
    Job encerrado
    Can you help me please!? I do not know how to solve this situation...
    Best regards,
    João Dimas - Portugal

    This wasn´t a new installation... this was a migration from windows/sql server to linux/oracle... and after that migration process I made an oracle upgrade to 11.2g and during this oracle upgrade we upgrade the BRtools to 7.20 version.
    I set up other job from DB13 (Verify database) and also it not ran well, it show an error too, but a diferent one:
    Parameters:-u / -jid VERIF20101110030000 -c force -w only_dbv -p initD01.sap -m ALL
    BR0051I BRBACKUP 7.20 (7)
    BR0055I Start of database backup: beeqitms.dbv 2010-11-25 03.00.06
    BR0484I BRBACKUP log file: /oracle/D01/sapbackup/beeqitms.dbv
    BR0477I Oracle pfile /oracle/D01/112_64/dbs/initD01.ora created from spfile /oracle/D01/112_64/dbs/spfileD01.ora
    BR0068E SAP system is running or SAP user is connected to database D01 - database cannot be shut down
    BR1025I Please shut down SAP system first or use the 'offline_force' option
    BR0056I End of database backup: beeqitms.dbv 2010-11-25 03.00.09
    BR0280I BRBACKUP time stamp: 2010-11-25 03.00.09
    BR0054I BRBACKUP terminated with errors
    External program terminated with exit code 3
    BRBACKUP returned error status E
    I also checked the permissions in /usr/sap folder and sub folders as per the link you put here... and everything is well... but tell me one thing which owner/group must have set in /usr/sap/ directory? In that help sap link it doesn´t show any suggestion in this column, so I don´t know in this case which owner and group must have set... In my case the /usr/sap/ and dba as group:
    drwxr-xr-x 28 orad01 dba      4096 Nov 23 15:20 D01
    Kind regards,
    João Dimas - Portugal

  • Update statistics ends with error

    Hi Techies
    Few months back our BI system got crashed then ,we re-install the system & restore the database,Now the issue is whenever we are running the update statistics it gives the following error & terminates with error.
    BR0301E SQL error -20000 at location stats_ind_collect-2, SQL statement:
    'BEGIN DBMS_STATS.GATHER_INDEX_STATS (OWNNAME => '"SAPSR3"', INDNAME => '"/BIC/B0000598000KE"', ESTIMATE_PERCENT => NULL, DEGREE => NULL,
    ORA-20000: index "SAPSR3"."/BIC/B0000598000KE"  or partition of such index is in unusable state
    ORA-06512: at "SYS.DBMS_STATS", line 10613
    ORA-06512: at "SYS.DBMS_STATS", line 10648
    ORA-06512: at line 1
    BR0886E Checking/collecting statistics failed for index SAPSR3./BIC/B0000598000KE
    BR0301E SQL error -20000 at location stats_tab_collect-18, SQL statement:
    'BEGIN DBMS_STATS.GATHER_TABLE_STATS (OWNNAME => '"SAPSR3"', TABNAME => '"/BIC/B0000598000"', ESTIMATE_PERCENT => 30, METHOD_OPT => 'FOR A
    ORA-20000: index "SAPSR3"."/BIC/B0000598000KE"  or partition of such index is in unusable state
    ORA-06512: at "SYS.DBMS_STATS", line 13159
    ORA-06512: at "SYS.DBMS_STATS", line 13179
    ORA-06512: at line 1
    BR0886E Checking/collecting statistics failed for table SAPSR3./BIC/B0000598000
    Environment Details
    OS-AIX 5.3
    DB-Oracle 10.2.0.2.0
    SAP-SAP Netweaver 2004s
    BI-SAP Netweaver BI 7.0
    Quick response appreciated
    Thanks
    Vijay

    Hi,
    ORA-20000: index "SAPSR3"."/BIC/B0000598000KE" or partition of such index is in unusable state
    rebuild the index using BRTOOLS.
    Run brtools
    select 3 --> SEGMENT MANGEMENT -->  2 - Rebuild indexes -->  7 ~ Index names (index)
    provide your index name here SAPSR3"."/BIC/B0000598000KE
    and rebuild the index
    after running rebuild index , start again Update Statistics.
    it will run succesful
    Thanks
    Anil

  • Update Statistics of CRM Production system is terminated with errors

    Dear All,
    Update Statistics of CRM Production System is failing ie terminated with errors.
    Kindly help.
    Following  are the logs:
    BR0973W Database operation alert - level: WARNING, operation: cegnnbuz.chk, time: 2011-08-12 09.32.37, condition: Last successful 'chk' op
    BR0252E Function fopen() failed for '/oracle/KPC/saptrace/diag/rdbms/kpc/KPC/trace/alert_KPC.log' at location ora_alert_check-1
    BR0253E errno 13: Permission denied
    BR0280I BRCONNECT time stamp: 2011-12-22 04.07.36
    BR0977I Checking database profile...
    BR0978W Database profile alert - level: ERROR, parameter: COMPATIBLE, value: 11.2.0 (<> 10.2.0)
    BR0978W Database profile alert - level: WARNING, parameter: LOG_BUFFER, value: 11198464 (>< 4096,512 KB)
    BR0978W Database profile alert - level: WARNING, parameter: OPTIMIZER_INDEX_COST_ADJ, value: 20 (set in parameter file)
    BR0280I BRCONNECT time stamp: 2011-12-22 04.07.36
    BR0980I Number of changed database profile parameters: 0
    BR0280I BRCONNECT time stamp: 2011-12-22 04.07.37
    BR0955I Number of signaled error/warning/exception alerts for database administration: 0/0/0
    BR0956I Number of signaled error/warning/exception alerts for database operations: 0/1/0
    BR0957I Number of signaled error/warning/exception alerts for database messages: 0/0/0
    BR0958I Number of signaled error/warning/exception alerts for database profile: 1/2/0
    BR0806I End of BRCONNECT processing: cehmkvis.chk 2011-12-22 04.07.37
    BR0280I BRCONNECT time stamp: 2011-12-22 04.07.37
    BR0804I BRCONNECT terminated with errors
    Thanks
    -Madhura

    Hii
    I ve checked all conditions as:
    1.      -rwxrwxr-x   1 orakpc   dba      3406704 Aug 12 16:54 brtools
    2.
    SQL> show parameter compatible;
    NAME                                 TYPE        VALUE
    compatible                           string      11.2.0
    3.  Brtools version is 7.00 and oracle is 11G
    4.  drwxrwxrwx   6 orakpc   dba            6 Aug  7 14:19 saptrace
    Still we are facing this issue.
    pls help.
    -Madhura

  • AUTOMATIC UPDATE STATISTICS for VB* tables ON automatically

    Hello All,
    We had reviewed our ECC system with SAP and they recommended us to OFF the AUTOMATIC UPDATE STATISTICS for VBDATA, VBHDR and VBMOD.
    We executed the script EXEC sp_autostats <tablename>, 'OFF' but the status goes ON after a while.
    Checked the SAP note 771352 but did not get proper idea from it.
    MS SQL database used is 2008.
    Can someone suggest and share his/her experience.
    Regards,
    Mohit

    Hi Mohit,
    Did you ran the sap_z* script ?
    What is your SP level - did you check 1702325 - Alerts appear for VB tables
    Also, I asked to to use NORECOMPUTE - have you tried that ?
    Regards

  • PSAP SID TABLESPACE UPDATE STATISTICS ADVANTAGES AND DISADVANTAGES

    Dear All,
                Can anyone explain me if we select PSAP SID table space only for update statistics from DB13 Instead of selecting all tables for update statistics,what are the advantages and disadvantages of selecting only PSAP SID tablespace .
    I will be glad if you can suggest any related sapnote or sapmaterial.
    we are working on SAP ECC5 and oracle version id 9i   and operating system is windows.

    Hi arunkumar ,
    When you are updating statitics then update for all table space why for one only.After all it will increase the performance of your database.
    Regards
    Ashok

Maybe you are looking for