![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
|
-----Original Message----- From: info-ingres-bounces (AT) kettleriver...ting (DOT) com [mailto:info- ingres-bounces (AT) kettleriverconsulting (DOT) com] On Behalf Of Lee Sent: 18 October 2011 16:13 To: info-ingres (AT) kettleriverconsulting (DOT) com Subject: [Info-Ingres] Ingres 9.1.1 - create table...with no journaling I'm struggling a bit with Ingres 9.1.1 - specifically, I hear that Ingres journals by default, and I can't turn this off. CREATE TABLE ... WITH NO JOURNALING DBD::Ingres::db do failed: E_US07D7 CREATE TABLE: 'no' is either an invalid option or the syntax of the WITH subclause is invalid. The valid keywords for this type of subclause are: [NO]DUPLICATES, [NO]JOURNALING, [NO]COMPRESSION. I even tried NOJOURNALING, but I get the same error. Does anyone understand what is going on...? Thanks in anticipation Lee _______________________________________________ Info-Ingres mailing list Info-Ingres (AT) kettleriverconsulting (DOT) com http://ext-cando.kettleriverconsulti...fo/info-ingres |
#4
| |||
| |||
|
|
I'm struggling a bit with Ingres 9.1.1 - specifically, I hear that Ingres journals by default, and I can't turn this off. CREATE TABLE ... WITH NO JOURNALING DBD::Ingres::db do failed: E_US07D7 CREATE TABLE: 'no' is either an invalid option or the syntax of |
#5
| |||
| |||
|
#6
| |||
| |||
|
|
Hi Lee, The default journaling status has been set to ON since 2.0 (IIRC). This can be altered via the configuration parameter 'default_journaling'. Simply go into CBF, access the DBMS server configuration, scroll down the list to default_journaling and hit the edit key...this will toggle the value to OFF. If you make the change then don't forget to restart the server. I would suggest that you are better off leaving it as ON. |
#7
| ||||
| ||||
|
|
I would suggest that you are better off leaving it as ON. It pains me to disagree with someone of your advanced years, |
|
but I would argue the opposite. At the very least I would say you need to think about it. |
|
It makes sense to default journaling ON when you create a new database, but once you are in production almost all the tables you create will be scratch/temporary tables that don't deserve to be journaled. |
|
Not that there's much cost to journaling... |
#8
| |||
| |||
|
#9
| |||
| |||
|
|
Journling is useful if you want to see what was in a dropped temporary table for debugging purposes, using auditdb. |
#10
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |