Home     Blog

Database Replication

Database replication is the creation and maintenance of multiple copies of the same database. In most implementations of database replication, one database server maintains the master copy of the database and additional database servers maintain slave copies of the database. Database writes are sent to the master database server and are then replicated by the slave database servers. Database reads are divided among all of the database servers, which results in a large performance advantage due to load sharing. In addition, database replication can also improve availability because the slave database servers can be configured to take over the master role if the master database server becomes unavailable.

Database replication can be performed in at least three different ways:

  1. Snapshot replication: Data on one database server is plainly copied to another database server, or to another database on the same server.database replication Database Replication
  2. Merging replication: Data from two or more databases is combined into a single database.
  3. Transactional replication: Users obtain complete initial copies of the database and then obtain periodic updates as data changes.

Multi-master replication, where modifications can be tendered to any database server, and then flow through to further database servers, is frequently preferred. However, it establishes considerably bigger expenses and intricacy which may make it not viable in several circumstances. The universal dispute that exists in multi-master replication is transactional inconsistency avoidance or resolution. Most synchronous or keen replication systems do inconsistency avoidance, while asynchronous systems have to do inconsistency resolution. The resolution of such an inconsistency may be based on a timestamp of the transaction, on the ladder of the source servers or on much more intricate reason, which decides every time on all servers.

Database replication turns out to be complicated when it increases in size and magnitude. Typically, the increase relates with two dimensions; horizontal and vertical. Horizontal increase has extra data copies, vertical increase has data copies situated remotely. Troubles conceive by horizontal increase can be lessened by a multi-layer multi-view access protocol. Vertical increase is dashes into less trouble because Internet dependability and performance are becoming better.

VN:F [1.9.17_1161]
Rating: 9.5/10 (2 votes cast)
Database Replication, 9.5 out of 10 based on 2 ratings
Follow Will.Spencer on

Comments (1)

 

  1. shailesh says:

    I want to check failover testing in replication. How it is possible?
     
    Thanks,
    Shailesh

    VA:F [1.9.17_1161]
    Rating: 0.0/5 (0 votes cast)

Leave a Reply

Related Posts

  • How WINS Replication works

    WINS replication is the process of copying updated WINS data from one WINS server to other WINS servers in a network to synchronize the data. Replication of WINS databases ensures that a name which is registered with one server gets replicated to other WINS servers on the network. With the use of replication between different [...]...


  • Replication Topology in Active Directory

    Replication Topology is the route by which replication data travels throughout a network. Replication occurs between two domain controllers at a time. Over time, replication synchronizes information in Active Directory for an entire forest of domain controllers. To create a replication topology active directory must determine which domain controller's replicate data with other domain controllers. [...]...


  • Active Directory Replication

    The initial Windows NT versions were designed as single master network environments. The primary domain controller (PDC) was responsible for managing the domain database’s master copy. The PDC was therefore responsible for replicating any changes to the backup domain controllers (BDCs). In these environments, any changes had to be performed on the PDC, which then [...]...


  • ODBC (Open Database Connectivity)

    ODBC (Open Data Base Connectivity) is an interface to access databases via SQL queries. ODBC can be used as an access tool to various databases such as MS-Access, dBase, DB2, Excel, and Text. Through these Call Level Interface (CLI) specifications of the SQL Access Group, the OBDC allows a neutral way of accessing the data [...]...


  • Database Trigger

    A database trigger is a procedural code that automatically changes information in one or more databases in response to a change on another database or table. For example, when an employer creates a slot in a list of employees for a new employee, the database trigger in that list should automatically add the new employee [...]...