Home > Ask the Oracle Database / Applications Experts > Oracle database internals Questions & Answers > Shrinking the size of the Oracle SYSTEM tablespace
Ask The Oracle Expert: Questions & Answers
EMAIL THIS

Shrinking the size of the Oracle SYSTEM tablespace

Mike Ault EXPERT RESPONSE FROM: Mike Ault

Pose a Question
Other Oracle Categories
Meet all Oracle Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 28 September 2004

We are trying to shrink the Oracle SYSTEM tablespace to release approximately 10 gigabytes to the Windows 2000 operating system. So far we have moved 2 large tables from SYSTEM to another tablespace (on another drive) using the ALTER TABLE MOVE TABLESPACE command. This has reduced the SYSTEM usage by about 10 gigabytes, but Oracle is still keeping the 10 gigabytes as already allocated and NOT allowing it for use by Windows for other purposes.

All attempts to modify the SYSTEM tablespace using alter table, or alter tablespace have failed, either with error ORA-25143 or with "cannot modify local storage," et cetera. Obviously we cannot drop SYSTEM and redefine its extents. So our question is, how do we shrink the SYSTEM tablespace to the minimum extent?



Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
Oracle database internals
How to find a dropped table?
Removing carriage returns at the end of clob fields
Finding length of numeric datatype field
Problem with incoming parameter in dynamic SQL statement
Reading WSID from back-end
Making a select statement faster
Select * from loc
Difference between 9i and 10g OCP exams
Concatenate values separated with commas
How to free up more space for Oracle?

Oracle database design and architecture
Why am I receiving Oracle memory allocation errors?
How to join two tables with unique keys in Oracle
Can I check an Oracle instance without logging into the Oracle server?
How does the Oracle LGWR write to online redo log files?
How to determine your SQL database through needs analysis
Breaking down the contenders in the SQL database market
The MySQL open source database in the enterprise
Diving deeper into the SQL database features
What managers should consider when starting a database scaling project
How to use V$SEGMENT_STATISTICS to find the most accessed Oracle table

Oracle error messages
Why am I receiving Oracle memory allocation errors?
Oracle tutorial library: SearchOracle.com's learning guides
Oracle error 6550 may mean incorrect Oracle export version
Why does the archive log in Oracle give me the ORA-16032 error?
Are we getting the ORA-00382 error because we're at maximum block size?
How do I solve the ORA-00257 error in Oracle?
Solving common Oracle errors guide
Error during RMAN backup
ORA-12560 error with Oracle 10g Instant Client
Unable to view Oracle tables in NetBeans

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
E. F. Codd  (SearchOracle.com)
extent  (SearchOracle.com)
flexfield  (SearchOracle.com)
foreign key  (SearchOracle.com)
multidimensional database  (SearchOracle.com)
object-oriented database management system  (SearchOracle.com)
quad tree  (SearchOracle.com)
relational online analytical processing  (SearchOracle.com)
row  (SearchOracle.com)
splay tree  (SearchOracle.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


Sorry, you probably can't. This is why you never place anything but data dictionary tables in SYS. You see, even though you removed the objects, other objects may have extended around them, thus you have the classic "swiss cheese" form of fragmentation, bubbles of free space surrounded by data. You can only shrink until you hit the first piece of used tablespace. You can try to create a map of the tablespace and determine what objects are causing the problems, but you can't rebuild the majority of objects in the system tablespace so it may be a moot point anyway. I'm afraid you are stuck until you can rebuild the entire database.




Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



Oracle White Papers: Fusion Middleware
HomeNewsTopicsTipsAsk the ExpertsMultimediaWhite PapersProductsBlogs
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2003 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts