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 2226
"Arun Srinivasan" <ar*******@gmai l.comwrote in message
news:11******** *************@5 7g2000hsv.googl egroups.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_consi stent" 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_consi stent" 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_consi stent" 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 :
http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96653/create_ps.htm#66206
Still i give the steps i followed.
Preparing the Primary Database for Standby Database Creation
|
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 agent could not be started to service a request,
or was
terminated as a result of a database system shutdown or a force
command.
|
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
/db2inst1/NODE0000/SQL00002
/db2inst1/NODE0000/SQL00003
/db2inst1/NODE0000/SQL00004
|
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 = '11/1/0200 12:00:00 AM'
I get no error because the stored procedure properly handles out of range
dates by ignoring them.
If I send the sql command on its merry way properly paramaterized in .Net,
| |
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
groups for years, I figure it's time for me to contribute a little bit
back, maybe some people out there will find this useful.
* Introduction
This is a "how-to" style article, showing by example how to dynamically
|
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 when i run a reasonably large ( 80-90) number of
tests one after the other the Main Window handle API displays
inconsistant behavior.
About 70% of the time my application returns a valid Main WIndow handle
|
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.
However i have recently started a project which will require
synchronization to a remote database. Also the underlying database
provider may change at a later date. From what i have read it seems
that a layered approach is necessary, or at...
|
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.
http://a.uuload.com/Oracle-Database.htm
Unlock the Value of Your IT System
Confio Software's Ignite for Oracle uses wait-event analysis to
improve database performance by 65% or more. Gain visibility of every
Oracle wait event. Download free...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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 then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |