Data Dictionary - Primery Key
What will be the Maximum numbers of Primary key, which we can assign in z table.
For some applications, it is useful to uniquely identify the rows in a table by one or more columns so that you can process them in a specified sequence, for example. You can do this by assigning a primary key. The column names that are to create the table key are represented by the keywords PRIMARY KEY. The input values of the key columns defined in this way must not be a NULL value.
You can use the primary key to insert rows in a table in the same way as you insert rows in a base table when no primary key is defined. However, the system outputs an error message if you attempt to insert an existing value into the primary key column a second time, since the uniqueness of the column is ensured by defining the primary key.
*A primary key can consist of multiple columns. However, it is unusual for a key to be constructed from more than five columns, since this makes it difficult for users to enter unique values. The arrangement of the columns behind the keywords PRIMARY KEY defines the key sequence.*
Similar Messages
-
Hi All,
I have a question regarding creating primary keys in Ztables.
When I designate a field as Primary Key, It is accepting NULLs as inputs.Which is contradicting Primary key constraint. How should I enforce primary key constraint.Even though the Key And Intitial coumn has been set, while entering values in table the field is still accepting Null values.
for eg- Num (char10/Or any DE attached),
Name (Char 20). If enter records like
(<blank>, krishna),
(10, chaiyanya).
the PK field is also accepting blank values r if not entered anything also its accepting.
But this is not the case in any RDBMS. PK (Not Null and unique) is maintained.
How to go about it. -
Data dictionary doesn't have a value for key 'WMD_AGENT_VERSION'
i get this msg for my s4
data dictionary doesn't have a value for key 'WMD_AGENT_VERSION'Kies is generally awful on the Mac. Have you got the latest installed?
Also see
https://discussions.apple.com/thread/5516972?start=15&tstart=0 -
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 -
FAQ's, intros and memorable discussions in the ABAP Data Dictionary Forum
Welcome to the SDN ABAP Data Dictionary Forum!
In addition to release dependent information avalaible by:
- pressing the F1 key on an ABAP statement,
- or searching for them in transaction ABAPDOCU,
- using the [SDN ABAP Development Forum Search|https://www.sdn.sap.com/irj/sdn/directforumsearch?threadid=&q=&objid=c42&daterange=all&numresults=15&rankby=10001],
- the information accessible via the [SDN ABAP Main Wiki|https://wiki.sdn.sap.com/wiki/display/ABAP],
- the [SAP Service Marketplace|http://service.sap.com] and see [SAP Note 192194|https://service.sap.com/sap/support/notes/192194] for search tips,
- the 3 part [How to write guru ABAP code series|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f2dac69e-0e01-0010-e2b6-81c1e8e5ce50] ... (use the search to easily find the other 2 documents...)
... this "sticky post" lists some threads from the ABAP forums as:
- An introduction for new members / visitors on topics discussed in threads,
- An introduction to how the forums are used and the quality expected,
- A collection of some threads which provided usefull answers to questions which are frequently asked, and,
- A collection of some memorable threads if you feel like reading some ABAP related material.
The listed threads will be enhanced from time to time. Please feel welcome to post to [this thread|Suggestions thread for ABAP FAQ sticky; to suggest any additional inclusions.
Note: When asking a question in the forum, please also provide sufficient information such that the question can be answered usefully, do not repeat interview-type questions, and once closed please indicate which solution was usefull - to help others who search for it.
ABAP Dictionary
Modifying SAP Tables directly => Direct SAP table changes, internal only warnings, and other DDIC risks....
RTTS dynamic DB table reference, how? => Dynamically assigning a DB table reference.
retreive data from table pool and table cluster => What works and what not to access table clusters and pools.
Must i_structure_name for LVC_FIELDCATALOG_MERGE be pre-defined in dict? => Convert SLIS to LVC, or convert DDIC standards.Welcome to the SDN ABAP Data Dictionary Forum!
In addition to release dependent information avalaible by:
- pressing the F1 key on an ABAP statement,
- or searching for them in transaction ABAPDOCU,
- using the [SDN ABAP Development Forum Search|https://www.sdn.sap.com/irj/sdn/directforumsearch?threadid=&q=&objid=c42&daterange=all&numresults=15&rankby=10001],
- the information accessible via the [SDN ABAP Main Wiki|https://wiki.sdn.sap.com/wiki/display/ABAP],
- the [SAP Service Marketplace|http://service.sap.com] and see [SAP Note 192194|https://service.sap.com/sap/support/notes/192194] for search tips,
- the 3 part [How to write guru ABAP code series|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f2dac69e-0e01-0010-e2b6-81c1e8e5ce50] ... (use the search to easily find the other 2 documents...)
... this "sticky post" lists some threads from the ABAP forums as:
- An introduction for new members / visitors on topics discussed in threads,
- An introduction to how the forums are used and the quality expected,
- A collection of some threads which provided usefull answers to questions which are frequently asked, and,
- A collection of some memorable threads if you feel like reading some ABAP related material.
The listed threads will be enhanced from time to time. Please feel welcome to post to [this thread|Suggestions thread for ABAP FAQ sticky; to suggest any additional inclusions.
Note: When asking a question in the forum, please also provide sufficient information such that the question can be answered usefully, do not repeat interview-type questions, and once closed please indicate which solution was usefull - to help others who search for it.
ABAP Dictionary
Modifying SAP Tables directly => Direct SAP table changes, internal only warnings, and other DDIC risks....
RTTS dynamic DB table reference, how? => Dynamically assigning a DB table reference.
retreive data from table pool and table cluster => What works and what not to access table clusters and pools.
Must i_structure_name for LVC_FIELDCATALOG_MERGE be pre-defined in dict? => Convert SLIS to LVC, or convert DDIC standards. -
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,
satishWhat 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 -
Identity DB field in Data Dictionary Table
Hi
I am using NW04 SP9
I created a Data Dictionary DC and created a new TABLE.
I need one of the fields to be an IDENTITY field (that generates an ID automatically whenever a new record is craeted).
Q1. Is the Data Dictionary DC and Plug in (of NW04 SP9) support such a feature?
Q2. If the answer is no, what are my alternatives?Hi,
the enqueue method in question is called
getUniqueIncreasingNumber()
There is another SDN forum thread describing its invocation pretty well:
Autogenerate Primary Key
(in this thread you can also view the invocation of guid based strings, as guid based generation executes locally, it is a good idea to use it if primary keys can be strings, contrary, enqueue invocation implies connecting to the enqueue instance)
You can view the Javadoc for getUniqueIncreasingNumber()
in the local documentation of your Developer Studio installation (API WAS/J2EE Engine/com.sap.services.......applocking),
i just copy and paste it here:
"getUniqueIncreasingNumber
public long getUniqueIncreasingNumber()
throws com.sap.engine.frame.core.locking.TechnicalLockException
Returns a number with the following properties:
every method-call returns a higher number than the previous ones
the number contains the timestamp of the central server, so this will work correctly in a distributed environment and also after a restart of the cluster
This number can be used for every purpose, it is not locking-specific.
ATTENTION: if the system-time of the central server is changed this will probably not work correctly any more."
Note that the precondition is that you never change the system time of the Enqueue Instance (what is indeed in general not allowed in SAP systems, see the SAP note #771577). In the case of enqueue replication server, both system clocks have to be synchronized.
good luck, Katarzyna -
Data Dictionary.. Help Please
I have to create this query for my college course. I need help. I have half of the query, I think. Need another join clause in the from statement for the views, not sure what to do. Any help will be appreciated! Thank you!
Create and execute a single query of the Oracle data dictionary to display all foreign key constraints in the HR schema. Note that foreign key constraints are constraint type 'R'. For each constraint list the constraint type, constraint name, the referencing table name, the referencing column position(s), the referencing column name(s), the referenced constraint name (i.e. the other table's primary key constraint name), the referenced table, and the referenced column(s). Sort your results by constraint name, table_name, and position.
HINTS: You will need two different data dictionary views for this query. One of the views will need to be mentioned twice in the FROM clause, and therefore you will need two different aliases. With this arrangement you will also need two join conditions.
This is what i have so far...
SELECT uc.constraint_type, uc.constraint_name, uc.table_name, r_constraint_name,
ucc.table_name, ucc.position, ucc.column_name, ucc.constraint_name
FROM user_constraints uc JOIN user_cons_columns ucc
ON uc.table_name= ucc.table_name
AND uc.constraint_name= ucc.constraint_name
WHERE constraint_type= 'R'
AND r_constraint_name IN
(SELECT constraint_name
FROM all_constraints
WHERE constraint_type
IN ('P','U')
AND table_name= 'hr')
ORDER BY uc.constraint_name, ucc.table_name,ucc.position;Ok, you have the correct two dictionary views (assuming you are logged in as HR), now you need to figure out which one is needed twice. As a hint, you have the required join columns for the doubled dictionary view in the single use dictionary view.
A couple of comments on the code you have posted so far.
The predicate:
r_constraint_name IN (SELECT constraint_name
FROM all_constraints
WHERE constraint_type IN ('P','U') AND
table_name= 'hr')is unnecessary since by definition, if the constraint type is R, then the r_constraint_column will point to a P (primary key) or U (unique key) constraint.
By default, all objects in Oracle are stored in the dictionary views in upper case, so when you query a value you need to use upper case for the literal.
Again, assuming that you are logged in as HR, then the user_xxx views will only show objects that belong to the HR schema, so there is no need to qualify anything with an owner.
When you are posting code on this site type {noformat}{noformat} before and after your code sample, this will preserve the formatting of your code so it will be more readable. If you want to see an example of this, click reply to this post and then click the quote button in the reply pane and you will see how I kept the formatting in the snippet above.
John -
Add multiple entries to dropdown list without using data dictionary
Hi,
By default when we use a data dictionary element for dropdown list, all the possible values are listed in the dropdown. However when no data dictionary element is used for the dropdown list, it behaves like a parameter with a single line.
I would like to know if it is possible to not use the data dictionary element and still have multiple lines in the dropdown.
Thanks in advance.
ShamiaCheck the below program :
*report zxyz.
report zxyz.
Table diclaration
tables: tvdir.
Selection screento table View
selection-screen skip 2.
parameter p_tabnm(30) as listbox visible length 30 obligatory.
selection-screen skip 1.
selection-screen begin of block s1 with frame title text-001.
parameter: p_radio1 radiobutton group g1,
p_radio radiobutton group g1.
selection-screen end of block s1.
Add values to list box
at selection-screen output.
type-pools: vrm.
data: name type vrm_id,
list type vrm_values,
value like line of list.
name = 'P_TABNM'.
refresh list.
value-key = 'V_024'.
value-text = text-002. "'V_024-Purchasing Groups'.
append value to list.
value-key = 'V_T024D'.
value-text = text-003. "'V_T024D-MRP Controllers'.
append value to list.
value-key = 'ZT604'.
value-text = text-004. "'T604-Commodity Codes'.
append value to list.
value-key = 'T179'.
value-text = text-005. "'T179-Product Hierarchies'.
append value to list.
value-key = 'TVM1T'.
value-text = text-006. "'TVM1T-Business Manager'.
append value to list.
value-key = 'TVM2T'.
value-text = text-007. "'TVM2T-Division manager'.
append value to list.
value-key = 'TVM3T'.
value-text = text-008. "'TVM3T-Director'.
append value to list.
value-key = 'V_TVV2'.
value-text = text-009. "'V_TVV2-Customer Group 2'.
append value to list.
call function 'VRM_SET_VALUES'
exporting
id = name
values = list.
start-of-selection.
Get flag of corresponding table view
select single tabname flag from tvdir into tvdir
where tabname = p_tabnm.
Set flag of corresponding table view
if p_radio1 eq 'X'.
if tvdir-flag ne 'X'.
update tvdir set: flag = 'X'
where tabname = p_tabnm.
endif.
endif.
if p_radio eq 'X'.
if tvdir-flag eq 'X'.
update tvdir set: flag = ''
where tabname = p_tabnm.
endif.
endif.
Execute View/Table
call function 'VIEW_MAINTENANCE_CALL'
exporting
action = 'U'
view_name = p_tabnm
exceptions
client_reference = 1
foreign_lock = 2
invalid_action = 3
no_clientindependent_auth = 4
no_database_function = 5
no_editor_function = 6
no_show_auth = 7
no_tvdir_entry = 8
no_upd_auth = 9
only_show_allowed = 10
system_failure = 11
unknown_field_in_dba_sellist = 12
view_not_found = 13
others = 14.
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
Reset flag of corresponding table view
update tvdir set: flag = tvdir-flag
where tabname = p_tabnm.
Thanks
Seshu -
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! -
Data Dictionary Info for Constraints
Hi,
I want to get Information from the data dictionary about foreign key constraints.
I want to get information about all constraints which REFER to a certain table and column, so I want to get the table/colum which is the parent in a foreign_key realtionship.
I can use ALL_CONS_COLUMNS, but I only get the parent table but not the child table.
Example:
Table A.COLUMN_1 is the parent, there are two foreign key relationships: table B.COLUMN_2 and table C.COLUMN_2, they refer to table A.COLUMN_1.
I want a query which gives me table B and C when I specify table A.COLUMN_1.
Thanks for your help.
Bernhard-- Dictionary Queries to Determine FK Columns for Given PK
-- note: uses the Ora9i example data in SH schema...
-- Query for Forums user who wanted to query on table_name and column_name
select all pk_cons.constraint_name pk_constraint
,fk_cons.constraint_name fk_constraint
,fk_cons_cols.table_name fk_table
,fk_cons_cols.column_name fk_columns
from all_cons_columns pk_cons_cols
inner join all_constraints pk_cons
on pk_cons_cols.owner = pk_cons.owner and
pk_cons_cols.constraint_name = pk_cons.constraint_name
inner join all_constraints fk_cons
on fk_cons.r_owner = pk_cons.owner and
fk_cons.r_constraint_name = pk_cons.constraint_name
inner join all_cons_columns fk_cons_cols
on fk_cons.owner = fk_cons_cols.owner and
fk_cons.constraint_name = fk_cons_cols.constraint_name
where pk_cons.owner = 'SH'
and pk_cons.table_name = 'PRODUCTS'
and pk_cons_cols.column_name = 'PROD_ID'
-- A better query that uses only table name
select all pk_cons.constraint_name pk_constraint
,fk_cons.constraint_name fk_constraint
,fk_cons_cols.table_name fk_table
,fk_cons_cols.column_name fk_columns
from all_constraints pk_cons
inner join all_constraints fk_cons
on fk_cons.r_owner = pk_cons.owner and
fk_cons.r_constraint_name = pk_cons.constraint_name
inner join all_cons_columns fk_cons_cols
on fk_cons.owner = fk_cons_cols.owner and
fk_cons.constraint_name = fk_cons_cols.constraint_name
where pk_cons.owner = 'SH'
and pk_cons.table_name = 'PRODUCTS'
and pk_cons.constraint_type = 'P'
/ -
How can i fetch numeriic records from data dictionary table
hi friends..
let assume one data dictionary table ztable which contain
fields like 1. key datatype c length 2
2. data datatype c length 10
which contain data like
aa varehouse
bb material
cc sales
01 one
02 two
03 three
from these i want to fetch only 01, 02 and 03 records...
i.e i want all the records that is in numbers only in key field of ztable
can you guide me how to get tis?select * into table itab
from ztable
where key eq '01'
or key eq '02'
or key eq '03'.
declare itab of the type same as ur ztable..
the above select query will giv u required records..
Edited by: Rudra Prasanna Mohapatra on Jul 14, 2008 11:13 AM -
Hi Experts,
I defined date as a key figure, AAAAMMGG,Iu2019m able to view data in my ODS, but when I try to create a query data format is wrong.
Can anybody share a solution.
Thanks in advance
NamrataHi,
May be you are getting a number. What looks like your wrong format? If it is a number,display your figure with a formula, where you will find option to convert data to numbers and number to date.
Cheers,
Tanish -
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
-
Error while setting up connection and adding database Tables
Error 1 The name 'My' does not exist in the current context C:\Users\levent 1\documents\visual studio 2010\Projects\DBCustomAction\DBCustomAction\VbDeployInstaller.cs 53 37 DBCustomAction Error 2 The name 'Interaction' does not exist in the current c
-
SAP Early WatchHealth Check Report
Hi Folks, I am trying to generated SAP Early Watch Health Check Report from my dual stack system but the JAva data are not populated. On the other hand, the JAva data are populated in EWA report. Does SAP Health Check Report not support Java data?
-
Installing my 10.7 HD in new Macbook
I'll be swapping my current 7200rpm SATA HD into a new MacBook Pro and want to add in the upgraded apps like iPhoto coming with the new computer - as I'll be sticking the new HD into my old MacBook. My question: Can I just drag from the Applications
-
I am having problems trying to watch a movie on Comcast Xfinity. It says to download Silverlight, I do, and then it repeats. How do I uninstall Silverlight?
-
Hello. Per Apple tech, I uninstalled my firewall in order to update my ipad software to IOS. I did that and it did not work. It just sits there under "backing" for 5 hours and the bar across does not move. Please help. My laptop is up-to-date wi