- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Changing default temp tablespace
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
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
Community
Resources
Forums
Blogs
- 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
тАО02-17-2004 03:08 AM
тАО02-17-2004 03:08 AM
I'm use to working with 7 or 9 so forgive this stupid question. I know in oracle 9 I'm able to change the default temp tablespace with the following command:
ALTER DATABASE DEFAULT TEMPORARY TABLESPACE TEMP;
But in oracle 8 this doesn't work. I don't see anything in the online documentation regarding this. Am I correct in assuming that if the db was created with the default temporary tablespace as system it can't be changed?
Brian.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2004 03:15 AM
тАО02-17-2004 03:15 AM
Re: Changing default temp tablespace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2004 03:22 AM
тАО02-17-2004 03:22 AM
Re: Changing default temp tablespace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2004 04:40 AM
тАО02-17-2004 04:40 AM
Re: Changing default temp tablespace
when you create a new user you should specify default tablespace and temporary tablespace for the user.
Don't rely on the default !
Regards
Jean-Luc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2004 09:37 AM
тАО02-17-2004 09:37 AM
SolutionThe DEFAULT TEMPORARY TABLESPACE is specified in the initial creation of the database. This funcationality was added in Oracle 9i. All it does is allows you to specify the default temporary tablespace for users on creation. It is a good idea to set, since Oracle will create a user without the temporary tablespace set specificly in the SYSTEM tablespace.
This command was given, because you cannot drop a temporary tablespace set to default. This command can only be used to set a default temporary tablespace (new 9i funcationilty). This should not be confused with a permamant tablespace set to TEMPORARY.
Thanks,
Brian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2004 11:42 AM
тАО02-17-2004 11:42 AM
Re: Changing default temp tablespace
In Oracle9i, the database can be assigned a DEFAULT TEMPORARY TABLESPACE. This feature is designed for database users to have a default temporary tablespace automatically assigned other than the SYSTEM tablespace.
But for all the other releases before 9i, the temporary tablespace has to be defined for each user otherwise it takes the system tablespace as the temporary tablespace by default.
Indira
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2004 12:10 PM
тАО02-17-2004 12:10 PM
Re: Changing default temp tablespace
CREATE USER user IDENTIFIED { BY password | INTERNALLY }
{
| DEFAULT TABLESPACE tablespace
| TEMPORARY TABLESPACE tablespace
| { QOUTA { integer [ K | M ] | UNLIMITED } ON tablespace } <+loop>
| PROFILE profile
} <+loop>
or you can follow an alter statement after create statement,
ALTER USER user TEMPORARY TABLESPACE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2004 12:25 PM
тАО02-17-2004 12:25 PM
Re: Changing default temp tablespace
as IA said above, in Oracle9i, the database can be assigned a DEFAULT TEMPORARY TABLESPACE.
see metalink note 138212.1.
regards
Yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2004 04:45 PM
тАО02-17-2004 04:45 PM
Re: Changing default temp tablespace
The default_settings_clauses of alter database were introduced in 9i.
CHARACTER SET character_set
NATIONAL CHARACTER SET character_set
set_time_zone_clause
DEFAULT TEMPORARY TABLESPACE tablespace
RENAME GLOBAL_NAME TO database . domain [. domain]...
The new (9i) DEFAULT TEMPORARY TABLESPACE clause of the CREATE DATABASE statement allows you to create a default temporary tablespace at database creation time. This tablespace is used as the default temporary tablespace for users who are not otherwise assigned a temporary tablespace with create/alter SQL.
sks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2004 01:38 AM
тАО02-18-2004 01:38 AM