https://www.cnblogs.com/aspwebchh/p/6652855.html
最近做性能测试,发现瓶颈在cassandra DB上,因为是注册接口,insert语句
查询接口不受影响,并发很好,响应时间短
不由得想到索引的缺点来。
但是cassandra,你想根据一个条件查询到信息,就必须将该字段增加索引。。。(https://www.cnblogs.com/youzhibing/p/6617986.html)
CREATE INDEX idx_customersocialid_deleteflag ON customersocialid (deleteflag);
CREATE INDEX idx_customersocialid_openid ON customersocialid (openid);
CREATE INDEX idx_customersocialid_syncflag ON customersocialid (syncflag);
CREATE INDEX idx_customersocialid_unionid ON customersocialid (unionid);