dbTalk Databases Forums  

Ingres 9.1.1 - create table...with no journaling

comp.databases.ingres comp.databases.ingres


Discuss Ingres 9.1.1 - create table...with no journaling in the comp.databases.ingres forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Lee
 
Posts: n/a

Default Ingres 9.1.1 - create table...with no journaling - 10-18-2011 , 10:12 AM






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

Reply With Quote
  #2  
Old   
Ingres Forums
 
Posts: n/a

Default Re: Ingres 9.1.1 - create table...with no journaling - 10-18-2011 , 10:32 AM






Try "CREATE TABLE ... WITH NOJOURNALING" - no space after NO.


--
Bodo

Reply With Quote
  #3  
Old   
Paul Mason
 
Posts: n/a

Default Re: [Info-Ingres] Ingres 9.1.1 - create table...with no journaling - 10-18-2011 , 10:37 AM



WITH NOJOURNALING should work. Can you give the full CREATE TABLE
statement?

Quote:
-----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

Reply With Quote
  #4  
Old   
Karl Schendel
 
Posts: n/a

Default Re: [Info-Ingres] Ingres 9.1.1 - create table...with no journaling - 10-18-2011 , 10:43 AM



On Oct 18, 2011, at 11:12 AM, Lee wrote:

Quote:
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
Try one word, NOJOURNALING.

And yes, Ingres wants just one ell.

Karl

Reply With Quote
  #5  
Old   
Martin Bowes
 
Posts: n/a

Default Re: [Info-Ingres] Ingres 9.1.1 - create table...with no journaling - 10-19-2011 , 02:34 AM



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.

Martin Bowes

-----Original Message-----
From: Lee [mailto:leegee (AT) gmail (DOT) com]
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

Reply With Quote
  #6  
Old   
Roy Hann
 
Posts: n/a

Default Re: [Info-Ingres] Ingres 9.1.1 - create table...with no journaling - 10-19-2011 , 02:46 AM



Wednesday, October 19, 2011, 8:34:39 AM, you wrote:

Quote:
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.
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...

Roy

--
UK Ingres User Association Conference 2012 will be on Tuesday June 19 2012.

Reply With Quote
  #7  
Old   
Martin Bowes
 
Posts: n/a

Default Re: [Info-Ingres] Ingres 9.1.1 - create table...with no journaling - 10-19-2011 , 03:27 AM



Quote:
I would suggest that you are better off leaving it as ON.

It pains me to disagree with someone of your advanced years,
Oh and thanks for the suggestion I was 90! BTW the card had hugs and kisses on it ... but who wrote 'yick'? I bet it was Magda! That's the sort of thing we 90 year olds remember!

Quote:
but I
would argue the opposite. At the very least I would say you need to
think about it.
It never hurts to think!

A little knowledge can be dangerous...but an absence of it can be fatal.

Quote:
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.
In my lengthy experience there is almost no such thing as a finished database...some bastard programmer is always adding in new stuff that they never tell you about. They never consider journaling or database recovery. Damn young Turks!

My approach is to leave default journaling ON. That way I can recover the database and all those critically important tables that they never told me about. Then I monitor the crap out of it to see how bad the result is. The plus side is that I occassionally get to yell at programmers...yelling at kids is something us old guys like.

Quote:
Not that there's much cost to journaling...
I also like to crush their egos, tell them to pull their trousers up and poison their damn dogs!

Marty

Reply With Quote
  #8  
Old   
weasel
 
Posts: n/a

Default Re: Ingres 9.1.1 - create table...with no journaling - 10-19-2011 , 12:56 PM



Journling is useful if you want to see what was in a dropped temporary
table for debugging purposes, using auditdb.

Reply With Quote
  #9  
Old   
Roy Hann
 
Posts: n/a

Default Re: Ingres 9.1.1 - create table...with no journaling - 10-20-2011 , 02:18 AM



weasel wrote:

Quote:
Journling is useful if you want to see what was in a dropped temporary
table for debugging purposes, using auditdb.
It used to be that you couldn't auditdb a non-existent (e.g. dropped)
table. I shall have to try this out as it would be convenient
sometimes--though possibly confusing at other times! :-)

--
Roy

UK Ingres User Association Conference 2012 will be on Tuesday June 19 2012.
*NOTE THE CHANGED DATE* See www.uk-iua.org.uk

Reply With Quote
  #10  
Old   
Ingres Forums
 
Posts: n/a

Default Re: Ingres 9.1.1 - create table...with no journaling - 10-20-2011 , 08:42 AM



Hi ,

Yes me also
Default settings have sense !

regards.


--
magxa01

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.