Effect of Updating Database statistics to program's performance

Hi,
What is the Effect of Updating Database statistics to program's performance?
Will the program run's faster after the update/
Thanks a lot!

Hi,
>
freishz wrote:
> What is the Effect of Updating Database statistics to program's performance?
update the statistics the optizer uses for making an execution plan.
The statistics contains values like:
table statistics:
- nr of rows of the table
- nr ob blocks / pages of the table
- nr of empty blocks / pages
index statistics:
- nr of distinct keys in the index
- nr of leaf pages of the index
- clustering factor of the index
- height (levels) of the index
column statistics:
- nr of distinct values for a (indexed) column
- low value and high value for a (indexed) column
>
freishz wrote:
> Will the program run's faster after the update/
with updated statistics the runtime of the program might be
- higher
- lower
- the same
it depends on the differences of the generated execution plan used after the update in
comparison with the execution plan used before the update.
In general the runtime will be the same or lower. But i have seen cases where updating
statistics lead to higher runtimes, but these are very rare.
Why are you asking this question? do you have slow sql with a inefficent execution plan?
statistics is one of many things that need to be analyzed...
Kind regards,
Hermann

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.

  • 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 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

  • 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

  • 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

  • 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

  • Problem in UpdateStats(update database statistics)

    Hello Experts,
    I am getting this problem while running job UpdateStats, job failed with this error in Job Log:
    BR0301E SQL error -20000 at location stats_ind_collect-3, SQL statement:
    'BEGIN DBMS_STATS.GATHER_INDEX_STATS (OWNNAME => '"SAPSR10"', INDNAME => '"/BIC/B0001751000KE"', ESTIMATE_PERCENT => NULL, DEGREE => NULL, NO_INVALIDATE => FALSE); END;'
    ORA-20000: index "SAPSR10"."/BIC/B0001751000KE"  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 SAPSR10./BIC/B0001751000KE
    Current patch Level is 18.
    Please suggest solution.

    Hi Amit,
    Proceed as follows:
    1.Execute the 'RSAR_PSA_PARTITION_CHECK' program without setting the repair indicator.
    2.If there are inconsistent secondary indexes in your system, these along with the errors that are described in more detail in Note 1012607 are listed.
    3.Now execute the 'RSAR_PSA_PARTITION_CHECK' program in repair mode ( REPAIR = 'X' ) if you are prompted to do so in the second row of the log. We recommend that you execute the 'RSAR_PSA_PARTITION_CHECK' program in the background.
    4.Program 'RSAR_PSA_PARTITION_CHECK' can repair incorrect indexes only. If there are other errors in the log, you can correct them manually as described in Note 1012607.
    5.You can use transaction SLG1 and the following selections to display the log:
    Object        = 'RSAR'
    Subobject   = 'METADATA'
    Ext. Identif. = 'RSAR_PSA_PARTITION_CHECK'
                You do not need to carry out any more manual activities (for 'ORACLE').
    Please check the notes:1042182,633914.
    And also please check the below link:
    http://wallsdb.vicp.net/bbs/viewthread.php?tid=102
    Hope it will resolve your issue.
    Thanks
    Kishore

  • Updating database table via program

    Hi,
    I am updating a DB table (Sap standard table) via my program.
    I have few doubts with regard to same. They are given below,
    1.  I came to know that it is not best practise to update the sap standard table via program using "update" statement. Why so? Is there any other way or statement in doing the same?
    2.  The sap standard table which i update via my program is BDRGIN. Now my question is, when my  program is modifying the values of the table, if some other user also modifies the value at the same time via SE16 then conflict occurs. How to resolve it? Is SAP uses any automatic handling for such conflicts?
    kindly help me out.
    Regards,
    Raghavendraprasad.N

    Hi,
    Its not a good practise to modify the Standards tables through programs, because most of the standard tables will be interdependant with forign key relation ships (check table relations). So incase we create an irrelavant entry, then it will cause a lot of confusions.
    For example we create entries in MARA/MAKT table using MM01/02 transactions.
    There are a few standard tables like TVSA (containing customising data), these have to be maintained through the SPRO transaction. You can open SPRO transaction and search for the node to maintain entries in it or you can go to the transaction SM30 and you can give the table name and click on customizng to go the SPRO node.
    Still if you are trying to create entries in your table, Enque/Lock the table do the updations and then Deque/Unlock the table, so that there will be no conflicts happening during that time.
    Regards,
    S.Dakshna Nagaratnam.

  • 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

  • Error during sap r/3 installation  at update databse statistics

    Hi friends,
    I am getting an error during sap r/3 installation almost at the last stage.
    the error is  at update database statistics.
    my configuration is
    os: windows 2000 server.
    d/b: oracle 9i.
    erp: sap 4.7 ee
    During oracle installation stage the oui is asking for create a database, i am chechking it ok. Is that a problem ?.
    I am sending the log file. Please can anybody help me, where i am going wrong-
    The log file----
    Click Browse and give location of export1, as shown in the bellow figure
    INFO 2007-02-04 21:46:32
    Creating directory D:\oracle\DRS\sapdata4\drs620_5.
    INFO 2007-02-04 21:46:32
    Creating file system node D:\oracle\DRS/sapdata4\drs620_5 with type DIRECTORY succeeded.
    INFO 2007-02-04 21:46:32
    Creating directory D:\oracle\DRS\sapdata5\drs620_6.
    INFO 2007-02-04 21:46:32
    Creating file system node D:\oracle\DRS/sapdata5\drs620_6 with type DIRECTORY succeeded.
    INFO 2007-02-04 21:46:32
    Creating directory D:\oracle\DRS\sapdata5\drs620_7.
    INFO 2007-02-04 21:46:32
    Creating file system node D:\oracle\DRS/sapdata5\drs620_7 with type DIRECTORY succeeded.
    INFO 2007-02-04 21:46:32
    Creating directory D:\oracle\DRS\sapdata6\drs620_8.
    INFO 2007-02-04 21:46:32
    Creating file system node D:\oracle\DRS/sapdata6\drs620_8 with type DIRECTORY succeeded.
    INFO 2007-02-04 21:46:32
    Creating directory D:\oracle\DRS\sapdata6\drs620_9.
    INFO 2007-02-04 21:46:32
    Creating file system node D:\oracle\DRS/sapdata6\drs620_9 with type DIRECTORY succeeded.
    INFO 2007-02-04 21:46:32
    Creating directory D:\oracle\DRS\sapdata6\drsusr_1.
    INFO 2007-02-04 21:46:32
    Creating file system node D:\oracle\DRS/sapdata6\drsusr_1 with type DIRECTORY succeeded.
    INFO 2007-02-04 21:46:32
    Creating directory D:\oracle\DRS\sapdata2\roll_1.
    INFO 2007-02-04 21:46:32
    Creating file system node D:\oracle\DRS/sapdata2\roll_1 with type DIRECTORY succeeded.
    INFO 2007-02-04 21:46:32
    Creating directory D:\oracle\DRS\sapdata3\temp_1.
    INFO 2007-02-04 21:46:32
    Creating file system node D:\oracle\DRS/sapdata3\temp_1 with type DIRECTORY succeeded.
    INFO 2007-02-04 21:46:32
    Creating directory D:\oracle\DRS\sapdata1\system_1.
    INFO 2007-02-04 21:46:32
    Creating file system node D:\oracle\DRS/sapdata1\system_1 with type DIRECTORY succeeded.
    INFO 2007-02-04 21:46:32
    Processing of all file system node operations of table tORA_SapdataNodes succeeded.
    INFO 2007-02-04 21:46:33
    Processing of all file system node operations of table tORA_DatabaseServerNodes succeeded.
    INFO 2007-02-04 21:46:34
    Processing of all file system node operations of table tORA_SapdataNodes succeeded.
    INFO 2007-02-04 21:46:35
    Creating file c:\oracle\ora90\database\initDRS.ora.
    INFO 2007-02-04 21:46:36
    Creating file C:\oracle\ora90\database\initDRS.sap.
    INFO 2007-02-04 21:46:37
    Copying file F:/sap4.7/ker/NT/COMMON/INSTALL/INITSID.DBA to: c:\oracle\ora90/database/initDRS.dba.
    INFO 2007-02-04 21:46:37
    Creating file c:\oracle\ora90\database\initDRS.dba.
    INFO 2007-02-04 21:46:38
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 21:46:39
    Moving file c:/oracle/ora90/database/initDRS.ora to: orig_init_ora_tmp.txt.
    INFO 2007-02-04 21:46:39
    Moving file C:/SAPinst ORACLE KERNEL/changed_init_ora_tmp.txt to: c:\oracle\ora90\database\initDRS.ora.
    INFO 2007-02-04 21:46:39
    Removing file C:/SAPinst ORACLE KERNEL/orig_init_ora_tmp.txt.
    INFO 2007-02-04 21:46:40
    Creating file C:\SAPinst ORACLE KERNEL\oradim.log.
    INFO 2007-02-04 21:46:45
    See 'c:\oracle\ora90/bin/oradim -new -sid DRS -STARTMODE auto' output in 'C:\SAPinst ORACLE KERNEL\oradim.log'.
    INFO 2007-02-04 21:46:45
    'c:\oracle\ora90/bin/oradim -new -sid DRS -STARTMODE auto' returned with '0'.
    INFO 2007-02-04 21:46:46
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 21:46:49
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 21:59:57
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:00:00
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:00:44
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:00:46
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:01:31
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:01:34
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:02:18
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:02:20
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:03:06
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:03:09
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:03:55
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:03:57
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:04:44
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:04:46
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:05:32
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:05:35
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:06:21
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:06:23
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:07:10
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:07:12
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:07:58
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:08:01
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:08:48
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:08:50
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:09:38
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:09:40
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:09:44
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:09:46
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:10:06
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:10:09
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:10:39
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:10:41
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:10:44
    Moving file c:/oracle/ora90/database/initDRS.ora to: orig_init_ora_tmp.txt.
    INFO 2007-02-04 22:10:44
    Moving file C:/SAPinst ORACLE KERNEL/changed_init_ora_tmp.txt to: c:\oracle\ora90\database\initDRS.ora.
    INFO 2007-02-04 22:10:44
    Removing file C:/SAPinst ORACLE KERNEL/orig_init_ora_tmp.txt.
    INFO 2007-02-04 22:10:45
    Creating file C:\SAPinst ORACLE KERNEL\lsnrctl.log.
    INFO 2007-02-04 22:10:46
    See 'c:\oracle\ora90/bin/lsnrctl stat' output in 'C:\SAPinst ORACLE KERNEL\lsnrctl.log'.
    INFO 2007-02-04 22:10:46
    'c:\oracle\ora90/bin/lsnrctl stat' returned with '3'.
    INFO 2007-02-04 22:10:46
    Creating file C:\SAPinst ORACLE KERNEL\lsnrctl.log.
    INFO 2007-02-04 22:10:48
    See 'c:\oracle\ora90/bin/lsnrctl start' output in 'C:\SAPinst ORACLE KERNEL\lsnrctl.log'.
    INFO 2007-02-04 22:10:48
    'c:\oracle\ora90/bin/lsnrctl start' returned with '0'.
    INFO 2007-02-04 22:10:48
    Copying file F:/sap4.7/ker/NT/COMMON/INSTALL/ORADBUSR.SQL to: ./oradbusr.sql.
    INFO 2007-02-04 22:10:48
    Creating file C:\SAPinst ORACLE KERNEL\oradbusr.sql.
    INFO 2007-02-04 22:10:49
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:10:52
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    PHASE 2007-02-04 22:10:54
    Database Load
    INFO 2007-02-04 22:10:58
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:10:59
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:11:00
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:11:01
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:11:01
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:11:01
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:11:01
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:11:01
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:11:01
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:11:01
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:11:01
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:11:01
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:11:01
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:11:01
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:11:01
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:11:02
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:11:02
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:11:02
    Task files created
    INFO 2007-02-04 22:11:03
    Command files created
    INFO 2007-02-04 22:11:05
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:11:05
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-04 22:11:05
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-05 00:06:44
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-05 03:43:19
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-05 04:55:23
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-05 05:17:24
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-05 05:39:25
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-05 05:45:25
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-05 05:57:26
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-05 06:00:26
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-05 06:03:26
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-05 06:05:26
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-05 06:07:26
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-05 06:08:27
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-05 06:09:28
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-05 06:24:46
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-05 06:24:46
    Processes finished successfully
    INFO 2007-02-05 06:26:23
    Creating file C:\SAPinst ORACLE KERNEL\ddicora.sql.
    INFO 2007-02-05 06:26:25
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-05 06:26:30
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-05 06:26:32
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-05 06:26:43
    Moving file c:/oracle/ora90/database/initDRS.ora to: orig_init_ora_tmp.txt.
    INFO 2007-02-05 06:26:43
    Moving file C:/SAPinst ORACLE KERNEL/changed_init_ora_tmp.txt to: c:\oracle\ora90\database\initDRS.ora.
    INFO 2007-02-05 06:26:43
    Removing file C:/SAPinst ORACLE KERNEL/orig_init_ora_tmp.txt.
    INFO 2007-02-05 06:26:43
    Moving file c:/oracle/ora90/database/initDRS.ora to: orig_init_ora_tmp.txt.
    INFO 2007-02-05 06:26:43
    Moving file C:/SAPinst ORACLE KERNEL/changed_init_ora_tmp.txt to: c:\oracle\ora90\database\initDRS.ora.
    INFO 2007-02-05 06:26:43
    Removing file C:/SAPinst ORACLE KERNEL/orig_init_ora_tmp.txt.
    INFO 2007-02-05 06:26:43
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-05 06:26:45
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-05 06:26:48
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-05 06:26:52
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-05 06:26:55
    Creating file C:\SAPinst ORACLE KERNEL\brconnect.log.
    INFO 2007-02-05 06:26:55
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-02-05 06:26:55
    See 'D:\usr\sap\DRS\SYS\exe\run/brconnect -c -f crsyn -o SAPDRS' output in 'C:\SAPinst ORACLE KERNEL\brconnect.log'.
    ERROR 2007-02-05 06:26:55
    MOS-01012  PROBLEM: 'D:\usr\sap\DRS\SYS\exe\run/brconnect -c -f crsyn -o SAPDRS' returned with '128' which is not a defined as a success code.
    ERROR 2007-02-05 06:26:55
    FJS-00012  Error when executing script.
    kindly help me where i am going wrong.
    Yours friendly,
    Bharath.

    Hi Andreas,
    many thanks to you for the timely help.
    a.)I want to know why there is an error at brconnect ? why is it returning an error code (128) at UPDATE DATABASE STATISTICS stage.
    I have read in this forum itself that the UPDATE STATISTICS need not be suceesfully completed and we can edit database.r3s
    " ..on the other hand you can easily invoke the update statistics after the installation has ended (succesfully!)...edit DATABASE.R3S (or the appropriate template file you are using) by changing the status=ERROR to status=OK...this will let you finish the installation..-GreetZ, AH."
    I have searched for this file (database.r3s) in my system in vain Where can i find this file database.r3s?.
    Have i done any configuration mistake at the pre-installation stage. I have installed Oracle 9.0 using setup.exe of oracle. should i use sapserver.cmd to install oracle?.I havent applied any patch for Oracle 9.0
    Should I apply any patch just the same way we do for Oracle 8.1.x ?.  If so, where can i get the patch for Oracle 9.0 .?.
    b.) You said there should not be any spaces in file path (ex: C:/SAPinst ORACLE KERNEL/) . But I havent specified file path, the r/3 setup itself has created the directory path.
    c.) I want to know one thing- should we create a database before installing r/3. When we are installing Oracle 8/9. x what are the components that we are installing?
    Your friend,
    Bharath.

  • Installation error at update db statistics

    Hi,
    During DB installation at Update database statistics Installation error.
    Error shows that
    MTU- 03010 Execution of the command "/sapmnt/C11/exe/brconnect   '-u' '/' '-c' '-f' 'crsyn -o 'SAPC11' 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

    i would suggest:
    1. add the directory of libclntsh.so to you path
    2. try to execute the following command in shell: "/sapmnt/C11/exe/brconnect -u / -c -f crsyn -o SAPC11"
    ilan shani

  • DB installation fails at Update DB 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

    hI
    Skip this step and continue the installation and after completion the setup from db13 run update statistics
    Regards
    Vishal

  • DB installation error at update DB 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

    Hi,
    Do not create the links, please
    >Thus, to solve your problem, create a dynamic link in the oracle client directory like this (for Unix 64-Bit):
    >cd /oracle/client/10x_64
    >ln -s /oracle/client/10x_64/lib lib
    Looks like a "nice" workaround but with it you stop using the oracle instantclient and start to use the "normal" client.
    For the instantclient you do not need to set any NLS parameter, for the "normal" client you will need to do it.
    This is prone to get other possible errors that can be solved with other "workaround" until you hit one that need SAP support to "enter" in the picture, and the first thing would be to undo all that to get support.
    This thread is one year old, so i assume the issue is already solved.
    But, incase it is not so, or some other people does find this thread.
    The error means that BRtools are looking for the oracle client 10g and you do not have it installed or it is not properly done.
    That means that, the solution would be to install this instantclient properly following the instructions from the SAP Note 819829 Oracle Database 10g: Instant Client 10.x on Unix
    If you get this issue while installing in oracle 9.2, then it means that the delivered brtools level are a bit higher for your release. In that case, replace the BR* tools delivered (700) with the latest from 6.40 kernel. and be sure that the oracle client 9i is properly installed as it is needed for this version (see SAP Note 539922 Installing the ORACLE client software 9.2.X for UNIX)

Maybe you are looking for

  • Safari keeps crashing when I go to youtube as soon as it loads. What can I do to fix this?

    Process:         WebProcess [548] Path:            /System/Library/StagedFrameworks/Safari/WebKit2.framework/WebProcess.app/Conten ts/MacOS/WebProcess Identifier:      com.apple.WebProcess Version:         7536 (7536.29.13) Build Info:      WebKit2-7

  • Oracle optional input parameters

    Hi, I have a SP named sp_actualizar_parametr that has 3 input parameters, all of Number type, and one of them is optional. How can I do so that my class reflects that situation, how can I passa a null to the optional field? now I have: public static

  • Avoid reduncy in PFCG.

    Hi All, I am working as Sap Security Consultant. Can any one please guide me how to reduce / avoid Redundency in PFCG, so that same roles are not assigned to the users. Best regards, Shashi.

  • Transfer of PE

    I am running Photoshop Elements 9.0.3. Purchased via educational license. I am planning to either buy a new computer or re-install Micorosoft Windows 7. In either case, how do I transfer my Photoshop to the new situation?

  • Ran traffic blazer and was told I have no internal hyperlinks? unspiderable

    I just ran Traffic Blazer on my site and was told it has no internal or external hyperlinks (which it does) and that there is a robot.txt file that disallows spidering. How do I fix this so I am searchable?