Search Images Maps Play YouTube News Gmail Drive More »
Advanced Patent Search | Web History | Sign in

Patents

A method to archive log entries created by a data storage system comprising a first memory and a library log encoded in that first memory, wherein the first memory comprises a storage capacity, and wherein the method writes a plurality of log entries to the library log, wherein each log entry comprises a log entry time. At a time T0, the method copies to a log archive the plurality of log entries written to the library log, and sets a subsequent retrieval time based upon a time T1 when an earliest log entry was written to the library log, and a time T2 when a latest log entry was written to the library log.

InventorsMatthew Charles Compton, Stefan Lehmann
Original AssigneeInternational Business Machines Corporation
Primary Examiner: Tim T. Vo
Secondary Examiner: Aaron Sanders
Attorneys: Dale F. Regelman, Quarles & Brady LLP
Current U.S. Classification707/648; 707/640; 707/644

View patent at USPTO
Search USPTO Assignment Database

Citations

Cited PatentFiling dateIssue dateOriginal AssigneeTitle
US5155850Feb 23, 1990Oct 13, 1992International Business Machines CorporationMethod and system for maintaining a time frame selective document history log in a data processing system
US5471631Oct 19, 1992Nov 28, 1995International Business Machines CorporationUsing time stamps to correlate data processing event times in connected data processing units
US5613113Jun 7, 1995Mar 18, 1997International Business Machines CorporationConsistent recreation of events from activity logs
US6275826Mar 4, 1999Aug 14, 2001International Business Machines CorporationProgram products for pacing the frequency at which systems of a multisystem environment compress log streams
US6879995May 1, 2000Apr 12, 2005Sun Microsystems, Inc.Application server message logging
US6931355Feb 26, 2002Aug 16, 2005Xerox CorporationMethod and apparatus for providing data logging in a modular device
US7089156Jul 31, 2001Aug 8, 2006International Business Machines CorporationMethod and apparatus for determining the performance of data processing devices with unsynchronized clocks
US7171401Mar 19, 2002Jan 30, 2007International Business Machines CorporationData processing system and method having high availability
US20040215708Feb 26, 2004Content history log collecting system
US20050021571Nov 26, 2002Method of replicating data between computing devices
US20060036601Aug 9, 2004International Business Machines CorporationAutonomic virtual log configuration
US20060225073Jun 6, 2005Computer system, log collection method and computer program product
US20060270389May 25, 2005Oracle International CorporationMobile e-mail confirmation support

Claims

1. A method to archive log entries created by a data storage system, comprising the steps of:

providing a data storage system comprising first memory and a library log encoded in said first memory;

writing a plurality of log entries to said library log, wherein each log entry comprises a log entry time;

encoding a log archive in a second memory, wherein said second memory is external to said data storage system;

setting a time T0 equal to current time;
at time T0, copying to said log archive said plurality of log entries written to said library log;
determining a time T1 when an earliest log entry was written to said library log;
determining a time T2 when a latest log entry was written to said library log;
calculating a log interval TINT equal to (T2−T1);
setting a retrieval time equal to (T0+TINT);
determining whether to perform an intermediate inspection of the library log;
when performing an intermediate inspection of the library log, determining a number (N) of log entries written to library log retrieved at time T0;
establishing a previous log filling rate equal to (N)/TINT;
setting an intermediate sampling interval TS, wherein said intermediate sampling interval is less than said log interval;
setting an intermediate sampling time, wherein said intermediate sampling time equals (T0+TS);
when current time equals said intermediate sampling time, inspecting the library log created after time T0;
determining a number (M) of log entries written to the library log after time T0;
establishing a current log filling rate equal to (M)/TS;
determining whether said current log filling rate is greater than said previous log filling rate; and
when said current log filling rate is greater than said previous log filling rate, adjusting said log interval TINT to be less than (T2−T1).

2. The method of claim 1, further comprising the steps of:

setting a minimum log interval;

determining if said adjusted log interval is less than said minimum log interval; and

when said adjusted log interval is less than said minimum log interval, setting said log interval equal to said minimum log interval.

3. The method of claim 1, further comprising the steps of:

when said current log filling rate is not greater than said previous log filling rate, determining if said current log filling rate is less than said previous log filling rate; and

when said current log filling rate is less than said previous log filling rate, adjusting said log interval TINT to be greater than (T2−T1).

4. An article of manufacture comprising a processor and a computer readable storage medium having computer readable program code disposed therein to archive a plurality of log entries stored by a data storage system in a first memory, wherein each log entry comprises a log entry time, the computer readable program code comprising a series of computer readable program steps to effect:

encoding a log archive in a second memory, wherein said second memory is external to said data storage system;

setting a time T0 equal to current time;

at time T0, copying to said log archive said plurality of log entries written to said library log;

determining a time T1 when an earliest log entry was written to said library log;
determining a time T2 when a latest log entry was written to said library log;
calculating a log interval TINT equal to (T2−T1);
setting a retrieval time equal to (T0+TINT);
determining whether to perform an intermediate inspection of the library log;
when performing an intermediate inspection of the library log, determining a number (N) of log entries written to library log retrieved at time T0;
establishing a previous log filling rate equal to (N)/TINT;
setting an intermediate sampling interval TS, wherein said intermediate sampling interval is less than said log interval;
setting an intermediate sampling time, wherein said intermediate sampling time equals (T0+TS);
when current time equals said intermediate sampling time, inspecting the library log created after time T0;
determining a number (M) of log entries written to the library log after time T0;
establishing a current log filling rate equal to (M)/TS;
determining whether said current log filling rate is greater than said previous log filling rate; and
when said current log filling rate is greater than said previous log filling rate, adjusting said log interval TINT to be less than (T2−T1).

5. The article of manufacture of claim 4, said computer readable program code further comprising a series of computer readable program steps to effect:

setting a minimum log interval;

determining whether said adjusted log interval is less than said minimum log interval; and

when said adjusted log interval is less than said minimum log interval, setting said log interval equal to said minimum log interval.

6. The article of manufacture of claim 4, said computer readable program code further comprising a series of computer readable program steps to effect:

when said current log filling rate is not greater than said previous log filling rate, determining if said current log filling rate is less than said previous log filling rate; and

when said current log filling rate is less than said previous log filling rate, adjusting said log interval TINT to be greater than (T2−T1).