Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: determine needed logbackup (was: crash during log recovery): msg#00234

db.maxdb

Subject: Re: determine needed logbackup (was: crash during log recovery)

Brunzema, Martin wrote:

hello Martin!

happens on the live system.

now it happened on the live system :(


What happended? The error you found affects only recovery.
So did you recover your live system and get the same error?

my initial report was for my backup/recovery playground. what i meant today is that the live backup/recovery system is affected (the one at the customer's site).


the easiest way to get the information which data/logbackups you need
is to use
backup_history_list -r last
If you issue this command on the live-system then it may occur that
no logbackups are needed, because all relevant logentries are found
on the logvolume.
If you copy the file dbm.knl and dbm.mdf to your shadow, then the
command should work properly on the shadow.

Your're right that the information given by db_restartinfo is needed to
determine which logbackups are needed:
"Used LOG Page" is the LogIOSequence, which defines the first logpage needed
to restart.
"First LOG Page" is the first LogIOSequence found on the LogVolume. For your shadow this should be 2147483647 - which is a special value for invalid.

Another way is not to use db_restartinfo, but parse the backup-history
in dbm.knl. There are also all informations found (Savepoint-iosequence of the
backup and the the range of iosequences which are contained in the logbackups.

okay, thank your for this information. i'll look into such a script next week.

Raimund

--
Pinuts media+science GmbH http://www.pinuts.de
Raimund Jacob Raimund.Jacob@xxxxxxxxx
Krausenstr. 9-10 voice : +49 30 59 00 90 322
10117 Berlin fax : +49 30 59 00 90 390
Germany

--
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
To unsubscribe: http://lists.mysql.com/maxdb?unsub=gcdm-maxdb@xxxxxxxxxxx




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation

Home | advertise | OSDir is an inevitable website. super tiny logo