472,353 Members | 1,504 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,353 software developers and data experts.

DB2 database integrity check?


Folks,

One of our clients is performing an audit, and the auditor(s) asked
following question, and I am not sure how to answer it:

28. Is there a control that prevents the corruption of databases (e.g. is
there database integrity checking)? Please provide a description of the
control and the name and phone number of the person who can demonstrate or
validate the control.

They are running DB2 UDB 8.2 on AIX 5.3.

Is there a db2 utility that can be executed to check the integrity of
the database?

Is db2dart the correct utility?

Is there third party software thet can use?

Thanks

--
Hemant Shah /"\ ASCII ribbon campaign
E-mail: No************@xnet.com \ / ---------------------
X against HTML mail
TO REPLY, REMOVE NoJunkMail / \ and postings
FROM MY E-MAIL ADDRESS.
-----------------[DO NOT SEND UNSOLICITED BULK E-MAIL]------------------
I haven't lost my mind, Above opinions are mine only.
it's backed up on tape somewhere. Others can have their own.
Mar 14 '07 #1
6 10592
aj
Yes, you can use db2dart. However, on v8, db2dart should only be run
against a deactivated db, which of course implies that there are no
connections.

On v8, you can also use the inspect command, which works online (an
activated db w/ users connected):
db2 =inspect check database results inspect.out

The online inspect check processing will write out unformatted
inspection data results to the results file specified. The file will be
written out to the $DIAGPATH diagnostic data directory path. If there
are no errors found by the check processing, this result output file
will be ERASED at the end of the INSPECT operation. If there are errors
found by the check processing, this result output file will not be
erased at the end of INSPECT operation. After check processing
completes, to see inspection details, the inspection result
data will require to be formatted out with the db2inspf utility.

HTH

aj

Hemant Shah wrote:
Folks,

One of our clients is performing an audit, and the auditor(s) asked
following question, and I am not sure how to answer it:

28. Is there a control that prevents the corruption of databases (e.g. is
there database integrity checking)? Please provide a description of the
control and the name and phone number of the person who can demonstrate or
validate the control.

They are running DB2 UDB 8.2 on AIX 5.3.

Is there a db2 utility that can be executed to check the integrity of
the database?

Is db2dart the correct utility?

Is there third party software thet can use?

Thanks

--
Hemant Shah /"\ ASCII ribbon campaign
E-mail: No************@xnet.com \ / ---------------------
X against HTML mail
TO REPLY, REMOVE NoJunkMail / \ and postings
FROM MY E-MAIL ADDRESS.
-----------------[DO NOT SEND UNSOLICITED BULK E-MAIL]------------------
I haven't lost my mind, Above opinions are mine only.
it's backed up on tape somewhere. Others can have their own.
Mar 14 '07 #2

Thanks.

While stranded on information super highway aj wrote:
Yes, you can use db2dart. However, on v8, db2dart should only be run
against a deactivated db, which of course implies that there are no
connections.

On v8, you can also use the inspect command, which works online (an
activated db w/ users connected):
db2 =inspect check database results inspect.out

The online inspect check processing will write out unformatted
inspection data results to the results file specified. The file will be
written out to the $DIAGPATH diagnostic data directory path. If there
are no errors found by the check processing, this result output file
will be ERASED at the end of the INSPECT operation. If there are errors
found by the check processing, this result output file will not be
erased at the end of INSPECT operation. After check processing
completes, to see inspection details, the inspection result
data will require to be formatted out with the db2inspf utility.

HTH

aj

Hemant Shah wrote:
>Folks,

One of our clients is performing an audit, and the auditor(s) asked
following question, and I am not sure how to answer it:

28. Is there a control that prevents the corruption of databases (e.g. is
there database integrity checking)? Please provide a description of the
control and the name and phone number of the person who can demonstrate or
validate the control.

They are running DB2 UDB 8.2 on AIX 5.3.

Is there a db2 utility that can be executed to check the integrity of
the database?

Is db2dart the correct utility?

Is there third party software thet can use?

Thanks

--
Hemant Shah /"\ ASCII ribbon campaign
E-mail: No************@xnet.com \ / ---------------------
X against HTML mail
TO REPLY, REMOVE NoJunkMail / \ and postings
FROM MY E-MAIL ADDRESS.
-----------------[DO NOT SEND UNSOLICITED BULK E-MAIL]------------------
I haven't lost my mind, Above opinions are mine only.
it's backed up on tape somewhere. Others can have their own.
--
Hemant Shah /"\ ASCII ribbon campaign
E-mail: No************@xnet.com \ / ---------------------
X against HTML mail
TO REPLY, REMOVE NoJunkMail / \ and postings
FROM MY E-MAIL ADDRESS.
-----------------[DO NOT SEND UNSOLICITED BULK E-MAIL]------------------
I haven't lost my mind, Above opinions are mine only.
it's backed up on tape somewhere. Others can have their own.
Mar 15 '07 #3
Ian
Hemant Shah wrote:
Folks,

One of our clients is performing an audit, and the auditor(s) asked
following question, and I am not sure how to answer it:

28. Is there a control that prevents the corruption of databases (e.g. is
there database integrity checking)? Please provide a description of the
control and the name and phone number of the person who can demonstrate or
validate the control.
I've seen questions like this, and this sounds like SOX compliance to
me. To us DBAs, "corruption" usually means bits getting screwed up.

However, "corruption" may be referring other "logical" errors, like
"update employees set salary = salary * 1.5 where emp_id = 'me'".

So, make sure you understand what the question is asking for: Is it
asking about logical or physical corruption of the data?

If physical, db2dart/inspect.
If logical, usually enabling auditing.
Mar 18 '07 #4
While stranded on information super highway Ian wrote:
Hemant Shah wrote:
>Folks,

One of our clients is performing an audit, and the auditor(s) asked
following question, and I am not sure how to answer it:

28. Is there a control that prevents the corruption of databases (e.g. is
there database integrity checking)? Please provide a description of the
control and the name and phone number of the person who can demonstrate or
validate the control.

I've seen questions like this, and this sounds like SOX compliance to
me. To us DBAs, "corruption" usually means bits getting screwed up.
Yes, I agree with you.
>
However, "corruption" may be referring other "logical" errors, like
"update employees set salary = salary * 1.5 where emp_id = 'me'".

So, make sure you understand what the question is asking for: Is it
asking about logical or physical corruption of the data?

If physical, db2dart/inspect.
If logical, usually enabling auditing.
I believe it is asking for both. How do I turn on auditing?

Thanks.

>
--
Hemant Shah /"\ ASCII ribbon campaign
E-mail: No************@xnet.com \ / ---------------------
X against HTML mail
TO REPLY, REMOVE NoJunkMail / \ and postings
FROM MY E-MAIL ADDRESS.
-----------------[DO NOT SEND UNSOLICITED BULK E-MAIL]------------------
I haven't lost my mind, Above opinions are mine only.
it's backed up on tape somewhere. Others can have their own.
Mar 19 '07 #5
Hemant Shah wrote:
While stranded on information super highway Ian wrote:
>Hemant Shah wrote:
>>Folks,

One of our clients is performing an audit, and the auditor(s)
asked following question, and I am not sure how to answer it:

28. Is there a control that prevents the corruption of databases
(e.g. is there database integrity checking)? Please provide a
description of the control and the name and phone number of the
person who can demonstrate or validate the control.

I've seen questions like this, and this sounds like SOX compliance to
me. To us DBAs, "corruption" usually means bits getting screwed up.

Yes, I agree with you.
>>
However, "corruption" may be referring other "logical" errors, like
"update employees set salary = salary * 1.5 where emp_id = 'me'".

So, make sure you understand what the question is asking for: Is it
asking about logical or physical corruption of the data?

If physical, db2dart/inspect.
If logical, usually enabling auditing.

I believe it is asking for both. How do I turn on auditing?

Thanks.
Starting and stopping the audit facility is the easy part:
"db2audit start" resp. "db2audit stop"
First however, you should consider what exactly you want to audit and
configure the audit facility accordingly with the many options of "db2audit
configure".
Check the DB2 Information Centre, starting at:
http://publib.boulder.ibm.com/infoce...n/c0005483.htm

Also read this 3-page article at:
http://www.databasejournal.com/featu...le.php/3438801

HTH

--
Jeroen
Mar 19 '07 #6
While stranded on information super highway The Boss wrote:
Hemant Shah wrote:
>While stranded on information super highway Ian wrote:
>>Hemant Shah wrote:
Folks,

One of our clients is performing an audit, and the auditor(s)
asked following question, and I am not sure how to answer it:

28. Is there a control that prevents the corruption of databases
(e.g. is there database integrity checking)? Please provide a
description of the control and the name and phone number of the
person who can demonstrate or validate the control.
I've seen questions like this, and this sounds like SOX compliance to
me. To us DBAs, "corruption" usually means bits getting screwed up.

Yes, I agree with you.
>>>
However, "corruption" may be referring other "logical" errors, like
"update employees set salary = salary * 1.5 where emp_id = 'me'".

So, make sure you understand what the question is asking for: Is it
asking about logical or physical corruption of the data?

If physical, db2dart/inspect.
If logical, usually enabling auditing.

I believe it is asking for both. How do I turn on auditing?

Thanks.

Starting and stopping the audit facility is the easy part:
"db2audit start" resp. "db2audit stop"
First however, you should consider what exactly you want to audit and
configure the audit facility accordingly with the many options of "db2audit
configure".
Check the DB2 Information Centre, starting at:
http://publib.boulder.ibm.com/infoce...n/c0005483.htm
Thanks for the info. I will look it up.
Also read this 3-page article at:
http://www.databasejournal.com/featu...le.php/3438801

HTH

--
Jeroen

--
Hemant Shah /"\ ASCII ribbon campaign
E-mail: No************@xnet.com \ / ---------------------
X against HTML mail
TO REPLY, REMOVE NoJunkMail / \ and postings
FROM MY E-MAIL ADDRESS.
-----------------[DO NOT SEND UNSOLICITED BULK E-MAIL]------------------
I haven't lost my mind, Above opinions are mine only.
it's backed up on tape somewhere. Others can have their own.
Mar 20 '07 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

19
by: dchow | last post by:
Our database size is currently 4G and is incrementing at a rate of 45M/day. What is the max size of a SQL database? And what is the size beyond...
2
by: Jim Andersen | last post by:
Hi, Used the wizard to create a maintenance plan for a db. But it fails most of the time. I checked the log-files. At 1.00 AM, it runs the...
4
by: maricel | last post by:
I have the following base table structure - DDL: CREATE TABLE "ADMINISTRATOR"."T1" ( "C1" INTEGER NOT NULL ) IN "TEST_TS" ; ALTER TABLE...
4
by: Martin Pritchard | last post by:
Hi, I'm working on a project that historically contains around 40 enums. In the database various fields refer to the int values of these enums,...
1
by: Dennis Gearon | last post by:
I'd like to get people's feelings about the topic. At one extreme is to use table locking and external language queries to even do referential...
30
by: Wes | last post by:
On a nightly basis, we shut the database down and do a file system backup. A short chronology of our database problem: 8/21 - count(*) of user...
12
by: technocrat | last post by:
I am trying to laod 2 tables and set integrtiy on them, but the second tables fails ( both are related and SET INTEGRITY ion first table succeeds)...
16
by: Brian Tkatch | last post by:
Is there a way to check the order in which SET INTEGRITY needs to be applied? This would be for a script with a dynamic list of TABLEs. B.
5
by: djhexx | last post by:
Hello. I have an ASP.NET application (C#) that I allow users to upload files. Files get stored in a SQL2005 database. The file data is stored in...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
0
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific...
0
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the...
0
by: Rahul1995seven | last post by:
Introduction: In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.