What are database devices?  disk init syntax

Chapter 7: Initializing Database Devices

Using the disk init command

A System Administrator initializes new database devices with the disk init command, which:

disk init divides the database devices into allocation units, groups of 256 logical pages. The size of the allocation unit depends on which logical page size your server is configured for (2, 4, 8, or 16K). In each allocation unit, the disk init command initializes the first page as the allocation page, which contains information about the database (if any) that resides on the allocation unit.

WARNING! After you run the disk init command, dump the master database. This makes recovery easier and safer in case master is damaged. See Chapter 13, “Restoring the System Databases.”





Copyright © 2005. Sybase Inc. All rights reserved. disk init syntax

View this book as PDF