- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Removing Fragmentation in SYSTEM Tablespace
Operating System - HP-UX
1822430
Members
3061
Online
109642
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2002 09:28 PM
тАО07-30-2002 09:28 PM
Hello,
How to remove fragmentation in SYSTEM tablespace in Oracle 8i database?
Thanks in advance.
Soumen Ghosh
How to remove fragmentation in SYSTEM tablespace in Oracle 8i database?
Thanks in advance.
Soumen Ghosh
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2002 10:53 PM
тАО07-30-2002 10:53 PM
Solution
Hi
Defragmentation of tablespaces is done by exporting user data, recreating the tablespaces and importing the data again.
Unfortunately this is not possible with the system tablespace, as this can't be removed and recreated.
If your system tablespace is so badly fragmented that you have to do something about it the only solution is the following:
-Do a full export of the database. (compress=n)*
-Remove the entire database
-Recreate the database from you original creation scripts (or by other means)
-Perform a full import.
(* setting compress=n prevents export of joinnig segment extents to one large extent)
As the import will recreate all user tablespaces, you infact just need to get inplace a basic database with system and rollback tablespaces. The rest will be recreated during import.
During import it might be wise to set parameter commit=Y to avoid rollback segments running full.
If you have Enterprise Manager,with the tuning pack, there is also a reorg wizard, that might do this by reallocation data in the database by createing temporary tables and moving data around.
But wizards are wizards....
Andreas
Defragmentation of tablespaces is done by exporting user data, recreating the tablespaces and importing the data again.
Unfortunately this is not possible with the system tablespace, as this can't be removed and recreated.
If your system tablespace is so badly fragmented that you have to do something about it the only solution is the following:
-Do a full export of the database. (compress=n)*
-Remove the entire database
-Recreate the database from you original creation scripts (or by other means)
-Perform a full import.
(* setting compress=n prevents export of joinnig segment extents to one large extent)
As the import will recreate all user tablespaces, you infact just need to get inplace a basic database with system and rollback tablespaces. The rest will be recreated during import.
During import it might be wise to set parameter commit=Y to avoid rollback segments running full.
If you have Enterprise Manager,with the tuning pack, there is also a reorg wizard, that might do this by reallocation data in the database by createing temporary tables and moving data around.
But wizards are wizards....
Andreas
Only by ignoring what everyone think is important, can you be aware of what everyone ignores!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-31-2002 05:53 PM
тАО07-31-2002 05:53 PM
Re: Removing Fragmentation in SYSTEM Tablespace
You shouldn't try to import/export the database to remove fragmentation of the SYSTEM tablespace. Overall, fragmentation of the SYSTEM tablespace shouldn't be worried about, as only SYSTEM and SYS owned objects should be in this tablespace.
If you are going to go with the previous response, you will want to recreate the database with a higher block size. The block size determines the size of the initial/next extent of the system objects. If the fragmentation problem on the database is caused by the number of objects, importing and exporting the database will not solve the problem, as the number of objects will not decrease.
Really though, my suggestion would be to not worry about the fragmenation, as it should not heavily affect performance.
Brian
If you are going to go with the previous response, you will want to recreate the database with a higher block size. The block size determines the size of the initial/next extent of the system objects. If the fragmentation problem on the database is caused by the number of objects, importing and exporting the database will not solve the problem, as the number of objects will not decrease.
Really though, my suggestion would be to not worry about the fragmenation, as it should not heavily affect performance.
Brian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2002 01:39 AM
тАО08-01-2002 01:39 AM
Re: Removing Fragmentation in SYSTEM Tablespace
Perhaps you should also check that no user has the system tablesapce as its default tablespace. You can do this with this sentence:
select username,default_tablespace from dba_users;
select username,default_tablespace from dba_users;
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP