MonetDB storage()函数

时间:2016-02-29 10:39:43

标签: monetdb

来自MonetDB文档 https://www.monetdb.org/Documentation/Cookbooks/SQLrecipes/storage-model

The storage footprint for any given database schema
can be obtained by inspecting the table producing 
function storage()

以下是文档中的示例查询:

select * from storage() where "table" = 'lineitem';

但是当我尝试类似的查询时,我得到以下错误:

SELECT: no such operator 'storage'

我错过了什么?

1 个答案:

答案 0 :(得分:4)

使用“sys”架构对storage()函数调用进行前缀可能会解决您的问题。例如:

select * from sys.storage() where "table" = 'lineitem';