I recently noticed the
'Database is consistant' parameter of the db cfg changed from Yes to
No, when I did a
'set integrity immediate unchecked' command. the integrity of the
table was compromised, many rows didnt have parent rows.. But what is
this parameter ??? 5 2220
"Arun Srinivasan" <ar*******@gmail.comwrote in message
news:11*********************@57g2000hsv.googlegrou ps.com...
>I recently noticed the
'Database is consistant' parameter of the db cfg changed from Yes to
No, when I did a
'set integrity immediate unchecked' command. the integrity of the
table was compromised, many rows didnt have parent rows.. But what is
this parameter ???
It is not a parameter, it is a status.
On Wed, 08 Aug 2007 09:59:24 -0700, Arun Srinivasan scribbled:
I recently noticed the
'Database is consistant' parameter of the db cfg changed from Yes to No,
when I did a
'set integrity immediate unchecked' command. the integrity of the table
was compromised, many rows didnt have parent rows.. But what is this
parameter ???
The "database_consistent" parameter (which is shown as the "Database is
consistent" parameter in DB CFG) indicates whether there are any pending
transactions that have modified anything. Basically, if all transactions
have been rolled back or committed, it's "Yes", otherwise it's "No".
The purpose, according to the docs, is to determine whether you need to
take any special action if the system crashes. If the value was "Yes"
prior to the crash, no special action is required, otherwise a RESTART
DATABASE command is required.
Cheers,
Dave.
Dave Hughes wrote:
On Wed, 08 Aug 2007 09:59:24 -0700, Arun Srinivasan scribbled:
>I recently noticed the 'Database is consistant' parameter of the db cfg changed from Yes to No, when I did a 'set integrity immediate unchecked' command. the integrity of the table was compromised, many rows didnt have parent rows.. But what is this parameter ???
The "database_consistent" parameter (which is shown as the "Database is
consistent" parameter in DB CFG) indicates whether there are any pending
transactions that have modified anything. Basically, if all transactions
have been rolled back or committed, it's "Yes", otherwise it's "No".
The purpose, according to the docs, is to determine whether you need to
take any special action if the system crashes. If the value was "Yes"
prior to the crash, no special action is required, otherwise a RESTART
DATABASE command is required.
I often wonder whether this indicator should simply be removed.
It causes way more anxiety than information.
Cheers
Serge
--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab
On Thu, 09 Aug 2007 20:35:29 -0400, Serge Rielau scribbled:
Dave Hughes wrote:
>On Wed, 08 Aug 2007 09:59:24 -0700, Arun Srinivasan scribbled:
>>I recently noticed the 'Database is consistant' parameter of the db cfg changed from Yes to No, when I did a 'set integrity immediate unchecked' command. the integrity of the table was compromised, many rows didnt have parent rows.. But what is this parameter ???
The "database_consistent" parameter (which is shown as the "Database is consistent" parameter in DB CFG) indicates whether there are any pending transactions that have modified anything. Basically, if all transactions have been rolled back or committed, it's "Yes", otherwise it's "No".
The purpose, according to the docs, is to determine whether you need to take any special action if the system crashes. If the value was "Yes" prior to the crash, no special action is required, otherwise a RESTART DATABASE command is required.
I often wonder whether this indicator should simply be removed. It
causes way more anxiety than information.
Might be a good idea. I remember the very first time I noticed "Database
is consistent: NO" in the GET DB CFG output and my immediate thought was
that it was indicating some sort of database corruption! Thankfully I
took a little time to read the reference and discovered it was no big
deal after all. Simply changing the label and reversing the meaning might
avoid several DBA heart attacks in future :-)
Pending transactions: YES
Sounds a lot less frightening than:
Database is consistent: NO
Cheers,
Dave.
Rightly put Dave..
Thanks Dave and Serge..Am happy to get replies from such big names in
db2 world. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Cherrish Vaidiyan |
last post by:
sir,
The following are the steps that i followed in setting up standby
database on Red hat Linux 9. i am using Oracle 9i.
i have followed the steps in this site :
...
|
by: Marvin Libson |
last post by:
Hi All:
I am running DB2 UDB V7.2 with FP11. Platform is Windows 2000. I
have created a java UDF and trigger. When I update my database I get
the following error:
SQL1224N A database...
|
by: Kamlesh |
last post by:
Hi,
How do I know the physical database path of a database. When I goto
the DB2INSTANCE users's directory (/home/db2inst1), I see following
folders:
/db2inst1/NODE0000/SQL00001...
|
by: pintur |
last post by:
The message is:
SQL1036C Errore di I/O durante l' accesso al
database. SQLSTATE=58030
what is the proble?
what for restore tables?
thanks
|
by: Bob |
last post by:
I have a sql command with a SearchDate parameter of type date. When I
execute its stored procedure from Query Analyzer (to SS2K) with a date out
of the valid datetime range,
EXEC @SearchDate =...
| |
by: josh.kuo |
last post by:
Sorry about the subject, I can't think of a better one.
I recently wrote some PHP classes that I think might be of interest to
this group. Since I have been reaping the benefits of reading news...
|
by: codejunkie |
last post by:
Hi,
I am running a suite of tests of a WIN 32 application. Every test
launches the same application, checks if the Application has a Main
Window handle and then proceeds.
However i am noticing...
|
by: morleyc |
last post by:
Hi, until recently i was quite happy to add data sources from mssql
database in visual studio and drag the datasets directly onto the form
this creating a directly editable form which worked well....
|
by: Jack |
last post by:
Training Classes for Oracle10g, 9i, 8i
Certification training in Oracle10g and 9i: DBA, Developer,
Discoverer. training conducted at your location worldwide. Courseware
licensing also available....
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The...
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...
| |