//----------------------------------------------------------------------- // // Copyright (c) Microsoft Corporation. // //----------------------------------------------------------------------- namespace Microsoft.Isam.Esent.Interop.Vista { /// /// System parameters that have been added to the Vista version of ESENT. /// public static class VistaParam { /// /// This parameter controls the number of B+ Tree resources cached by /// the instance after the tables they represent have been closed by /// the application. Large values for this parameter will cause the /// database engine to use more memory but will increase the speed /// with which a large number of tables can be opened randomly by /// the application. This is useful for applications that have a /// schema with a very large number of tables. /// public const JET_param CachedClosedTables = (JET_param)125; /// /// Enable the use of the OS file cache for all managed files. /// public const JET_param EnableFileCache = (JET_param)126; /// /// Enable the use of memory mapped file I/O for database files. /// public const JET_param EnableViewCache = (JET_param)127; /// /// This parameter exposes multiple sets of default values for the /// entire set of system parameters. When this parameter is set to /// a specific configuration, all system parameter values are reset /// to their default values for that configuration. If the /// configuration is set for a specific instance then global system /// parameters will not be reset to their default values. /// Small Configuration (0): The database engine is optimized for memory use. /// Legacy Configuration (1): The database engine has its traditional defaults. /// public const JET_param Configuration = (JET_param)129; /// /// This parameter is used to control when the database engine accepts /// or rejects changes to a subset of the system parameters. This /// parameter is used in conjunction with to /// prevent some system parameters from being set away from the selected /// configuration's defaults. /// public const JET_param EnableAdvanced = (JET_param)130; /// /// This read-only parameter indicates the maximum allowable index key /// length that can be selected for the current database page size /// (as configured by ). /// public const JET_param KeyMost = (JET_param)134; /// /// This parameter provides backwards compatibility with the file naming conventions of earlier releases of the database engine. /// public const JET_param LegacyFileNames = (JET_param)136; /// /// Set the name associated with table class 1. /// public const JET_param TableClass1Name = (JET_param)137; /// /// Set the name associated with table class 2. /// public const JET_param TableClass2Name = (JET_param)138; /// /// Set the name associated with table class 3. /// public const JET_param TableClass3Name = (JET_param)139; /// /// Set the name associated with table class 4. /// public const JET_param TableClass4Name = (JET_param)140; /// /// Set the name associated with table class 5. /// public const JET_param TableClass5Name = (JET_param)141; /// /// Set the name associated with table class 6. /// public const JET_param TableClass6Name = (JET_param)142; /// /// Set the name associated with table class 7. /// public const JET_param TableClass7Name = (JET_param)143; /// /// Set the name associated with table class 8. /// public const JET_param TableClass8Name = (JET_param)144; /// /// Set the name associated with table class 9. /// public const JET_param TableClass9Name = (JET_param)145; /// /// Set the name associated with table class 10. /// public const JET_param TableClass10Name = (JET_param)146; /// /// Set the name associated with table class 11. /// public const JET_param TableClass11Name = (JET_param)147; /// /// Set the name associated with table class 12. /// public const JET_param TableClass12Name = (JET_param)148; /// /// Set the name associated with table class 13. /// public const JET_param TableClass13Name = (JET_param)149; /// /// Set the name associated with table class 14. /// public const JET_param TableClass14Name = (JET_param)150; /// /// Set the name associated with table class 15. /// public const JET_param TableClass15Name = (JET_param)151; /// /// Sets the IO priority per instance, anytime. This is used /// mainly for background recovery (log replay). /// Does not affect the pending IOs, just the subsequent ones issued. /// The valid values for this parameter are contained in the /// enumeration. /// public const JET_param IOPriority = (JET_param)152; } }