Mammalian Protein Expression
Truly Functional Protein
95% Purity
Fast turnaround
Transient Expression
1-10 mg from CHO or 293 Cells
Start from $3950


Baculovirus Protein Expression
Functional Protein
95% Purity
Fast turnaround
1-10 mg from insect Sf9 cells
Start from $3950


High Titer Lentivirus
ORF, shRNA & Reporters
>10^9 titer
* Custom shRNA & cDNA Constructs
* Scramble shRNA
* Cre & FLP Recombinases
* Luciferases, Fluorescent Proteins
* Lentiviral Packaging Service
* Stable Cell Lines
* Induced Pluripotent Stem Cells


High Titer Adenovirus & AAV
ORF, shRNA & Reporters
>10^10 titer
* Custom shRNA & cDNA Constructs
* Scramble shRNA
* Cre & FLP Recombinases
* Luciferases, Fluorescent Proteins
* Transient Protein Expression
* Stable Cell Lines
* Induced Pluripotent Stem Cells

Excellgen

How to shrink Undo Tablespace datafile to smaller size by dropping and recreating new undo tablespace

You created undo tablespace using AUTOEXTEND ON MAXSIZE UNLIMITED to avoid error.

Your have just done puring (deleting millions of rows) on your production database and you noticed that your undo tablespace datafile is huge in size.

You tried to use “ALTER DATABASE DATAFILE .. RESIZE”, and this command failed with ORA-3297 error. , i.e.: “file contains ~~ blocks of data beyond requested RESIZE value”.

So you should drop and recreate undo tablespace using the following commands:

1, Connect to Oracle

sqlplus /nolog

connect sys/xxx@crm as sysdba

2, Find out which undo tablespace is being used:

select name,value from v$parameter where name in ('undo_management','undo_tablespace');

NAME VALUE
------------------- -------------------
undo_management AUTO
undo_tablespace UNDOTBS1

3, Create new undo tablespace UNDOTBS2 with smaller size.

SQL> create undo tablespace UNDOTBS2 datafile K:\oradata\CRM\UNDOTBS2_01.DBF' size 1000m reuse;

4, Tell Oracle to use new undo tablespace.

SQL> alter system set undo_tablespace=UNDOTBS2;

5, Now you can safely drop and recreate tablespace UNDOTBS1.

SQL> drop tablespace UNDOTBS1 including contents;

Tablespace dropped.

SQL> create undo tablespace UNDOTBS1 datafile ‘K:\oradata\CRM\UNDOTBS1_01.DBF’ size 2000m reuse;

Tablespace created.

Tags:

April 15, 2007 at 10:33 am

5 Comments »

  1. Malay said,

    October 10, 2007 @ 2:45 am

    GOOD

  2. Erkki said,

    June 17, 2008 @ 9:57 am

    Thanks! All Oracle gurus had already left and I was desperately out of space. And it still works… (although I had to delete the datafile manually after drop)

  3. mohamed mamdouh said,

    June 24, 2008 @ 6:08 am

    many thanks

  4. Alek Enirevlow said,

    December 6, 2008 @ 8:11 pm

    Erkki, you’ll need to use:
    drop tablespace UNDOTBS1 including contents and datafiles;

  5. Aleks said,

    January 28, 2009 @ 7:35 pm

    “#
    Alek Enirevlow said,

    December 6, 2008 @ 8:11 pm

    Erkki, you’ll need to use:
    drop tablespace UNDOTBS1 including contents and datafiles;”

    You don’t if you use the reuse command when re-creating the tablespace.

RSS feed for comments on this post · TrackBack URI

Leave a Comment

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word


Sponsored Links Lab Supply Mall http://www.labsupplymall.com

Baculovirus Protein Expression
Fast turn around, >95% purity functional protein. No outsourcing to China or India. $5500, $3950
Transient Protein Expression in CHO and HEK293 Cells
Transient Expression, Truly Functional Protein, 95% purity, 1~20 mg, fast turnaround. $5500, $3950
Recombinant Lentivirus & Adenovirus
High Yield and High Titer virus for Guaranteed Expression of GOI. $3000, $2500