Using disk mirroring

Mirroring is the duplication of the contents of an entire database device. When you set up a mirror device, all writes to the original device also go to the mirror device, and Adaptive Server reads from the original device or the mirror device based on efficiency. If one disk of a mirrored pair fails during a read or write, Adaptive Server automatically switches to the other disk and continues.

Disk mirroring provides a large benefit in recovery capability:

Disk mirroring also carries a cost:

Sybase highly recommends using mirror devices if you have the resources available.

NoteMirroring takes place for a database device, not for a database. To mirror the activities of a database that is allocated across several devices, you must mirror all of those devices.