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
Similar Messages
-
Check and Update Optimizer Statistics Error
Hello,
I have scheduled 'Check and Update Optimizer Statistics' from DB 13 but I always get this error.
BR0280I BRCONNECT time stamp: 2009-01-05 01.00.46
BR0301E SQL error -20000 at location stats_ind_collect-3, SQL statement:
'BEGIN DBMS_STATS.GATHER_INDEX_STATS (OWNNAME => '"SAPSR3"', INDNAME => '"/BIC /B0000412000KE"', ESTIMATE_PERCENT => 30, DEGREE => NULL, NO_INVALIDATE => FALSE); END;'
ORA-20000: index "SAPSR3"."/BIC/B0000412000KE" or partition of such index is in unusable state
ORA-06512: at "SYS.DBMS_STATS", line 10610
ORA-06512: at "SYS.DBMS_STATS", line 10645
ORA-06512: at line 1
BR0886E Checking/collecting statistics failed for index SAPSR3./BIC/B0000412000KE
Tried checking the table /BIC/B0000412000KE and got this from the check:
Enhancement category for table missing
Enhancement category for include or subtype missing
Table /BIC/B0000412000 was checked with warnings
I am still checking what this means but appreciate you have any idea on how to solve it.
Thank you.
Best Regards,
Julius
Edited by: Julius Baron Manuel on Jan 7, 2009 7:39 AMHi Julius,
Have your tried scheduling the update stats via DB13 'Immediately'. ??? Does it still gives you the same error when its done 'immediately'?
Try out DB02 and check your whole Database along with missing indexes. Refresh database and update histories.
Regards,
Pranay -
Check and update optimizer statistics failed
Hellow Friends,
After running job Check and update optimizer statistics each and every time from db13 in my BI production server it got failed please
view the logs
BR0301E SQL error -20000 at location stats_tab_collect-20, SQL statement:
'BEGIN DBMS_STATS.GATHER_TABLE_STATS (OWNNAME => '"SAPSR3"', TABNAME => '"/BIC/B0000228000"', ESTIMATE_PERCENT => NULL, METHOD_OPT => 'FOR ALL
ORA-20000: index "SAPSR3"."/BIC/B0000228000KE" 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/B0000228000
BR0280I BRCONNECT time stamp: 2009-05-19 18.17.19
BR0883I Table selected to collect statistics after check: SAPSR3./BIC/B0000229000 (161130/1480:0:0)
BR0280I BRCONNECT time stamp: 2009-05-19 18.17.19
BR0881I Collecting statistics for table SAPSR3./BIC/B0000229000 with method/sample E/P10 ...
BR0280I BRCONNECT time stamp: 2009-05-19 18.17.21
BR0301E SQL error -20000 at location stats_tab_collect-20, SQL statement:
'BEGIN DBMS_STATS.GATHER_TABLE_STATS (OWNNAME => '"SAPSR3"', TABNAME => '"/BIC/B0000229000"', ESTIMATE_PERCENT => 10, METHOD_OPT => 'FOR ALL C
ORA-20000: index "SAPSR3"."/BIC/B0000229000KE" 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/B0000229000
BR0280I BRCONNECT time stamp: 2009-05-19 18.17.21
BR0883I Table selected to collect statistics after check: SAPSR3./BIC/B0000230000 (0/13545:0:0)
BR0280I BRCONNECT time stamp: 2009-05-19 18.17.21
BR0881I Collecting statistics for table SAPSR3./BIC/B0000230000 with method/sample E/P30 ...
BR0280I BRCONNECT time stamp: 2009-05-19 18.17.21
BR0301E SQL error -20000 at location stats_tab_collect-20, SQL statement:
'BEGIN DBMS_STATS.GATHER_TABLE_STATS (OWNNAME => '"SAPSR3"', TABNAME => '"/BIC/B0000230000"', ESTIMATE_PERCENT => 30, METHOD_OPT => 'FOR ALL C
ORA-20000: index "SAPSR3"."/BIC/B0000230000KE" 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/B0000230000
Please help me to resolve the issue.some of your PSA tables are inconsistent - ex: /BIC/B0000228000 - check PSA partitioning in RSRV to correct the same or delete data from the same using SE14 and try running the same.
-
Hi,
Whats the use of to run update optimizer statistics.
ThankuIt Update the Optimizer Statistics... simple he?
No interview questions.
Read the "Rules of Engagement"
Regards
Juan -
Partition of such index is in unusable state
Hi,
We have upgraded the system 3O.B to BI 7.0 after upgrade we are getting following dump in the system for cube while accessing
Database error text........: "ORA-01502: index 'SAPPRW./BIC/FZUCCA_C1~100' or partition of such index is in unusable state"
How to rebuild the signal index in BI ?Hi,
I am getting a similar dump for some master data. Have you managed to solve the problem? I have process chain, and everything seems to work correctly, but the system administrator informs us that we are getting system dumps.
Please inform how to solve the problem.
Thank you for your help.
Ravi
e.g.
ORA-01502: index 'SAPSR3./BIC/B0000521000KE' or partition of such index is in unusable state
ORA-01502: index 'SAPSR3./BIC/B0000539000KE' or partition of such index is in unusable state
ORA-01502: index 'SAPSR3./BIC/B0000546000KE' or partition of such index is in unusable state
ORA-01502: index 'SAPSR3./BIC/B0000563000KE' or partition of such index is in unusable state
ORA-01502: index 'SAPSR3./BIC/B0000569000KE' or partition of such index is in unusable state
ORA-01502: index 'SAPSR3./BIC/B0000689000KE' or partition of such index is in unusable state
ORA-01502: index 'SAPSR3./BIC/B0000691000KE' or partition of such index is in unusable state
ORA-01502: index 'SAPSR3./BIC/B0000696000KE' or partition of such index is in unusable state
ORA-01502: index 'SAPSR3./BIC/B0000697000KE' or partition of such index is in unusable state
ORA-01502: index 'SAPSR3./BIC/B0000701000KE' or partition of such index is in unusable state
ORA-01502: index 'SAPSR3./BIC/B0000703001KE' or partition of such index is in unusable state
ORA-01502: index 'SAPSR3./BIC/B0000715000KE' or partition of such index is in unusable state
ORA-01502: index 'SAPSR3./BIC/B0000828001KE' or partition of such index is in unusable state
ORA-01502: index 'SAPSR3./BIC/B0000856000KE' or partition of such index is in unusable state
ORA-01502: index 'SAPSR3./BIC/B0000872000KE' or partition of such index is in unusable state -
hi
i am beginner....
indexes are in unusable state...
how can i make it actual stateMaybe you can use
alter index your_index_name rebuild online;? -
DB13 Check and Update Optimizer Statistics Error
Dear Gurus,
While Updating the Update stats in DB13 Calender it shows the Below mentioned error.
BR0881I Collecting statistics for table SAPPSU.EKUB with method/sample C ...
BR0280I BRCONNECT time stamp: 2009-01-18 02.23.01
BR0884I Statistics collected for table: SAPPSU.EKUB, rows old/new: 4093/6243
BR0280I BRCONNECT time stamp: 2009-01-18 02.23.14
BR0883I Table selected to collect statistics after check: SAPPSU.EQBS (4288797/6962268)
BR0280I BRCONNECT time stamp: 2009-01-18 02.23.14
BR0881I Collecting statistics for table SAPPSU.EQBS with method/sample E/P3 ...
BR0280I BRCONNECT time stamp: 2009-01-18 02.23.28
BR0301E SQL error -25153 at location stats_tab_collect-16
ORA-25153: Temporary Tablespace is Empty
BR0886E Checking/collecting statistics failed for table SAPPSU.EQBS
BR0280I BRCONNECT time stamp: 2009-01-18 02.23.30
BR0883I Table selected to collect statistics after check: SAPPSU.ESLH (278/420)
BR0280I BRCONNECT time stamp: 2009-01-18 02.23.30
BR0881I Collecting statistics for table SAPPSU.ESLH with method/sample C ...
BR0280I BRCONNECT time stamp: 2009-01-18 02.23.30
BR0884I Statistics collected for table: SAPPSU.ESLH, rows old/new: 278/420
BR0280I BRCONNECT time stamp: 2009-01-18 02.24.19
BR0883I Table selected to collect statistics after check: SAPPSU.HRS1210 (13400/25026)
BR0280I BRCONNECT time stamp: 2009-01-18 02.24.19
BR0881I Collecting statistics for table SAPPSU.HRS1210 with method/sample E/P30 ...
BR0280I BRCONNECT time stamp: 2009-01-18 02.24.19
BR0884I Statistics collected for table: SAPPSU.HRS1210, rows old/new: 13400/13400
BR0986W Index SAPPSU.HRS1210~0 is unbalanced - please rebuild the index
BR0280I BRCONNECT time stamp: 2009-01-18 02.24.38
BR0883I Table selected to collect statistics after check: SAPPSU.JGTBP00 (75747/117862)
BR0280I BRCONNECT time stamp: 2009-01-18 02.24.38
BR0881I Collecting statistics for table SAPPSU.JGTBP00 with method/sample E/P10 ...
BR0280I BRCONNECT time stamp: 2009-01-18 02.24.39
BR0884I Statistics collected for table: SAPPSU.JGTBP00, rows old/new: 75747/106197
BR0280I BRCONNECT time stamp: 2009-01-18 02.24.40
BR0883I Table selected to collect statistics after check: SAPPSU.JGTGPNR (76144/117862)
BR0280I BRCONNECT time stamp: 2009-01-18 02.24.40
Please help me to sort out this issue.
Thanks
AnbuHello Anbu,
the reason for this error is that you have no TEMPFILEs in your temporary tablespace (usually PSAPTEMP).
Please add one with the BR*Tools:
http://help.sap.com/saphelp_nw70/helpdata/de/1b/d20f6fe45a9e43b1856ea1b52c9612/content.htm
Regards
Stefan -
Error in updating R-tree index
Hi,
I want to update a geometry column with a R-tree index on it with a statement like:
update xxx set xxx.geometry = (select yyy.geometry...
All geometries in the updated table are NULL before. I get the following error:
ORA-29877: failed in the execution of the ODCIINDEXUPDATE routine
ORA-13237: internal error during R-tree concurrent updates: [empty-node
encountered; rebuild index]
ORA-06512: at "MDSYS.SDO_INDEX_METHOD", line 7
ORA-06512: at "MDSYS.SDO_IDX", line 86
ORA-06512: at "MDSYS.SDO_INDEX_METHOD", line 83
ORA-06512: at line 1
What's wrong?
JoergJoerg,
This is a known bug in R-tree indexing.
When you create an R-tree index
on a table with no geometries, it gives
this error.
This is fixed in 8.1.7.
To get around this problem, make sure
that atleast one geometry is non-null
when you create the index.
For a performance reason, it is not
recommended that you create
index on spatial table with NULL
geometries.
Updates on such indexed table will
be very expensive compared to
creating the index on a fully
populated table.
null -
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.
- Kristenei 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 -
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.
- KristeneHello 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 -
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.
- KristeneHi,
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) -
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 Pantuyakornthey 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 -
Error in Updating ctxsys.context index using ctxsrv
Environment :
Linux 6.2,
Oracle 8.1.6
character set : zhs16gbk or zhs16cgb231280
I can create an ctxsys.context index(using CHINESE_VGRAM_LEXER) on a long column, and i can rebuild this index with no parameters.
When i want to rebuild this index automatic using ctxsrv, this error occur ---
DRG-50857 Oracle error in drtldml(dml)
Ora-2000 error
anybody can help me?
nullthe complete error:
Dml batch: cid=1023
End batch: return code is 1
DRG-50857: oracle error in drtldml(dml)
ORA_20000: interMedia text 4mNs
DRG-50857: oracle error in drsxsopen
ORA-01480: STR83V51dA?H1IY?U:sW:
null -
Error in Computing Database statistics while running Update optimizer stati
Dear All,
I am getting following error while executing Update optimizer statistics on my ECC Production Server.
BR0280I BRCONNECT time stamp: 2011-09-07 06.00.34
BR0815I Number of indexes in schema of owner SAPFEP: 82458
BR0815I Number of indexes in schema of owner SAPFEPDB: 403
BR0825E Table/Index '/SAPAPO/MATKEY' not found in database
BR0182E Checking parameter/option 'stats_dbms_stats' failed
BR0806I End of BRCONNECT processing: cegskeaq.sta 2011-09-07 06.00.34
BR0280I BRCONNECT time stamp: 2011-09-07 06.00.34
BR0804I BRCONNECT terminated with errors
You are requested to please suggest the corrective action.
Regards,
Manish SachanHiu2026u2026u2026
Please find the complete Log u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026
BR0801I BRCONNECT 7.00 (34)
BR0805I Start of BRCONNECT processing: cegxrutc.sta 2011-10-05 06.00.16
BR0484I BRCONNECT log file: /oracle/FEP/sapcheck/cegxrutc.sta
BR0101I Parameters
Name Value
oracle_sid FEP
oracle_home /oracle/FEP/102_64
oracle_profile /oracle/FEP/102_64/dbs/initFEP.ora
sapdata_home /oracle/FEP
sap_profile /oracle/FEP/102_64/dbs/initFEP.sap
system_info fepadm/orafep fjeccprd1 AIX 3 5 00F67F154C00
oracle_info FEP 10.2.0.2.0 8192 114671 3007543000 fjeccprd1 UTF8 UTF8
sap_info 700 SAPFEP 0002LK0003FEP0011H01500816140015Maintenance_ORA
make_info rs6000_64 OCI_102 May 31 2008
command_line brconnect -u / -jid STATS20080725060000 -c -f stats -t ALL
stats_table ALL
stats_dbms_stats ALL:R:2,/SAPAPO/MATKEY:B:3
stats_change_threshold 50
stats_parallel_degree 1
BR0280I BRCONNECT time stamp: 2011-10-05 06.00.27
BR0813I Schema owners found in database FEP: SAPFEP*, SAPFEPDB%
BR0280I BRCONNECT time stamp: 2011-10-05 06.00.37
BR0814I Number of tables in schema of owner SAPFEP: 68904
BR0836I Number of info cube tables found for owner SAPFEP: 93
BR0814I Number of tables in schema of owner SAPFEPDB: 264
BR0280I BRCONNECT time stamp: 2011-10-05 06.00.47
BR0815I Number of indexes in schema of owner SAPFEP: 82459
BR0815I Number of indexes in schema of owner SAPFEPDB: 403
BR0825E Table/Index '/SAPAPO/MATKEY' not found in database
BR0182E Checking parameter/option 'stats_dbms_stats' failed
BR0806I End of BRCONNECT processing: cegxrutc.sta 2011-10-05 06.00.47
BR0280I BRCONNECT time stamp: 2011-10-05 06.00.47
BR0804I BRCONNECT terminated with errors
Regards,
Manish Sachan -
DB13 Check and update optimizer stat error: ORA-01652: unable to extend tem
Hi SAP Gurus,
When running Check and Update Optimizer Statistics in DB13, an error occurs.
BR0280I BRCONNECT time stamp: 2011-03-10 06.35.52
BR0301E SQL error -1652 at location stats_tab_collect-16
ORA-01652: unable to extend temp segment by 12137 in tablespace SYSTEM
BR0886E Checking/collecting statistics failed for table SAPR3.ACCTIT
BR0280I BRCONNECT time stamp: 2011-03-10 06.36.49
BR0850I 3 of 39479 objects processed - 3.522 of 342.781 units done
BR0204I Percentage done: 1.03%, estimated end time: 15:47
Looking at tablespace SYSTEM in DB02, the percent used is 58. Auto-extent feature is OFF. Will turning the auto-extent ON, remove the error?It seems like Your user (by a mistake) have tablespace SYSTEM as temporary tablespace.
Connect as sysdba in Your database and check which temp tablespaces awaiable, and size of them:
select tablespace_name, sum(bytes)/1024/1024 "Size of TEMP TBS in MB" from dba_temp_files group by tablespace_name;
Check which users having SYSTEM as tamp-tbs:
select username, temporary_tablespace from dba_users where temporary_tablespace like 'SYSTEM' order by 1;
Change those users to have one of your temp-tablespaces:
alter user &username temporary tablespace &&TempTBS;
It's also a good idea to have autoextend on on Your temp TBS, but remember to set maxsize so you doesn't fill up your disksystem.
Hope this solve Your problems.
Regards
Audun
DBA
Maybe you are looking for
-
Migration Assistant created admin user w/ Macintosh HD volume on desktop
Hi, Summary: MBP 17" (running Leopard) logic board died Retrieved hard drive from MBP and put in USB 2.0 caddy Bought Mac Mini 2.5 intel core i5 w/ latest Mountain Lion Used for a couple of days as main Administrator user, set up a VPN etc, every wor
-
Regarding uploadind file , pics , etc ,etc from desktop to DMS server.
Hi friends , I am a fresher and i dont know anything abt DMS .. I have given a task of uploading a file from desktop to DMS server ....Our requirement is not to use FTP server ......plzz guide me guys from very first step .... it wud b of gr8 help 2
-
I am in my last few months at university and want to buy windows for mac. After i graduate will it still work? Thanks.
-
Processing workflow items and sub tasks inside CIC
In CIC one can add a tab for the work flow inbox. In one workflow we have a decision task where the user will be able chose to create an activity. How does one modify CIC so the work item processing occurs inside a tab in CIC. With the benefit that t
-
Hi, I am trying to create a small piece of javascript code that is called when I press a button on a page. At the end of the javascript the regular doSubmit is called. The javascript looks something like this function mySubmit(pRequest){ /* my