|
View:
New views
1 Messages
—
Rating Filter:
Alert me
|
|
|
SVN version: important update info[Update info for those using SMW from SVN with SMWSQLStore2]
Hello, 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 time. 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 refresh script). 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. Cheers, Markus -- Markus Krötzsch Semantic MediaWiki http://semantic-mediawiki.org http://korrekt.org markus@... ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Semediawiki-devel mailing list Semediawiki-devel@... https://lists.sourceforge.net/lists/listinfo/semediawiki-devel |
| Free Forum Powered by Nabble | Forum Help |