我有数百万(30-1亿)条记录,有多个列。我需要在多个列上对此数据进行排序,并在页面中显示它们。存储此数据的最佳方式是什么?select id from T order by cx,cy limit 1000,1000
我可以假设它是一个只读的表,但我需要快速响应。对于NoSQL数据库,这个问题有什么好处吗?
我的问题是,OrientDB中大约有一百万个文档(让我们称之为ClassA),并且每个文档都有一个字段(让我们称之为fieldA)。因此,OrientDB中的数据如下所示: { }, fieldA: ['c','d','e']所以查询是这样的:
select from ClassA where 'c' in fie