[Update info for those using SMW from SVN with SMWSQLStore2]
as SMW is progressing towards 1.2 there were some further changes in the
design of the new storage engine, making many operations more efficient. The
following is important to anyone using the current development version of SMW
with the new storage engine enabled (i.e. $smwgDefaultStore = 'SMWSQLStore2';
in your LocalSettings):
When updating your SMW next time, you need to *fully* rebuild the semantic
store, or otherwise some #redirects will not be interpreted as expected. To
do such a full rebuild, use the following two commands:
php SMW_refreshData.php -vptf
(the f makes sure that everything is deleted first)
php SMW_refreshData.php -v
While this runs, the store is incomplete and queries in the wiki will not
return all expected results. The -f is strictly needed for the update this
Touch (modify) LocalSettings.php afterwards to make sure all page caches are
cleaned. If you have a very large wiki, you can also switch back to
SMWSQLStore while upgrading SMWSQLStore2 (in this case, use the additional
parameter "-b SMWSQLStore2" for the above calls so that the right store is
refreshed). Large wikis also should probably use the parameters -s and -e to
refresh only some chunk of pages each time (cf. the warning issued by the
To free up the storage space taken by SMW's old store, you can run
php SMW_setup.php --delete -b SMWSQLStore
This will issue suitable warnings so as to not break a wiki by accident. The
admin user of course needs to have DROP rights for this to work.
Semanticweb.org is already using the new store.
Semantic MediaWiki http://semantic-mediawiki.orghttp://korrekt.org markus@...
Get latest updates about Open Source Projects, Conferences and News.