Space not reclaimed afre dropping user
hello all,
OS:- RHEL 5.2
database:- oracle 10.2.0.1
i dropped a user from my database due to lack of space on partition.but it didn't reclaim space in database and keep telling the space space on partition...i tried alter tablespace colesce but same result as it is having multiple datafiles i am unable to know which datafile to resize..
i also purge recyclebin, but no luck, how can i reclaim space on tablespace level???? i also tried resize for database but got
ORA-32773: operation not supported for smallfile tablespace USERSso any suggestion will be appreciable, that user was occupying 4 GB of space and i dropped it, but still unable to reclaim space..how can i do that???
thanks and regards
VD
hello,
actually the tablespace_name is users i put it wrong there and it is generating lot of records....(5185) i cannot post all here.....total size of users tablespace is 50GB.....
actually that was user i dropped and having size of 4 GB
SQL> select segment_name,segment_type,(bytes/1024/1024)MB from dba_segments where tablespace_name='USERS'
2 and owner='username'';
no rows selectedi have got this script from asktom...can i directly run it on my server??? i think this will resize all datafiles which are candidate for reclaiming space...actually i have multiple datafiles in users tablespace that is the issue i don't know which datafile to resize ......
set verify off
column file_name format a50 word_wrapped
column smallest format 999,990 heading "Smallest|Size|Poss."
column currsize format 999,990 heading "Current|Size"
column savings format 999,990 heading "Poss.|Savings"
break on report
compute sum of savings on report
column value new_val blksize
select value from v$parameter where name = 'db_block_size'
select file_name,
ceil( (nvl(hwm,1)*&&blksize)/1024/1024 ) smallest,
ceil( blocks*&&blksize/1024/1024) currsize,
ceil( blocks*&&blksize/1024/1024) -
ceil( (nvl(hwm,1)*&&blksize)/1024/1024 ) savings
from dba_data_files a,
( select file_id, max(block_id+blocks-1) hwm
from dba_extents
group by file_id ) b
where a.file_id = b.file_id(+)
column cmd format a75 word_wrapped
select 'alter database datafile '''||file_name||''' resize ' ||
ceil( (nvl(hwm,1)*&&blksize)/1024/1024 ) || 'm;' cmd
from dba_data_files a,
( select file_id, max(block_id+blocks-1) hwm
from dba_extents
group by file_id ) b
where a.file_id = b.file_id(+)
and ceil( blocks*&&blksize/1024/1024) -
ceil( (nvl(hwm,1)*&&blksize)/1024/1024 ) > 0
/ thanks and regards
VD
Edited by: Dixit on Sep 14, 2009 12:06 AM
Edited by: Dixit on Sep 14, 2009 12:07 AM
Similar Messages
-
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 -
Netweaver BI 7.0 on DB6, Space not reclaimed after PSA deletion
Hi,
We recently moved from Oracle to DB6 ( DB2 9.7.0 on AIX) for our Netweaver BI 7.0 system. Previously when we schedule the PSA deletion jobs we will see the benefits that the space is reclaimed, but now on DB6 we dont see that the space is reclaimed after PSA deletion. The DB size went up by whooping 30 GB in one month which was not expected.Please advice.
Thanks in advance
SivaHi Debanshu,
This is specific to DB6.
To 'reclaim' the storage (no matter what is the activity after which you expect some storage to be 'freed'), this is the procedure you have to carry out. Also, try to study about High water mark in detail.
http://publib.boulder.ibm.com/infocenter/db2luw/v9r7/index.jsp?topic=%2Fcom.ibm.db2.luw.admin.dbobj.doc%2Fdoc%2Ft0055375.html
http://publib.boulder.ibm.com/infocenter/db2luw/v9r7/index.jsp?topic=%2Fcom.ibm.db2.luw.admin.dbobj.doc%2Fdoc%2Fc0055392.html
Following very helpful link already provided -
http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/20057ef0-7952-2c10-949f-decd4fcbb392
Thanks -
Table Partitions and Rolling Window: free space not reclaimed
I have a couple of processes that involve the rolling window scenario where we drop an old partition and add a new partition monthly. We are seeing, however, that free space is not being reclaimed, and so I keep having to feed new datafiles into the tablespace (which is LMT). I was (mistakenly, it seems) under the impression that dropping a partition frees up that space for re-use.
We're currently on Oracle 10gR2 (10.2.0.2), but these tablespaces were orginally created in 9i. I've read that one solution is to implement "table shrinking," however I also see that is only available on tables in an ASSM tablespace. I see that ASSM is the default for tablespaces in 10gR2, but since my tablespaces were created in 9i, I assume they are not ASSM.
I'd like to see what other people think of this scenario. Surely a lot of people do the rolling window scenario and need space reclaimed.No, it is of concern because Sanadra was messing with the partitions. She could have inadvertantly caused something to happen, in this case the free-space issue, and it's imperative to get all of the details.
My iMac 27' Late-2012 does not have a fusion drive, yet shows that the type is "internal" the original poster doesn't indicate that. -
After truncation space not reclaiming
HI,
During our health check we found one of the tables in our database occupying more than 11 GB of space. We got approval from APP team to truncate the table.
And i truncated accordingly.
But after truncation also the table is still showing the same size.
I checked the record count. it's showing ZERO records.
Could you please let me know why my database behaving like this?
Before tables truncation
*================*
select OWNER,SEGMENT_NAME,SEGMENT_TYPE,BYTES/1024/1024/1024 FROM dba_segments WHERE TABLESPACE_NAME='WEBMDATA' and SEGMENT_TYPE='TABLE' and bytes/1024/1024/1024 > 1;
OWNER SEGMENT_NAME SEGMENT_TYPE BYTES/1024/1024/1024
PRISMA_WMISCORE_OWNER1 WMERROR TABLE 11.2998047
1 row selected.
SQL> truncate table PRISMA_WMISCORE_OWNER1.WMERROR;
Table truncated.
SQL> select count(*) from PRISMA_WMISCORE_OWNER1.WMERROR;
COUNT(*)
0
1 row selected.
After table truncation
*==============*
SQL> select OWNER,SEGMENT_NAME,SEGMENT_TYPE,BYTES/1024/1024/1024 FROM dba_segments WHERE TABLESPACE_NAME='WEBMDATA' and SEGMENT_TYPE='TABLE' and bytes/1024/1024/1024 > 1;
OWNER SEGMENT_NAME SEGMENT_TYPE BYTES/1024/1024/1024
PRISMA_WMISCORE_OWNER1 WMERROR TABLE 11.2998047
1 row selected.
Please help me..
Thank you..HI,
Thanks for the response.
Even after stats gathering also its showing the same size..
SQL> select table_name,last_analyzed FROM DBA_TABLES WHERE table_name='WMERROR' AND OWNER='PRISMA_WMISCORE_OWNER1';
TABLE_NAME LAST_ANAL
WMERROR 17-AUG-12
SQL> select OWNER,SEGMENT_NAME,SEGMENT_TYPE,BYTES/1024/1024/1024 FROM dba_segments WHERE TABLESPACE_NAME='WEBMDATA' and SEGMENT_TYPE='TABLE' and bytes/1024/1024/1024 > 1;
OWNER SEGMENT_NAME SEGMENT_TYPE BYTES/1024/1024/1024
PRISMA_WMISCORE_OWNER1 WMERROR TABLE 11.2998047
1 row selected. -
Drop user taking so much time.
Hi Guys,
I have a schema containing around 1600 objects. Export dump size for the same is aroung 8 or 9MB.
When I try to drop that user, it takes atleast 5 minutes.
Details are:
Windows 2008
Oracle 11gR2
Can anybody help??Hi;
Please check below note and link:
Drop User Cascade Very Slow In 10.2.0.4 [ID 798586.1]
Also see:
Drop user take too much time
Drop user take too much time
http://www.dbasupport.com/forums/archive/index.php/t-36615.html
Regard
Helios -
Zfs does not reclaim space after database table dropped
Our Oracle DBA dropped 200GB of tables and zfs has not reclaimed the space. I have made sure we did not have any snapshots. When I do a du -h on the filesystem, it shows the correct space, but zfs list does not show the extra space. Any ideas?
Hi,
You should make sure that the removed Oracle Datafiles were on a ZFS file system. If they were under an UFS file system, the ZFS space will remain unchanged.
Regards,
Rei -
System tablespace space not regained when objects are dropped
Mine is a Oracle 10g 10.2 on windows.
I am importing a export file into a user ,It takes some amount of space in SYSTEM and another tablespace .When I drop the user space in system tablespace is not coming back. ANY IDEA WHY
BEFORE IMPORT
SQL> select sum(bytes)/1024/1024 from dba_segments where owner='SYSTEM';
SUM(BYTES)/1024/1024
22.1875
SQL> select sum(bytes)/1024/1024 from dba_segments where owner='SYS';
SUM(BYTES)/1024/1024
544.1875
SQL> select sum(bytes)/1024/1024 from dba_segments where segment_name='SOURCE$';
SUM(BYTES)/1024/1024
41
I use the following commands to import
SQL>create user <username> identified by <password> default tablespace <tsname> quota unlimited on <tsname>;
SQL>grant create session,imp_full_database to <username>;
imp system file=filename.dmp log=logname.log fromuser=<username> touser=<username> statistics=none
AFTER IMPORT
SQL> select sum(bytes)/1024/1024 from dba_segments where segment_name='SOURCE$';
SUM(BYTES)/1024/1024
53
SQL> select sum(bytes)/1024/1024 from dba_segments where owner='SYSTEM';
SUM(BYTES)/1024/1024
22.1875
SQL> select sum(bytes)/1024/1024 from dba_segments where owner='SYS';
SUM(BYTES)/1024/1024
728.375
AFTER DROPPING THE USER/SCHEMA
SQL> select sum(bytes)/1024/1024 from dba_segments where owner='SYS';
SUM(BYTES)/1024/1024
728.375
SQL> select sum(bytes)/1024/1024 from dba_segments where owner='SYSTEM';
SUM(BYTES)/1024/1024
22.1875
SQL> select sum(bytes)/1024/1024 from dba_segments where segment_name='SOURCE$';
SUM(BYTES)/1024/1024
53
I even tried deleting the objects first and then dropping the user
SQL> delete from source$ where obj# in(select object_id from dba_objects where owner='USERNAME');
211252 rows deleted.
SQL> commit;
Commit complete.
SQL> drop user USERNAME cascade;
User dropped.
The space used by the schema on system tablespace is not coming back.Hi user509593!
Adding objects to a tablespace requires space in that tablespace. This space is managed in segments and extents. If an extent is fully used (that means 100 % usage) a new extent will be added to a segment. Oracle uses a mechanism called "High Water Mark" to mark the last used extent.
Your problem is that oracle don't set this High Water Mark back if you are dropping objects from a tablespace. Once an extent is marked as it it retains marked as used.
Before Adding Objects:
u = used Extent
x = free Extent
| = High Water Mark
uuuuuuxxxxx
...........|
After Adding Objects:
uuuuuuuxxxx
............|
After dropping objects:
uuuuuuuxxxx
............|
The only chance to get your "unused" space back is to reorganized your tablespace. But before you reorganize something please read the documentation to know all about the costs and traps that comes with reorganization.
Hope this help!
null -
Best way to recover from "drop user; drop table space"
Hello,
I am practicing several different RMAN recovery senarios on oracle 11g windows 2003.
The senario that I am stuck on is.
drop user MYUSER cascade;
drop table space MYUSER including contents and datafiles;
Originally, I was trying to do this with RMAM. From further reading, it seems that RMAN fit for this type of recovery.
What is the best approach to recover from this?
thanks for any tips.DBPITR did not bring backup my tablespaces.
break database
drop user PWRPLANT CASCADE
drop role PWRPLANT_ROLE_USER
drop role PWRPLANT_ROLE_DEV
drop role PWRPLANT_ROLE_ADMIN
alter tablespace PWRPLANT_IDX offline
alter tablespace PWRPLANT offline
drop tablespace PWRPLANT_IDX INCLUDING CONTENTS AND DATAFILES
drop tablespace PWRPLANT INCLUDING CONTENTS AND DATAFILES
recover with BDITR
RMAN> run {set until sequence 56; restore database; recover database;}
executing command: SET until clause
using target database control file instead of recovery catalog
Starting restore at 28-APR-11
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=317 device type=DISK
channel ORA_DISK_1: starting datafile backup set restore
channel ORA_DISK_1: specifying datafile(s) to restore from backup set
channel ORA_DISK_1: restoring datafile 00001 to I:\ORACLE\ORADATA\PWRGAME\SYSTEM
01.DBF
channel ORA_DISK_1: restoring datafile 00002 to I:\ORACLE\ORADATA\PWRGAME\SYSAUX
01.DBF
channel ORA_DISK_1: restoring datafile 00003 to I:\ORACLE\ORADATA\PWRGAME\UNDOTB
S01.DBF
channel ORA_DISK_1: restoring datafile 00004 to I:\ORACLE\ORADATA\PWRGAME\USERS0
1.DBF
channel ORA_DISK_1: reading from backup piece I:\ORACLE\FLASH_RECOVERY_AREA\PWRG
AME\BACKUPSET\2011_04_28\O1_MF_NNNDF_DATABASE_FULL_BACKUP_6VMMSSXV_.BKP
channel ORA_DISK_1: piece handle=I:\ORACLE\FLASH_RECOVERY_AREA\PWRGAME\BACKUPSET
\2011_04_28\O1_MF_NNNDF_DATABASE_FULL_BACKUP_6VMMSSXV_.BKP tag=DATABASE_FULL_BAC
KUP
channel ORA_DISK_1: restored backup piece 1
channel ORA_DISK_1: restore complete, elapsed time: 00:07:06
Finished restore at 28-APR-11
Starting recover at 28-APR-11
using channel ORA_DISK_1
starting media recovery
archived log for thread 1 with sequence 55 is already on disk as file I:\ORACLE\
PRODUCT\11.1.0\DB_1\RDBMS\ARC00055_0748950531.001
archived log file name=I:\ORACLE\PRODUCT\11.1.0\DB_1\RDBMS\ARC00055_0748950531.0
01 thread=1 sequence=55
media recovery complete, elapsed time: 00:00:02
Finished recover at 28-APR-11
Did I miss something? -
After i empty trash (the secure empty doesn't work either), the system does not reclaim the free space.
I need to run the erase free space option from the disk utility every time...which is really annoying and time consuming.
Any ideas how to solve this?
Thanks in advance =)There is a thing in iPhoto whereby the first time you delete a photo it asks if you want to delete or just remove from the album, something like that. Unfortunately it is one of these things with a "don't ask me again" checkbox. Now, "deleting" photos only removes them from the album they are in. To actually trash them I must then go to "all photos" and find them, to send them to the trash. To help find them, what I do is rename them zzz or something, so sorting them will get them to the bottom of my collection. Just maybe your photos are still lurking around?
-
How to drop Users DBF file in oracle 11g?
Hi All
I dropped the user and want to free the table space(To import another user(Which has more than 10 GB of record).
the below is my query which i used to import the data and schema
impdp system/test DIRECTORY=dump_dir DUMPFILE=exp_test.dmp FULL=Y LOGFILE=import_test.log REMAP_TABLESPACE=TEST_DATA:USERS
After dropping my user i checked into the folder C:\oradata\orcl and i found two files USERS01.DBF(21.1GB,its 21.1 gb because i tried to cretae an another schema nd i got stuc up with low disk space.) and TEMP01.DBF(1.66GB).
I tried to drop USERS tablespace and i could nt able to do it.
Can any one help me to reduce the size of both two files?
Thanks & Regards
Vijay
Edited by: Vijayamurugan on Jun 15, 2011 8:22 AMbobonacus wrote:
shutdown immediate
startup nomount
alter database mount;
why not just 'startup mount'?? Why the two-step?
alter database rename file
'e:\oracle\oradata\orcl\indx01.dbf',
'e:\oracle\oradata\orcl\rbs01.dbf',
'e:\oracle\oradata\orcl\system01.dbf',
'e:\oracle\oradata\orcl\temp01.dbf',
'e:\oracle\oradata\orcl\tools01.dbf',
'e:\oracle\oradata\orcl\users01.dbf',
'e:\oracle\oradata\orcl\file1.dbf',
'e:\oracle\oradata\orcl\file2.dbf'
to
'd:\oracle\oradata\orcl\indx01.dbf',
'd:\oracle\oradata\orcl\rbs01.dbf',
'd:\oracle\oradata\orcl\system01.dbf',
'd:\oracle\oradata\orcl\temp01.dbf',
'd:\oracle\oradata\orcl\tools01.dbf',
'd:\oracle\oradata\orcl\users01.dbf',
'd:\oracle\oradata\orcl\file1.dbf',
'd:\oracle\oradata\orcl\file2.dbf'
;I'm not sure the RENAME clause allows multiple files to be listed like that. In any event, just reduce the chance of error, I'd do it file by file.
You forgot to mention that you need to actually move the files, at the os level. All the above does is change their entries in the control file. It doesn't do anything at all to the files themselves.
>
shutdown immediate
startup
No need for the shutdown. You could just ALTER DATBASE OPEN.
>
>
you can get a full listing of files by
alter database backup controlfile to trace;
and you can then copy and paste from that ...
Simpler, just select from dba_data_files.
eta. of course assuming you mean move your database files rather than your installation
Edited by: bobonacus on Jun 16, 2011 3:30 PM -
# Question
When I type in "www" in the navagation space of the home page I get a drop down that shows all the web sites I have visited! How do I turn this off? editThat drop-down shows matches from your History and/or Bookmarks. To change what is shown, see "Controlling Behavior" in this article:
*https://support.mozilla.com/en-US/kb/Location%20bar%20autocomplete
<br />
The information submitted with your question indicates that you have out of date plugins with known security and stability issues that should be updated. To see the plugins submitted with your question, click "More system details..." to the right of your original question post.
*Adobe PDF Plug-In For Firefox and Netscape "9.3.2"
**New Adobe Reader X (version 10) with Protected Mode just released 2010-11-19
**See: http://www.securityweek.com/adobe-releases-acrobat-reader-x-protected-mode
*Next Generation Java Plug-in 1.6.0_20 for Mozilla browsers
#'''Check your plugin versions''': http://www.mozilla.com/en-US/plugincheck/
#*'''Note: plugin check page does not have information on all plugin versions'''
#'''Update Adobe Reader (PDF plugin):'''
#*From within your existing Adobe Reader ('''<u>if you have it already installed</u>'''):
#**Open the Adobe Reader program from your Programs list
#**Click Help > Check for Updates
#**Follow the prompts for updating
#**If this method works for you, skip the "Download complete installer" section below and proceed to "After the installation" below
#*Download complete installer ('''if you do <u>NOT</u> have Adobe Reader installed'''):
#**Use the links below to avoid getting the troublesome "getplus" Adobe Download Manager and other "extras" you may not want
#**Use Firefox to download and SAVE the installer to your hard drive from the appropriate link below
#**Click "Save to File"; save to your Desktop (so you can find it)
#**After download completes, close Firefox
#**Click the installer you just downloaded and allow the install to continue
#***Note: Vista and Win7 users may need to right-click the installer and choose "Run as Administrator"
#**'''<u>Download link</u>''': ftp://ftp.adobe.com/pub/adobe/reader/
#***Choose your OS
#***Choose the latest #.x version (example 9.x, for version 9)
#***Choose the highest number version listed
#****NOTE: 10.x is the new Adobe Reader X (Windows and Mac only as of this posting)
#***Choose your language
#***Download the file
#***Windows: choose the .exe file; Mac: choose the .dmg file
#*Using either of the links below will force you to install the "getPlus" Adobe Download Manager. Also be sure to uncheck the McAfee Scanner if you do not want the link forcibly installed on your desktop
#**''<u>Also see Download link</u>''': http://get.adobe.com/reader/otherversions/
#**Also see: https://support.mozilla.com/en-US/kb/Using+the+Adobe+Reader+plugin+with+Firefox (do not use the link on this page for downloading; you may get the troublesome "getplus" Adobe Download Manager (Adobe DLM) and other "extras")
#*After the installation, start Firefox and check your version again.
#'''Update the [[Java]] plugin''' to the latest version.
#*Download site: http://java.sun.com/javase/downloads/index.jsp (Java Platform: Download JRE)
#*Also see "Manual Update" in this article: http://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox#Updates
#* Removing old versions (if needed): http://www.java.com/en/download/faq/remove_olderversions.xml
#* Remove multiple Java Console extensions (if needed): http://kb.mozillazine.org
#*Java Test: http://www.java.com/en/download/help/testvm.xml -
Dropping user is taking long time
Hello,
I am working on Oracle 11g and os is AIX .
i am trying to drop one user , but it is taking log time ..more then i hours..
I found out all session from V$session of this user and kill those using (alter system kill sessoin ..)
but still thoese session are shown in V$session with status - Killed
and i am not able to drop this user ..
i can not restart data base also ..
any idea how i can drop this user ..Hello ,
I am using following query to find out os process lelated to session of that user , but it is showing now rows selectd.
select SPID from V$process where ADDR= (select PADDR from V$session where sid=210) ; (210 is session sid in V$session)
Now i removed these users from the V$session list ,but still i am not able to drop this user ..
it is not showing any message or error..just waiting ..
any idea ... -
Error while trying to drop user
Hi all,
I have a user called cnos. while trying to drop the user i got error ORA-00604: error occurred at recursive SQL level 1 ORA-00942: table or view does not exist. i issue 'drop user cnos cascade' command. my oracle version is 10.2.0.4.0.
I am having TOAD. In that i see the user cnos but list the user in command prompt means using 'select owner from dba_segments' i didnt get the user. please help me.user11272074 wrote:
hi Florian
S cnos user exists in dba_users view. how can i delete it?You cannot "DELETE" a user. You can only "DROP" the user.
Did you go through the metalink reference posted above? -
ORA 3113 error when dropping user
I have an instance of oracle 9.2 that when I drop a user I get the ORA-3113 error.
I have no other problems with this database, It can be started and stopped with out error, users can connect...etc.
I tried the following oracle solution without success
Subject: ORA-03113 While Dropping a User
Doc ID: Note:291186.1 Type: PROBLEM
Last Revision Date: 21-JUL-2005 Status: MODERATED
The information in this document applies to:
Oracle Server - Enterprise Edition - Version: 9.2.0.5
This problem can occur on any platform.
Errors
ORA-03113 "end-of-file on communication channel"
Symptoms
ORA-03113 is thrown, while dropping a User
SQL> drop user test9 cascade;
ORA-03113 end-of-file on communication channel
Cause
Corrupted password file
Check whether REMOTE_LOGIN_PASSWORDFILE is set to { SHARED | EXCLUSIVE}
Fix
-- Recreate the password file.
++ $ orapwd file=orapw<sid> password=<sys's password> entries=<max # user's>
NOTE:
-- Set the REMOTE_LOGIN_PASSWORDFILE=NONE
-- Drop the user
-- If it is successful, You are hitting this problem.Are u getting this error sometimes while connecting to DB.
If not check the trace file generated on the server at failure time.
Regards
Raman
Maybe you are looking for
-
CK11n with activity prices from different plan versions
Hello, We are looking for a simple & practical way to calculate a standard cost estimate for a material using activity prices from different CO plan version. In the valuation variant of the costing variant the CO plan version is determined from where
-
Hello community, According to Verizon, I should have an internet speed of 3360 Kbits/sec by 800 Kbits/sec with my Westell 327W. However, I am according to Speedtest, this was my speed: http://www.speedtest.net/result/2389535126.png I've had this prob
-
Import and new operations using cfimport
This question was posted in response to the following article: http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WS61C07B60-3D65-4d71-8F2A-8411D8010E 60.html
-
App Store not loading over wifi on iOS 6
Since I've updated to iOS 6, I haven't been able to load pretty much anything in the App Store while connected to wifi. It all works perfectly fine over 3G... But I have 130 updates waiting and I'm not using my 3G data for that. I've also been having
-
Running sum current and previous row
Hi All, i want the result as showed in Final output column , can we achieve using anylatical function, plz provide me the solution only using SQL_ **Val YEAR MONTH MONTH_NO Final Out put**_ 22 2001 OCT 10 22 24 200