niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Databases » IBM DB2
questions on HADR on tables with "not logged initially"
Post new topic   Reply to topic Page 1 of 1 [5 Posts] View previous topic :: View next topic
Author Message
Nunya Bizness
*nix forums beginner


Joined: 22 Feb 2005
Posts: 14

PostPosted: Mon Feb 28, 2005 4:45 am    Post subject: Re: questions on HADR on tables with "not logged initially" Reply with quote

Ian wrote:

Quote:
Steve Pearson wrote:

This depends a bit on what is meant by "tables are created."
For existing tables that were created with NLI and are now logged,
there
shouldn't be a problem, as long as the standby is initialized using a
backup taken after all the tables became logged. However, if it means
that new tables are regularly created in the database with NLI, then
this will be in conflict with HADR.


Steve,

I think he meant that because V8.2 does not require you to create tables
explicitly with the NOT LOGGED INITIALLY parameter (it's implicit), does
the simple act of creating a table (CREATE TABLE T1 (c1 int)Wink break
HADR.


Not really since logging for the table is on until you do an:

alter table schema.table activate not logged initially
Back to top
Ian
*nix forums Guru Wannabe


Joined: 02 Aug 2005
Posts: 262

PostPosted: Sat Feb 26, 2005 6:09 pm    Post subject: Re: questions on HADR on tables with "not logged initially" Reply with quote

Steve Pearson wrote:
Quote:
This depends a bit on what is meant by "tables are created."
For existing tables that were created with NLI and are now logged,
there
shouldn't be a problem, as long as the standby is initialized using a
backup taken after all the tables became logged. However, if it means
that new tables are regularly created in the database with NLI, then
this will be in conflict with HADR.

Steve,

I think he meant that because V8.2 does not require you to create tables
explicitly with the NOT LOGGED INITIALLY parameter (it's implicit), does
the simple act of creating a table (CREATE TABLE T1 (c1 int)Wink break
HADR.
Back to top
Steve Pearson (news only)
*nix forums beginner


Joined: 16 Jun 2005
Posts: 39

PostPosted: Sat Feb 26, 2005 3:13 am    Post subject: Re: questions on HADR on tables with "not logged initially" Reply with quote

This depends a bit on what is meant by "tables are created."
For existing tables that were created with NLI and are now logged,
there
shouldn't be a problem, as long as the standby is initialized using a
backup taken after all the tables became logged. However, if it means
that new tables are regularly created in the database with NLI, then
this
will be in conflict with HADR.

Regards,
- Steve P.
-----------------------
Steve Pearson
IBM DB2 UDB Development
Portland, OR, USA
Back to top
Serge Rielau
*nix forums Guru


Joined: 29 Apr 2005
Posts: 1583

PostPosted: Wed Feb 23, 2005 8:45 pm    Post subject: Re: questions on HADR on tables with "not logged initially" Reply with quote

db2group88@yahoo.com wrote:
Quote:
we are using db2 udb v8.2 on windows. all our tables are created with
not logged initially property,

So if i want to activate HADR (high availability disaster recovery) for

the database, in the document it said " non-replicated operations
include, but are not limited to --Tables created with the NOT LOGGED
initially option specified", so does that means i can't do HADR on our
current database because all the tables are created with the NLI
option? thanks
No it doesn't mean that.

If a table is created with not logged initially thsi is only in effect
for the first insert. After that that table is no different than any
other in DB2 V8.1 and V8.2
Presuming you don't start with an empty database the issue would only
arise if you ALTER TABLE .. ACTIVATE NOT LOGGED INITIALLY
everything happening on that table until the next commit would not be
logged and hence not applied to the secondary.

Cheers
Serge


--
Serge Rielau
DB2 SQL Compiler Development
IBM Toronto Lab
Back to top
db2group88@yahoo.com
*nix forums beginner


Joined: 15 Feb 2005
Posts: 6

PostPosted: Wed Feb 23, 2005 8:27 pm    Post subject: questions on HADR on tables with "not logged initially" Reply with quote

we are using db2 udb v8.2 on windows. all our tables are created with
not logged initially property,

So if i want to activate HADR (high availability disaster recovery) for

the database, in the document it said " non-replicated operations
include, but are not limited to --Tables created with the NOT LOGGED
initially option specified", so does that means i can't do HADR on our
current database because all the tables are created with the NLI
option? thanks
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [5 Posts] View previous topic :: View next topic
The time now is Thu Jan 08, 2009 3:43 am | All times are GMT
navigation Forum index » Databases » IBM DB2
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Net:TFTPd questions - Want to upload configs via TFTP Adam Perl 0 Thu Jul 20, 2006 4:59 pm
No new posts Net:TFTPd questions - Want to upload configs via TFTP Adam modules 1 Thu Jul 20, 2006 4:29 pm
No new posts Questions on bitfields and struct sarathy C 3 Thu Jul 20, 2006 1:58 pm
No new posts Creating a relationship between 2 tables Andyza Oracle 2 Thu Jul 20, 2006 1:11 pm
No new posts SLED 10 Questions Moif Murphy Suse 2 Thu Jul 20, 2006 12:11 pm

Car Finance | Libro arquitectura | McDonalds | Loans | Credit Cards
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1582s ][ Queries: 20 (0.0441s) ][ GZIP on - Debug on ]