tarantoolのバージョンを使用してください:Tarantool 1.6.8-586-g504e151 これはepelからインストールされています。 私はスフィアモードにtarantoolを使用します。Tarantool sphiaはゆっくりと選択しますか?
log_space = box.schema.space.create('logs',
{
engine = 'sophia',
if_not_exists = true
}
)
log_space:create_index('primary', {
parts = {1, 'STR'}
}
)
私は500.000レコードを持っているし、選択要求します:
box.space.logsを:選択({ 'log_data'})
それはaboute 1分かかります。 なぜそんなに遅いですか?
unix/:/var/run/tarantool/g_sofia.control> box.stat()
—-
- DELETE:
total: 0
rps: 0
SELECT:
total: 587575
rps: 25
INSERT:
total: 815315
rps: 34
EVAL:
total: 0
rps: 0
CALL:
total: 0
rps: 0
REPLACE:
total: 1
rps: 0
UPSERT:
total: 0
rps: 0
AUTH:
total: 0
rps: 0
ERROR:
total: 23
rps: 0
UPDATE:
total: 359279
rps: 17