DB Installtion error at update statistics

Hi,
During DB installation at Update database statistics Installation error.
Error shows that
MTU- 03010 Execution of the command "/sapmnt/QMS/exe/brconnect   '-u' '/' '-c' '-f' 'crsyn -o 'SAPQMS' finished with status TST_ERROR
brconnect.log error
/usr/lib/hpux/dld.so: Unable to to find library 'libclntsh.so.10.1
Any help.
- Kristene

Kristene,
I had the same problem installing XI/Oracle on Fedora Core 2 Linux on my laptop.
I only went around this in marking this step as completed in the installation file. (DB statistics step is not essential for install).
I guess, if you want to run a proffesional install, then you should open an OSS.
Regards
Matthias

Similar Messages

  • TS1286 installtion error while updating mac os x10.7

    i am using mac book pro (mac os x versionn 10.7) and when i try to update the system it says "cannot be updated due to unknown error "

    Have you tried booting into the Recovery HD to check/repair your disk. Restart holding Command+R - once booted select Disk Utility and then select Macintosh HD and click on 'repair disk' If it fixes anything click repair disk again until you get a clean pass. Whilst in Disk Utility you could also 'repair disk permissions' With Macintosh HD still selected click on 'repair disk permissions'. Once done, restart as normal from the Apple menu.
    Then try updating again using the 'combo', available here: http://support.apple.com/kb/DL1582
    If you still have problems you could try a Safe Boot: restart holding down the shift key until you see the grey progress bar. Once booted restart as normal from the Apple menu.

  • 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 - BR301E SQL error -1031 at location stats_tab_collect-3

    Hi,
    I'm having this error when update statistics is run:
    +BR301E SQL error -1031 at location stats_tab_collect-3+
    +ORA-01031: insufficient privileges+
    +ORA-06512: at "SYS.DBMS_STATS", line 10301+
    +ORA-06512: at "SYS.DBMS_STATS", line 10315+
    +ORA-06512: at line 1+
    The SAP was using the analyze table and I have changed to use DBMS_STATS. And now is returning this error.
    Any Idea ?
    Many Thanks.

    Hi Rui,
    Take a look at "Note 351163 - Creating ORACLE DB statistics using DBMS_STATS".
    Best regards,
    Orkun Gedik

  • Installation error at Update database statistics

    Hi,
    During DB installation at Update database statistics Installation error.
    Error shows that
    MTU- 03010 Execution of the command "/sapmnt/QMS/exe/brconnect   '-u' '/' '-c' '-f' 'crsyn -o 'SAPQMS' finished with status TST_ERROR
    brconnect.log error
    /usr/lib/hpux/dld.so: Unable to to find library 'libclntsh.so.10.1
    Any help.
    - Kristene

    Hello kristene Jyo,
    Did you get any breakthrough in this issue. Because i am also facing the same issue while installling the NW04 with oracle 9.0.2.0 but during "Update Statistice" step of Database instance installation it is giving me below error.
    "Unable to find library 'libclntsh.so.10.1"
    I already have 3 instance running fine on the same server of ECC 5.0 which i installed with oracle 9 same database.
    Please help me if you have any clue about the same my OS is HPUX-11.23.
    Thanks and Regards
    Dheeraj Thareja

  • Error in Update optimizer statistics - index is in unusable state

    Hello,
    we have this error in log Check and update optimizer statistics:
    12.02.2009     23:21:20     'BEGIN DBMS_STATS.GATHER_TABLE_STATS (OWNNAME => '"SAPPB1"', TABNAME => '"/BIC/FZPPC0002"', ESTIMATE_PERCENT => 10, METHOD_OPT =
    12.02.2009     23:21:20     ORA-20000: index "SAPPB1"."/BIC/FZPPC0002~010"  or partition of such index is in unusable state
    12.02.2009     23:21:20     ORA-06512: at "SYS.DBMS_STATS", line 13452
    12.02.2009     23:21:20     ORA-06512: at "SYS.DBMS_STATS", line 13472
    12.02.2009     23:21:20     ORA-06512: at line 1
    12.02.2009     23:21:20     BR0886E Checking/collecting statistics failed for table SAPPB1./BIC/FZPPC0002
    i can temporary fix this problem when i delete and recreate index via SE14,  but this help only for one next running update statistics, every next running update statistics has same error:  index "SAPPB1"."/BIC/FZPPC0002~010"  or partition of such index is in unusable state. Exist any definitive solution for this problem. Thanks

    Hi,
    Two methods for checking/repairing Indexing issues
    1)RSRV for a particular cube
    2)SAP_INFOCUBE_INDEXES_REPAIR report
    You can also use this sql to rebuild an Index.
    alter index <index name> rebuild online; Or you can rebuild Index by using ABAP report 'RSANAORA'.
    Please check below thread it may help you.
    /message/6483705#6483705 [original link is broken]
    https://forums.sdn.sap.com/click.jspa?searchID=12942068&messageID=2052264
    Thanks,
    Sushil

  • 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

  • Error when Updating database Statistics

    Hi all,
       I'm installing Database instance Of SAP R3E 4.7 extension set 2 SR1 on Window 2003 , orcle 9.2 (patch 9.2.0.8.0) . I got an error while Updating database Statictics is processing. How can i solve this problem
    Log error is:
    WARNING 2007-09-12 14:14:26
    Execution of the command "C:\usr\sap\C11\SYS\exe\run/brconnect -u / -c -f crsyn -o SAPC11" finished with return code 3.
    Output: BR0801I BRCONNECT 6.40 (45)BR0252E Function _popen() failed for '( C:\oracle\c11\920\bin\SQLPLUS /nolog ) < \nul 2>&1' at location BrPipeOpen-4BR0253E
    errno 2: No such file or directoryBR0272E Execution of program '( C:\oracle\c11\920\bin\SQLPLUS /nolog ) < \nul 2>&1' through pipe failedBR0303E Determination of Oracle version failed
    BR0801I BRCONNECT 6.40 (45)
    BR0252E Function _popen() failed for '( C:\oracle\c11\920\bin\SQLPLUS /nolog ) < \nul 2>&1' at location BrPipeOpen-4
    BR0253E errno 2: No such file or directory
    BR0272E Execution of program '( C:\oracle\c11\920\bin\SQLPLUS /nolog ) < \nul 2>&1' through pipe failed
    BR0303E Determination of Oracle version failed
    BR0280I BRCONNECT time stamp: 2007-09-12 14.14.26
    BR0804I BRCONNECT terminated with errors
    BR,
    Keng
    Message was edited by:
            Prachya Pantuyakorn

    they should normaly exist in the database.
    try to run
    sqlplus /nolog
    connect / as sysdba
    select username from dba_users;
    put if the don't exist:
    sqlplus /nolog
    connect / as sysdba
    create user "OPS$COMPUTERNAME\NW4ADM" identified externally;
    grant sapconn to "OPS$COMPUTERNAME\NW4ADM";
    grant sapdba to "OPS$COMPUTERNAME\NW4ADM";
    the rest should be part of note 50088
    peter

  • Update statistics with 640_EX2 kernel

    Hello,
    I'm no longer able to do UPD_CHECK, UPD_COND and UPD_UNCOND since upgrading to a 640_EX2 kernel.
    This happens on WebAS 6.20 on Linux IA32 and on WebAS 6.40 on Linux X86_64. Scheduling backups and verifys still works from db13. MaxDB version is 7.6.4.07. The problem exists with versions 120 and 212 of dbadaslib.so.
    Are these commands working for anyone? I suspect this could be one of these nice C++ ABI incompatibility problems, because libSQLDBC76.so is linked against libstdc+.so.5 and dbadaslib.so is linked against libstdc.so.5 and libstdc+.so.6.
    Since I am on an unsupported Linux distro I would like to know whether this happens on supported distros, too.
    Thank you,
    Sebastian

    Thank you for pointing me to the logs again, I scanned them too superficially last time.
    This is written to the trace file of a batch process:
    C  Starting Update Statistics on connection 2 ...     
    C  *** ERROR => connection for UPDSTAT is not available
    [dbupdsdb.cpp 140]
    This is interesting, because the connection test in db59 is successful for all 4 types of connections.

  • 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

  • Updating statistics after insert

    Is it possible, without creating a custom post-map process, to update statistics after inserting rows into a table. I've tried setting different parameters within OWB to no avail.
    Please respond only if you have actually succeeded in updating statistics without writing code. I've already read the docs and experimented.
    Thanks.
    Garrett

    Hi,
    why do you think so? The analyze configuration
    results in a procedure which calls
    WB_RT_MAPAUDIT_UTIL_INVOKER for each target table
    which then calls the DBMS_STATS-Package? What is
    misssing for the CBO? I'm a little bit confused?!
    Regards,
    DetlefThanks for the info. I'm a little confused. I thought that I had the analyze table box checked in the configuration and statistics were not updated. However, when I looked again, it was not checked. My error. Ran another test and statistics were updated. Sorry for the confusion.
    G.

  • 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

Maybe you are looking for

  • Error while starting SAP Application Server

    Hello everyone, This morning, i tried to start the SAP application Server, and i have this message error, some sentances are in frensh , i translate it in english with this sign --> before. =================================================== ========

  • HT4623 Iphone 4 is stuck on the connect to itunes screen after i downloaded the new update. What do i do?

    I downloaded the new update on my iphone 4 and now its stuck on a screen where it shows a usb pointing up towards the itunes symbol, and i have tried syncing my phone to itunes to finish it but itunes wont detect my phone. What do i do? Please help

  • Linked images

    I am working on a app that will packaged as an exe. Currently I am including 20 generic jpg files with the exe, which 20 bitmap cast members are linked to. The idea is that the user can replace one or more of the jpgs with their own and the program w

  • Hibernate Windows XP and Boot Mac OS X

    I primarily use WinXP on my White Macbook, but at times find it useful to use Mac OS X. However, often times I have lots of windows and data open in Windows, and it is a hassle to close out of everything and reboot to get into Mac OS X. Is there any

  • Approval WorkFlow with custom steps

    Hi guys, I need to create, using SPD, a simple workflows with this Outcome step Accepted e Approved so, for example If I have these users in My WF UserA, UserB I want that UserA change the WF step to Accepted and then UserB close the WF with Approved