Share via


Registry Type Comparison (Windows Embedded CE 6.0)

1/6/2010

The registry type affects the characteristics and behavior of the target device. You should choose a registry type that best fits your performance requirements during boot time. When selecting a registry for your target device, you can select either an object-store-based registry, also known as a RAM-based registry, or a hive-based registry.

An object-store-based registry stores registry information in the object store. A hive-based registry stores registry information in files in the file system. For more information, see Registry Types.

In choosing a registry type, consider the type of data storage you want in your target device. The type of data storage is typically determined by whether your target device warm boots or cold boots.

The following table shows the recommended registry type for each type of data storage.

Data storage Normal boot Recommended registry type Description of performance

RAM

Warm

Object-store-based

The first cold boot is relatively slow. Subsequent warm boots are relatively fast because the data remains in RAM.

Persistent storage other than RAM

Cold

Hive-based

A cold boot is relatively fast because data is loaded efficiently from the file system. A warm boot is slower than with the object-store-based registry because the data must be loaded from the file system.

Consider using the hive-based registry if your code uses an object-store-based registry that is saved to and restored from persistent storage. The hive-based registry may complete the process of saving and restoring more quickly.

See Also

Tasks

Troubleshooting: Performance Insufficient

Other Resources

Selecting a Registry Type
Registry Types