473,796 Members | 2,590 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Log arhiving Frequency (Rule of thumb)

I can't find this in the manuals. I'm not interested in size of
primary or secondary logs, what is a good rule of thumb for how many
logs to cut in an hour in a busy OLTP and DW environment. I heard
every 15 minutes was a good starting point. Thx, Flick
Nov 12 '05 #1
1 1793
John wrote:
I can't find this in the manuals. I'm not interested in size of
primary or secondary logs, what is a good rule of thumb for how many
logs to cut in an hour in a busy OLTP and DW environment. I heard
every 15 minutes was a good starting point. Thx, Flick

The correct interval is:
It depends!
Many factors go into determining this value. Every installation will
have a different result; dependent on local factors. A couple of
examples follow. Note that I am exagerating sizes and effects.

Archive directly to tape, manual tape handling.
1. Log files are 20mb, system has active updating.
Result: Tapes have almost no data on them and an operator
is required full time to mount tapes for DB2.
2. Log files are 4g, system has active updating.
Result: Each log occupies multiple volumes of tape. When
an archive occurs, four drives are requested
(dual archiving, two drives per archive) and the
archive waits until the drives are available.
Alternatively, two drives are used (single copy)
and operations misplaces one of the volumes of
an archive, making it unusable.
3. Log files sized to fill a reel of tape, archives occur
3x/day.
Result: Company goes out of business after a water main
break occurs at 3:30pm and causes the loss of
logs from the tail end of batch processing and
almost an entire day's online processing. (This
assumes that the datacenter will be unusable
for two weeks to repair water damage.)
There's no "correct" interval for archiving. The mimimum interval should
be a length of time long enough that an archive will complete before the
next is requested. The longest is controlled by business factors and
archive objectives. I've seen some clients do a cost/benefit analysis to
determine an appropriate archive interval.

Archiving demands that the archive area have enough storage available to
accept what DB2 will be giving it. It also assumes that when DB2 needs
to archive that the archiver will immediately be able to process the
request.

Phil Sherman

Nov 12 '05 #2

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

Similar topics

2
1549
by: ocelka | last post by:
I need know how define xml schema for this xml fragment: <set name="person-id" value="secure-card"/> <set name="person-id" value="thumb-print"/> <set name="length-unit" value="inch"/> <set name="length-unit" value="cm"/> so if name="person-id", then value can contain only one of value "secure-card","thumb-print".
7
2129
by: Jean-David Beyer | last post by:
I have six hard drives (4 SCSI and 2 EIDE) on my main machine with parts of a database on each drive. The main index is on one SCSI drive all to itself. The main data are on the other three SCSI drives. Small relations are on one EIDE drive, and the logfiles are on the other EIDE drive. When running the task, below, the rest of the machine is not doing much. I do not remember where I saw it, but somewhere I got the idea that the number...
6
1834
by: Cody Powell | last post by:
Greetings all, I'm wondering if there's a rule of thumb related to objects that implement IDisposable, but whose Dispose() methods are actually marked as protected. If you dig around System.IO, you'll see a lot of these, like StreamReader, StreamWriter, etc. Is it still a best practice to wrap those objects in a using block? All of the MSDN docs DO wrap such objects in a using block, but I'm wondering if that actually accomplishes...
5
1662
by: Mac via DotNetMonster.com | last post by:
Hi all, I have a creating a my own tabpage class (MyTabPage) which inherits the .Net TabPage class. In the relevant event I want to loop through the collection of TabPages and then when I find the TabPage I am after I want to cast this to MyTabPage so that I can access the properties that I have added to this class. When I try to do this I get an "invalid cast" error at runtime. Am I not able
9
1639
by: utab | last post by:
Dear all, How do experienced programmers using this group use the rule of thumb,namely copy ctor, assignment operator, and dtor. example if the class does not need them dont use and define them use them but dont define them (for future revisions of the class as
0
1348
by: Gonçalo Rodrigues | last post by:
Hi all, I have a single-rooted hierarchy of heap-allocated objects -- call the root Object. These objects are handled via a smart pointer template Reference<T>. Basically, Reference<Tis a wrapper around T* with some extra smarts including reference counting to make memory management easier. Below, Reference<Objectwill be denoted simply by Ref. Since you only get your hands on Reference<Tand never on a T (or T*) directly, my thumb rule...
6
21823
by: moondaddy | last post by:
I'm writing a windows app in WPF and want to change the shape of a thumb to an ellipse. Is this possible? also, the edges of the thumb are beveled. Is it possible to change this to a flat look and if so, how? Here's how I'm creating my thumb so far. cornerThumb = new Thumb(); // Set some arbitrary visual characteristics. cornerThumb.Cursor = customizedCursor; cornerThumb.Height = cornerThumb.Width = 10;
7
4058
by: Udhay | last post by:
How to get the frequency of an audio file and how to separate the low and high frequency of an audio file
3
2861
by: PW | last post by:
Hi, I just bought a SanDisk Cruzer 4GB "U3" thumb drive. Is it possible to run an Access 2003 MDE off of one, complete with data? If so, what would I have to do to get it to work? Just curious. No Biggie! I thought I'd take a break from writing code and try something different. I guess I could go fishing :-) -paulw
0
10461
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, 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...
1
10190
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10019
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 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...
0
9057
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7555
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6796
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();...
0
5579
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3736
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2928
bsmnconsultancy
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...

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.