1280行のCFがあります。各行には 6 つの列があります。私は $cf->get_range('pq_questions','','',1200) をしようとしていますが、すべての行を取得しますが、遅すぎます(約4〜6秒)
Column Family: pq_questions
SSTable count: 1
Space used (live): 668363
Space used (total): 668363
Number of Keys (estimate): 1280
Memtable Columns Count: 0
Memtable Data Size: 0
Memtable Switch Count: 0
Read Count: 0
Read Latency: NaN ms.
Write Count: 0
Write Latency: NaN ms.
Pending Tasks: 0
Key cache capacity: 200000
Key cache size: 1000
Key cache hit rate: 0.10998439937597504
Row cache capacity: 1000
Row cache size: 1000
Row cache hit rate: 0.0
Compacted row minimum size: 373
Compacted row maximum size: 1331
Compacted row mean size: 574
奇妙ですが、cfstats の読み取りレイテンシーはdebian でNaN ms
呼び出すと、
ノードが 1 つしかなく、一貫性レベル ONE を使用しているhtop
ことが最大の負荷であることがわかります。phpcassa
クエリが非常に遅くなる原因は何ですか?