Re: Performance/Cache Settings
Tobias Downer <[email protected]> Sun, 17 Apr 2005 22:31:36 -0700
| Newsgroups | gmane.comp.db.mckoi |
|---|---|
| Message-ID | <[email protected]> |
Hi Justin,
You would set up the config object as follows;
DefaultDBConfig config = new DefaultDBConfig();
config.setValue("data_cache_size", "4194304");
config.setValue("max_cache_entry_size", "8192");
All the standard properties described at
http://www.mckoi.com/database/ConfigurationOptions.html can be modified
with the 'setValue' function in the Control API.
Toby.
Justin Cobb wrote:
> How do I change the Cache settings if I am using the control API. I have
> looked through all the classes and have not found any functions for
> changing these settings. It’s easy to do in the db.conf, but I can not
> use this file in my app.
>
>
> --
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.0.308 / Virus Database: 266.9.11 - Release Date: 4/14/2005
>
---------------------------------------------------------------
Mckoi SQL Database mailing list http://www.mckoi.com/database/
To unsubscribe, send a message to [email protected]