473,387 Members | 3,781 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

WHY Replication???

Hi all...
We system analysts need to trust on our database software. Once they
crash, all of hard work will be lost.

So, people says replication is a good way to keep your data safe.
Let me present you my point.

I am using a RedHat 9.0/Mysql with a Raid 1(Mirror) file system. In
case of a file error, the software raid 1 will handle this problem and
replication will not add any good.
Another crash could be a MySql bug, and in this case the slave Mysql
will crash too.
So, why should i replicate???

Remember it's a case of safe data, not fast response.

I am just logging (bin-log) the changes made on database data. In
case of crash, i will rebuild the database using this log.
By the way, how can i rebuild the data using the log? What is the
command?

I think the log is recorded before the query is runned. This way, the
log is complete safe. Am i right?

One more qustion...

Since the log will keep increasing, there is no way to check the
logged querys runned all right and delete then from log? Does Mysql do
this automatic?
Thanks!
Jul 20 '05 #1
2 1947
In article <79**************************@posting.google.com >,
jo*********@yahoo.com (JoeAley2003) wrote:

So, people says replication is a good way to keep your data safe.
Well, I don't know anyone who says that, and I don't really agree.
Replication is more of a way to ensure high availability than it is
a way to "keep data safe."
Let me present you my point.

I am using a RedHat 9.0/Mysql with a Raid 1(Mirror) file system. In
case of a file error, the software raid 1 will handle this problem and
replication will not add any good.
True, but what if the machine's power supply fizzles out? What if
the CPU fan dies and the systems shuts down because it overheats?
Your data would be "safe," but it would also be inaccessible until
the machine is repaired.

If the databases were replicated on another machine, you could
switch to using that one and keep right on running.
Remember it's a case of safe data, not fast response.


Well, again, replication is more about high availability than it is
about data safety.

--
Jul 20 '05 #2
John Doherty wrote:
So, people says replication is a good way to keep your data safe.


Well, I don't know anyone who says that, and I don't really agree.
Replication is more of a way to ensure high availability than it is
a way to "keep data safe."


I agree, and in general replication is used for redundancy.

One of the things that redundancy can buy for you is high availability
in case of scheduled or unscheduled downtime for a server. So in both
cases of catastrophic failure and of planned maintenance, upgrade, etc.,
there is benefit from a duplicate database being available.

In cases of catastrophe, replication gives you a live instance of a
database that is in sync with the one that crashed. It's like having a
backup in progress continuously, and with virtually no time needed to
restore it in case of crash.

Redundancy can also be used for load-balancing. If you have multiple
databases in sync with one another, and a need for a large volume of
high-performance query response time, you can use various software or
hardware methods to redirect requests to one server or the other. But
the person with the question said that fast response time was not the
highest priority in this case.

Regards,
Bill K.
Jul 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Cherrish Vaidiyan | last post by:
Hello, I have certain doubts regarding replication of Oracle 9i in Red Hat Linux 9. 1) I want to implement asynchronous/synchronous multimaster replication.I have heard about Replication...
0
by: Cherrish Vaidiyan | last post by:
Frank <fbortel@nescape.net> wrote in message news:<bqgb99$a04$1@news1.tilbu1.nb.home.nl>... > Cherrish Vaidiyan wrote: > > Hello, > > > > I have certain doubts regarding replication of Oracle 9i ...
3
by: steve | last post by:
Hi, several years ago , I implemented the oracle replication system. At that time our database was ported from an old Fox pro application. ( K , no laughing at the back). As the foxpro...
1
by: Craig HB | last post by:
I have a distributed inventory control database that I am going to migrate from Access to SQL Server. I am going to use SQL Server Replication to keep the data current. There will one SQL Server...
6
by: John | last post by:
Hi We have an access app (front-end+backend) running on the company network. I am trying to setup replication for laptop users who go into field and need the data synched between their laptops...
3
by: dlesandrini | last post by:
I need advice about my decision to go with Replication in general. This post was placed on the Microsoft Replication newsgroup, but I really value the feedback that comes from this group as well. ...
56
by: Raphi | last post by:
Hi, I've been using an Access application I wrote for an office with the front-end stored on all computers and the back-end on one of them serving as an Access file server. Now we're moving...
9
by: David W. Fenton | last post by:
See: Updated version of the Microsoft Jet 4.0 Service Pack 8 replication files is available in the Download Center http://support.microsoft.com/?scid=kb;en-us;321076 This includes the Jet 4...
3
by: Gert van der Kooij | last post by:
Hi, Our SQL Replication is between DB2 databases on Windows servers. I'm searching for the document which tells me how to migrate our SQL Replication environment from V8 to V9 (we also need to...
2
by: Query Builder | last post by:
Hi, I have transactional replication set up on on of our MS SQL 2000 (SP4) Std Edition database server Because of an unfortunate scenario, I had to restore one of the publication databases. I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.