MySQL Forums
Forum List  »  NDB clusters

Re: database bigger than the RAM ?
Posted by: Harrison Fisk
Date: January 24, 2005 09:40PM

Hi,

A few comments below.

Robert McHugh wrote:
> So, hypothetically what would happen to an
> in-memory database if the entire database cluster
> went down? For example if power was lost to the
> database site and the UPS failed. If nothing is
> written to the disk wouldn't the whole database be
> wiped out?

Keep in mind that every node in the cluster would have to shutdown. Not just one, but the entire thing. Hopefully with redundancy that normally isn't possible.

With that said, it does write to disk. It just doesn't do it in a synchronous manner. That means that in theory if the entire cluster shutdown, then you could lose a little bit of data.

> Is there a way to create backups of a clustered
> database periodically, in case of such a
> malfunction. What would be the procedure to
> accomplish this?

You can take hot online backups with MySQL Cluster. This would only be needed in the event of a user failure (ie. drops a table and regrets it) or if the entire cluster hardware including disks died (ie. fire wipes out data center). You can read more about that at http://dev.mysql.com/doc/mysql/en/mysql-cluster-backup.html

Harrison Fisk, Trainer and Consultant
MySQL AB, www.mysql.com

Options: ReplyQuote


Subject
Views
Written By
Posted
3724
December 17, 2004 03:08AM
2354
December 17, 2004 11:15PM
2245
December 18, 2004 03:52AM
2358
December 20, 2004 12:23AM
2411
December 20, 2004 06:54AM
3198
December 23, 2004 06:46PM
2205
January 24, 2005 04:09PM
Re: database bigger than the RAM ?
2367
January 24, 2005 09:40PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.