473,401 Members | 2,127 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,401 software developers and data experts.

active logs

Hi All

I was just wundering is there any dictionary view which would tell me
which is the current active online log.I am a db2 database newbie
please bear with me.

regards
Hrishy
Nov 12 '05 #1
2 1873
Ian
hrishy wrote:
Hi All

I was just wundering is there any dictionary view which would tell me
which is the current active online log.I am a db2 database newbie
please bear with me.


You can get this information from the command 'get db cfg for <dbname>',
but this is not exposed within the database.

Good luck,
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
Nov 12 '05 #2
Ian wrote:
hrishy wrote:
Hi All

I was just wundering is there any dictionary view which would tell me
which is the current active online log.I am a db2 database newbie
please bear with me.


You can get this information from the command 'get db cfg for <dbname>',
but this is not exposed within the database.

Good luck,
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----


Hrishy,

What Ian says is true.

However (noting you are a newbie : your words) be aware that logs will only
be archived at all if you have set the LOGRETAIN or USEREXIT DB CFG
parameter for the database. The default is to use "circular logging" which
is not really suitable for a production environment.

Note also that the default log path when a database is created is under the
default directory (i.e. in the same disk area as tablespaces are put by
default).

It is a very good idea to change this to another disk : you do this by
"UPDATE DB CFG FOR dbname USING NEWLOGPATH path". Also a good idea to look
at the MIRRORLOGPATH and OVERFLOWLOGPATH parameters, to set up dual logging
and to specify an area to bring back logs from archive which are needed for
rollbacks if infinite logging is enabled.l

HTH

Phi
--
Philip Nelson
ScotDB Limited
http://www.scotdb.com
(te*****@scotdb.com)

Nov 12 '05 #3

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

Similar topics

8
by: Horhayson | last post by:
Running W2k Server SP4, my application event viewer says that the Active Server Pages service is stopped. How and what do I need to do to start the service, and why does it stop? *** Sent...
2
by: Mark A | last post by:
Anyone have any reservations about using NAS (Network Attached Storage) for DB2 active logs in a high volume OLTP environment?
3
by: Marshall | last post by:
I appear to be having a problem similar to Neil as posted at...
5
by: andyt_2000_uk | last post by:
Hi I'm trying to get it so visitors to our intranet site are able to log into the site with there normal login details. On a network using win2k3, active directory etc. Now my code at the...
2
by: Scott | last post by:
I'm creating an intranet site that uses Forms authentication to validate users against an Active Directory. Users need to be able to login both from work and remotely. Then I want to be able to do...
6
by: jarice1978 | last post by:
Hello, I have been scanning the internet for a few days now. That is not working. So now it is time to post! I have read a few other posts on here about authentication but they do not match...
0
by: prashanthdb2 | last post by:
Hi, Im new to db2. Im using db2 ese 9.1 (fix pack 1) on SLES 9.0 32 bit. I have single instance on three logical nodes 0,1,2. i have cofigured userexit - on, logretain - on, trackmod - on. ...
0
by: shorti | last post by:
We are running DB2 UDB 8.1 fp 14 on AIX using archival logging and online backups. I was running some disaster tests and found my database restore was not restoring to the latest active log. ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
marktang
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,...
0
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...
0
Oralloy
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,...
0
tracyyun
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...
0
agi2029
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 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.