- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to Create Database With Dictionary Managed Tab...
Operating System - HP-UX
1824484
Members
8278
Online
109671
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
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
тАО01-22-2008 07:15 AM
тАО01-22-2008 07:15 AM
How to Create Database With Dictionary Managed Tablespace
Hi,
Im working with Orcale 9i, and i need to create a database with Dictionary Managed System Tablespace. DBCA creates database by default with locally managed system tablespace. how can i change it?
Thanks in advance for any help.
Best Regards
Pinki
Im working with Orcale 9i, and i need to create a database with Dictionary Managed System Tablespace. DBCA creates database by default with locally managed system tablespace. how can i change it?
Thanks in advance for any help.
Best Regards
Pinki
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2008 08:25 AM
тАО01-22-2008 08:25 AM
Re: How to Create Database With Dictionary Managed Tablespace
You can have the dbca just save a script for you off all the things it's going to do, instead of having it actually run the database creation. Let it create the script, and then you can go edit that script, and then run it.
Look for the like lines "create tablespace" and then add the options you would like including "local", and I'd recommend at that time, to go ahead and use uniform allocation methods, and those to the script at that time as well.
There's some good examples to read on here:
http://kp-oracledba.com/blog/2007/03/15/how-to-create-and-alter-oracle-tablespace/
The above having examples for locally managed as well as uniform allocation with locally managed tablespaces.
HTH
Look for the like lines "create tablespace" and then add the options you would like including "local", and I'd recommend at that time, to go ahead and use uniform allocation methods, and those to the script at that time as well.
There's some good examples to read on here:
http://kp-oracledba.com/blog/2007/03/15/how-to-create-and-alter-oracle-tablespace/
The above having examples for locally managed as well as uniform allocation with locally managed tablespaces.
HTH
We are the people our parents warned us about --Jimmy Buffett
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2008 10:18 PM
тАО01-22-2008 10:18 PM
Re: How to Create Database With Dictionary Managed Tablespace
Pinki,
You have to omit the 'EXTENT MANAGEMENT LOCAL' in the create database statement to create a dictionary managed system tablespace.
For example in Oracle 10g (I don't have 9i at hand, but I'd say syntaxwise it should be the same except for sysaux ts), assuming you've properly configured the initDBA.ora file.
$ export ORACLE_SID=DBA
$ sqlplus / as sysdba
SQL*Plus: Release 10.2.0.1.0 - Production on Wed Jan 23 01:51:18 2008
Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
Connected to an idle instance.
SQL> startup nomount
ORACLE instance started.
Total System Global Area 264241152 bytes
Fixed Size 1261248 bytes
Variable Size 226492736 bytes
Database Buffers 33554432 bytes
Redo Buffers 2932736 bytes
SQL>
SQL> create database DBA
2 datafile '/u02/oradata/DBA/system01.dbf' size 100M
3 undo tablespace undotbs1 datafile '/u02/oradata/DBA/undotbs1_01.dbf' size 100M
4 sysaux datafile '/u02/oradata/DBA/sysaux01.dbf' size 100M
5 /
Database created.
...
$
You'll eventually see in the alert log, your system tablespace created as:
Wed Jan 23 02:11:14 2008
Completed: create tablespace SYSTEM datafile '/u02/oradata/DBA/system01.dbf' size 100M
default storage (initial 10K next 10K) EXTENT MANAGEMENT DICTIONARY online
....
Also, I assume you understand the caveats and disadvantages of using rather old-type, non-recommended, dictionary managed tablespaces.
HTH,
-Ariel
You have to omit the 'EXTENT MANAGEMENT LOCAL' in the create database statement to create a dictionary managed system tablespace.
For example in Oracle 10g (I don't have 9i at hand, but I'd say syntaxwise it should be the same except for sysaux ts), assuming you've properly configured the initDBA.ora file.
$ export ORACLE_SID=DBA
$ sqlplus / as sysdba
SQL*Plus: Release 10.2.0.1.0 - Production on Wed Jan 23 01:51:18 2008
Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
Connected to an idle instance.
SQL> startup nomount
ORACLE instance started.
Total System Global Area 264241152 bytes
Fixed Size 1261248 bytes
Variable Size 226492736 bytes
Database Buffers 33554432 bytes
Redo Buffers 2932736 bytes
SQL>
SQL> create database DBA
2 datafile '/u02/oradata/DBA/system01.dbf' size 100M
3 undo tablespace undotbs1 datafile '/u02/oradata/DBA/undotbs1_01.dbf' size 100M
4 sysaux datafile '/u02/oradata/DBA/sysaux01.dbf' size 100M
5 /
Database created.
...
$
You'll eventually see in the alert log, your system tablespace created as:
Wed Jan 23 02:11:14 2008
Completed: create tablespace SYSTEM datafile '/u02/oradata/DBA/system01.dbf' size 100M
default storage (initial 10K next 10K) EXTENT MANAGEMENT DICTIONARY online
....
Also, I assume you understand the caveats and disadvantages of using rather old-type, non-recommended, dictionary managed tablespaces.
HTH,
-Ariel
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