- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to do a "describe" on a Oracle9i tablespace?
Operating System - HP-UX
1753670
Members
5380
Online
108799
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
тАО03-28-2005 03:35 PM
тАО03-28-2005 03:35 PM
Q#1: How to you do a "describe" on an Oracle9i tablespace, to see if "NOLOGGING" is set or not?
For example, I want to do:
ALTER TABLESPACE "MY_DATA" NOLOGGING;
and then (from within sqlplus) run some
oracle cmd to verify that the "NOLOGGING"
change actually took place.
What oracle kung fu do I need?
Q#2: what's the syntax to re-enable logging?
Is it just:
ALTER TABLESPACE "MY_DATA" LOGGING; ???
Q#3: do I need to restart Oracle to make these
changes take effect?
Thanks in advance.
For example, I want to do:
ALTER TABLESPACE "MY_DATA" NOLOGGING;
and then (from within sqlplus) run some
oracle cmd to verify that the "NOLOGGING"
change actually took place.
What oracle kung fu do I need?
Q#2: what's the syntax to re-enable logging?
Is it just:
ALTER TABLESPACE "MY_DATA" LOGGING; ???
Q#3: do I need to restart Oracle to make these
changes take effect?
Thanks in advance.
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-28-2005 04:01 PM
тАО03-28-2005 04:01 PM
SolutionQ1:
select TABLESPACE_NAME, LOGGING from dba_tablespaces;
Check with DESCRIBE DBA_TABLESPACES;
Q2: yes. RTFM!
http://www.oracle.com/pls/db92/db92.drilldown?remark=&word=alter+tablespace
"logging_clause
Specify LOGGING if you want logging of all tables, indexes, and partitions within the tablespace. The tablespace-level logging attribute can be overridden by logging specifications at the table, index, and partition levels.
When an existing tablespace logging attribute is changed by an ALTER TABLESPACE statement, all tables, indexes, and partitions created after the statement will have the new default logging attribute (which you can still subsequently override). The logging attributes of existing objects are not changed.
If the tablespace is in FORCE LOGGING mode, then you can specify NOLOGGING in this statement to set the default logging mode of the tablespace to NOLOGGING, but this will not take the tablespace out of FORCE LOGGING mode.
[NO] FORCE LOGGING
Use this clause to put the tablespace in force logging mode or take it out of force logging mode. The database must be open and in READ WRITE mode. Neither of these settings changes the default LOGGING or NOLOGGING mode of the tablespace.
Restriction on Force Logging Mode
You cannot specify FORCE LOGGING for an undo or a temporary tablespace."
Q3: No. RTFM...
hth,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-28-2005 06:18 PM
тАО03-28-2005 06:18 PM
Re: how to do a "describe" on a Oracle9i tablespace?
.
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