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: standby instance, log recovery: msg#00219

db.maxdb

Subject: Re: standby instance, log recovery

Raimund Jacob wrote:
Heinrich, Tilo wrote:

hello tilo, hello *!

i started over: created another instance, imported the complete data backup and made sure that i did not bring it online.

first remark: when the kernel fails to start (into admin-mode) due to the disk being full, you cant tell because knldiag.err is empty (probably because the disk is full :).

now, importing the log backup from the first instance worked. hooray.

if it is like you say I'm surprised, that a simple 'util_execute clear log' did not help. I should have asked for the output of db_restartinfo too.
exporting host:
Used LOG Page 659
First LOG Page 0
Restartable 1
Id Restart Record (db-id of exporting host)
Id LOG Info (db-id of exporting host)
Consistent 1

this did not change.

importing host:
Used LOG Page 611
First LOG Page 2147483647
Restartable 1
Id Restart Record (db-id of importing host)
Id LOG Info (db-id of importing host)
Consistent 1

but this did. now it shows:

Used LOG Page 659
First LOG Page 2147483647
Restartable 1
Id Restart Record (db-id of exporting host)
Id LOG Info
Consistent 1

however, i still have those questions:
may i ask what's so dangerous about going online in the standby instance? is it that logs are being written? but the 'clear log' should help then? is it ok for the two systems to have different db-ids?

(it seems that the standby db has no own db-id. but how could i tell?)

and i have a few more questions: (please direct me to any documentation that may contain the answers. would be nice if the docs would be accurate :)

1) am i supposed to never bring the standby-instance up unless i really want to replace the original instance? when i bring it up once, will i be able to import more log backups from the exporting instance?

1a) if i am forbidden to ever bring up the standby instance, can i "lock" db_online in any way so that it doesnt happen accidentally?

2) for a continuous standby instance i have to decide wether i should use some script to perform log backups at regular intervals (and import them) or if i should use autolog. is there any advice or practical experience? are there ready-made scripts (i noticed some ugly behaviour of the exporting instance when the log is empty).

3) can/should i mix automatic and manual log backups?

4) does it feel different to import automatic logs? does it work the same way?

5) does the standby instance produce logs while importing the log backups of the original instance?

thank you very much for any advice,
Raimund Jacob

--
7. RedDot Anwendertagung der RedDot Usergroup e.V. am 31.1.2005
Pinuts präsentiert neue Entwicklung, http://www.pinuts.de/news

Pinuts media+science GmbH http://www.pinuts.de
Dipl.-Inform. 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