GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||
GeezerVison is showing docs.voltdb.com — Chapter 3. Starting and Stopping the Database Administrator's GuideChapter 3. Starting and Stopping the DatabaseThe fundamental operations for database administration are starting and stopping the database. But before you start the database, you need to decide what database features you want to enable and how they should work. These features include attributes such as the amount of replication you want to use to increase availability in case of server failure and what level of durability is required for those cases where the database itself stops. These and other settings are defined in the configuration file, which you specify on the command line when you initialize the root directory for the database on each server. This chapter explains how to configure the cluster's physical structure and features in the configuration file and how to initialize the root directory and start and stop the database. 3.1. Configuring the Cluster and DatabaseYou specify the cluster configuration and what features to use in the configuration file, which is an XML file that you can create and edit manually. In the simplest case, the configuration file specifies how many partitions to create on each server, and what level of availability (K-safety) to use. For example: <?xml version="1.0"?>
<deployment>
<cluster sitesperhost="12"
kfactor="1"
/>
</deployment>
In addition to the sites per host and K-safety, you can use the configuration file to enable and configure specific database features such as export, command logging, and so on. The following table summarizes some of the key features that are settable in the configuration file. Table 3.1. Selecting Database Features in the Configuration File
| ||||||||||||
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |