- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Logging, turning off for select temp tables.
Operating System - HP-UX
1752793
Members
5948
Online
108789
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
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
тАО11-08-2002 01:21 PM
тАО11-08-2002 01:21 PM
Logging, turning off for select temp tables.
We are running a logged database.
I create temp tables from that database
using dbaccess. I want to turn off logging
for my temp tables in my sql statement that
I am using to create the temp tables with.
Is this even possible?
I create temp tables from that database
using dbaccess. I want to turn off logging
for my temp tables in my sql statement that
I am using to create the temp tables with.
Is this even possible?
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2002 02:13 PM
тАО11-08-2002 02:13 PM
Re: Logging, turning off for select temp tables.
is there a problem with turning off logging first, and then creating the tables?
live free or die
harry
Live Free or Die
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2002 05:59 PM
тАО11-08-2002 05:59 PM
Re: Logging, turning off for select temp tables.
You can do this one of two ways.
1. CREATE TABLE ... NOLOGGING;
2. CREATE TEMPORARY TABLE ...;
The first one creates a normal permanant tablespace with NOLOGGING enabled. The second one creates a true "temporary" table. The temporary table will not keep any data until either a commit is performed, or you exit your session. This is an option when creating the table (one or the other). If you are loading your data with sqlldr, you will want to do the first one. If you are processing data in your session, and want to use a table to hold processed data for a short period of time, use the second.
Hope this helps,
Brian
1. CREATE TABLE
2. CREATE TEMPORARY TABLE
The first one creates a normal permanant tablespace with NOLOGGING enabled. The second one creates a true "temporary" table. The temporary table will not keep any data until either a commit is performed, or you exit your session. This is an option when creating the table (one or the other). If you are loading your data with sqlldr, you will want to do the first one. If you are processing data in your session, and want to use a table to hold processed data for a short period of time, use the second.
Hope this helps,
Brian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-09-2002 11:31 PM
тАО11-09-2002 11:31 PM
Re: Logging, turning off for select temp tables.
create temp table tab1 (col1 int with no log;
insert into tab1
select tabid from systables;
or
select tabid from systables insert into temp tab1 with no log;
insert into tab1
select tabid from systables;
or
select tabid from systables insert into temp tab1 with no log;
Not enough Zappa makes you sad.
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