![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
|
Hi, Transaction logs are used to record what you write to tables before the table information is updated on disk or in cache. This is used, whether the table is journalled or not. There is an exception to this, which is 'bulk copying'. Refer to the SQL guide under the 'copy' section in chapter 8. Cheers, Michael -----Original Message----- From: info-ingres-boun... (AT) kettleriverconsulting (DOT) com [mailto:info-ingres-boun... (AT) kettleriverconsulting (DOT) com] On Behalf Of euneve... (AT) yahoo (DOT) co.uk Sent: 22 January 2009 09:03 To: info-ing... (AT) kettleriverconsulting (DOT) com Subject: [Info-Ingres] create table as select and transaction logging Hi I have * * * * * *set autocommit on; * * * * * *set nojournaling; * * * * * *create table table-name as select * * * * * *with nojournaling; I am using Ingres 2.6 and need to avoid journaling but the table create still appears to be using (and exceeding) the transaction logs. Regards _______________________________________________ Info-Ingres mailing list Info-Ing... (AT) kettleriverconsulting (DOT) comhttp://www.kettleriverconsulting.com/mailman/listinfo/info-ingres- Hide quoted text - - Show quoted text - |
#4
| |||
| |||
|
|
Hi, Transaction logs are used to record what you write to tables before the table information is updated on disk or in cache. This is used, whether the table is journalled or not. There is an exception to this, which is 'bulk copying'. Refer to the SQL guide under the 'copy' section in chapter 8. Cheers, Michael -----Original Message----- From: info-ingres-boun... (AT) kettleriverconsulting (DOT) com [mailto:info-ingres-boun... (AT) kettleriverconsulting (DOT) com] On Behalf Of euneve... (AT) yahoo (DOT) co.uk Sent: 22 January 2009 09:03 To: info-ing... (AT) kettleriverconsulting (DOT) com Subject: [Info-Ingres] create table as select and transaction logging Hi I have * * * * * *set autocommit on; * * * * * *set nojournaling; * * * * * *create table table-name as select * * * * * *with nojournaling; I am using Ingres 2.6 and need to avoid journaling but the table create still appears to be using (and exceeding) the transaction logs. Regards _______________________________________________ Info-Ingres mailing list Info-Ing... (AT) kettleriverconsulting (DOT) comhttp://www.kettleriverconsulting.com/mailman/listinfo/info-ingres- Hide quoted text - - Show quoted text - |
#5
| |||
| |||
|
|
Hi, Transaction logs are used to record what you write to tables before the table information is updated on disk or in cache. This is used, whether the table is journalled or not. There is an exception to this, which is 'bulk copying'. Refer to the SQL guide under the 'copy' section in chapter 8. Cheers, Michael -----Original Message----- From: info-ingres-boun... (AT) kettleriverconsulting (DOT) com [mailto:info-ingres-boun... (AT) kettleriverconsulting (DOT) com] On Behalf Of euneve... (AT) yahoo (DOT) co.uk Sent: 22 January 2009 09:03 To: info-ing... (AT) kettleriverconsulting (DOT) com Subject: [Info-Ingres] create table as select and transaction logging Hi I have * * * * * *set autocommit on; * * * * * *set nojournaling; * * * * * *create table table-name as select * * * * * *with nojournaling; I am using Ingres 2.6 and need to avoid journaling but the table create still appears to be using (and exceeding) the transaction logs. |
#6
| |||
| |||
|
|
Hi, Transaction logs are used to record what you write to tables before the table information is updated on disk or in cache. This is used, whether the table is journalled or not. There is an exception to this, which is 'bulk copying'. Refer to the SQL guide under the 'copy' section in chapter 8. Cheers, Michael -----Original Message----- From: info-ingres-boun... (AT) kettleriverconsulting (DOT) com [mailto:info-ingres-boun... (AT) kettleriverconsulting (DOT) com] On Behalf Of euneve... (AT) yahoo (DOT) co.uk Sent: 22 January 2009 09:03 To: info-ing... (AT) kettleriverconsulting (DOT) com Subject: [Info-Ingres] create table as select and transaction logging Hi I have * * * * * *set autocommit on; * * * * * *set nojournaling; * * * * * *create table table-name as select * * * * * *with nojournaling; I am using Ingres 2.6 and need to avoid journaling but the table create still appears to be using (and exceeding) the transaction logs. |
#7
| |||
| |||
|
|
I have set autocommit on; set nojournaling; create table table-name as select with nojournaling; I am using Ingres 2.6 and need to avoid journaling but the table create still appears to be using (and exceeding) the transaction logs. |
#8
| |||
| |||
|
|
I have set autocommit on; set nojournaling; create table table-name as select with nojournaling; I am using Ingres 2.6 and need to avoid journaling but the table create still appears to be using (and exceeding) the transaction logs. |
#9
| |||
| |||
|
|
Does it not treat "create table as select from" as DDL rather than DML and do it minimal logging ? |
|
-----Original Message----- From: info-ingres-bounces (AT) kettleriver...ting (DOT) com [mailto:info-ingres-bounces (AT) kettleriverconsulting (DOT) com] On Behalf Of Karl & Betty Schendel Sent: 22 January 2009 11:50 To: Ingres and related product discussion forum Subject: Re: [Info-Ingres] create table as select and transaction logging On Jan 22, 2009, at 4:03 AM, eunever32 (AT) yahoo (DOT) co.uk wrote: I have set autocommit on; set nojournaling; create table table-name as select with nojournaling; I am using Ingres 2.6 and need to avoid journaling but the table create still appears to be using (and exceeding) the transaction logs. That's not right. You should be seeing some minimal amount of logging, independent of the number of rows loaded. Try adding "structure=heap" to the create table WITH-clause and see if that reduces the logging to a minimal level. If this works, I'd say it's a bug quite frankly. Actually, any non-journaled create-table-as-select should run using minimal logging, since the undo is to simply drop the table. (If the new table is journaled, then logging of each inserted row is obviously needed.) Karl _______________________________________________ Info-Ingres mailing list Info-Ingres (AT) kettleriverconsulting (DOT) com http://www.kettleriverconsulting.com...fo/info-ingres ************************************************** ******************** This e-mail including any attachments is provided for general information purposes only and does not constitute advice except to the addressee if expressly stated in this email. For the avoidance of doubt the contents of this email and any attachments are subject to contract and are not intended to and will not constitute a legally binding contract or any part of a legally binding contract. The information contained in this email and any attachments is confidential. It is intended only for the use of the intended recipient at the email address to which it has been addressed. If the reader of this message is not an intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination, distribution or copying of the message or associated attachments is strictly prohibited. If you have received this e-mail in error, please notify postmaster (AT) RWEsystemsUK (DOT) com and permanently delete the email and any attachments immediately from your system. You should not retain, copy or use this email or any attachment for any purpose, nor disclose all or any part of the contents to any other person. Thank you for your co-operation. Neither RWE IT UK Ltd nor any of the other companies in the RWE Group from whom this e-mail originates accept any responsibility for losses or damage as a result of any viruses and it is your responsibility to check attachments (if any) for viruses. RWE IT UK Ltd Registered office: Mistral, Westlea Campus, Chelmsford Road, Swindon, Wiltshire, SN5 7EZ. Registered in England and Wales: company number 6052966. ******************************************* _______________________________________________ Info-Ingres mailing list Info-Ingres (AT) kettleriverconsulting (DOT) com http://www.kettleriverconsulting.com...fo/info-ingres |
![]() |
| Thread Tools | |
| Display Modes | |
| |