我需要处理数百万条记录。
使用幻像最有效的方法是什么?
这就是我的表格:
CREATE TABLE my_table (
key text,
timestamp bigint,
value double,
PRIMARY KEY (key, timestamp) )
我正在按唯一键执行此查询(可以达到数百万)
select * from my_table where key = 'xyz' and timestamp >= 1504660890 and timestamp < 1504670890;
但是在某些时候我得到了BusyPoolException