Got it

Database mirroring

Created: Jun 24, 2020 14:09:48Latest reply: Jun 24, 2020 14:14:32 386 1 0 0 0
  Rewarded HiCoins: 0 (problem resolved)

Hi,

In the database mirroring solution, if one database or two databases are faulty, can the system still work properly? 

Thanks.

Featured Answers
Popeye_Wang
Admin Created Jun 24, 2020 14:14:32

Hi,

Database mirroring requires three servers, including the principal database, mirroring database, and witness database. 

· Primary database: The primary database is a read/write database in database mirroring. It processes the transaction requests for reading and writing data from and to applications. The transaction log records are applied to the read-only copy (mirror database) of the database. 

· Mirroring database: A copy of the primary database that is fully synchronized with the primary database and serves as a standby server. The data in the mirror database cannot be directly accessed. When the primary database is faulty, the data is automatically switched to the mirror database. 

· Witness database: enables the mirror server to identify when to start automatic failover. 

During the running of database mirroring, the system can still work properly even if any server is faulty. If any two servers are faulty, the system cannot work properly. Therefore, at least two servers must be running properly.


View more
  • x
  • convention:

All Answers

Hi,

Database mirroring requires three servers, including the principal database, mirroring database, and witness database. 

· Primary database: The primary database is a read/write database in database mirroring. It processes the transaction requests for reading and writing data from and to applications. The transaction log records are applied to the read-only copy (mirror database) of the database. 

· Mirroring database: A copy of the primary database that is fully synchronized with the primary database and serves as a standby server. The data in the mirror database cannot be directly accessed. When the primary database is faulty, the data is automatically switched to the mirror database. 

· Witness database: enables the mirror server to identify when to start automatic failover. 

During the running of database mirroring, the system can still work properly even if any server is faulty. If any two servers are faulty, the system cannot work properly. Therefore, at least two servers must be running properly.


View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.