<html> <head> <META http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>No schema changes</title> <link rel="stylesheet" type="text/css" href="../../../style.css"> </head> <body> <div class="CommonContent"> <div class="CommonContentArea"> <h1>No schema changes</h1><div id="TOC"><div id="TOCinner"><span class="TOCtitle">Contents</span><div class="TOCcontents"><ul><li><a href ="#Advantage">Advantage</a></li><li><a href ="#Effect">Effect</a></li><li><a href ="#Alternate Strategies">Alternate Strategies</a></li></ul></li></ul></div></div></div> <span name="cs_wiki_filter" csw_filters="net"> <P>.NET: </P> <P><code>Db4oFactory.Configure().DetectSchemaChanges(false)</code></P> </span> <a name="Advantage"></a><H2>Advantage</H2> <P>will prevent db4o from analysing the class structure upon opening a database file.</P> <a name="Effect"></a><H2>Effect</H2> <P>Upon system startup, db4o will use reflection to scan the structure of all persistent classes. This process can take some time, if a large number of classes are present in the database file. For the best possible startup performance on "warm" database files (all classes already analyzed in a previous startup), this feature can be turned off.</P> <a name="Alternate Strategies"></a><H2>Alternate Strategies</H2> <P>Instead of using one database file to store a huge and complex class structure, a system may be more flexible and faster, if multiple database files are used. In embedded client/server setup, database files can also be switched from the client side with</P> <span name="cs_wiki_filter" csw_filters="net"> <P>.NET: </P> <P><code>((ExtClient)objectContainer).SwitchToFile(databaseFile)</code></P> </span></div> </div> <div id="footer"> This revision (9) was last Modified 2007-09-01T14:25:44 by Tetyana. </div> </body> </html>