MonetDB 存储()函数
MonetDB storage() function
来自 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'
我错过了什么?
使用 "sys" 架构为 storage() 函数调用添加前缀可能会解决您的问题。例如:
select * from sys.storage() where "table" = 'lineitem';
来自 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'
我错过了什么?
使用 "sys" 架构为 storage() 函数调用添加前缀可能会解决您的问题。例如:
select * from sys.storage() where "table" = 'lineitem';