- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Database shutdown problem
Operating System - HP-UX
1752615
Members
4914
Online
108788
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
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
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
тАО06-10-2002 12:37 AM
тАО06-10-2002 12:37 AM
Solution
With a normal TEMPORARY tablespace, you should set the initial and next extent to a reasonable size (for a 4000m tablespace, I would suggest 5m, but this would depend on the number of concurrent sessions accessing your system). You can do this with an alter tablespace command (ie: alter tablespace TEMP default storage (initial 5m next 5m);). I would suggest not setting pctincrease to anything other than 0 for the TEMP tablespace.
With a LM Temporary tablespace (the EXTENT_MANAGEMENT column should say "LOCAL" for this tablespace, 8i and 9i only), you will need to drop and recreate the tablespace. The easiest way is to get the list of files associated with the tablespace (select * From dba_temp_files), perform a drop tablespace, and then a create tablespace with the reuse option. I will build an example:
create temporary tablespace temp tempfile '/mnt/d0001/oradata/temp01.dbf' reuse extent management local uniform size 5m;
That should create the temporary tablespace using your current file (you will need to change the file name most likely).
Hope this answers your question,
Thanks,
Brian
With a LM Temporary tablespace (the EXTENT_MANAGEMENT column should say "LOCAL" for this tablespace, 8i and 9i only), you will need to drop and recreate the tablespace. The easiest way is to get the list of files associated with the tablespace (select * From dba_temp_files), perform a drop tablespace, and then a create tablespace with the reuse option. I will build an example:
create temporary tablespace temp tempfile '/mnt/d0001/oradata/temp01.dbf' reuse extent management local uniform size 5m;
That should create the temporary tablespace using your current file (you will need to change the file name most likely).
Hope this answers your question,
Thanks,
Brian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2002 11:29 AM
тАО06-10-2002 11:29 AM
Re: Database shutdown problem
I just wanted to note the distinction between a TEMPORARY tablespace (i.e. create temporary tablespace) and a tablespace designated for temporary sort segments (i.e. create tablespace...temporary).
I have never used the first one - but to respond to the question of it being safe to drop and recreate the tablespace, and as to whether it would contain any user data - the answer may depending upon which type you are talking about.
For the second - their will never be any user objects stored in it (nobody even needs to have quota on it) - so, yes it is safe to drop and recreate.
I have never used the first one - but to respond to the question of it being safe to drop and recreate the tablespace, and as to whether it would contain any user data - the answer may depending upon which type you are talking about.
For the second - their will never be any user objects stored in it (nobody even needs to have quota on it) - so, yes it is safe to drop and recreate.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2002 04:55 PM
тАО06-10-2002 04:55 PM
Re: Database shutdown problem
Just to answer your question, neither tablespace will ever contain user objects. Both tablespaces have the "TEMPORARY" flag set, and will disallow non-sort objects from being created in them.
The true temporary tablespace (create temporary tablespace) uses temporary files, rather than datafiles, which can be recreated quickly, and do not require recovery.
Brian
The true temporary tablespace (create temporary tablespace) uses temporary files, rather than datafiles, which can be recreated quickly, and do not require recovery.
Brian
- « Previous
-
- 1
- 2
- Next »
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP