Help:Temporary tables

(Redirected from Temporary tables)
Jump to: navigation, search

Temporary tables are used to hold temporary computed results during a query execution and while kept in memory those will be deleted after a query execution has finished.


Below shows an example for when temporary tables (marked with t.) are created and used by a query.

 [[Category:City]] OR  [[Located in::Germany]] 

{{#ask: OR Located in::Germany



Disable temporary tables

You can disable specific query features that rely on temporary tables (necessary when computing intermediary results) by adding the following to "LocalSettings.php":

$smwgQSubcategoryDepth = 0;
$smwgQSubpropertyDepth = 0;
$smwgQFeatures         = SMW_ANY_QUERY & ~SMW_DISJUNCTION_QUERY;

See also