From: Antti Villberg Date: Thu, 11 May 2017 13:19:58 +0000 (+0300) Subject: Support using a DB baseline for faster program startup. X-Git-Tag: v1.31.0~132 X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=commitdiff_plain;h=34c2ce4fc18f58ca00275b9296f7a449d3395ced;hp=34c2ce4fc18f58ca00275b9296f7a449d3395ced Support using a DB baseline for faster program startup. Use by specifying the JVM argument -Dorg.simantics.db.baseline= where the baseline zip file must contain two directories: * db/ which contains the initial database version * .metadata/.plugins/org.simantics.db.indexing which contains the initial database index During baseline initialization, the specified zip file is extracted directly at the root of the workspace directory. The baseline file is hard-linked/copied under the workspace root as a file called `.baseline`. If this file exists, it indicates that the workspace has already been initialized from a baseline archive and should not be initialized/updated anymore. Limitations: * Automatic ontology updates or installation of new ontology plugins is disabled when a database baseline is in use. refs #7211 Change-Id: Id67156c65047b429af71e0eab83b31a5d2fd5117 ---