Indexes in data dictionary
Hi all,
can anyone tell me what is the process of creating a secondary index.?
can we create a secondary index if a field is assigned with primary key?
can we create secondary index for a mara table field?
when we click on INDEXES in data dictionary ---> database table by selecting a field then we get unique index and non-unquie index, what does that mean?
regards,
satish
What is Secondary Index:
first i will tell u little about primary index.
The primary index contains the key fields of the table and a pointer to the non-key fields of the table. The primary index is created automatically when the table is created in the database.
You can create further indexes on a table in the ABAP Dictionary. These are called secondary indexes.
PURPOSE:
This is necessary if the table is frequently accessed in a way that does not take advantage of the sorting of the primary index for the access. Different indexes on the same table are distinguished with a three-place index identifier.
Generally it is used when field which u want is not a primary field .
Advatange:
1. faster access to data when field is not a primary key field.
Disadvatnage:
1. Slower down database table inset, update delete commands.
You go for secondary index when you have any SELECT statement which has a WHERE clause which is not effectively using the existing index(s). But this decision of additional index has to be made in sync with the Basis and Functional team. Every additional index will be a burden on the database and the system resources.
The secondary index is a type of index in database table. Indexes are used to improve the performances of data retrieval from the table. This happens by passing the values to these indices during SELECT query in the WHERE clause.
There are different types of indices. Primary key is default present for all the tables in database. Only ONE Primary key can exist in a database table. It results in unique records in the database table.
The other type of index is secondary index. Multiple fields can be grouped to make a secondary index of table. If all the field values is passed during SELECT query, the performance increases drastically.
Not many fields should be included in secondary index. Large number of fields reduces the performance of INSERT query of database.
Indexes are used to speed up data selection from the database. System chosse and use the index based on the fields given in WHERE and HAVING clause.
The primary index is always created automatically in the R/3 System. It consists of the primary key fields of the database table. This means that for each combination of fields in the index, there is a maximum of one line in the table.
If you are searching on non-key fields, you can create your own secondary index, which can restrict the number of table entries searched to form the result set.
Improper use of Secondary index can slow down the performance. Discuss with Basis team before creating a secondary index.
Check the threds -
secondary index
Secondary Index
Primary index: the primary index contains key fiels of a table and a pointer to non-key fields of the table. The primary index is created automatically when a table is created in database and moreover you can further define reference to the primary index which are known as Secondary index.
How many indexes can be created for a table? -> 9
When you are selecting the data on non primary key,obviously system will give output with bad performance ,if you create secondary index then it gives better performance
GOTO SE11 -> give ur table name -> click on display button -> click on index button ->click on create button -> give id ( z98 like ) -> give field names MANDT ,then ur field names
save and activate
Regards
Vasu
Similar Messages
-
Function based indexes info,pls let me know data dictionary table name?
Hi,
pls let me know,Where can we find Function based index information ,that is data dictionary table name,.
that is information like function used, column name.
Thanks,
KUmar.all_ind_expressions
-
Oracle indexes that are missing in the SAP Data Dictionary
We have an old SAP SAP system we just shut down, but Oracle is still up.
I am trying to put together a query using DBA_INDEXES and a SAP Data dictionary table, that will show me what tables are in Oracle and not in the SAP data dictionary.
I cannot bring up SAP, but database is still up.Hi Bill,
Table DD12L contains the definition of the SECONDARY indexes.
Watch it, indexes may be concatenated to table with ^ or ~ or severel
_ chars so an index 3 for a table might be named
table~3
table^3
table_____3
depending on what upgrade History the system has.
For primary indexes, you should ensure, that every table has an index
with suffix 0 as in
table~0
table^0
table_____0
Hope this helps
Volker -
Not able to Drop user because of data dictionary discripency
Hi,
i am using oracle 11.2.0.1 EE installed on Linux 5.8.
i am trying to delete a user but am getting below error.
SQL> DROP USER GKGT CASCADE;
DROP USER GKGT CASCADE
ERROR at line 1:
ORA-00600: internal error code, arguments: [kdsgrp1], [], [], [], [], [], [],[], [], [], [], []
All the objects in the schema have got dropped after executing the command, but the data dictionary dba_objects and user_objects is not cleared still some reference is found in it as shown below.
SQL> SELECT object_id,substr(OBJECT_name,1,20),object_type FROM dba_OBJECTS where owner like 'GKGT'
order by object_name;
OBJECT_ID SUBSTR(OBJECT_NAME,1 OBJECT_TYPE
136772 T_DEVICE TABLE
136776 T_DEVICELOG TABLE PARTITION
136775 T_DEVICELOG TABLE PARTITION
136774 T_DEVICELOG TABLE
136710 T_DIRECTION TABLE
136728 T_EMPLOYEE TABLE
136720 T_EXEMPTEDTYPE TABLE
136726 T_FARE TABLE
136724 T_FAREROUTE TABLE
136718 T_JOURNEYTYPE TABLE
149385 T_PASSISSUE TABLE PARTITION
OBJECT_ID SUBSTR(OBJECT_NAME,1 OBJECT_TYPE
149387 T_PASSISSUE TABLE PARTITION
149389 T_PASSISSUE TABLE PARTITION
149391 T_PASSISSUE TABLE PARTITION
149393 T_PASSISSUE TABLE PARTITION
149395 T_PASSISSUE TABLE PARTITION
149397 T_PASSISSUE TABLE PARTITION
149257 T_PASSISSUE TABLE PARTITION
149259 T_PASSISSUE TABLE PARTITION
149261 T_PASSISSUE TABLE PARTITION
149263 T_PASSISSUE TABLE PARTITION
149265 T_PASSISSUE TABLE PARTITION
OBJECT_ID SUBSTR(OBJECT_NAME,1 OBJECT_TYPE
149267 T_PASSISSUE TABLE PARTITION
149269 T_PASSISSUE TABLE PARTITION
149271 T_PASSISSUE TABLE PARTITION
149273 T_PASSISSUE TABLE PARTITION
149275 T_PASSISSUE TABLE PARTITION
149277 T_PASSISSUE TABLE PARTITION
149279 T_PASSISSUE TABLE PARTITION
149281 T_PASSISSUE TABLE PARTITION
149283 T_PASSISSUE TABLE PARTITION
149285 T_PASSISSUE TABLE PARTITION
149287 T_PASSISSUE TABLE PARTITION
OBJECT_ID SUBSTR(OBJECT_NAME,1 OBJECT_TYPE
149289 T_PASSISSUE TABLE PARTITION
149291 T_PASSISSUE TABLE PARTITION
149293 T_PASSISSUE TABLE PARTITION
149295 T_PASSISSUE TABLE PARTITION
149297 T_PASSISSUE TABLE PARTITION
149299 T_PASSISSUE TABLE PARTITION
149301 T_PASSISSUE TABLE PARTITION
149303 T_PASSISSUE TABLE PARTITION
149305 T_PASSISSUE TABLE PARTITION
149307 T_PASSISSUE TABLE PARTITION
149309 T_PASSISSUE TABLE PARTITION
OBJECT_ID SUBSTR(OBJECT_NAME,1 OBJECT_TYPE
149311 T_PASSISSUE TABLE PARTITION
149313 T_PASSISSUE TABLE PARTITION
149315 T_PASSISSUE TABLE PARTITION
149317 T_PASSISSUE TABLE PARTITION
149319 T_PASSISSUE TABLE PARTITION
149321 T_PASSISSUE TABLE PARTITION
149323 T_PASSISSUE TABLE PARTITION
149325 T_PASSISSUE TABLE PARTITION
149327 T_PASSISSUE TABLE PARTITION
149329 T_PASSISSUE TABLE PARTITION
149331 T_PASSISSUE TABLE PARTITION
OBJECT_ID SUBSTR(OBJECT_NAME,1 OBJECT_TYPE
149333 T_PASSISSUE TABLE PARTITION
149335 T_PASSISSUE TABLE PARTITION
149337 T_PASSISSUE TABLE PARTITION
149339 T_PASSISSUE TABLE PARTITION
149341 T_PASSISSUE TABLE PARTITION
149343 T_PASSISSUE TABLE PARTITION
149345 T_PASSISSUE TABLE PARTITION
149347 T_PASSISSUE TABLE PARTITION
149349 T_PASSISSUE TABLE PARTITION
149351 T_PASSISSUE TABLE PARTITION
149353 T_PASSISSUE TABLE PARTITION
OBJECT_ID SUBSTR(OBJECT_NAME,1 OBJECT_TYPE
149355 T_PASSISSUE TABLE PARTITION
149357 T_PASSISSUE TABLE PARTITION
149359 T_PASSISSUE TABLE PARTITION
149361 T_PASSISSUE TABLE PARTITION
149363 T_PASSISSUE TABLE PARTITION
149365 T_PASSISSUE TABLE PARTITION
149367 T_PASSISSUE TABLE PARTITION
149369 T_PASSISSUE TABLE PARTITION
149371 T_PASSISSUE TABLE PARTITION
149373 T_PASSISSUE TABLE PARTITION
149375 T_PASSISSUE TABLE PARTITION
OBJECT_ID SUBSTR(OBJECT_NAME,1 OBJECT_TYPE
149377 T_PASSISSUE TABLE PARTITION
149379 T_PASSISSUE TABLE PARTITION
149381 T_PASSISSUE TABLE PARTITION
149383 T_PASSISSUE TABLE PARTITION
136734 T_PASSISSUE TABLE PARTITION
136733 T_PASSISSUE TABLE PARTITION
136732 T_PASSISSUE TABLE
149149 T_PASSISSUE TABLE PARTITION
149151 T_PASSISSUE TABLE PARTITION
149153 T_PASSISSUE TABLE PARTITION
149155 T_PASSISSUE TABLE PARTITION
OBJECT_ID SUBSTR(OBJECT_NAME,1 OBJECT_TYPE
149157 T_PASSISSUE TABLE PARTITION
149159 T_PASSISSUE TABLE PARTITION
149161 T_PASSISSUE TABLE PARTITION
149163 T_PASSISSUE TABLE PARTITION
149165 T_PASSISSUE TABLE PARTITION
149167 T_PASSISSUE TABLE PARTITION
149169 T_PASSISSUE TABLE PARTITION
149171 T_PASSISSUE TABLE PARTITION
149173 T_PASSISSUE TABLE PARTITION
149175 T_PASSISSUE TABLE PARTITION
149177 T_PASSISSUE TABLE PARTITION
OBJECT_ID SUBSTR(OBJECT_NAME,1 OBJECT_TYPE
149179 T_PASSISSUE TABLE PARTITION
149181 T_PASSISSUE TABLE PARTITION
149183 T_PASSISSUE TABLE PARTITION
149185 T_PASSISSUE TABLE PARTITION
149187 T_PASSISSUE TABLE PARTITION
149189 T_PASSISSUE TABLE PARTITION
149191 T_PASSISSUE TABLE PARTITION
149193 T_PASSISSUE TABLE PARTITION
149195 T_PASSISSUE TABLE PARTITION
149197 T_PASSISSUE TABLE PARTITION
149199 T_PASSISSUE TABLE PARTITION
OBJECT_ID SUBSTR(OBJECT_NAME,1 OBJECT_TYPE
149201 T_PASSISSUE TABLE PARTITION
149203 T_PASSISSUE TABLE PARTITION
149205 T_PASSISSUE TABLE PARTITION
149207 T_PASSISSUE TABLE PARTITION
149209 T_PASSISSUE TABLE PARTITION
149211 T_PASSISSUE TABLE PARTITION
149213 T_PASSISSUE TABLE PARTITION
149215 T_PASSISSUE TABLE PARTITION
149217 T_PASSISSUE TABLE PARTITION
149219 T_PASSISSUE TABLE PARTITION
149221 T_PASSISSUE TABLE PARTITION
OBJECT_ID SUBSTR(OBJECT_NAME,1 OBJECT_TYPE
149223 T_PASSISSUE TABLE PARTITION
149225 T_PASSISSUE TABLE PARTITION
149227 T_PASSISSUE TABLE PARTITION
149229 T_PASSISSUE TABLE PARTITION
149231 T_PASSISSUE TABLE PARTITION
149233 T_PASSISSUE TABLE PARTITION
149235 T_PASSISSUE TABLE PARTITION
149237 T_PASSISSUE TABLE PARTITION
149239 T_PASSISSUE TABLE PARTITION
149241 T_PASSISSUE TABLE PARTITION
149243 T_PASSISSUE TABLE PARTITION
OBJECT_ID SUBSTR(OBJECT_NAME,1 OBJECT_TYPE
149245 T_PASSISSUE TABLE PARTITION
149247 T_PASSISSUE TABLE PARTITION
149249 T_PASSISSUE TABLE PARTITION
149251 T_PASSISSUE TABLE PARTITION
149253 T_PASSISSUE TABLE PARTITION
149255 T_PASSISSUE TABLE PARTITION
136736 T_PASSISSUE_HISTORY TABLE
136743 T_PASSRECHARGE TABLE PARTITION
136744 T_PASSRECHARGE TABLE PARTITION
136742 T_PASSRECHARGE TABLE
136739 T_PASSRETURN TABLE PARTITION
OBJECT_ID SUBSTR(OBJECT_NAME,1 OBJECT_TYPE
136740 T_PASSRETURN TABLE PARTITION
136738 T_PASSRETURN TABLE
136716 T_PAYMENTMETHOD TABLE
136714 T_SHIFT TABLE
136784 T_SHIFTDAYREVENUE TABLE PARTITION
148765 T_SHIFTDAYREVENUE TABLE PARTITION
148701 T_SHIFTDAYREVENUE TABLE PARTITION
148703 T_SHIFTDAYREVENUE TABLE PARTITION
148705 T_SHIFTDAYREVENUE TABLE PARTITION
148707 T_SHIFTDAYREVENUE TABLE PARTITION
148709 T_SHIFTDAYREVENUE TABLE PARTITION
OBJECT_ID SUBSTR(OBJECT_NAME,1 OBJECT_TYPE
148711 T_SHIFTDAYREVENUE TABLE PARTITION
148713 T_SHIFTDAYREVENUE TABLE PARTITION
148715 T_SHIFTDAYREVENUE TABLE PARTITION
148717 T_SHIFTDAYREVENUE TABLE PARTITION
148719 T_SHIFTDAYREVENUE TABLE PARTITION
148721 T_SHIFTDAYREVENUE TABLE PARTITION
148723 T_SHIFTDAYREVENUE TABLE PARTITION
148725 T_SHIFTDAYREVENUE TABLE PARTITION
148727 T_SHIFTDAYREVENUE TABLE PARTITION
148729 T_SHIFTDAYREVENUE TABLE PARTITION
148731 T_SHIFTDAYREVENUE TABLE PARTITION
OBJECT_ID SUBSTR(OBJECT_NAME,1 OBJECT_TYPE
148733 T_SHIFTDAYREVENUE TABLE PARTITION
148735 T_SHIFTDAYREVENUE TABLE PARTITION
148737 T_SHIFTDAYREVENUE TABLE PARTITION
148739 T_SHIFTDAYREVENUE TABLE PARTITION
148741 T_SHIFTDAYREVENUE TABLE PARTITION
148743 T_SHIFTDAYREVENUE TABLE PARTITION
148745 T_SHIFTDAYREVENUE TABLE PARTITION
148747 T_SHIFTDAYREVENUE TABLE PARTITION
148749 T_SHIFTDAYREVENUE TABLE PARTITION
148751 T_SHIFTDAYREVENUE TABLE PARTITION
148753 T_SHIFTDAYREVENUE TABLE PARTITION
OBJECT_ID SUBSTR(OBJECT_NAME,1 OBJECT_TYPE
148755 T_SHIFTDAYREVENUE TABLE PARTITION
148757 T_SHIFTDAYREVENUE TABLE PARTITION
148759 T_SHIFTDAYREVENUE TABLE PARTITION
148761 T_SHIFTDAYREVENUE TABLE PARTITION
148763 T_SHIFTDAYREVENUE TABLE PARTITION
148699 T_SHIFTDAYREVENUE TABLE PARTITION
148819 T_SHIFTDAYREVENUE_DE TABLE PARTITION
148821 T_SHIFTDAYREVENUE_DE TABLE PARTITION
148823 T_SHIFTDAYREVENUE_DE TABLE PARTITION
148825 T_SHIFTDAYREVENUE_DE TABLE PARTITION
148827 T_SHIFTDAYREVENUE_DE TABLE PARTITION
OBJECT_ID SUBSTR(OBJECT_NAME,1 OBJECT_TYPE
148829 T_SHIFTDAYREVENUE_DE TABLE PARTITION
148831 T_SHIFTDAYREVENUE_DE TABLE PARTITION
148833 T_SHIFTDAYREVENUE_DE TABLE PARTITION
148835 T_SHIFTDAYREVENUE_DE TABLE PARTITION
148837 T_SHIFTDAYREVENUE_DE TABLE PARTITION
148839 T_SHIFTDAYREVENUE_DE TABLE PARTITION
148841 T_SHIFTDAYREVENUE_DE TABLE PARTITION
148843 T_SHIFTDAYREVENUE_DE TABLE PARTITION
148845 T_SHIFTDAYREVENUE_DE TABLE PARTITION
148847 T_SHIFTDAYREVENUE_DE TABLE PARTITION
148849 T_SHIFTDAYREVENUE_DE TABLE PARTITION
OBJECT_ID SUBSTR(OBJECT_NAME,1 OBJECT_TYPE
148851 T_SHIFTDAYREVENUE_DE TABLE PARTITION
148853 T_SHIFTDAYREVENUE_DE TABLE PARTITION
148855 T_SHIFTDAYREVENUE_DE TABLE PARTITION
148857 T_SHIFTDAYREVENUE_DE TABLE PARTITION
148859 T_SHIFTDAYREVENUE_DE TABLE PARTITION
148861 T_SHIFTDAYREVENUE_DE TABLE PARTITION
148863 T_SHIFTDAYREVENUE_DE TABLE PARTITION
148865 T_SHIFTDAYREVENUE_DE TABLE PARTITION
148867 T_SHIFTDAYREVENUE_DE TABLE PARTITION
148869 T_SHIFTDAYREVENUE_DE TABLE PARTITION
148871 T_SHIFTDAYREVENUE_DE TABLE PARTITION
OBJECT_ID SUBSTR(OBJECT_NAME,1 OBJECT_TYPE
148873 T_SHIFTDAYREVENUE_DE TABLE PARTITION
148875 T_SHIFTDAYREVENUE_DE TABLE PARTITION
148877 T_SHIFTDAYREVENUE_DE TABLE PARTITION
148879 T_SHIFTDAYREVENUE_DE TABLE PARTITION
148881 T_SHIFTDAYREVENUE_DE TABLE PARTITION
148883 T_SHIFTDAYREVENUE_DE TABLE PARTITION
148885 T_SHIFTDAYREVENUE_DE TABLE PARTITION
148887 T_SHIFTDAYREVENUE_DE TABLE PARTITION
148889 T_SHIFTDAYREVENUE_DE TABLE PARTITION
148891 T_SHIFTDAYREVENUE_DE TABLE PARTITION
148893 T_SHIFTDAYREVENUE_DE TABLE PARTITION
OBJECT_ID SUBSTR(OBJECT_NAME,1 OBJECT_TYPE
148895 T_SHIFTDAYREVENUE_DE TABLE PARTITION
148897 T_SHIFTDAYREVENUE_DE TABLE PARTITION
148899 T_SHIFTDAYREVENUE_DE TABLE PARTITION
148901 T_SHIFTDAYREVENUE_DE TABLE PARTITION
148903 T_SHIFTDAYREVENUE_DE TABLE PARTITION
148905 T_SHIFTDAYREVENUE_DE TABLE PARTITION
148907 T_SHIFTDAYREVENUE_DE TABLE PARTITION
148909 T_SHIFTDAYREVENUE_DE TABLE PARTITION
148911 T_SHIFTDAYREVENUE_DE TABLE PARTITION
148913 T_SHIFTDAYREVENUE_DE TABLE PARTITION
148915 T_SHIFTDAYREVENUE_DE TABLE PARTITION
OBJECT_ID SUBSTR(OBJECT_NAME,1 OBJECT_TYPE
148767 T_SHIFTDAYREVENUE_DE TABLE PARTITION
148769 T_SHIFTDAYREVENUE_DE TABLE PARTITION
148771 T_SHIFTDAYREVENUE_DE TABLE PARTITION
148773 T_SHIFTDAYREVENUE_DE TABLE PARTITION
148775 T_SHIFTDAYREVENUE_DE TABLE PARTITION
148777 T_SHIFTDAYREVENUE_DE TABLE PARTITION
148779 T_SHIFTDAYREVENUE_DE TABLE PARTITION
148781 T_SHIFTDAYREVENUE_DE TABLE PARTITION
148783 T_SHIFTDAYREVENUE_DE TABLE PARTITION
148785 T_SHIFTDAYREVENUE_DE TABLE PARTITION
148787 T_SHIFTDAYREVENUE_DE TABLE PARTITION
OBJECT_ID SUBSTR(OBJECT_NAME,1 OBJECT_TYPE
148789 T_SHIFTDAYREVENUE_DE TABLE PARTITION
148791 T_SHIFTDAYREVENUE_DE TABLE PARTITION
148793 T_SHIFTDAYREVENUE_DE TABLE PARTITION
148795 T_SHIFTDAYREVENUE_DE TABLE PARTITION
148797 T_SHIFTDAYREVENUE_DE TABLE PARTITION
148799 T_SHIFTDAYREVENUE_DE TABLE PARTITION
148801 T_SHIFTDAYREVENUE_DE TABLE PARTITION
148803 T_SHIFTDAYREVENUE_DE TABLE PARTITION
148805 T_SHIFTDAYREVENUE_DE TABLE PARTITION
148807 T_SHIFTDAYREVENUE_DE TABLE PARTITION
148809 T_SHIFTDAYREVENUE_DE TABLE PARTITION
OBJECT_ID SUBSTR(OBJECT_NAME,1 OBJECT_TYPE
148811 T_SHIFTDAYREVENUE_DE TABLE PARTITION
148813 T_SHIFTDAYREVENUE_DE TABLE PARTITION
148815 T_SHIFTDAYREVENUE_DE TABLE PARTITION
148817 T_SHIFTDAYREVENUE_DE TABLE PARTITION
140326 T_SHIFTDAYSUMMARYREV TABLE PARTITION
140325 T_SHIFTDAYSUMMARYREV TABLE PARTITION
140324 T_SHIFTDAYSUMMARYREV TABLE
136780 T_SHIFTDAYTRAFFIC TABLE PARTITION
136779 T_SHIFTDAYTRAFFIC TABLE PARTITION
136778 T_SHIFTDAYTRAFFIC TABLE
136712 T_TERMINAL TABLE
OBJECT_ID SUBSTR(OBJECT_NAME,1 OBJECT_TYPE
136708 T_TOLLPLAZA TABLE
136747 T_TRANSACTION TABLE PARTITION
136748 T_TRANSACTION TABLE PARTITION
136746 T_TRANSACTION TABLE
136722 T_VEHICLECLASS TABLE
136730 T_VEHICLEOWNER TABLE
270 rows selected.
SQL> desc gkgt.t_vehicleclass;
ERROR:
ORA-04043: object gkgt.t_vehicleclass does not exist
SQL> select index_name from dba_indexes where owner='GKGT';
no rows selected
SQL> select TABLE_NAME from dba_TAB_PARTITIONS where TABLE_owner='GKGT';
no rows selected
SQL>
After executing hout and hckeck.full scripts got following output.
H.Check Version 9i+/hc3.50
Catalog Version 11.2.0.1.0 (1102000100)
Catalog Fixed
Procedure Name Version Vs Release Run
.- SynLastDDLTim ... 1102000100 > 1001000200 : n/a
.- LobNotInObj ... 1102000100 > 1000000200 : n/a
.- MissingOIDOnObjCol ... 1102000100 <= *All Rel* : Ok
.- SourceNotInObj ... 1102000100 > 1002000100 : n/a
.- IndIndparMismatch ... 1102000100 <= 1102000100 : Ok
.- InvCorrAudit ... 1102000100 <= 1102000100 : Ok
.- OversizedFiles ... 1102000100 <= *All Rel* : Ok
.- TinyFiles ... 1102000100 > 900010000 : n/a
.- PoorDefaultStorage ... 1102000100 <= *All Rel* : Ok
.- PoorStorage ... 1102000100 <= *All Rel* : Ok
.- MissTabSubPart ... 1102000100 > 900010000 : n/a
.- PartSubPartMismatch ... 1102000100 <= 1102000100 : Ok
.- TabPartCountMismatch ... 1102000100 <= *All Rel* : Ok
.- OrphanedTabComPart ... 1102000100 > 900010000 : n/a
.- ZeroTabSubPart ... 1102000100 > 902000100 : n/a
.- MissingSum$ ... 1102000100 <= *All Rel* : Ok
.- MissingDir$ ... 1102000100 <= *All Rel* : Ok
.- DuplicateDataobj ... 1102000100 <= *All Rel* : Ok
.- ObjSynMissing ... 1102000100 <= *All Rel* : Ok
.- ObjSeqMissing ... 1102000100 <= *All Rel* : Ok
.- OrphanedUndo ... 1102000100 <= *All Rel* : Ok
.- OrphanedIndex ... 1102000100 <= *All Rel* : Ok
HCKE-0016: Orphaned IND$ (no SEG$)
ORPHAN IND$: OBJ=188456 DOBJ=188456 TS=41 RFILE/BLOCK=46 30481 BO#=136746
SegType=
.- OrphanedIndexPartition ... 1102000100 <= *All Rel* : Ok
.- OrphanedIndexSubPartition ... 1102000100 <= *All Rel* : Ok
.- OrphanedTable ... 1102000100 <= *All Rel* : Ok
.- OrphanedTablePartition ... 1102000100 <= *All Rel* : Ok
.- OrphanedTableSubPartition ... 1102000100 <= *All Rel* : Ok
.- MissingPartCol ... 1102000100 <= *All Rel* : Ok
.- OrphanedSeg$ ... 1102000100 <= *All Rel* : Ok
.- OrphanedIndPartObj# ... 1102000100 > 1101000600 : n/a
.- DuplicateBlockUse ... 1102000100 <= *All Rel* : Ok
.- HighObjectIds ... 1102000100 > 801060000 : n/a
.- PQsequence ... 1102000100 > 800060000 : n/a
.- TruncatedCluster ... 1102000100 > 801070000 : n/a
.- FetUet ... 1102000100 <= *All Rel* : Ok
.- Uet0Check ... 1102000100 <= *All Rel* : Ok
.- ExtentlessSeg ... 1102000100 <= *All Rel* : Ok
.- SeglessUET ... 1102000100 <= *All Rel* : Ok
.- BadInd$ ... 1102000100 <= *All Rel* : Ok
HCKE-0030: OBJ$ INDEX entry has no IND$ entry
INDEX has no IND$ entry: Obj=154022 GKGT.SYS_IL0000154016C00004$$
INDEX has no IND$ entry: Obj=154020 GKGT.SYS_IL0000154016C00003$$
INDEX has no IND$ entry: Obj=154018 GKGT.SYS_IL0000154016C00002$$
INDEX has no IND$ entry: Obj=139421 GKGT.T_VERIFIEDSHIFTDAYEXEMPTED_PK
INDEX has no IND$ entry: Obj=139363 GKGT.T_VERIFIEDSHIFTDAYSUMMARY_PK
INDEX has no IND$ entry: Obj=139392 GKGT.T_VERIFIEDSHIFTDAYREVENUE_PK
INDEX has no IND$ entry: Obj=136719 GKGT.T_JOURNEYTYPE_PK
INDEX has no IND$ entry: Obj=139276 GKGT.T_HARDCODE_UK1
INDEX has no IND$ entry: Obj=139274 GKGT.T_HARDCODEGROUP_UK1
INDEX has no IND$ entry: Obj=139273 GKGT.T_HARDCODEGROUP_PK
INDEX has no IND$ entry: Obj=136727 GKGT.T_FARE_PK
INDEX has no IND$ entry: Obj=136725 GKGT.T_FAREROUTE_PK
.- BadTab$ ... 1102000100 <= *All Rel* : Ok
HCKE-0031: OBJ$ TABLE entry has no TAB$ entry
TABLE has no TAB$ entry: Obj=139393 GKGT.T_VERIFIEDSHIFTDAYEXEMPTED
TABLE has no TAB$ entry: Obj=139335 GKGT.T_VERIFIEDSHIFTDAYSUMMARY
TABLE has no TAB$ entry: Obj=139364 GKGT.T_VERIFIEDSHIFTDAYREVENUE
TABLE has no TAB$ entry: Obj=136718 GKGT.T_JOURNEYTYPE
TABLE has no TAB$ entry: Obj=139272 GKGT.T_HARDCODEGROUP
TABLE has no TAB$ entry: Obj=139275 GKGT.T_HARDCODE
TABLE has no TAB$ entry: Obj=136724 GKGT.T_FAREROUTE
TABLE has no TAB$ entry: Obj=136726 GKGT.T_FARE
.- BadIcolDepCnt ... 1102000100 > 1101000700 : n/a
.- WarnIcolDep ... 1102000100 > 1101000700 : n/a
.- OnlineRebuild$ ... 1102000100 <= *All Rel* : Ok
.- DropForceType ... 1102000100 > 1001000200 : n/a
.- TrgAfterUpgrade ... 1102000100 <= *All Rel* : Ok
.- FailedInitJVMRun ... 1102000100 <= *All Rel* : Ok
.- TypeReusedAfterDrop ... 1102000100 > 900010000 : n/a
.- Idgen1$TTS ... 1102000100 > 900010000 : n/a
.- DroppedFuncIdx ... 1102000100 > 902000100 : n/a
.- BadOwner ... 1102000100 > 900010000 : n/a
.- UpgCheckc0801070 ... 1102000100 <= *All Rel* : Ok
.- BadPublicObjects ... 1102000100 <= *All Rel* : Ok
.- BadSegFreelist ... 1102000100 <= *All Rel* : Ok
.- BadCol# ... 1102000100 > 1001000200 : n/a
.- BadDepends ... 1102000100 <= *All Rel* : Ok
.- CheckDual ... 1102000100 <= *All Rel* : Ok
.- ObjectNames ... 1102000100 <= *All Rel* : Ok
.- BadCboHiLo ... 1102000100 <= *All Rel* : Ok
.- ChkIotTs ... 1102000100 <= *All Rel* : Ok
.- NoSegmentIndex ... 1102000100 <= *All Rel* : Ok
.- BadNextObject ... 1102000100 <= *All Rel* : Ok
.- OrphanIndopt ... 1102000100 > 902000800 : n/a
.- UpgFlgBitTmp ... 1102000100 > 1001000100 : n/a
.- RenCharView ... 1102000100 > 1001000100 : n/a
.- Upg9iTab$ ... 1102000100 > 902000400 : n/a
.- Upg9iTsInd ... 1102000100 > 902000500 : n/a
.- Upg10gInd$ ... 1102000100 > 1002000000 : n/a
.- DroppedROTS ... 1102000100 <= *All Rel* : Ok
.- ChrLenSmtcs ... 1102000100 > 1101000600 : n/a
.- FilBlkZero ... 1102000100 <= *All Rel* : Ok
.- DbmsSchemaCopy ... 1102000100 <= *All Rel* : Ok
Found 21 potential problem(s) and 0 warning(s)
Contact Oracle Support with the output
to check if the above needs attention or not
PL/SQL procedure successfully completed.
SQL>
I Tried the following to delete the object from obj$ table but got error.
SQL> SELECT * FROM SYS.DBA_OBJECTS WHERE OBJECT_ID IN (188456);
no rows selected
SQL> SELECT * FROM SYS.OBJ$ WHERE OBJ# IN (188456);
OBJ# DATAOBJ# OWNER# NAME NAMESPACE SUBNAME
TYPE# CTIME MTIME STIME STATUS REMOTEOWNER LINKNAME
FLAGS OID$ SPARE1 SPARE2 SPARE3
SPARE4
SPARE5
SPARE6
188456 188456 106 T_TRANSACTION_DATETIME 4
1 23-SEP-13 23-SEP-13 23-SEP-13 1
0 6 65535 106
SQL> CREATE TABLE OBJ$_DEL AS SELECT * FROM OBJ$;
Table Created
SQL> SELECT * FROM SYS.IND$ WHERE OBJ# IN (188456);
no rows selected
SQL> DELETE FROM SYS.OBJ$ WHERE OBJ# IN (188456);
DELETE FROM SYS.OBJ$
ERROR at line 1:
ORA-08102: index key not found, obj# 40, file 1, block 120660 (2)
Below is my Trace file:
Tue Oct 01 10:20:22 2013
Doing block recovery for file 1 block 84052
Resuming block recovery (PMON) for file 1 block 84052
Block recovery from logseq 190, block 248 to scn 1134842195
Recovery of Online Redo Log: Thread 1 Group 6 Seq 190 Reading mem 0
Mem# 0: /u01/app/oracle/oradata/oracle11/redo06.log
Block recovery completed at rba 190.904.16, scn 0.1134842196
Tue Oct 01 10:20:35 2013
Sweep [inc][75031]: completed
Sweep [inc][75022]: completed
Sweep [inc2][75031]: completed
Tue Oct 01 10:25:02 2013
ORA-1 encountered when generating server alert SMG-3000
Tue Oct 01 10:29:23 2013
Thread 1 cannot allocate new log, sequence 191
Private strand flush not complete
Current log# 6 seq# 190 mem# 0: /u01/app/oracle/oradata/oracle11/redo06.log
Thread 1 advanced to log sequence 191 (LGWR switch)
Current log# 3 seq# 191 mem# 0: /u01/app/oracle/oradata/oracle11/redo03.log
Tue Oct 01 10:31:18 2013
Errors in file /u01/app/oracle/diag/rdbms/oracle11/oracle11/trace/oracle11_ora_12160.trc (incident=71247):
ORA-00600: internal error code, arguments: [4097], [10], [20], [7021372], [], [], [], [], [], [], [], []
Exception [type: SIGSEGV, Address not mapped to object] [ADDR:0x40] [PC:0xF3777EB, kghalf()+49] [flags: 0x0, count: 1]
Errors in file /u01/app/oracle/diag/rdbms/oracle11/oracle11/trace/oracle11_ora_12160.trc (incident=71248):
ORA-07445: exception encountered: core dump [kghalf()+49] [SIGSEGV] [ADDR:0x40] [PC:0xF3777EB] [Address not mapped to object] []
ORA-00600: internal error code, arguments: [4097], [10], [20], [7021372], [], [], [], [], [], [], [], []
Incident details in: /u01/app/oracle/diag/rdbms/oracle11/oracle11/incident/incdir_71248/oracle11_ora_12160_i71248.trc
Errors in file /u01/app/oracle/diag/rdbms/oracle11/oracle11/trace/oracle11_ora_12160.trc (incident=71249):
ORA-00600: internal error code, arguments: [525], [0x692D43C4], [4], [row cache objects], [5], [0x6A3FA06C], [redo copy], [], [], [], [], []
ORA-00607: Internal error occurred while making a change to a data block
ORA-00602: internal programming exception
ORA-07445: exception encountered: core dump [kghalf()+49] [SIGSEGV] [ADDR:0x40] [PC:0xF3777EB] [Address not mapped to object] []
ORA-00600: internal error code, arguments: [4097], [10], [20], [7021372], [], [], [], [], [], [], [], []
Incident details in: /u01/app/oracle/diag/rdbms/oracle11/oracle11/incident/incdir_71249/oracle11_ora_12160_i71249.trc
Tue Oct 01 10:31:21 2013
Sweep [inc][71248]: completed
Sweep [inc][71247]: completed
Sweep [inc2][71248]: completed
Tue Oct 01 10:31:21 2013
Trace dumping is performing id=[cdmp_20131001103121]
Exception [type: SIGSEGV, Address not mapped to object] [ADDR:0x40] [PC:0xF3777EB, kghalf()+49] [flags: 0x0, count: 1]
Errors in file /u01/app/oracle/diag/rdbms/oracle11/oracle11/trace/oracle11_ora_12160.trc (incident=71250):
ORA-07445: exception encountered: core dump [kghalf()+49] [SIGSEGV] [ADDR:0x40] [PC:0xF3777EB] [Address not mapped to object] []
ORA-00600: internal error code, arguments: [525], [0x692D43C4], [4], [row cache objects], [5], [0x6A3FA06C], [redo copy], [], [], [], [], []
ORA-00607: Internal error occurred while making a change to a data block
ORA-00602: internal programming exception
ORA-07445: exception encountered: core dump [kghalf()+49] [SIGSEGV] [ADDR:0x40] [PC:0xF3777EB] [Address not mapped to object] []
ORA-00600: internal error code, arguments: [4097], [10], [20], [7021372], [], [], [], [], [], [], [], []
Incident details in: /u01/app/oracle/diag/rdbms/oracle11/oracle11/incident/incdir_71250/oracle11_ora_12160_i71250.trc
Trace dumping is performing id=[cdmp_20131001103122]
Trace dumping is performing id=[cdmp_20131001103123]
Tue Oct 01 10:32:10 2013
Doing block recovery for file 1 block 84052
Resuming block recovery (PMON) for file 1 block 84052
Block recovery from logseq 191, block 27531 to scn 1134928966
Recovery of Online Redo Log: Thread 1 Group 3 Seq 191 Reading mem 0
Mem# 0: /u01/app/oracle/oradata/oracle11/redo03.log
Block recovery completed at rba 191.28203.16, scn 0.1134928967
Tue Oct 01 10:32:21 2013
Sweep [inc][71250]: completed
Sweep [inc][71249]: completed
Sweep [inc2][71250]: completed
Sweep [inc2][71249]: completed
Tue Oct 01 10:32:40 2013
Thread 1 cannot allocate new log, sequence 192
Private strand flush not complete
Current log# 3 seq# 191 mem# 0: /u01/app/oracle/oradata/oracle11/redo03.log
Thread 1 advanced to log sequence 192 (LGWR switch)
Current log# 4 seq# 192 mem# 0: /u01/app/oracle/oradata/oracle11/redo04.log
Tue Oct 01 10:32:51 2013
Errors in file /u01/app/oracle/diag/rdbms/oracle11/oracle11/trace/oracle11_ora_12280.trc (incident=74954):
ORA-00600: internal error code, arguments: [4097], [10], [20], [7021372], [], [], [], [], [], [], [], []
Exception [type: SIGSEGV, Address not mapped to object] [ADDR:0x40] [PC:0xF3777EB, kghalf()+49] [flags: 0x0, count: 1]
Errors in file /u01/app/oracle/diag/rdbms/oracle11/oracle11/trace/oracle11_ora_12280.trc (incident=74956):
ORA-07445: exception encountered: core dump [kghalf()+49] [SIGSEGV] [ADDR:0x40] [PC:0xF3777EB] [Address not mapped to object] []
ORA-00600: internal error code, arguments: [4097], [10], [20], [7021372], [], [], [], [], [], [], [], []
Errors in file /u01/app/oracle/diag/rdbms/oracle11/oracle11/trace/oracle11_ora_12280.trc (incident=74963):
ORA-00600: internal error code, arguments: [525], [0x692D43C4], [4], [row cache objects], [5], [0x6A3FA06C], [redo copy], [], [], [], [], []
ORA-00607: Internal error occurred while making a change to a data block
ORA-00602: internal programming exception
ORA-07445: exception encountered: core dump [kghalf()+49] [SIGSEGV] [ADDR:0x40] [PC:0xF3777EB] [Address not mapped to object] []
ORA-00600: internal error code, arguments: [4097], [10], [20], [7021372], [], [], [], [], [], [], [], []
Incident details in: /u01/app/oracle/diag/rdbms/oracle11/oracle11/incident/incdir_74963/oracle11_ora_12280_i74963.trc
Exception [type: SIGSEGV, Address not mapped to object] [ADDR:0x40] [PC:0xF3777EB, kghalf()+49] [flags: 0x0, count: 1]
Errors in file /u01/app/oracle/diag/rdbms/oracle11/oracle11/trace/oracle11_ora_12280.trc (incident=74971):
ORA-07445: exception encountered: core dump [kghalf()+49] [SIGSEGV] [ADDR:0x40] [PC:0xF3777EB] [Address not mapped to object] []
ORA-00600: internal error code, arguments: [525], [0x692D43C4], [4], [row cache objects], [5], [0x6A3FA06C], [redo copy], [], [], [], [], []
ORA-00607: Internal error occurred while making a change to a data block
ORA-00602: internal programming exception
ORA-07445: exception encountered: core dump [kghalf()+49] [SIGSEGV] [ADDR:0x40] [PC:0xF3777EB] [Address not mapped to object] []
ORA-00600: internal error code, arguments: [4097], [10], [20], [7021372], [], [], [], [], [], [], [], []
Tue Oct 01 10:32:53 2013
Trace dumping is performing id=[cdmp_20131001103253]
Tue Oct 01 10:33:02 2013
Doing block recovery for file 1 block 84052
Resuming block recovery (PMON) for file 1 block 84052
Block recovery from logseq 191, block 27531 to scn 1134949406
Recovery of Online Redo Log: Thread 1 Group 3 Seq 191 Reading mem 0
Mem# 0: /u01/app/oracle/oradata/oracle11/redo03.log
Recovery of Online Redo Log: Thread 1 Group 4 Seq 192 Reading mem 0
Mem# 0: /u01/app/oracle/oradata/oracle11/redo04.log
Block recovery completed at rba 192.2301.16, scn 0.1134949408
Tue Oct 01 10:33:21 2013
Sweep [inc][74971]: completed
Sweep [inc][74963]: completed
Sweep [inc][74956]: completed
Sweep [inc][74954]: completed
Sweep [inc2][74963]: completed
Tue Oct 01 10:35:03 2013
ORA-1 encountered when generating server alert SMG-3000
Tue Oct 01 10:37:59 2013
Thread 1 cannot allocate new log, sequence 193
Private strand flush not complete
Current log# 4 seq# 192 mem# 0: /u01/app/oracle/oradata/oracle11/redo04.log
Thread 1 advanced to log sequence 193 (LGWR switch)
Current log# 5 seq# 193 mem# 0: /u01/app/oracle/oradata/oracle11/redo05.log
Tue Oct 01 10:41:15 2013
Thread 1 cannot allocate new log, sequence 194
Private strand flush not complete
Current log# 5 seq# 193 mem# 0: /u01/app/oracle/oradata/oracle11/redo05.log
Thread 1 advanced to log sequence 194 (LGWR switch)
Current log# 6 seq# 194 mem# 0: /u01/app/oracle/oradata/oracle11/redo06.log
Tue Oct 01 10:45:03 2013
ORA-1 encountered when generating server alert SMG-3000
Tue Oct 01 10:47:12 2013
Errors in file /u01/app/oracle/diag/rdbms/oracle11/oracle11/trace/oracle11_ora_13196.trc (incident=71231):
ORA-00600: internal error code, arguments: [4097], [10], [20], [7021372], [], [], [], [], [], [], [], []
Exception [type: SIGSEGV, Address not mapped to object] [ADDR:0x40] [PC:0xF3777EB, kghalf()+49] [flags: 0x0, count: 1]
Errors in file /u01/app/oracle/diag/rdbms/oracle11/oracle11/trace/oracle11_ora_13196.trc (incident=71232):
ORA-07445: exception encountered: core dump [kghalf()+49] [SIGSEGV] [ADDR:0x40] [PC:0xF3777EB] [Address not mapped to object] []
ORA-00600: internal error code, arguments: [4097], [10], [20], [7021372], [], [], [], [], [], [], [], []
Errors in file /u01/app/oracle/diag/rdbms/oracle11/oracle11/trace/oracle11_ora_13196.trc (incident=71233):
ORA-00600: internal error code, arguments: [525], [0x692D43C4], [4], [row cache objects], [5], [0x6A3FA06C], [redo copy], [], [], [], [], []
ORA-00607: Internal error occurred while making a change to a data block
ORA-00602: internal programming exception
ORA-07445: exception encountered: core dump [kghalf()+49] [SIGSEGV] [ADDR:0x40] [PC:0xF3777EB] [Address not mapped to object] []
ORA-00600: internal error code, arguments: [4097], [10], [20], [7021372], [], [], [], [], [], [], [], []
Incident details in: /u01/app/oracle/diag/rdbms/oracle11/oracle11/incident/incdir_71233/oracle11_ora_13196_i71233.trc
Tue Oct 01 10:47:13 2013
Sweep [inc][71232]: completed
Sweep [inc][71231]: completed
Exception [type: SIGSEGV, Address not mapped to object] [ADDR:0x40] [PC:0xF3777EB, kghalf()+49] [flags: 0x0, count: 1]
Errors in file /u01/app/oracle/diag/rdbms/oracle11/oracle11/trace/oracle11_ora_13196.trc (incident=71234):
ORA-07445: exception encountered: core dump [kghalf()+49] [SIGSEGV] [ADDR:0x40] [PC:0xF3777EB] [Address not mapped to object] []
ORA-00600: internal error code, arguments: [525], [0x692D43C4], [4], [row cache objects], [5], [0x6A3FA06C], [redo copy], [], [], [], [], []
ORA-00607: Internal error occurred while making a change to a data block
ORA-00602: internal programming exception
ORA-07445: exception encountered: core dump [kghalf()+49] [SIGSEGV] [ADDR:0x40] [PC:0xF3777EB] [Address not mapped to object] []
ORA-00600: internal error code, arguments: [4097], [10], [20], [7021372], [], [], [], [], [], [], [], []
Tue Oct 01 10:47:15 2013
Trace dumping is performing id=[cdmp_20131001104715]
Tue Oct 01 10:48:02 2013
Doing block recovery for file 1 block 84052
Resuming block recovery (PMON) for file 1 block 84052
Block recovery from logseq 194, block 30971 to scn 1135075665
Recovery of Online Redo Log: Thread 1 Group 6 Seq 194 Reading mem 0
Mem# 0: /u01/app/oracle/oradata/oracle11/redo06.log
Block recovery completed at rba 194.31643.16, scn 0.1135075666
Tue Oct 01 10:48:13 2013
Sweep [inc][71234]: completed
Sweep [inc][71233]: completed
Sweep [inc2][71233]: completed
Tue Oct 01 10:49:54 2013
Thread 1 cannot allocate new log, sequence 195
Private strand flush not complete
Current log# 6 seq# 194 mem# 0: /u01/app/oracle/oradata/oracle11/redo06.log
Thread 1 advanced to log sequence 195 (LGWR switch)
Current log# 3 seq# 195 mem# 0: /u01/app/oracle/oradata/oracle11/redo03.log
Tue Oct 01 10:52:57 2013
Thread 1 cannot allocate new log, sequence 196
Private strand flush not complete
Current log# 3 seq# 195 mem# 0: /u01/app/oracle/oradata/oracle11/redo03.log
Thread 1 advanced to log sequence 196 (LGWR switch)
Current log# 4 seq# 196 mem# 0: /u01/app/oracle/oradata/oracle11/redo04.log
Tue Oct 01 10:54:30 2013
Errors in file /u01/app/oracle/diag/rdbms/oracle11/oracle11/trace/oracle11_ora_13646.trc (incident=75015):
ORA-00600: internal error code, arguments: [4097], [10], [20], [7021372], [], [], [], [], [], [], [], []
Exception [type: SIGSEGV, Address not mapped to object] [ADDR:0x40] [PC:0xF3777EB, kghalf()+49] [flags: 0x0, count: 1]
Errors in file /u01/app/oracle/diag/rdbms/oracle11/oracle11/trace/oracle11_ora_13646.trc (incident=75016):
ORA-07445: exception encountered: core dump [kghalf()+49] [SIGSEGV] [ADDR:0x40] [PC:0xF3777EB] [Address not mapped to object] []
ORA-00600: internal error code, arguments: [4097], [10], [20], [7021372], [], [], [], [], [], [], [], []
Errors in file /u01/app/oracle/diag/rdbms/oracle11/oracle11/trace/oracle11_ora_13646.trc (incident=75018):
ORA-00600: internal error code, arguments: [525], [0x692D43C4], [4], [row cache objects], [5], [0x6A3FA06C], [redo copy], [], [], [], [], []
ORA-00607: Internal error occurred while making a change to a data block
ORA-00602: internal programming exception
ORA-07445: exception encountered: core dump [kghalf()+49] [SIGSEGV] [ADDR:0x40] [PC:0xF3777EB] [Address not mapped to object] []
ORA-00600: internal error code, arguments: [4097], [10], [20], [7021372], [], [], [], [], [], [], [], []
Incident details in: /u01/app/oracle/diag/rdbms/oracle11/oracle11/incident/incdir_75018/oracle11_ora_13646_i75018.trc
Tue Oct 01 10:54:32 2013
Sweep [inc][75018]: completed
Sweep [inc][75016]: completed
Sweep [inc][75015]: completed
Exception [type: SIGSEGV, Address not mapped to object] [ADDR:0x40] [PC:0xF3777EB, kghalf()+49] [flags: 0x0, count: 1]
Errors in file /u01/app/oracle/diag/rdbms/oracle11/oracle11/trace/oracle11_ora_13646.trc (incident=75027):
ORA-07445: exception encountered: core dump [kghalf()+49] [SIGSEGV] [ADDR:0x40] [PC:0xF3777EB] [Address not mapped to object] []
ORA-00600: internal error code, arguments: [525], [0x692D43C4], [4], [row cache objects], [5], [0x6A3FA06C], [redo copy], [], [], [], [], []
ORA-00607: Internal error occurred while making a change to a data block
ORA-00602: internal programming exception
ORA-07445: exception encountered: core dump [kghalf()+49] [SIGSEGV] [ADDR:0x40] [PC:0xF3777EB] [Address not mapped to object] []
ORA-00600: internal error code, arguments: [4097], [10], [20], [7021372], [], [], [], [], [], [], [], []
Tue Oct 01 10:54:33 2013
Trace dumping is performing id=[cdmp_20131001105433]
Tue Oct 01 10:54:56 2013
Doing block recovery for file 1 block 84052
Resuming block recovery (PMON) for file 1 block 84052
Block recovery from logseq 196, block 19635 to scn 1135176010
Recovery of Online Redo Log: Thread 1 Group 4 Seq 196 Reading mem 0
Mem# 0: /u01/app/oracle/oradata/oracle11/redo04.log
Block recovery completed at rba 196.20309.16, scn 0.1135176012
Tue Oct 01 10:55:04 2013
ORA-1 encountered when generating server alert SMG-3000
Tue Oct 01 10:55:32 2013
Sweep [inc][75027]: completed
Sweep [inc2][75018]: completed
Tue Oct 01 10:58:12 2013
Thread 1 cannot allocate new log, sequence 197
Private strand flush not complete
Current log# 4 seq# 196 mem# 0: /u01/app/oracle/oradata/oracle11/redo04.log
Thread 1 advanced to log sequence 197 (LGWR switch)
Current log# 5 seq# 197 mem# 0: /u01/app/oracle/oradata/oracle11/redo05.log
Tue Oct 01 11:00:00 2013
Errors in file /u01/app/oracle/diag/rdbms/oracle11/oracle11/trace/oracle11_j001_14049.trc:
Tue Oct 01 11:00:01 2013
Trace dumping is performing id=[cdmp_20131001110001]
Tue Oct 01 11:01:37 2013
Thread 1 advanced to log sequence 198 (LGWR switch)
Current log# 6 seq# 198 mem# 0: /u01/app/oracle/oradata/oracle11/redo06.log
Tue Oct 01 11:02:00 2013
Errors in file /u01/app/oracle/diag/rdbms/oracle11/oracle11/trace/oracle11_j001_14126.trc:
Tue Oct 01 11:02:01 2013
Trace dumping is performing id=[cdmp_20131001110201]
Tue Oct 01 11:04:46 2013
Errors in file /u01/app/oracle/diag/rdbms/oracle11/oracle11/trace/oracle11_ora_13633.trc:
Tue Oct 01 11:04:47 2013
Trace dumping is performing id=[cdmp_20131001110447]
Tue Oct 01 11:05:06 2013
ORA-1 encountered when generating server alert SMG-3000
Tue Oct 01 11:07:47 2013
Errors in file /u01/app/oracle/diag/rdbms/oracle11/oracle11/trace/oracle11_ora_14407.trc (incident=71235):
ORA-00600: internal error code, arguments: [4097], [10], [20], [7021372], [], [], [], [], [], [], [], []
Exception [type: SIGSEGV, Address not mapped to object] [ADDR:0x40] [PC:0xF3777EB, kghalf()+49] [flags: 0x0, count: 1]
Errors in file /u01/app/oracle/diag/rdbms/oracle11/oracle11/trace/oracle11_ora_14407.trc (incident=71236):
ORA-07445: exception encountered: core dump [kghalf()+49] [SIGSEGV] [ADDR:0x40] [PC:0xF3777EB] [Address not mapped to object] []
ORA-00600: internal error code, arguments: [4097], [10], [20], [7021372], [], [], [], [], [], [], [], []
Errors in file /u01/app/oracle/diag/rdbms/oracle11/oracle11/trace/oracle11_ora_14407.trc (incident=74908):
ORA-00600: internal error code, arguments: [525], [0x692D43C4], [4], [row cache objects], [5], [0x6A3FA06C], [redo copy], [], [], [], [], []
ORA-00607: Internal error occurred while making a change to a data block
ORA-00602: internal programming exception
ORA-07445: exception encountered: core dump [kghalf()+49] [SIGSEGV] [ADDR:0x40] [PC:0xF3777EB] [Address not mapped to object] []
ORA-00600: internal error code, arguments: [4097], [10], [20], [7021372], [], [], [], [], [], [], [], []
Exception [type: SIGSEGV, Address not mapped to object] [ADDR:0x40] [PC:0xF3777EB, kghalf()+49] [flags: 0x0, count: 1]
Errors in file /u01/app/oracle/diag/rdbms/oracle11/oracle11/trace/oracle11_ora_14407.trc (incident=74975):
ORA-07445: exception encountered: core dump [kghalf()+49] [SIGSEGV] [ADDR:0x40] [PC:0xF3777EB] [Address not mapped to object] []
ORA-00600: internal error code, arguments: [525], [0x692D43C4], [4], [row cache objects], [5], [0x6A3FA06C], [redo copy], [], [], [], [], []
ORA-00607: Internal error occurred while making a change to a data block
ORA-00602: internal programming exception
ORA-07445: exception encountered: core dump [kghalf()+49] [SIGSEGV] [ADDR:0x40] [PC:0xF3777EB] [Address not mapped to object] []
ORA-00600: internal error code, arguments: [4097], [10], [20], [7021372], [], [], [], [], [], [], [], []
Tue Oct 01 11:07:49 2013
Sweep [inc][74975]: completed
Sweep [inc][74908]: completed
Sweep [inc][71236]: completed
Sweep [inc][71235]: completed
Tue Oct 01 11:08:02 2013
Doing block recovery for file 1 block 84052
Resuming block recovery (PMON) for file 1 block 84052
Block recovery from logseq 198, block 19645 to scn 1135284382
Recovery of Online Redo Log: Thread 1 Group 6 Seq 198 Reading mem 0
Mem# 0: /u01/app/oracle/oradata/oracle11/redo06.log
Block recovery completed at rba 198.20203.16, scn 0.1135284383
Tue Oct 01 11:11:34 2013
Thread 1 cannot allocate new log, sequence 199
Private strand flush not complete
Current log# 6 seq# 198 mem# 0: /u01/app/oracle/oradata/oracle11/redo06.log
Thread 1 advanced to log sequence 199 (LGWR switch)
Current log# 3 seq# 199 mem# 0: /u01/app/oracle/oradata/oracle11/redo03.log
Tue Oct 01 11:12:36 2013
Errors in file /u01/app/oracle/diag/rdbms/oracle11/oracle11/trace/oracle11_ora_14851.trc (incident=75133):
ORA-00600: internal error code, arguments: [4097], [10], [20], [7021372], [], [], [], [], [], [], [], []
Exception [type: SIGSEGV, Address not mapped to object] [ADDR:0x40] [PC:0xF3777EB, kghalf()+49] [flags: 0x0, count: 1]
Errors in file /u01/app/oracle/diag/rdbms/oracle11/oracle11/trace/oracle11_ora_14851.trc (incident=75134):
ORA-07445: exception encountered: core dump [kghalf()+49] [SIGSEGV] [ADDR:0x40] [PC:0xF3777EB] [Address not mapped to object] []
ORA-00600: internal error code, arguments: [4097], [10], [20], [7021372], [], [], [], [], [], [], [], []
Errors in file /u01/app/oracle/diag/rdbms/oracle11/oracle11/trace/oracle11_ora_14851.trc (incident=75135):
ORA-00600: internal error code, arguments: [525], [0x692D43C4], [4], [row cache objects], [5], [0x6A3FA06C], [redo copy], [], [], [], [], []
ORA-00607: Internal error occurred while making a change to a data block
ORA-00602: internal programming exception
ORA-07445: exception encountered: core dump [kghalf()+49] [SIGSEGV] [ADDR:0x40] [PC:0xF3777EB] [Address not mapped to object] []
ORA-00600: internal error code, arguments: [4097], [10], [20], [7021372], [], [], [], [], [], [], [], []
Exception [type: SIGSEGV, Address not mapped to object] [ADDR:0x40] [PC:0xF3777EB, kghalf()+49] [flags: 0x0, count: 1]
Errors in file /u01/app/oracle/diag/rdbms/oracle11/oracle11/trace/oracle11_ora_14851.trc (incident=75136):
ORA-07445: exception encountered: core dump [kghalf()+49] [SIGSEGV] [ADDR:0x40] [PC:0xF3777EB] [Address not mapped to object] []
ORA-00600: internal error code, arguments: [525], [0x692D43C4], [4], [row cache objects], [5], [0x6A3FA06C], [redo copy], [], [], [], [], []
ORA-00607: Internal error occurred while making a change to a data block
ORA-00602: internal programming exception
ORA-07445: exception encountered: core dump [kghalf()+49] [SIGSEGV] [ADDR:0x40] [PC:0xF3777EB] [Address not mapped to object] []
ORA-00600: internal error code, arguments: [4097], [10], [20], [7021372], [], [], [], [], [], [], [], []
Tue Oct 01 11:12:37 2013
Sweep [inc][75134]: completed
Sweep [inc][75133]: completed
Tue Oct 01 11:12:50 2013
Doing block recovery for file 1 block 84052
Resuming block recovery (PMON) for file 1 block 84052
Block recovery from logseq 198, block 19645 to scn 1135345412
Recovery of Online Redo Log: Thread 1 Group 6 Seq 198 Reading mem 0
Mem# 0: /u01/app/oracle/oradata/oracle11/redo06.log
Recovery of Online Redo Log: Thread 1 Group 3 Seq 199 Reading mem 0
Mem# 0: /u01/app/oracle/oradata/oracle11/redo03.log
Block recovery completed at rba 199.13813.16, scn 0.1135345414
Tue Oct 01 11:13:38 2013
Sweep [inc][75136]: completed
Sweep [inc][75135]: completed
Tue Oct 01 11:14:56 2013
Thread 1 cannot allocate new log, sequence 200
Private strand flush not complete
Current log# 3 seq# 199 mem# 0: /u01/app/oracle/oradata/oracle11/redo03.log
Thread 1 advanced to log sequence 200 (LGWR switch)
Current log# 4 seq# 200 mem# 0: /u01/app/oracle/oradata/oracle11/redo04.log
Tue Oct 01 11:15:07 2013
ORA-1 encountered when generating server alert SMG-3000
Tue Oct 01 11:15:19 2013
Errors in file /u01/app/oracle/diag/rdbms/oracle11/oracle11/trace/oracle11_ora_15016.trc (incident=75141):
ORA-00600: internal error code, arguments: [4097], [10], [20], [7021372], [], [], [], [], [], [], [], []
Exception [type: SIGSEGV, Address not mapped to object] [ADDR:0x40] [PC:0xF3777EB, kghalf()+49] [flags: 0x0, count: 1]
Errors in file /u01/app/oracle/diag/rdbms/oracle11/oracle11/trace/oracle11_ora_15016.trc (incident=75142):
ORA-07445: exception encountered: core dump [kghalf()+49] [SIGSEGV] [ADDR:0x40] [PC:0xF3777EB] [Address not mapped to object] []
ORA-00600: internal error code, arguments: [4097], [10], [20], [7021372], [], [], [], [], [], [], [], []
Errors in file /u01/app/oracle/diag/rdbms/oracle11/oracle11/trace/oracle11_ora_15016.trc (incident=75143):
ORA-00600: internal error code, arguments: [525], [0x692D43C4], [4], [row cache objects], [5], [0x6A3FA06C], [redo copy], [], [], [], [], []
ORA-00607: Internal error occurred while making a change to a data block
ORA-00602: internal programming exception
ORA-07445: exception encountered: core dump [kghalf()+49] [SIGSEGV] [ADDR:0x40] [PC:0xF3777EB] [Address not mapped to object] []
ORA-00600: internal error code, arguments: [4097], [10], [20], [7021372], [], [], [], [], [], [], [], []
Exception [type: SIGSEGV, Address not mapped to object] [ADDR:0x40] [PC:0xF3777EB, kghalf()+49] [flags: 0x0, count: 1]
Errors in file /u01/app/oracle/diag/rdbms/oracle11/oracle11/trace/oracle11_ora_15016.trc (incident=75144):
ORA-07445: exception encountered: core dump [kghalf()+49] [SIGSEGV] [ADDR:0x40] [PC:0xF3777EB] [Address not mapped to object] []
ORA-00600: internal error code, arguments: [525], [0x692D43C4], [4], [row cache objects], [5], [0x6A3FA06C], [redo copy], [], [], [], [], []
ORA-00607: Internal error occurred while making a change to a data block
ORA-00602: internal programming exception
ORA-07445: exception encountered: core dump [kghalf()+49] [SIGSEGV] [ADDR:0x40] [PC:0xF3777EB] [Address not mapped to object] []
ORA-00600: internal error code, arguments: [4097], [10], [20], [7021372], [], [], [], [], [], [], [], []
Tue Oct 01 11:15:23 2013
Sweep [inc][75144]: completed
Sweep [inc][75143]: completed
Sweep [inc][75142]: completed
Sweep [inc][75141]: completed
Tue Oct 01 11:15:41 2013
Doing block recovery for file 1 block 84052
Resuming block recovery (PMON) for file 1 block 84052
Block recovery from logseq 200, block 4531 to scn 1135382144
Recovery of Online Redo Log: Thread 1 Group 4 Seq 200 Reading mem 0
Mem# 0: /u01/app/oracle/oradata/oracle11/redo04.log
Block recovery completed at rba 200.5222.16, scn 0.1135382146
Tue Oct 01 11:20:10 2013
Thread 1 cannot allocate new log, sequence 201
Private strand flush not complete
Current log# 4 seq# 200 mem# 0: /u01/app/oracle/oradata/oracle11/redo04.log
Thread 1 advanced to log sequence 201 (LGWR switch)
Current log# 5 seq# 201 mem# 0: /u01/app/oracle/oradata/oracle11/redo05.log
Tue Oct 01 11:20:25 2013
Errors in file /u01/app/oracle/diag/rdbms/oracle11/oracle11/trace/oracle11_ora_14883.trc (incident=71272):
ORA-00600: internal error code, arguments: [4097], [10], [20], [7021372], [], [], [], [], [], [], [], []
Errors in file /u01/app/oracle/diag/rdbms/oracle11/oracle11/trace/oracle11_ora_14883.trc (incident=71273):
ORA-00603: ORACLE server session terminated by fatal error
ORA-00600: internal error code, arguments: [4097], [10], [20], [7021372], [], [], [], [], [], [], [], []
Incident details in: /u01/app/oracle/diag/rdbms/oracle11/oracle11/incident/incdir_71273/oracle11_ora_14883_i71273.trc
opiodr aborting process unknown ospid (14883) as a result of ORA-603
Tue Oct 01 11:20:27 2013
Trace dumping is performing id=[cdmp_20131001112027]
Tue Oct 01 11:20:27 2013
Sweep [inc][71273]: completed
Sweep [inc][71272]: completed
Sweep [inc2][71273]: completed
Tue Oct 01 11:22:27 2013
Errors in file /u01/app/oracle/diag/rdbms/oracle11/oracle11/trace/oracle11_ora_15448.trc (incident=74906):
ORA-00600: internal error code, arguments: [4097], [10], [20], [7021372], [], [], [], [], [], [], [], []
Errors in file /u01/app/oracle/diag/rdbms/oracle11/oracle11/trace/oracle11_ora_15448.trc (incident=75006):
ORA-00603: ORACLE server session terminated by fatal error
ORA-00600: internal error code, arguments: [4097], [10], [20], [7021372], [], [], [], [], [], [], [], []
Incident details in: /u01/app/oracle/diag/rdbms/oracle11/oracle11/incident/incdir_75006/oracle11_ora_15448_i75006.trc
opiodr aborting process unknown ospid (15448) as a result of ORA-603
Tue Oct 01 11:22:29 2013
Trace dumping is performing id=[cdmp_20131001112229]
Tue Oct 01 11:22:29 2013
Sweep [inc][75006]: completed
Sweep [inc][74906]: completed
Sweep [inc2][75006]: completed
Tue Oct 01 11:22:37 2013
Thread 1 cannot allocate new log, sequence 202
Private strand flush not complete
Current log# 5 seq# 201 mem# 0: /u01/app/oracle/oradata/oracle11/redo05.log
Thread 1 advanced to log sequence 202 (LGWR switch)
Current log# 6 seq# 202 mem# 0: /u01/app/oracle/oradata/oracle11/redo06.log
Tue Oct 01 11:23:07 2013
Errors in file /u01/app/oracle/diag/rdbms/oracle11/oracle11/trace/oracle11_ora_15497.trc (incident=75014):
ORA-00600: internal error code, arguments: [4097], [10], [20], [7021372], [], [], [], [], [], [], [], []
Errors in file /u01/app/oracle/diag/rdbms/oracle11/oracle11/trace/oracle11_ora_15497.trc (incident=75025):
ORA-00603: ORACLE server session terminated by fatal error
ORA-00600: internal error code, arguments: [4097], [10], [20], [7021372], [], [], [], [], [], [], [], []
Incident details in: /u01/app/oracle/diag/rdbms/oracle11/oracle11/incident/incdir_75025/oracle11_ora_15497_i75025.trc
opiodr aborting process unknown ospid (15497) as a result of ORA-603
Tue Oct 01 11:23:09 2013
Trace dumping is performing id=[cdmp_20131001112309]
Tue Oct 01 11:23:29 2013
Sweep [inc][75025]: completed
Sweep [inc][75014]: completed
Sweep [inc2][75025]: completed
Tue Oct 01 11:24:03 2013
Errors in file /u01/app/oracle/diag/rdbms/oracle11/oracle11/trace/oracle11_ora_15382.trc (incident=75043):
ORA-00600: internal error code, arguments: [4097], [10], [20], [7021372], [], [], [],ora-600 ---> visit My Oracle Support and use the ORA-600 lookup tool and/or submit a SR.
This forum is not a (free) support site.
Also your use of boldface means YELLING and must be considered insulting.
Sybrand Bakker
Senior Oracle DBA -
After posting something here a few days back about the myriad views needing to be digested for the Fund.I Exam, I have just gleaned this lot from the Couchman book. No doubt some of the pros out there may well correct me, but this is simple what I have collected from the book, in the last 3 hours. Cheers.
Dictionary Views
Data Dictionary
Which users are in the database password file:
V$PWFILE_USERS
Where values set in the init.ora file can be viewed – all parameters:
V$PARAMETER
Script used to create the objects that comprise the data dictionary:
catalog.sql
To grant a special role to users so they can look at DBA views:
SELECT_CATALOG_ROLE
Information about all database objects in the database:
DBA_OBJECTS
Information about all tables in the database:
DBA_TABLES
Information about all indexes in the database:
DBA_INDEXES
Information about all views (including dictionary views) in the database:
DBA_VIEWS
Information about all sequences in the database:
DBA_SEQUENCES
Information about all users in the database:
DBA_USERS
Information about all constraints in the database:
DBA_CONSTRAINTS
Information about all table columns that have constraints on them:
DBA_CONS_COLUMNS
Information about all columns that have indexes on them in the database:
DBA_IND_COLUMNS
Information about all columns in all the tables in the database:
DBA_TAB_COLUMNS
Information about all the roles in the database:
DBA_ROLES
Information about all object privileges in the database:
DBA_TAB_PRIVS
Information about all system privileges granted to all users in the database:
DBA_SYS_PRIVS
Displays all PL/SQL source code in the database:
DBA_SOURCE
Information about all triggers in the database:
DBA_TRIGGERS
Information about object privileges granted to roles
ROLE_TAB_PRIVS
Information about system privileges granted to roles
ROLE_SYS_PRIVS
Information about roles granted to roles
ROLE_ROLE_PRIVS
Information about all tablespaces in the database:
DBA_TABLESPACES
Information about all profiles in the database:
DBA_PROFILES
For all parameters?
V$PARAMETER
General information about the database mounted to your instance:
V$DATABASE
Most information about the performance of the database is kept here:
V$SYSSTAT
Most information about the performance for individual user sessions is stored here:
V$SESSION , V$SESSTAT
Information about online redo logs (2)
V$LOG, V$LOGFILE
Information about datafiles
V$DATAFILE
Basic information about control files, and the two columns it has:
V$CONTROLFILE. STATUS / NAME
An object you can query to obtain a listing of all data dictionary objects (4)
CATALOG, CAT, DICTIONARY, DICT.
When the control file was created, Sequence Number, most recent SCN:
V$DATABASE
Information stored in different sections of the control file, Sequence Number:
V$CONTROLFILE_RECORD_SECTION
To see the names and locations of all control files in the db? (2)
V$PARAMETER. V$CONTROLFILE
Tablespace and Datafiles
Temporary Segments:
Name, tablespace location, and owner of temporary segments:
DBA_SEGMENTS
Size of temporary tablespaces, current number of extents allocated to sort segments, and sort segment high-water mark information. Space usage allocation for temporary segments:
V$SORT_SEGMENT
Types of sorts that are happening currently on the database
V$SORT_USAGE
To see the username corresponding with the session:
V$SESSION
Information about every datafile in the database associated with a temporary tablespace:
DBA_TEMP_FILES
Similar to DBA_TEMP_FILES, this performance view gives Information about every datafile in the database associated with a temporary tablespace:
V$TEMPFILE
Storage Structures
A summary view, contains all types of segments and their storage parameters, space utilization settings:
DBA_SEGMENTS
Tablespace quotas assigned to users:
DBA_TS_QUOTAS
Segment name, type, owner, total bytes of extent, name of tablespace storing the extent:
DBA_EXTENTS
The location and amount of free space by tablespace name:
DBA_FREE_SPACE
The location of free space in the tablespace that has been coalesced:
DBA_FREE_SPACE_COALESCED
Information about datafiles for every tablespace
DBA_DATAFILES
Performance view for information for datafiles for every tablespace
V$DATAFILE
To see the total amount of space allocated to a table?
DBA_EXTENTS
Table creation timestamp, information about the object ID:
DBA_OBJECTS
High water mark, all storage settings for a table, and statistics collected as part of the analyze (for row migration) operation on that table
DBA_TABLES
Information about every column in every table:
DBA_TAB_COLUMNS
To determine how many columns are marked unused for later removal?
DBA_UNUSED_COL_TABS
To find the number of deleted index entries ?
INDEX_STATS
To determine the columns on a table that have been indexed:
DBA_ID_COLUMNS
The dynamic view to show whether the index is being used in a meaningful way?
V$OBJECT_USAGE
To see whether a constraint exists on a particular column?
DBA_CONS_COLUMNS
To see the constraints associated with a particular table:
DBA_CONSTRAINTS
To find the username, ID number, (encrypted) password, default and temporary tablespace information, user profile of a user, password expiry date:
DBA_USERS
To all objects, which objects belong to which users, how many objects a user has created?
DBA_OBJECTS
Resource-usage parameters for a particular profile:
DBA_PROFILES
Identifies all resources in the database and their corresponding cost:
RESOURCE_COST
Identifies system resource limits for individual users:
USER_RESOURCE_LIMITS
Shows all system privileges:
DBA_SYS_PRIVS
Show all object privileges:
DBA_TAB_PRIVS
Shows all privileges in this session available to you as the current user:
SESSION_PRIVS
Views for audits currently taking place are created by this script:
cataudit.sql
a list of audit entries generated by the exists option of the audit command:
DBA_AUDIT_EXISTS
A list of audit entries generated for object audits:
DBA_AUDIT_OBJECT
A list of audit entries generated by session connects and disconnects:
DBA_AUDIT_SESSION
A list of audit entries generated by statement options of the audit command:
DBA_AUDIT_STATEMENT
A list of all entries in the AUD$ table collected by the audit command:
DBA_AUDIT_TRAIL
To determine the roles available in the database, the names of all the roles on the database and if a password is required to use each role:
DBA_ROLES
Names of all users and the roles granted to them:
DBA_ROLE_PRIVS
All the roles and the roles that are granted to them:
ROLE_ROLE_PRIVS
Which system privileges have been granted to a role:
DBA_SYS_PRIVS
All the system privileges granted only to roles:
ROLE_SYS_PRIVS
All the object privileges granted only to roles:
ROLE_TAB_PRIVS
All the roles available in the current session:
SESSION_ROLES
Which object privilege has been granted to a role:
DBA_TAB_PRIVS
To display the value of the NLS_CHARACTERSET parameter:
NLS_DATABASE_PARAMETERS
DAYou can also find a lot of stuff by doing:
SELECT *
FROM dictionary; -
How to preserve mixed case in Data Dictionary
Hi,
I am very new to Oracle, please excuse in advance for silly questions.
Using Oracle 9i R2, SQL Developer 1.51.5440.
I don't know if it's Oracle DB or The SQL Developer tool, but the names of the object I create are all transformed in uppercase. Table name, column names, procedure names all are displayed in uppercase. And yet I make sure when I created them to use carefully mixed case to improve readability. Example: ProductID, MyTable, etc.
I've gone over the options of SQL Developer, but I didn't see any option to turn off the automatic uppercase. Some objects still remains in mixed case, for example the content of a procedure still looks like when I typed it.
Is there a way to get the object names to be displayed exactly as I created them?
Thanks in advance.Ok, now I see, make senses that everybody keeps using uppercase. I have tried this:
CREATE TABLE "MyTable" ("Col1" number not null, "Col2" varchar2(20) not null)
And indeed, even SELECT * FROM MyTable would not work, I have to reference the table by SELECT * FROM "MyTable"
FYI, in SQL Server, object names are case-insensitive. The name saved in the data dictionary is exactly how you type them. In the queries, constraints, indexes, etc., you can reference to the object name by any case. I find this way more convenient.
One more question, in the current schema I am working on, where all object names are uppercase. How come I can still make a query with any case?
For example if I type in SQL Developer: SELECT ProdUCTID, PrOduCTNaMe FROM T_proDuCT ;
The query executes OK although I'd expect Oracle would complain about table not found. So are the following rules correct?
1. If the object name was saved with double quote, Oracle will preserve the case and the object should always be referenced WITH double quote and the exact case.
2. If the object name was save without double quote, Oracle will uppercase the name and the object can be reference by any case. -
Open conversions in data dictionary
Dear experts,
We have been trying to install an ST-PI package in an SAP system.However,it gives a warning saying "Open conversions in data dictionary". It says - Some open conversion requests still exists for the following ABAP data dictionary objects.To avoid inconsistencies and data losses you must process these conversions first.
Further it asks us to run the transaction SE14 which points towards the table GLPCA and says Index Z1 does not exist.
What can be the cause behind this?I do not have an ABAP background.So,hoping if you could help me out.
Regards,
Minuj
Edited by: minuj sarma on Feb 22, 2008 2:12 PMhi sagar,
Go to transaction SE14 and choose the following options in the menu
DB requests --> Terminated
Reward points if usefull,
Thanks,
Kalyan. -
Missing IN or OUT parameter at index on Data Modeler
Hi,
I'm using Data Modeler 2.0.0 build 570 (with Java 1.5.0 (build 1.5.0_15-b04)).
Usually I import tables from Data Dictionary (Oracle Database 10g Enterprise Edition Release 10.2.0.3.0) into a relational model, I modify them and then I export relational model informations into a Reporting Schema (different oracle schema inside same db).
I cannot understand why sometimes, during these exports, I get the error "Missing IN or OUT parameter at index"
Here an extract of the Data Modeler log file:
2009-09-15 16:00:36,601 [Thread-6] ERROR ReportsHandler - Error Exporting to Reporting Schema:
java.sql.SQLException: Missing IN or OUT parameter at index:: 10
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:110)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:171)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:227)
at oracle.jdbc.driver.OraclePreparedStatement.processCompletedBindRow(OraclePreparedStatement.java:1737)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3376)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3462)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1061)
at oracle.dbtools.crest.exports.reports.RSCheckConstraint.export(Unknown Source)
at oracle.dbtools.crest.exports.reports.RSColumns.export(Unknown Source)
at oracle.dbtools.crest.exports.reports.RSRelationalModel.export(Unknown Source)
at oracle.dbtools.crest.exports.reports.ReportsHandler.export(Unknown Source)
at oracle.dbtools.crest.swingui.ControllerApplication$ExportToReportsSchema$1.run(Unknown Source)
Does anyone know how to solve this problem?Hi,
the problem is solved in latest published version (build 584). What is your version?
If you still have issue with build 584 please provide information from log file.
The constraint is generic if its syntax is not bound to specific database (vendor or version). So if you use syntax introduced in Oracle 10g then you have to define constraint as "Oracle 10g" related and it'll be generated for Oracle 10g and next versions of database.
Philip -
Partition shows no records in Data Dictionary
Wondering if anyone has seen this and can explain? The data dictionary shows no records in the second and thrid of the following partitions, but there are 1.5M records in the second one. Are the summaries Oracle keeps correct?
PARTITION_NAME NUM_ROWS AVG_ROW_LEN
IU_DS_20000407 9994667 126
IU_DS_20000408 0 0
IU_DS_20000409 0 0
1 select time, count(time) from iu_ds partition (iu_ds_20000408)
2* group by time
SQL> /
TIME COUNT(TIME)
04-08-2000 00:00:00 1519155
1 select time, count(time) from iu_ds partition (iu_ds_20000409)
2 group by time;
no rows selected
nullISE 1.2 Dashboard Statics do not update
CSCul94611
Description
Symptom:
Issue with the Live dashboard in ISE 1.1.4 not displaying information and only showing "No Data Available".
The Dash Board will run and work for awhile, but it will randomly stop updating any statistics on the dashboard.
Data will show and is seen in the database, but never updates per incoming/outgoing endpoints.
Live authentications will work fine as well as all users are able to be authenticated. Customer reports do not produce data.
Seen on multiple customer's deployments with fresh installs, a fresh install with a backup from a previous 1.1.x version, as well as upgrading to 1.1.4 from any earlier 1.1.x version.
Conditions:
Cisco ISE 1.2 or 1.1.4
Any browser
Distributed or single node deployment.
Workaround:
The workaround that fixes this M&T corruption is to enter the following commands below:
ms-ise-mgm01/admin# app config ise
Selection ISE configuration option
[1]Reset Active Directory settings to defaults
[2]Display Active Directory settings
[3]Configure Active Directory settings
[4]Restart/Apply Active Directory settings
[5]Clear Active Directory Trusts Cache and restart/apply Active Directory settings
[6]Enable/Disable ERS API
[7]Reset M&T Session Database
[8]Rebuild M&T Unusable Indexes
[9]Purge M&T Operational Data
[10]Reset M&T Database
[11]Refresh M&T Database Statistics
[12]Display Profiler Statistics
[13]Exit
We need to select the following options:
7 to reset the session db
10 to reset the M&T database
11 to refresh the statistics (Possibly do not need. Was only needed in 1 case.)
Once you have run these commands the DashBoard should begin to display information.
This process can take up to 12 hours to complete all three steps. Roughly 1 to 3 hours per option selected.
Known Affected Releases:
(1)
1.2(0.899) -
Data dictionary table where the structure of table is stored ???
hi
does anyone have idea where the structure of created table is stored in data dictionary.
I have idea like where constraints are stored,indexes are stored etc. But I am looking if there is any data dictionary table which has this information too..
Like
create table tablename (colname datatype ..........
Regards
JCcheck built in dictionary view called dictionary or dict
SQL> desc dict
Name Null? Type
TABLE_NAME VARCHAR2(30)
COMMENTS VARCHAR2(4000)
SQL> Explore it or SQL Reference and you'll find necessary info.
Gints Plivna
http://www.gplivna.eu -
Hi all,
How to identify the logical corruption of data dictionary ?How to identify which all objects are corrupted ?
How to overcome it ?
ThnxIn a logical corruption, the contents of the block are logically inconsistent. Examples of logical corruption include corruption of a row piece or index entry. Block corruptions can also be divided into interblock corruption and intrablock corruption. In intrablock corruption, the corruption occurs within the block itself and can be either physical or logical corruption. In an interblock corruption, the corruption occurs between blocks and can only be logical corruption. A data corruption outage occurs when a hardware, software or network component causes corrupt data to be read or written. The service level impact of a data corruption outage may vary, from a small portion of the database (down to a single database block) to a large portion of the database (making it essentially unusable).
To check for logical corruption, you need to use the backup validate check logical (database||datafile X) syntax. -
What is data dictionary?
what is data dictionary?
thank u.The ABAP Dictionary centrally describes and manages all the data definitions used in the
system. The ABAP Dictionary is completely integrated in the ABAP Development Workbench. All
the other components of the Workbench can actively access the definitions stored in the ABAP
Dictionary.
The ABAP Dictionary supports the definition of user-defined types (data elements, structures and
table types). You can also define the structure of database objects (tables, indexes and views) in
the ABAP Dictionary. These objects can then be automatically created in the database with this
definition. The ABAP Dictionary also provides tools for editing screen fields, for example for
assigning a field an input help (F4 help).
Database objects
Table
DB table
Tools
Screen
Poss. values
F4
Type definitions
Structure
Table type
Data element
The most important object types in the ABAP Dictionary are tables, views, types (data elements,
structures, table types), domains, search helps and lock objects.
BC - ABAP Dictionary SAP AG
ABAP Dictionary
10 December 1999
ABAP Dictionary
Purpose
Data definitions (metadata) are created and managed in the ABAP Dictionary. The ABAP
Dictionary permits a central description of all the data used in the system without redundancies.
New or modified information is automatically provided for all the system components. This
ensures data integrity, data consistency and data security.
You can create the corresponding objects (tables or views) in the underlying relational database
using these data definitions. The ABAP Dictionary therefore describes the logical structure of the
objects used in application development and shows how they are mapped to the underlying
relational database in tables or views.
The ABAP Dictionary also provides standard functions for editing fields on the screen, for
example for assigning a screen field an input help.
What Information is Stored in the ABAP Dictionary?
The most important object types in the ABAP Dictionary are tables, views, types, domains,
search helps and lock objects.
Tables are defined in the ABAP Dictionary independently of the database. A table
having the same structure is then created from this table definition in the underlying database.
Views are logical views on more than one table. The structure of the view is defined in
the ABAP Dictionary. A view on the database can then be created from this structure.
Types are used in ABAP program. The structure of a type can be defined globally in
ABAP programs. Changes to a type automatically take effect in all the programs using the type.
Lock objects are used to synchronize access to the same data by more than one
user. Function modules that can be used in application programs are generated from the
definition of a lock object in the ABAP Dictionary.
Different fields having the same technical type can be combined in domains . A
domain defines the value range of all table fields and structure components that refer to this
domain.
The ABAP Dictionary also contains the information displayed with the F1 and F4 help for a field
in an input template. The documentation about the field is created for a data element
that describes the meaning of the contents of a table field. The list of possible input values that
appears for the input help is created by a foreign key or a search help .
Integration in the ABAP Development Workbench
The ABAP Dictionary is completely integrated in the ABAP Development Workbench. The R/3
System works interpretatively, permitting the ABAP Dictionary to be actively integrated in the
development environment. Instead of the original objects, the interpreters see only internal
representations of these objects.
These internal representations are adjusted automatically when the system finds that changes
have been made in the ABAP Dictionary. This ensures that the screen and ABAP interpreters,
input help, database interface, and development tools always access current data.
SAP AG BC - ABAP Dictionary
ABAP Dictionary
December 1999 11
The following ABAP program lists the airline carriers (see Flight model )
and carrier IDs contained in table SCARR.
DATA: SCARR_TAB TYPE SCARR.
SELECT * INTO SCARR_TAB FROM SCARR.
WRITE: / SCARR_TAB-CARRID, SCARR_TAB-CARRNAME.
ENDSELECT.
Only structure SCARR_TAB is declared in the program. All the information about this
structure, such as the field names, data types and field lengths, are copied from table
SCARR, which is defined in the ABAP Dictionary. This information about table
SCARR is called from the ABAP Dictionary when the program is generated.
This means that the source text of the program need not be adjusted when a change
is made to table SCARR, for example when the length of a table field is changed.
The next time the program is called, the system automatically determines that the
structure of table SCARR has changed. The program is simply regenerated, thereby
retrieving up-to-date information about table SCARR from the ABAP Dictionary.
´ D´Deevveeloloppmmeenntt e ennvviriroonnmmeenntt
R Ruunnttimimee e ennvviriroonnmmeenntt o off t thhee a apppplilcicaattioionn
ABAP
Interpreter
Dialog
Control Interfaces Screen
Interpreter
ABAP
Tools
Data
Modeler
Screen
Painter
ABAP
Dictionary
When you work on development projects, objects of the ABAP Dictionary can be changed any
number of times before being activated and made available to the operative
components of the system. Objects can have both an active and an inactive version in the ABAP
Dictionary at the same time.
Inactive ABAP Dictionary objects have no effect on the runtime system (ABAP processor,
database interface). This permits greater changes to several objects without impairing the
BC - ABAP Dictionary SAP AG
ABAP Dictionary
12 December 1999
executability of the system. The objects can only be activated together when they have all been
changed.
SAP AG BC - ABAP Dictionary
Tables
December 1999 13
Tables
Tables can be defined independently of the database in the ABAP Dictionary. The fields of the
table are defined with their (database-independent) data types and lengths.
When the table is activated, a physical table definition is created in the database for the table
definition stored in the ABAP Dictionary. The table definition is translated from the ABAP
Dictionary to a definition of the particular database.
Activation
program and
DB UTILITY
T1 T2 T3 ... Tn
T1
T2
T3
Tn
DB
Database-independent Definition of the
Tables in the ABAP Dictionary
Definition of the tables
in the database
A table definition in the ABAP Dictionary contains the following components:
Table fields define the field names and data types of the fields contained in the
table
Foreign keys define the relationships between the table and other tables.
Technical settings control how the table should be created in the database.
Indexes : To speed up data selection, secondary indexes can be created for
the table
If want more information regarding the link
follow the link
http://www.esnips.com/doc/25b22601-4172-462a-ac82-f6f68bcac85b/SAP-ABAP-Dictionary
DO REWARD IF USEFUL! -
SQL for data dictionary report
Hi, anyone know what SQL I would need to run to to get a basic data dictionary listing? ie I'd like to know:
table_name, column_name, column_type, length, precision, nullable etc
Also a nested sub-query to get each tables constraints, indexes etc
Thanks,
AndrewThe tables you'll need are user_table, user_tab_columns, user_indexes, user_ind_columns (maybe user_ind_expressions to if you use function based indexes), user_constraints and user_cons_columns.
Personally, I find that calling DBMS_METADATA.GET_DDL for the object(s) is easier most of the time. -
Select schemas from relational model on import from data dictionary option
Hi All,
I have one relational model with 3 diferent schemas,
I want to compare one of my schemas with the data dictionary I have in a database,
I select the import option in the general file menu, select from data dictionary option,
select the connection from my database,swap target model checked,select a physical model and select the objects i want to compare from the database,
My problem is that the result is the comparison between all the objects in my model and the objects in the database that I have selected,
what I really want is to compare a list of objects in my model to a list of objects in my database,
this could be possible? or always need to compare all the objects of the model?
Thanks in advanceHi jbellver,
there is no any development in DM 3.1.0.691 on that problem. In production release you'll be able to compare objects in subview with database or just to select several objects and compare them with database. And of course "generate in DDl" filtering still can be used - it works at "Compare dialog" level.
Philip -
Data Dictionary View for Procedure Text
Hi,
Is there a data-dictionary where I can see the body of procedures. In fact, I received a request from a collegue to give him the procedure name which access a table "table_1".
So, my idea is to write a query as follows:
SELECT <procedure_name> FROM <data_dictionary> WHERE <text> LIKE '%table_1%'.
Thanks in advance.You can try with DBA_SOURCE or USER_SOURCE.
i.e.
SELECT NAME FROM DBA_SOURCE
WHERE OWNER='<OWNER NAME>'
AND TYPE='PROCEDURE'
AND TEXT LIKE '%table_1%';
Regards,
Sabdar Syed.
Maybe you are looking for
-
In my library I have songs purchased with expired email addresses. How do I authorize them?
-
I'm currently using Flash CS3 with actionscript 2.0. I've been looking around on the internet for a tutorial that defines how to implement a database into a Flash application. I've nto had much luck, alot of the tutorials out there use out-dated vers
-
At some point almost every time I use Stacks View to make picks- which is often- I come to a point that I would call a Soft Crash. I've been experiencing this for quite some time, and I'm just now getting around to posting it. It usually happens when
-
How do I create complex reports?
Hi, My users need to be able to view .pdf or .rtf reports in my PHP application connected to our Oracle 10g database. I am not sure how to achieve this. Any help is truely appreciated. Regards, Kelly
-
Logon not possible for 4.6b server
hi, In our land scape we have sap4.6b server , it is working fine , others can able to login to that server , In my destop sapgui 640 available, if i try to login it showing waiting status only , and if i select the option " LOW SPEED CONNECTION "