ORA-01251 on system tablespace
hi folks,
(of course we didn't have any backup)
when we try to open our DB we get:
SVRMGR> alter database open;
alter database open
ORA-01122: database file 19 failed verification check
ORA-01110: data file 19: '/tecdata/oradata/INVSID/system08.dbf'
ORA-01251: Unknown File Header Version read for file number 19
SVRMGR>
We find some recovery solution but not in case of system tablespace datafile
we cannot drop the datafile 'couse we are not able to open the database.
there is any solution?
thanks everyone!
Hello,
in dba_temp_files, it shows MAXBYTES as 34359721984, so UNLIMITED apparently does mean 32GB??As Sybrand posted, it depends on your Block Size.
If you use Smallfile Tablespace (the default) then, each of its Datafile is limited to *4 MBlock* (so 4x1024x1024 blocks). So, for a Block Size of 8 Ko it gives (8x1024)x(4x1024x1024) Bytes = *32 GB*. But, you may have up to *1022* Datafiles for your Tablespace.
So, if you want your Tablespace to extend more than 32 GB you may add other datafiles, up to *1022*. So in fact the maximum size for your Tablespace can reach almost *32 TB* (for a block size of 8 Ko). Of course, in this case, you'll have so many datafiles that it won't be easy to manage them.
This is the reason why, starting with Oracle 10.1 you may create Bigfile Tablespace. They have just one datafile but, it can reach *4 GBlock*, so 32 TB for a Block Size of 8 Ko.
Before using Bigfile Tablespace, you should ensure that your OS can support such large file else, the capacity of the Tablespace could be really limited.
Hope this help.
Best regards,
Jean-Valentin
Similar Messages
-
ORA-03206 when attempting to AUTOEXTEND system tablespace
Hello.
We're running 11.2.0.2.0 on 64-bit Linux.
A week or so ago, I noticed my SYSTEM tablespace was getting close to it's limit of 32G, so I set it to autoextend by 1G, with a max size of UNLIMITED.
This seemed to work. However, EOM shows it as still having a limit of 32G. I'm guessing the limit of 32G is treated as UNLIMITED.
So, I tried extending to 50G. This failed with ORA-03206. Presumably as the SYSTEM tablespace isn't a BIGFILE tablespace.
The majority of suggestions mention reducing the datafile maxsize, which isn't an option for us.
As far as I can see I'll have to either:
1. Add a new datafile (can we do this on SYSTEM?)
2. Change SYSTEM to a BIGFILE tablespace
Can anyone advise on the best course of action here? I'm guessing 1) is safer than 2) and 2) would need downtime, but would also be future proof.
Any help.suggestions would be much apprciated, as always,
Thanks,
RayMany thanks for the quick reply. I also had an inkling that the tablespace was growing unusually fast...turns out it was the FGA_LOG$ table, which lives in the SYSTEM tablespace, which had grown to a massive 25GB!
Another thread deals with a similar issue:
Extents Issue
Truncated FGA_LOG$ and all's well again. We need to examine our FGA policy but for now the problem is solved.
Ray -
ORA-01552: cannot use system rollback segment for non-system tablespace
i try to create a table in new schema test1 and got the following error. please help.
SQL> create table employer1 as select * from a.employer;
create table employer1 as select * from a.employer
ERROR at line 1:
ORA-01552: cannot use system rollback segment for non-system tablespace 'TEST1'Hi,
This is an example:
SQL>
CREATE UNDO TABLESPACE "UNDOTMP"
DATAFILE 'UNDOTMP.DBF01' SIZE 100M REUSE
AUTOEXTEND ON NEXT 51200K MAXSIZE 15000M
ALTER SYSTEM SET undo_tablespace=UNDOTMP SCOPE=BOTH;
Regards
David Duenas
Edited by: David Duenas on Jul 4, 2009 7:33 PM -
When executing 'duplicate target database for standby from active' the system tablespace/datafile (datafile 1) is not cloned. All other datafiles clone successfully. The RMAN process aborts with the following errors while attempting to clone the system tablespace/datafile.
ORA-19558: error de-allocating device
ORA-19557: device error, device type: DISK, device name:
ORA-17627: ORA-01041: internal error. hostdef extension doesn't exist
ORA-17627: ORA-01041: internal error. hostdef extension doesn't exist
ORA-03135: connection lost contact
Here are the details:
Primary is 11.2.0.2 RAC database on an Exadata platform
Standby is 11.2.0.2 Single Instance database (same patch level as primary) on a Red Hat Linux box
This is an ASM to ASM duplication.
This is not unique to this database. We tried another database and go the same behavior - all datafiles clone successfully with the exception of the system tablespace/datafile.
We have traced the RMAN execution and it seems to fail when it is trying to assign a NEWNAME to the system tablespace/datafile.
We even issued an explicit SET NEWNAME command but RMAN ignored it.
We also shutdown the primary and started is up in mount mode thinking that something had ahold of the System Tablespace/datafile.
We also opened up the network firewall to allow permit any,any traffic.
We increased the max_server_processes
and added TCP.NODELAY=yes to the sqlnet.ora file.
There seems to be some artifact present in our Primary System tablespace/data file that is preventing it form being cloned.
checked all alert files grid, asm, and dbhome - no abnormal messages.
We are in the process of restoring the database from a backup but we would prefer to get this working using the 'Active Database' methodologyI successfully created the standby database using RMAN backup and recovery.
I started the managed recovery. Archive logs are being sent from the primary to the standby ( I can see them in ASM), but the standby is not applying them.
I get the following messages in the standby alert log...
Fetching gap sequence in thread 2, gap sequence 154158-154257
Tue Nov 26 16:19:58 2013
Using STANDBY_ARCHIVE_DEST parameter default value as USE_DB_RECOVERY_FILE_DEST
Using STANDBY_ARCHIVE_DEST parameter default value as USE_DB_RECOVERY_FILE_DEST
Tue Nov 26 16:20:01 2013
Fetching gap sequence in thread 2, gap sequence 154158-154257
Tue Nov 26 16:20:11 2013
Fetching gap sequence in thread 2, gap sequence 154158-154257
Tue Nov 26 16:20:22 2013
Fetching gap sequence in thread 2, gap sequence 154158-154257
Tue Nov 26 16:20:32 2013
Fetching gap sequence in thread 2, gap sequence 154158-154257
I don't see any MRP processes:
select process,
status,
thread#,
sequence#,
block#,
blocks
7 from v$managed_standby;
PROCESS STATUS THREAD# SEQUENCE# BLOCK# BLOCKS
ARCH CLOSING 2 154363 1 132
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
RFS IDLE 0 0 0 0
RFS IDLE 1 145418 121 1
RFS IDLE 0 0 0 0
PROCESS STATUS THREAD# SEQUENCE# BLOCK# BLOCKS
RFS IDLE 0 0 0 0
12 rows selected.
SQL> SELECT THREAD#, SEQUENCE#, APPLIED FROM V$ARCHIVED_LOG;
THREAD# SEQUENCE# APPLIED
2 154356 NO
2 154357 NO
1 145411 NO
2 154358 NO
2 154360 NO
2 154361 NO
1 145414 NO
1 145415 NO
2 154362 NO
2 154363 NO
1 145416 NO
11 rows selected.
I do have the archive logs that cover sequences 154158-154257
Crosschecked 38 objects
Crosschecked 62 objects
Finished implicit crosscheck backup at 26-NOV-13
Starting implicit crosscheck copy at 26-NOV-13
using channel ORA_DISK_1
using channel ORA_DISK_2
Crosschecked 2 objects
archived log file name=+RECO_XORA/nmuasb00/archivelog/2013_11_26/thread_2_seq_154377.344.832521989 RECID=29 STAMP=832521990
validation succeeded for archived log
archived log file name=+RECO_XORA/nmuasb00/archivelog/2013_11_26/thread_2_seq_154378.346.832521991 RECID=31 STAMP=832521993
Crosschecked 31 objects -
No privileges on system tablespace?
I am a new dba & have succesfully created tables and added constraints.
Today I tried to add a constraint to an existing table, and received the message
ORA-01950: no privileges on tablespace 'SYSTEM'
I tried to add the constraint as the owner of the table, as a user with granted privs on the table, and finally as SYS, and get the same error.
The system tablespace is only about 60% full, and I have not changed any user privs since I last sucessfully added constraints.
If someone would give me a clue as to what's going on, I would really appreciate it.
Thanks, HelenI granted unlimited tablespace to the user that owns the table, and the constraint was added successfully.
I don't know if a user should have unlimited tablespace on SYSTEM...any advice on what a good limit would be? My system tablespace is 325 M and about 60% full. Would it make sense to grant sys unlimited tablespace on SYSTEM?
Thanks very much for your help. You gave me the incentive to keep trying things until something worked. -
Migrating SYSTEM tablespace from DMTS to LMTS in Oracle 9.2.0.7
Migrating SYSTEM tablespace from DMTS to LMTS in Oracle 9.2.0.7 using
brspace -f dbcreate
SAP version: 4.6C
Oracle: 9.2.0.7
OS: AIX 5.3
BRTools: 6.40(42) /** 6.40(10) or (12) will be sufficient according to SAP ***/
IMPORTANT ***************************************
MUST DO:
1. Create a Full Backup of your system
2. Test your Restore and recovery of your backup.
3. Have a copy of all your tablespaces names on hand
4. Know your SYS and SYSTEM passwords
5. Run CheckDB in DB13 to ensure it is completed successfully with no warnings. This reduce the chance of hitting errors in the process
6. Ensure your UNDO tablespace is big enough
7. OSS 400241 Problems with ops$ or sapr3 connect to Oracle
NOTE: OSS 706625(Read this note)
The migration from a dictionary-managed SYSTEM tablespace to a locally-managed tablespace using the PL/SQL procedure DBMS_SPACE_ADMIN.TABLESPACE_MIGRATE_TO_LOCAL is not supported in the SAP environment.
In UNIX, logon as ora<sid>
run command: brspace -f dbcreate
This command will triggers a Menu. The are seven(7) steps to complete the whole process. Do them in sequence, from step 1 to step 7 faithfully. In Step 1, ensure that your settings of PSAPTEMP, PSAPUNDO etc details such as filenames are correct. The rest I leave it as default and they are fine. Do not change redo log group from 8 to 4 even if you only have 4 redo groups. If not, you might need to restore the system! If the seven steps are complete without errors(warnings is acceptable), congrats. Perform a backup again.
Problems I encountered that caused me to restore system:
1./ Problem: I changed the redo group from 8 to 4 and in the later stage after the tablespaces and files are dropped, the system prompted me that 4 is not acceptable! I can't go back then so a restore is performed.
Solution: Leave the default value 8 as it is
2./ I was using wireless network and the network breaks thus process breaks.
Solution: This process in user-interactive and requires you to input confirmation along the way so do it using LAN.
3./ In the process of dropping tablespace PSAP<SID>, I encountered:
BR0301E SQL error -604 at location BrTspDrop-2
ORA-00601: error occurred at recursive SQL level 1
ORA-01555: snapshot too old: rollback segment number 22 with name '_SYSSMU22$" too small
Solution: I have not fixed this yet but I think it is because my PSAPUNDO is too small(800M) so I will increase it to a bigger value e.g. 5GB
4. Problem: Unable to start sap after successfully migrated. OPS$user problem
Solution: logon as <sid>adm, run R3trans -x in a directory that <sid>adm has read/write permission. R3trans -x will creates a file call trans.log. Read the details and refer to OSS 400241
Result: I have successfully performed this on one(1) system and doing this on the another one currently but encounter Problem 3. Will update this further if there are more findings.
REFERENCE:
OSS 748434 New BRSPACE function "dbcreate" - recreate database
OSS 646681 Reorganizing tables with BRSPACE
OSS 541538 FAX: Reorganizations
Message was edited by:
Annie Chan
Message was edited by:
Annie Chan
Message was edited by:
Annie ChanThe current one I am implementing is a development system. The database is less than 100GB. 800MB of PSAPUNDO is sufficient for our development usage.
Follow up on Problem 3:
I created another undo tablespace PSAPUNDO2(undodata.dbf) with size of 5GB. I switched undo tablespace to PSAPUNDO2 and placed PSAPUNDO(undo.data1) offline. With PSAPUNDO2 online and PSAPUNDO offline, I started brspace -f dbcreate and encountered the error below at Step 2 Export User tablespace:
BR0301E SQL error -376 at location BrStattabCreate-3
ORA-00376: file 17 cannot be read at this time
ORA-01110: data file 17: '/oracle/DVT/sapdata1/undo_1/undo.data1'
ORA-06512: at 'SYS.DBMS_STATS", line 5317
ORA-06512: at line 1
I aborted the process and verified that SAP is able to run with this settings. I started CheckDB in DB13 and it shows me these messages:
BR0301W SQL error -376 at location brc_dblog_open-5
ORA-00376: file 17 cannot be read at this time
ORA-01110: data file 17: '/oracle/DEV/sapdata1/undo_1/undo.data1'
BR0324W Insertion of database log header failed
I don't understand then. I have already switched the undo tablespace from PSAPUNDO to PSAPUNDO2. Why the message above still appears? Once I put PSAPUNDO online, CheckDB completes successfully without warning.
I did show parameter undo_tablespace and the result is PSAPUNDO2(5GB).
So exactly, what's going on? Can anyone advise?
===============================================
I have managed to clear the message in DB13 after dropping PSAPUNDO tablespace including contents and datafiles. This is mentioned is OSS note 600141 pg 8 as below:
Note: You cannot just set the old rollback-tablespace PSAPROLL to offline instead of deleting it properly. This results in ORA-00376 in connection with ORA-01110 error messages. PSAPROLL must remain ONLINE until it is deleted. (Oracle bug 3635653)
Message was edited by:
Annie Chan -
SYSTEM Tablespace issue (10.2.0.1 database)
Hi ,
Oracle database 10.2.0.1 (upgraded from 8.1.7.0 via 8.1.7.4)...successfully upgraded
Now when we open dbcontrol, we are getting alerts regarding the Tablespace.
It shows two critical alert messages as below :-
1) Tablesapace SYSTEM (dictionary managed) is 95.16 % full
2) 1 segment in SYSTEM tablespace is unable to extend.
Now how to deal with this type of issues ?
Can we extend the size of datafile of SYSTEM Tablespace which is dictionary managed ? or can we add another new datafile to system tablespace ? what is appropriate solution ?SYSTEM Tablespace
How to solve the point no. (2) as the TS is dictionary managed ?
With Regardshi ,
Plz add the datafile to the system tablespace tp increase its size , and the conver the system tablespace from dictionary managed to local.
To Change SYSTEM tablespaces to locally managed follow the below procedures:
Before the SYSTEM tablespace can be migrated to locally managed format, you should ensure the following:
The database has a default temporary tablespace which is not SYSTEM
There are not any rollback segments in dictionary managed tablespaces
There is at least one online rollback segment in a locally managed tablespace, or an undo tablespace (if using automatic undo management mode) should be online.
All tablespaces other than the tablespace containing the undo space (undo tablespace or the tablespace containing the rollback segment) and the default temporary tablespace are in read-only mode.
There is a complete backup of the system.
The system is in restricted mode.
Notr, that we already have an UNDO Tablespace. The following query determines whether the SYSTEM tablespace is locally managed:
SQL> SELECT ts# FROM ts$ WHERE ts# = 0 AND bitmapped <> 0;
If 0 rows are returned, then the SYSTEM tablespace is dictionary managed. Otherwise, the SYSTEM tablespace is locally managed.
Steps to change SYSTEM tablespaces to locally managed
SQL> shutdown immediate
SQL> startup restrict
SQL> execute DBMS_SPACE_ADMIN.TABLESPACE_MIGRATE_TO_LOCAL ('SYSTEM');
ERROR at line 1:
ORA-10644: SYSTEM tablespace cannot be default temporary tablespace
ORA-06512: at "SYS.DBMS_SPACE_ADMIN", line 227
ORA-06512: at line 1
SQL> ALTER DATABASE DEFAULT TEMPORARY TABLESPACE temp;
SQL> execute DBMS_SPACE_ADMIN.TABLESPACE_MIGRATE_TO_LOCAL ('SYSTEM');
ERROR at line 1:
ORA-10647: Tablespace other than SYSTEM, UNDO, TEMP not
found in read only mode
ORA-06512: at "SYS.DBMS_SPACE_ADMIN", line 227
ORA-06512: at line 1
SQL> select tablespace_name from dba_tablespaces;
TABLESPACE_NAME
SYSTEM
TEMP
USERS
TAB
IDX
SYSAUX
UNDO
SQL> alter tablespace USERS read only;
SQL> alter tablespace TAB read only;
SQL> alter tablespace IDX read only;
SQL> execute DBMS_SPACE_ADMIN.TABLESPACE_MIGRATE_TO_LOCAL ('SYSTEM');
ERROR at line 1:
ORA-10648: Tablespace SYSAUX is not offline
ORA-06512: at "SYS.DBMS_SPACE_ADMIN", line 227
ORA-06512: at line 1
SQL> alter tablespace SYSAUX offline;
SQL> execute DBMS_SPACE_ADMIN.TABLESPACE_MIGRATE_TO_LOCAL ('SYSTEM');
PL/SQL procedure successfully completed.
Regards,
Mohd Mehraj Hussain
http://mehrajdba.wordpress.com -
System tablespace file suffered media failure
Hi All,
Our DB is shutdown due to this error:
===
ORA-01243: system tablespace file suffered media failure
ORA-01122: database file 1 failed verification check
ORA-01110: data file 1: '/dumps/rmodevdb/db/apps_st/data/system01.dbf'
ORA-01206: file is not part of this database - wrong database id
CKPT: terminating instance due to error 1243
Instance terminated by CKPT, pid = 8203
====
Please let me know how to resolve this.
Thanks,
KishoreYes Aman.. This happened after cloning in apps.
However, issue got resolved.
Data files were zipped using tar- cvzf ...
I could successfully complete the cloning when backup is taken with "tar cvf" (with out including z)
So, learnt that datafiles should not be zipped when tar.
But datafiles can be zipped using gzip after " tar cvf " is completed.
Am i right ? -
Block Corruption in SYSTEM Tablespace
Hi,
well it´s just a test database without a backup, but i would like to repair it anyway :-)
Here are the facts:
Errors in file c:\oracle\admin\o10g\bdump\o10g_smon_1404.trc:
ORA-01578: ORACLE data block corrupted (file # 1, block # 50187)
ORA-01110: data file 1: 'C:\ORACLE\ORADATA\O10G\SYSTEM01.DBF'
1. I found the object: It´s a Cluster named SYS.C_TOID_VERSION#
containing a lot of table stuff (type$,parameter$, ...)
i tried to repair it with dbms_repair:
BEGIN SYS.DBMS_REPAIR.SKIP_CORRUPT_BLOCKS (
SCHEMA_NAME => 'SYS',
OBJECT_NAME => 'C_TOID_VERSION#',
OBJECT_TYPE => dbms_repair.cluster_object,
FLAGS => dbms_repair.skip_flag);
END;
No error, but the same block corruption message in the alert.log 1 minute later.
i can select the tables in the cluster.
Has anyboby another trick to repair a cluster?
Thanks
MarcoHi,
if you have rman backup then this problem become resolved by only one command.
BLOCKRECOVER DATAFILE 1 BLOCK 3 DATAFILE 50187;
otherwise restore system tablespace from backup and recover it.
and one more thing
**Don't fix the block in system tablespace it may create problem if that block contain some useful information of oracle(internal information).
Thanks
Kuljeet Pal Singh -
Problem with purge temp and system tablespace
hi,
i am purging tablespec with sys user and it seems doing it, but tablespaces are still full
also wanted to drop a datafile
alter tablespace system drop
datafile 'C:\oraclexe\files\sys.bf'
and it giving the following error
Error starting at line 28 in command:
alter database datafile 'C:\oraclexe\files\sys.bf' offline drop
Error report:
SQL Error: ORA-01541: system tablespace cannot be brought offline; shut down if necessary
01541. 00000 - "system tablespace cannot be brought offline; shut down if necessary"
*Cause: Tried to bring system tablespace offline
*Action: Shutdown if necessary to do recovery
but if i shutdown how i drop it? or delete manually the file?
sorry for the 2 question in one thread
thanksbut if i shutdown how i drop it? or delete manually the file?Operate in MOUNT state.
But If you need to resize your system tablespace, You have to check HWM.
On XE, I think it's easy to use full exp -> recreate -> full imp..
Regards, -
SYSTEM tablespace extend issue
Hello, I am migrating from 8.1.7 to 9i and I got following error:
ORA-1652: unable to extend temp segment by 3200 in tablespace SYSTEM
As part of migration I added a new data file to system with 100 MB. So in total I have 250 MB of SYSTEM tablespace. Can someone tell mw what I can do?
thanks
SureshI have 6 other dBs in 9i and I want to bring all dBs to same level before moving to 10g. Plan is to upgrate to 10g by end of this year.
Can I just add more space and restart the migration or do I need to restore a backup copy and then start the migration?
thanks
Suresh -
Database file changed ora-01251 how to solve?
hai all,
database file changed ora-01251 how to solve?
suddenly changed when i try to connect Oracle Management server(OMS)
thanks
rcs
=======
os:winxp
db:Oracle9i Enterprise Edition Release 9.0.1.1.1 - Production
SQL> Recover database
ORA-00283: recovery session canceled due to errors
ORA-01110: data file 9: 'F:\ORACLE\ORADATA\BIMPEX\BIMPEX.ORA'
ORA-01122: database file 9 failed verification check
ORA-01110: data file 9: 'F:\ORACLE\ORADATA\BIMPEX\BIMPEX.ORA'
ORA-01251: Unknown File Header Version read for file number 9
WRONG FILE TYPE
F:\ORACLE\ORADATA\BIMPEX\BIMPEX.ORA
========Hi..
Would like to know if any changes were done before this error popped up..
From metalink :--
>
Error: ORA-1251
Text: Unknown File Header Version read for file number %s
Cause: Read of the file header returned a record but its version cannot be
identified. Either the header has been corrupted, or the file is not a
valid database file.
Action: Have the operating system make the correct file available to the
database, or recover the file.
>
If the file is corrupted, then take the datafile offline and open the database.If it was renamed, then you can check metalink Doc ID: 230449.1
if the database is in archive log mode, you can refer to metalink Doc ID: 333620.1
HTH
Anand -
Missing datafile from system-tablespace?
Hello!
We've got a major power-loss yesterday. After that our database does not start correct.
I got the message:
ORA-00600: Interner Fehlercode, Argumente: [kccpb_sanity_check_2], [9577], [9542], [0x0], [], [], [], []
After that I searched the forum and recreated the controlfiles and started recover database.
Now I always got the following error-message:
ORA-01173:Data dictionary indicates missing data file from system tablespace
I'm not really shure if I created another datafile for that tablespace. Even though there is no other datafile in the "oradata-directory".
Does anyone know how to go further?
Regards, Sascha
Message was edited by:
SoreheadHello,
Need help very quickly please!
I have the same error message. ORacle 10.2.0.3 AIX 5.3 on a datawarehouse.
I need to recover one tablespace from the database.
I restored my system tablespace and the data tablespace on a test environment and recreated the controlfile. I recovered my database. Recover OK and when I open the database resetlogs the message is :
Thread 1 opened at log sequence 1
Current log# 2 seq# 1 mem# 0: /oradata5/RL_G2_1.ORA
Successful open of redo thread 1
Thu Feb 18 13:59:47 2010
SMON: enabling cache recovery
Thu Feb 18 13:59:47 2010
Errors in file /opt/app/oracle/admin/MKT1/udump/mkt1_ora_2318672.trc:
ORA-00704: bootstrap process failure
ORA-00604: error occurred at recursive SQL level 2
ORA-01173: data dictionary indicates missing data file from system tablespace
Thu Feb 18 13:59:47 2010
Error 704 happened during db open, shutting down database
USER: terminating instance due to error 704
Instance terminated by USER, pid = 2318672
ORA-1092 signalled during: alter database open resetlogs...
Thanks for help, production data ;) -
Cannot use system rollback segment for non-system tablespace 'TEMP
Hi everyone!
I encountered this error: "Cannot use system rollback segment for non-system tablespace 'TEMP"
So this is what I did to check if the undo stuffs are online.
SQL> select tablespace_name,status from dba_tablespaces;
TABLESPACE_NAME STATUS
SYSTEM ONLINE
UNDO ONLINE
SYSAUX ONLINE
TEMP ONLINE
LARGEDATA ONLINE
LARGEINDEXES ONLINE
MEDIUMDATA ONLINE
MEDIUMINDEXES ONLINE
SMALLDATA ONLINE
SMALLINDEXES ONLINE
XSMALLDATA ONLINE
TABLESPACE_NAME STATUS
XSMALLINDEXES ONLINE
XXSMALLTABS ONLINE
USERS ONLINE
CONVTABLES ONLINE
UNDO_02 ONLINE
16 rows selected.
SQL> SELECT tablespace_name, sum((bytes/1024)/1024) free FROM DBA_FREE_SPACE gr
oup by tablespace_name;
TABLESPACE_NAME FREE
LARGEDATA 18.3105469
SMALLDATA 10.46875
SYSAUX 106.5625
UNDO_02 67.125
XXSMALLTABS 13.0078125
CONVTABLES 170.039063
MEDIUMDATA 22
USERS 37.265625
SYSTEM 55.875
LARGEINDEXES 30.5175781
XSMALLINDEXES 17.34375
TABLESPACE_NAME FREE
UNDO 546.9375
MEDIUMINDEXES 33.25
SMALLINDEXES 31.015625
XSMALLDATA 23.6328125
15 rows selected.
SQL> select file#,status from v$datafile;
FILE# STATUS
1 SYSTEM
2 ONLINE
3 ONLINE
4 ONLINE
5 ONLINE
6 ONLINE
7 ONLINE
8 ONLINE
9 ONLINE
10 ONLINE
11 ONLINE
FILE# STATUS
12 ONLINE
13 ONLINE
14 ONLINE
15 ONLINE
15 rows selected.
SQL> select segment_name, tablespace_name, initial_extent,status
2 from dba_rollback_segs;
SEGMENT_NAME TABLESPACE_NAME INITIAL_EXTENT
STATUS
SYSTEM SYSTEM 102400
ONLINE
_SYSSMU1$ UNDO 131072
OFFLINE
_SYSSMU2$ UNDO 131072
OFFLINE
SEGMENT_NAME TABLESPACE_NAME INITIAL_EXTENT
STATUS
_SYSSMU3$ UNDO 131072
OFFLINE
_SYSSMU4$ UNDO 131072
OFFLINE
_SYSSMU5$ UNDO 131072
OFFLINE
SEGMENT_NAME TABLESPACE_NAME INITIAL_EXTENT
STATUS
_SYSSMU6$ UNDO 131072
OFFLINE
_SYSSMU7$ UNDO 131072
OFFLINE
_SYSSMU8$ UNDO 131072
OFFLINE
SEGMENT_NAME TABLESPACE_NAME INITIAL_EXTENT
STATUS
_SYSSMU9$ UNDO 131072
OFFLINE
_SYSSMU10$ UNDO 131072
OFFLINE
_SYSSMU11$ UNDO_02 131072
OFFLINE
SEGMENT_NAME TABLESPACE_NAME INITIAL_EXTENT
STATUS
_SYSSMU12$ UNDO_02 131072
OFFLINE
_SYSSMU13$ UNDO_02 131072
OFFLINE
_SYSSMU14$ UNDO_02 131072
OFFLINE
SEGMENT_NAME TABLESPACE_NAME INITIAL_EXTENT
STATUS
_SYSSMU15$ UNDO_02 131072
OFFLINE
_SYSSMU16$ UNDO_02 131072
OFFLINE
_SYSSMU17$ UNDO_02 131072
OFFLINE
SEGMENT_NAME TABLESPACE_NAME INITIAL_EXTENT
STATUS
_SYSSMU18$ UNDO_02 131072
OFFLINE
_SYSSMU19$ UNDO_02 131072
OFFLINE
_SYSSMU20$ UNDO_02 131072
OFFLINE
SEGMENT_NAME TABLESPACE_NAME INITIAL_EXTENT
STATUS
_SYSSMU21$ UNDO_02 131072
OFFLINE
22 rows selected.How should I be bringing them online?
I tried this but didn't work for me.
SQL> alter rollback segment _SYSSMU1$ online;
alter rollback segment _SYSSMU1$ online
ERROR at line 1:
ORA-00911: invalid character
SQL> alter rollback segment '_SYSSMU1$' online;
alter rollback segment '_SYSSMU1$' online
ERROR at line 1:
ORA-02245: invalid ROLLBACK SEGMENT name
SQL> alter rollback segment _SYSSMU21$ online;
alter rollback segment _SYSSMU21$ online
ERROR at line 1:
ORA-00911: invalid character
SQL> alter rollback segment SYSSMU21$ online;
alter rollback segment SYSSMU21$ online
ERROR at line 1:
ORA-01534: rollback segment 'SYSSMU21$' doesn't exist
SQL> alter rollback segment '_SYSSMU21$' online;
alter rollback segment '_SYSSMU21$' online
ERROR at line 1:
ORA-02245: invalid ROLLBACK SEGMENT name
SQL> alter rollback segment "_SYSSMU21$" online;
alter rollback segment "_SYSSMU21$" online
ERROR at line 1:
ORA-30017: segment '_SYSSMU21$' is not supported in MANUAL Undo Management mode
SQL> ALTER SYSTEM SET UNDO_MANAGEMENT=AUTO SCOPE=SPFILE;
System altered.Should I be bringing every segment online separately? Please guide me.
Nith
Edited by: user645399 on Feb 23, 2011 2:52 PMSQL> select segment_name, tablespace_name, initial_extent,status
2 from dba_rollback_segs;
SEGMENT_NAME TABLESPACE_NAME INITIAL_EXTENT
STATUS
SYSTEM SYSTEM 102400
ONLINE
_SYSSMU1$ UNDO 131072
ONLINE
_SYSSMU2$ UNDO 131072
ONLINE
SEGMENT_NAME TABLESPACE_NAME INITIAL_EXTENT
STATUS
_SYSSMU3$ UNDO 131072
ONLINE
_SYSSMU4$ UNDO 131072
ONLINE
_SYSSMU5$ UNDO 131072
ONLINE
SEGMENT_NAME TABLESPACE_NAME INITIAL_EXTENT
STATUS
_SYSSMU6$ UNDO 131072
ONLINE
_SYSSMU7$ UNDO 131072
ONLINE
_SYSSMU8$ UNDO 131072
ONLINE
SEGMENT_NAME TABLESPACE_NAME INITIAL_EXTENT
STATUS
_SYSSMU9$ UNDO 131072
ONLINE
_SYSSMU10$ UNDO 131072
ONLINE
_SYSSMU11$ UNDO_02 131072
OFFLINE
SEGMENT_NAME TABLESPACE_NAME INITIAL_EXTENT
STATUS
_SYSSMU12$ UNDO_02 131072
OFFLINE
_SYSSMU13$ UNDO_02 131072
OFFLINE
_SYSSMU14$ UNDO_02 131072
OFFLINE
SEGMENT_NAME TABLESPACE_NAME INITIAL_EXTENT
STATUS
_SYSSMU15$ UNDO_02 131072
OFFLINE
_SYSSMU16$ UNDO_02 131072
OFFLINE
_SYSSMU17$ UNDO_02 131072
OFFLINE
SEGMENT_NAME TABLESPACE_NAME INITIAL_EXTENT
STATUS
_SYSSMU18$ UNDO_02 131072
OFFLINE
_SYSSMU19$ UNDO_02 131072
OFFLINE
_SYSSMU20$ UNDO_02 131072
OFFLINE
SEGMENT_NAME TABLESPACE_NAME INITIAL_EXTENT
STATUS
_SYSSMU21$ UNDO_02 131072
OFFLINEStill undo_02's segments are offline. -
Error:cannot use system rollback segment for non-system tablespace
Hi,
I have created a oracle database 10.2.0 on fedora 9 system. I have created a user and assigned the default tablespace SATYA and given the permissions. But when I create a table in the user I am getting the following error.
Can anyone help me in rectifying this error.
ORA-01552: cannot use system rollback segment for non-system tablespace 'SATYA'
thankyou
satyaUndo management is either AUTO or Manual, no local
http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/undo.htm#sthref1469
Since you are using 10g, you are recommended to use Auto undo management
If you still plan to use manual undo management, make sure you have other non-system rollback segment in place.
Maybe you are looking for
-
Material stock received and issued for a given period of time
HOW to get the material stock received and issued for a given period of time including the open orders. if there is any BAPI Available then please tell me. or give me the table relations thaks. thanks inadvance
-
Substyle of theme is displayed in preview but not in map
Hi All, i am developing a map with the oracle sample schema oe and i want to display customer data based on the two parameters credit_limit and income_level. i created two advanced styles: for income_level: <?xml version="1.0" ?> <AdvancedStyle>
-
Dear all, I've come across an interesting JBuilder problem that is slightly different to the other ones I've seen on this forum when i searched Background: I've been making an address book program for my computer to help me learn java and up to now i
-
Does ipod nano 7th gen download apps
does ipod nano 7th gen download apps like running apps, exercise apps, etc
-
HELP!! ITUNES 10.5
I tried downloading the new iTunes 10.5 but i keep getting an message that the installation failed due to an unexpected error. How can I download iTunes? Actually my old iTunes doesn't open now either...