473,378 Members | 1,346 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Logging

Q 1.
How do I come to know what type of logging has been enabled for a
particular database (circular/archival,etc.) ?

Q 2.
DataStage is loading data into the tables. A parameter has been set into
it to commit every 1000 rows. How to verify whether the commit is
happening every 1000 rows on the database side?

Thanks.

Cheers,
San.

Mar 24 '06 #1
5 1535
Ian
shsandeep wrote:
Q 1.
How do I come to know what type of logging has been enabled for a
particular database (circular/archival,etc.) ?
Look at the LOGRETAIN database config parameter.
Q 2.
DataStage is loading data into the tables. A parameter has been set into
it to commit every 1000 rows. How to verify whether the commit is
happening every 1000 rows on the database side?

Look at an application snapshot for the datastage process that's writing
data and compare the number of commit statements to rows inserted. The
ratio should be pretty close to 1:1000.

Mar 24 '06 #2
Ian wrote:
shsandeep wrote:
Q 1.
How do I come to know what type of logging has been enabled for a
particular database (circular/archival,etc.) ?


Look at the LOGRETAIN database config parameter.
Q 2.
DataStage is loading data into the tables. A parameter has been set into
it to commit every 1000 rows. How to verify whether the commit is
happening every 1000 rows on the database side?

Look at an application snapshot for the datastage process that's writing
data and compare the number of commit statements to rows inserted. The
ratio should be pretty close to 1:1000.

If I am not mistaken, archival logging can also be turned on with
USEREXIT = ON and I do not think in that case the log retain is set to
ON. Have no system to check at this time however.

Bob
Mar 26 '06 #3
> >
If I am not mistaken, archival logging can also be turned on with
USEREXIT = ON and I do not think in that case the log retain is set to
ON. Have no system to check at this time however.

Bob

First you have to turn on USEREXIT=ON then you can set LOG RETAIN = ON.
Per default userexit=off and circularlogging = on.
regards, peter
Mar 27 '06 #4
Peter Postlbauer wrote:
If I am not mistaken, archival logging can also be turned on with
USEREXIT = ON and I do not think in that case the log retain is set to
ON. Have no system to check at this time however.

Bob

First you have to turn on USEREXIT=ON then you can set LOG RETAIN = ON.
Per default userexit=off and circularlogging = on.
regards, peter

Actually this is not correct -- turning USEREXIT =ON does in fact turn
on LOG RETAIN by default -- the switch does not show LOG RETAIN=RECOVERY
but as long as USEREXIT=ON LOGRETAIN=RECOVERY by default.

This is documented at : *http://tinyurl.com/bslng*
Mar 27 '06 #5
Bob [IBM] wrote:
Peter Postlbauer wrote:
If I am not mistaken, archival logging can also be turned on with
USEREXIT = ON and I do not think in that case the log retain is set to
ON. Have no system to check at this time however.

Bob

First you have to turn on USEREXIT=ON then you can set LOG RETAIN = ON.
Per default userexit=off and circularlogging = on.
regards, peter

Actually this is not correct -- turning USEREXIT =ON does in fact turn
on LOG RETAIN by default -- the switch does not show LOG
RETAIN=RECOVERY but as long as USEREXIT=ON LOGRETAIN=RECOVERY by default.

This is documented at : *http://tinyurl.com/bslng*

Just an addendum as my link not work propery -- search for USEREXIT on
the online documentation and this is documented:

"If this parameter is enabled, log retention logging is performed
_regardless of how the logretain parameter is set_. This parameter also
indicates that a user exit program should be used to archive and
retrieve the log files. Log files are archived when the database manager
closes the log file. They are retrieved when the ROLLFORWARD utility
needs to use them to restore a database."
"
Mar 27 '06 #6

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

Similar topics

1
by: jjesso | last post by:
I am trying to add a new logging level. logging.config.fileConfig("bengineLog.cfg") logging.CLIENT = logging.INFO + 1 logging.addLevelName( logging.CLIENT, 'CLIENT' ) logging.root.setLevel( )...
0
by: Karuppasamy | last post by:
H I am trying to use the Logging Module provided by Microsoft Application Blocks for .Net I installed everything as per the Instructions given in the 'Development Using the Logging Block' ...
6
by: pmatos | last post by:
Hi all, I am trying to create a simple but efficient C++ logging class. I know there are lots of them out there but I want something simple and efficient. The number one requirement is the...
23
by: Rotem | last post by:
Hi, while working on something in my current project I have made several improvements to the logging package in Python, two of them are worth mentioning: 1. addition of a logging record field...
6
by: Burkhard Schultheis | last post by:
As I wrote last week, we have a problem with a DB2 V8 on Linux. Here is what is in db2diag.log during online backup: Starting a full database backup. 2004-04-01-02.33.54.760164 ...
0
by: robert | last post by:
As more and more python packages are starting to use the bloomy (Java-ish) 'logging' module in a mood of responsibility and as I am not overly happy with the current "thickener" style of usage, I...
0
by: rajesh.hanchate | last post by:
Please help me in resolving this issue. I am using EnterpriseLibrary 2.0 Exception and logging block for logging exceptions to event log. It works fine for sometime. After some time it stops...
3
by: Chris Shenton | last post by:
I am setting up handlers to log DEBUG and above to a rotating file and ERROR and above to console. But if any of my code calls a logger (e.g., logging.error("foo")) before I setup my handlers, the...
3
by: Lowell Alleman | last post by:
Here is the situation: I wrote my own log handler class (derived from logging.Handler) and I want to be able to use it from a logging config file, that is, a config file loaded with the...
4
by: samwyse | last post by:
In the Python 2.5 Library Reference, section 14.5.3 (Logging to multiple destinations), an example is given of logging to both a file and the console. This is done by using logging.basicConfig()...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.