如何告诉 MonetDB 数据在 table 中排序?

How to tell MonetDB that data are sorted in the table?

给定一个 table data(如下所述)并确保导入到此 table 中的值已排序。

CREATE TABLE data (INT value) 
CREATE INDEX index_value ON data (value)

因为 MonetDB 可以忽略 CREATE INDEX 语句(详见 here)。我如何告诉 MonetDB 数据已排序,以便让他改进查找操作?

来自 https://www.monetdb.org/pipermail/users-list/2015-March/007932.html(已编辑):

MonetDB will detect it automagically. Just make sure the data is indeed ordered upon load. You can check it using the call

select "column","sorted" from storage() where "table"='yourtable';

which contains a column indicating whether MonetDB detected the sorted order.

请不要在此处和 MonetDB 邮件列表上双重 post。