Missing index problem
Hi Gurus!
I have a critical problem to solve.
I have a table without data which is inconsistent because it doesn't have the primary index. When i see missing indexes at DB02, the system tells me that the index is created, but when i go to SE14 and select the primary index, it says the index does not exists on the database and the only option that is active is the one to create the index. If I try to create the index, i get an error saying: there is already a an object named 'zmed_distr~0' ( my index name ).
Can anybody help me?
Thank you in advance.
the tsystem does'nt create the index and give me this log:
Request: Create Index ZMED_DISTR-0 (FORM05/11.12.07/19:06)
Process: BLADE04_0
sql:
ALTER TABLE [ZMED_DISTR]
ADD CONSTRAINT [ZMED_DISTR~0]
PRIMARY KEY CLUSTERED
( [MANDT] ,
[ZUONR] ,
[GJAHR] ,
[KUNNR] ,
[ESTAB] ,
[TXT20] ,
[REPS] )
There is already an object named 'ZMED_DISTR~0' in the database.Could
not create constraint. See previous errors.
DDL time(___1): .........3 milliseconds
The SQL statement was not executed
Index could not be created completely in the database
Index ZMED_DISTR-0 could not be created
Request for ZMED_DISTR could not be executed
Similar Messages
-
Dear all,
This is about a BW 3.5 system running Oracle 10.2.0.2 on Solaris 10
After an online database reorganisation, I receive these messages in db13
BR0970W Database administration alert - level: ERROR, type: MISSING_INDEX, object: (table) SAPR3./BI0/F0BWTC_C02
BR0970W Database administration alert - level: ERROR, type: MISSING_INDEX, object: (table) SAPR3./BI0/F0BWTC_C05
According to the logs, the tables above have been reorganised successfully.
I see the missing indexes in db02 under Missing Indexes:
Secondary indexes 13
/BI0/F0BWTC_C02-070
/BI0/F0BWTC_C02-060
/BI0/F0BWTC_C02-050
/BI0/F0BWTC_C02-040
/BI0/F0BWTC_C02-020
/BI0/F0BWTC_C02-010
/BI0/F0BWTC_C05-070
/BI0/F0BWTC_C05-060
/BI0/F0BWTC_C05-050
/BI0/F0BWTC_C05-040
/BI0/F0BWTC_C05-020
/BI0/F0BWTC_C05-010
/BIC/FZ_CPLN_00-900
If I try to select one and click on create in db, I get a short dump
Runtime Error RAISE_EXCEPTION
Date and Time 23.08.2007 11:12:13
ShrtText
Exception condition "STORAGE_NOT_DETERMINATED" raised.
What happened?
The current ABAP/4 program encountered an unexpected
situation.
What can you do?
Print out the error message (using the "Print" function)
and make a note of the actions and input that caused the
error.
To resolve the problem, contact your SAP system administrator.
You can use transaction ST22 (ABAP Dump Analysis) to view and administer
termination messages, especially those beyond their normal deletion
date.
is especially useful if you want to keep a particular message.
Error analysis
A RAISE statement in the program "SAPLSDB2" raised the exception
condition "STORAGE_NOT_DETERMINATED".
Since the exception was not intercepted by a superior program
in the hierarchy, processing was terminated.
173 else.
174 storage_source_hierarchy-dbr = 'X'.
175 endif.
176 storage_source_hierarchy-cmt = 'X'.
177 storage_source_hierarchy-cmp = 'X'.
178 if dbtabname ne space and dbtabname ne tabname.
179 perform shdupg_get_index_storage tables storpar
180 using dbsys prid tabname indexname storage_source_hierarchy
181 dbindex_of_origtable dbprimindex_of_origtable
182 changing rc.
183 else.
184 call function 'DB_STORAGE_GET'
185 exporting
186 dbsys = dbsys
187 prid = prid
188 tabname = tabname
189 indexname = indexname
190 dbindex = realname
191 dbrefindex = name_of_primidx
192 source_hierarchy = storage_source_hierarchy
193 tables
194 storpar = storpar
195 exceptions
196 mapping_error = 1
197 db_error = 2
198 uncomplete_parameter = 3
199 others = 4.
200 rc = sy-subrc.
201 endif.
202 if rc ne 0.
>>>> raise storage_not_determinated.
204 endif.
205
206 * Progamm generieren
207 perform db_get_progname using 'SDB2F' dbsys changing sdb2fdbs.
208 refresh statements.
209 perform gen_create_index in program (sdb2fdbs)
210 tables ddfldnames storpar loc_stmt
211 using tabname indexname realname unique dbsys rc.
212 if rc <> 0.
213 *KUGL-protocol-270694
214 perform stdo_sam1
215 using prid max_severity msgid '122' realname.
216 raise program_not_generated.
217 endif.
218 statements[] = loc_stmt[].
219
220 perform create_index_finish tables loc_stmt
221 using tabname realname dbsys no_exec rc.
222 if rc <> 0. raise program_not_generated. endif.
Any ideas?
Many thanks
AndreasHi,
Please check following note:
Note 703304.
You may have to import correction against your release.
Regards,
Payal Patel -
Hi,
In tcode DB02, when seeing database statistics, i found that there were some missing indexes in database. ie., for some tables there are no indexes created.
Please tell me whether we need to create indexes or not. Is there any serious effect of a table not having any index?
Please suggest me a good solution for this.
Thanks,
Sailesh KNot necessarily. You must decide if an index will assist in making a table scan faster. FULL table scans indicate that an index is not available. Creating an index in this case, will improve preformance and prevent full table scans from occuring.
Also, check oracle to see if the index exists. Somestimes the Data Dictionary is unaware of the index due to how it ws created.
In summary missing indexes are not a problem. FULL table scans are problems and require new indexes to be created for performance reasons.
Hope this helps. -
Generated index is missing indexed items
Working with book and separate chapter for index. Index generates but is missing index entries. Is it something I'm doing or an InDesign problem?
Thanks for input. All available updates have been applied. Long telcon with India so far has produced no cure but at last they are 'escalating' problem to find a solution. It seems to only happen in the 'Symbols' heading (non-alphabetic entries) of the index. Not only are items missing but reference page numbers are missing and/or scrambled. Looks like several indexed subjects are loosing page references and/or picking up page references from following index lines. If you can read the image attached you'll see what I'm talking about if you compare the index flyout lines with what shows up in the generated index. Quite a time consuming pain. It took me almost an hour on the phone to get India to the point they wanted to see this.
-
DB statistic missing & Missing index for critical tables after TDM refresh
Hello SAP expert,
We have completed our refresh using TDM, but after the refresh we encounter problem at the receiver system,
Issue Encounter
1. System too slow
2. When running tcode it resulted to time_out dump
3. Db statistics are missing
4. missing index for critical tables
Appreciate your help. How can we check tdm log if the data transfer really transferred or completed succesfuly.
ThanksThanks for your reply.
We are looking the possible root cause of the issue, everything is fine in the target system before the refresh even the DB statistics update job is working fine before the refresh.
is there a way we could find logs or report from tdms server if there something happen during the execution of the tdm jobs or data selection and transfer. as we only find logs of the latest run. let say we execute the data transfer 4 times where we could find a report or logs stating the error or execution logs from the 2nd or on 3rd run?
thanks -
Help needed with missing data problem in CRVS2010
We recently upgraded the reporting engine in our product to use Crystal Reports for Visual Studio 2010 (previously engine was CR9). Our quote report, which has numerous subreports and lots of conditional formatting, started losing data when a quote took more than a single page to be printed. We knew the SQL results included the data, but the report was not printing those lines at all or sometimes printing a partial line. In addition, the running total on the report would exclude the lines that were being missed on the next page. In one example submitted by a customer, 3 lines were skipped between pages.
I think I have identified two potential issues that document the possibility of data not being included in the report.
The first potential issue is an issue with the "suppress blank section" option being checked. This issue is supposedly fixed with ADAPT01483793, being released someday with service pack 2 for CRVS2010.
The second potential issue is using shared variables. This issue is supposedly fixed with ADAPT01484308, also targeted for SP2.
Our quote report does not explicitly use shared variables with any of the subreports, but it does have several subreports, each in its own section that has the "supress blank section" option checked. We have other reports that use this feature, as well, and they are not exhibiting the problem.
One different thing about the quote report is that it has a section with multiple suppression options selected. The section has a conditional suppression formula, which controls whether the section is included at all within the report. The section also has the suppress blank section option selected. There are multiple fields within the report that are each conditionally suppressed. In theory, the section's suppress formula could evaluate to true, yet all of the fields within the section are suppressed (due to null values), and then the "suppress blank section" option would kick in.
The missing data only seems to happen when the section is not being suppressed, and at least one of the fields is being included in the report. If I clear the "suppress blank section" check box, and change the section formula to also include the rules applied to the fields in the section, the missing data problem seems to be resolved.
Is this related to ADAPT01483793? Will it be fixed in service pack 2?
If more details are needed, I would be happy to provide a sample report with stored data.Hi Don,
Have a look at the Record Selection formula in CR Designer ( stand alone ) and when exported to RPT format opening that report in the Designer also.
There's been a few issues with => logic in the record selection formula. It could be you are running into this problem. Look for NOT inserted into your selection formula.
Oh and SP2 is coming out shortly so it may resolve the issue. But if you want you could purchase a support, or if you have a support contract then create a case in SMP and get a rep to work with you to debug the issue.
If you have not try the Trial Version of CR 2011, put it on a VM-ware image or Test PC so you don't corrupt anything for production and have a look at and test it in that designer also. If you purchase a case and it is a bug then you'll get a credit back for the case.
Don
Edited by: Don Williams on Oct 26, 2011 7:40 AM -
Missing indexes after system copy
Hi All
we have around 70,000 missing indexes after the system copy
offline export from
source with sun solaris oracle
To
Linux oracle
but these appeared after we Run SGEN , which took 60 hours for a 200 Gb database.
and target system response is also slow , how to go ahead with this issue
we have checked export and import logs , none of the packages were missed
1 Why these missing indexes after SGEN , and why SGEN for 60 hours
2 when we check the Tables which appeared in Missing indexes ,from SE14 it says In Consistency with Data dictionary
3 and the other error , is Index Missing in the database ,
4 but we cant create all these manually.
RegardsHi Matt
Thanks for the response
After sap suggestion , we have done only import again, with 721 R3load same as export.
but still the R3load.exe.log of import shows as done with 720 kernel.
import R3load.exe log //bas/720_REL/src/R3ld/R3load/R3ldmain.c#
export R3load.exe log //bas/721_REL/src/R3ld/R3load/R3ldmain.c#10 $ SAP
But when we compare the sapinst_dev and AGR logs both from export and import
both are referring the same 721 R3load version ,
//bas/721_REL/src/R3ld/R3load/R3ldmain.c
still we have same missing indexes issue , after we did the import again.
Are we making any mistakes in export , Any suggestions are welcome
hi all , kindly respond with your inputs , on this
Regards -
In - DB13 - warnings for missing indexes
Hi
I've noticed in the results of the DBCHECK job in DB13 that we have a number of warnings for missing indexes.
BR0970W Database administration alert - level: ERROR, type: MISSING_INDEX, object: (table) SAPR3./BI0/PCOSTELMNT
The strange thing is that no missing indexes are picked up be DB02. In SE11 these tables cannot be found. Checked at Oracle level and the tables exist but the indexes do not.
Does anyone know if these tables should have indexes?
If so what would be the best way to create these?
Thanks & Regards
ShishirIn DB02 they are probably showing under 'Optional Indexes' under 'not created'
-
Hi All,
We have a Database with many tables using foreign keys. Some of my queries from coldfusion are slow. We are using 11g version.
It's a way to check for missing indexes?
I would like to help the database to perform better, I know this is a huge topic but as new in oracle I need to start somewhere.
Any links or comments will be appreciate it.
Regards
Johnnyi have created a two step process for finding which Foreign key is not indexed
1. create a table having the ddl of all indexes
CREATE TABLE INDEX_TXT_TBD AS
SELECT DBMS_METADATA.GET_DDL('INDEX',INDEX_NAME) TXT FROM USER_INDEXES WHERE INDEX_TYPE='NORMAL' AND INSTR(INDEX_NAME,'$') = 0
2. create a table which will tell the tablename, columnname (FK) who are not indexed
CREATE TABLE INDEX_TBD AS
select distinct
user_cons_columns.TABLE_NAME,
user_cons_columns.COLUMN_NAME
from
user_cons_columns,
user_constraints,
INDEX_TXT_TBD,
where
user_constraints.CONSTRAINT_NAME=user_cons_columns.CONSTRAINT_NAME
and CONSTRAINT_TYPE='R'
AND INSTR(TXT,'"' || user_cons_columns.TABLE_NAME || '" ("' || user_cons_columns.COLUMN_NAME || '")') = 0 -
I find a missing Index when I do Database check
This is the error message:
"BR970W Database administration alert - level: ERROR, type: MISSING_INDEXES, object: (table) SAPR3.ZGMM0015"
I executed Trx. DB02 - Missing Indexes - there I find
--> Index missing under database
--> primary index - 1
--> Z..... --> I selected this and clicked on "Create in DB".
Then it pops up a dialog box asking options like Online, Background .... (can I create this Index online)
from here what I needs to do.
Gurus can some one guide me.
Thanks in advanceLooks like index is missing for the table.. When you get options like online, background, you may use online. It does not hamper the system.
-
Missing Index there Unknown indexes in ABAP Dictionary in DB02
Dear All,
I am getting error in T-code DB02 >Missing Index there Unknown indexes in ABAP Dictionary.
Please find the following details.
Unknown indexes in ABAP Dictionary
DB indexes 11
MARA_MEINS
MARA_ZER
MCHA_VFDAT
VBRP_ARKTX
VBRP_CHARG
VBRP_FKIMG
VBRP_KZWI1
VBRP_MATKL
VBRP_MATNR
VBRP_SPART
VBRP_WERKS
Please suggest how to correct them and can caution we have to take before creating the
Index.
The process creating the index form se11 table and there index>database utility and than create .The same process can be use .
Regards,Hi,
Please use the below procdure:
- Goto transaction SE11
- Enter table name and press view
- Click button "Indexes..."
Please alse check with the below links for more information.
Index:
http://help.sap.com/saphelp_nw04/helpdata/en/cf/21eb20446011d189700000e8322d00/content.htm
Creating Secondary Index
http://help.sap.com/saphelp_nw04/helpdata/en/cf/21eb47446011d189700000e8322d00/content.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/1c/252640632cec01e10000000a155106/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/c7/55833c4f3e092de10000000a114027/frameset.htm
Check with this also......[click here|Steps for creating a database index;.
With Regards,
Krishna. -
i managed to get IE6 to use z-indexes and layer properly..
everything that is except form elements specifically combo boxes
appear above my dropdown menus...??This is not a z-index problem. It's due to the way that combo
elements are
drawn to the screen. There are only two solutions that I know
of -
1. Redesign the form so that there is no conflict, or
2. Hack the menu code so that the combo element is hidden
when the menu is
opened.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"Terrence Martineau" <[email protected]>
wrote in message
news:em7187$h79$[email protected]..
>i managed to get IE6 to use z-indexes and layer
properly.. everything that
>is except form elements specifically combo boxes appear
above my dropdown
>menus...?? -
hi!
I have problem with z-index of my flash animation.
On Mac everything works great (on Safari and Firefox), but on Windows I have the same problem on all browsers.
Basically, the dropdown menu is displaying below my flash animation instead of above.
I'm surprised on mac everything is working perfectly and it doesn't depend on the browser...
is maybe due to the published javascript code generated by Flash ?
thanks>I created some pull down menus using CSS. Directly below
the menu bar I
>had a
> Flash file that runs on load. The pull down menus look
corrupted in
> the
> browser (safari and FireFox) when they appear over the
running flash
> movie. Is
> this a z index problem? Any work arounds?
Safari and Firefox Mac have very broken and slightly broken
Flash
Players. There is no viable workaround unless you want to
eliminate all
"hover" effects. Adobe claims it's an Apple or a browser bug.
Apple
claims it's a failure on the part of Adobe to "cocoa-ize"
something or
other.
Al Sparber - PVII
http://www.projectseven.com
Popup Menus | Image Galleries | CSS Tutorials & Templates
Newsgroup: news://forums.projectseven.com/pviiwebdev/
CSS Newsgroup: news://forums.projectseven.com/css/
DW Newsgroup: news://forums.projectseven.com/dreamweaver/ -
The missing library problem.
I understand that there's already a lot of threads about the sudden disappearance of iTunes libraries, however I'm typing this up because I'd like to point out in a bit more detail what I'm seeing happening to my computer, and maybe have a collective of what's going on. This issue has happened to me five times in the last two months since I've updated to iTunes 11. After searching on google I know the missing library problem has existed since the early 2000s; why this glitch has yet to be fixed 13 years later is beyond me. I have personally never had this problem until updating to 11, and seeing the many other threads on here this appears to me to be an issue with this version of the software more than it has been in previous versions.
Before I continue, I have tried the following to fix it:
Simply readded my whole library. It was only wiped again a few weeks later.
Completely uninstalled and reinstalled iTunes. That didn't work either, so it's not just an updating problem.
What I haven't tried
Changing where on my computer iTunes is installed. I have no idea where on the computer might be better or if it will change anything. I have iTunes installed on its default location on my local C: disk.
Importing the music directly from my iPod into iTunes. Can this be done? If so, how? Not everything on my iTunes is a store purchase, most of it is imported CDs and also amazon purchases too. So I don't know if the transfer purchases option works. While this wouldn't fix this current issue, I would like to know how to do this if possible since it would just be a quick fix whenever this happens.
What is happening:
So each time this has happened, what occurs is that like many other people, one day I open my iTunes and everything is in order. Then the next, for no reason, all of my libraries are gone but the music is still on my computer, organized in their files the way iTunes had them done so upon importing. I can't use the .itl files in the "previous libraries" folder because they have also been re-written. Upon opening them, even if their last save was on a day I know everything was in working order, opening them does nothing but give me the same blank default page.
What isn't mentioned in a lot of the posts regarding this issue, is the sudden crop of temporary files in the iTunes folder.
The ones that have cropped up for me personally are the following:
iT 1.tmp
iT 2.tmp
iT 3.tmp
iT 4.tmp
Temp file 1.tmp
Temp file 2. tmp
Those were not there the last time I used iTunes, and they're never there on the days I've used it before and it has worked correctly. However every time my library is wiped, these files suddenly appear without fail, every time. I can't open them, I can't do anything with them except delete them. I believe I remember reading somewhere that this might be an issue regarding with how the program is saving the progress of your library changing, and that the temp files are there until it can "officially" save what has happened to your library. While I didn't change anything in my library in the last couple of weeks, I'm assuming this also counts things like play count.
My own personal opinion
Seeing just how many threads with this issue are popping up, this leads me to believe that this isn't just a problem with my personal computer or my personal install of iTunes 11. These temp files also lead me to believe that as well. In other words, whatever glitch has existed with iTunes since the early 2000s is for some reason running rampant in version 11.
TL;DR:
Please developers, actually look at this library glitch within the program itself. It can't just be an individual user's problem because way too many people are experiencing it.No worries. You've probably run into one the other threads I've posted to but I'll add my thoughts here anyway...
Empty/corrupt library after upgrade/crash
Hopefully it's not been too long since you last upgraded iTunes, in fact if you get an empty/incomplete library immediately after upgrading then with the following steps you shouldn't lose a thing or need to do any further housekeeping. Note that in iTunes 11 an "empty" library may show your past purchases with links to stream or download them.
In the Previous iTunes Libraries folder should be a number of dated iTunes Library files. Take the most recent of these and copy it into the iTunes folder. Rename iTunes Library.itl as iTunes Library (Corrupt).itl and then rename the restored file as iTunes Library.itl. Start iTunes. Should all be good, bar any recent additions to or deletions from your library.
Alternatively, depending on exactly when and why the library went missing, there may be a more recent .tmp file in the main iTunes folder that can be copied and renamed as iTunes Library.itl to restore the library to an earlier state. Look for a recent .tmp file that is similar in size to the .itl files in the Previous iTunes Libraries folder. If it has happened repeatedly you may want the earliest such file generated since the last iTunes upgrade.
If applicable, see iTunes Folder Watch for a tool to catch up with any changes since the backup file was created.
When you get it all working make a backup!
Should you be in the unfortunate position where you are no longer able to access your original library, or a backup of it, then see Recover your iTunes library from your iPod or iOS device.
I've noticed more of these missing library posts of late and a common factor to most since I started asking is AVG Anti-Virus. It seems in some cases it might be at least part of the reason why the library file disappears. Try excluding the iTunes folder from any AV scanning process.
tt2 -
Missing Indexes to be Repaired
BW Gurus Please Advise on the Steps to repair missing Indexes via tc DB02
Hi; I went to 1.tc db02> Diagnostics> Missing Tables and Indexes.
The errors is this :
" /BI0/HACN_EANUPC-PAR
/BI0/HBPARTNER-PAR
/BI0/HCOUNTRY-PAR
/BI0/HCRM_PROD-PAR
/BI0/HCUSTOMER-PAR
/BI0/HDBDUNS_NUM-PAR
/BI0/HIOBJNM-PAR
/BI0/HMATL_GROUP-PAR
/BI0/HPROD_HIER-PAR
/BI0/HRF_FRECHAR-PAR
/BI0/HRT_COLOR-PAR
/BI0/HRT_SIZE-PAR
/BI0/HSEM_CGCOMP-PAR
/BI0/HSEM_CGPRCT-PAR
/BI0/HVENDOR-PAR
/BI0/KACCOUNT-001
/BI0/KACN_EANUPC-001
/BI0/KCOSTELMNT-001
/BI0/KDBDUNS_NUM-001
/BI0/KFUNCT_LOC-001
/BI0/KGL_ACCOUNT-001
/BI0/KSEM_CGCOMP-001
/BI0/KSEM_CGPRCT-001
/BI0/KVERSION-001
/BI0/KWORKCENTER-001
/BIC/KZSTATTRK-001
/SOMO/JOSCHEDLT-1
OCSCMPLOBJ-TA1
Please advise how to correct this -
Maybe you are looking for
-
How to change the Success Message for Personal Data Screen in ESS
Hi, While saving the Personal Data in the ESS I want to chage the Success message.When I check the DC , Message Class i am not able to find the the particular string.Can any one please guide how to find the Success Message String for th
-
Apps on iPad 2 will not update?
I have several updates available on my iPad2 and I cannot get them to update. It will say "Waiting" or will just be faded out with the loading bar below it, but they will not load. I have tried the following: -Signing out of my iPad and signing bac
-
My problem is i am upgrading my project from weblogic 7.0 to weblogic 9.0. firstly i have directly tried to deploy my ear file of weblogic 7.0 to weblogic 9.0 but i got error regarding web.xml so i have used weblogic 9.0 's java weblogic.marathon.ddi
-
I experience trouble sending and receiving MMS wieth my new iPhone 4S. A new SIM card is mounted and the phone has been restsored, and the relevant settings are on according to advices given In Apples support pages . Otherwise the phone seems to fu
-
When extracting a column from an OracleResultSet that has type RAW(16) in the database or when binding a parameter for the RAW database column, is there any pitfalls with using getString() / setString() methods as opposed to getRAW() / setRAW() ? (fo