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...

AW: statement too big for the log device: msg#00163

db.maxdb

Subject: AW: statement too big for the log device



> -----Ursprüngliche Nachricht-----
> Von: Martin Lackner [mailto:martin.lackner@xxxxxx]
> Gesendet: Donnerstag, 17. März 2005 19:38
> An: maxdb
> Betreff: statement too big for the log device
>
>
> Hello,
>
> I've run a single update-statement with dbmcli on a table
> with a lot of
> rows, were most of them were changed. The log device is too
> small and so
> it ends up in log full. I'm not able to do anything with the database
> then (like change the state of the db). autolog is on, but
> that does not
> matter her, because it can't backup data in the log-device
> with is maybe
> rollbacked (as far as I know). I always thought maxdb use
> space in the
> data-device if a single transaction is too big for the log device??

Thats true only for releases prior to 7.4. In the newer releases
undo-information is always written into the datavolumes. Redoinformation
is written to the logvolume.

>
> If I run the same sql-statement in the loadercli, several
> (auto-)log-backups are made. It seems, that the loadercli devides the
> statement in several transactions.
>
> I had a backup, so I killed every thread belonging to this
> DB, and then
> I were able to drop and recreate it.

Did you try to restart the database after killing? This should always
be possible.

>
> How can I "recover" in this LOG FULL situation and bring the
> DB back to
> live when I have not a backup for the state just before? I have this
> behavior in 7.4.23 and 7.5.19.

Normally a logbackup should solve the situation. Pages on the logvolume
may be reused if two conditions are fullfilled:
1) they must be already saved
2) they are not needed for the next restart (e.g. the last savepoint is
younger than the pages which will be reused)

Could you please have a look into the file knldiag, whether the last savepoint
hase been completed? you should find a message like
2005-03-04 10:57:41 0x94C 53071 SAVPOINT B20SVP_COMPLETED: 31

Kind regards, Martin

--
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