搜索引擎 thinking-sphinx 建立索引速度慢的问题

davidqhr · March 11, 2012 · Last by davidqhr replied at March 11, 2012 · 9554 hits

问题 RT 数据库使用的是 mysql 给一张表建立索引,一共 36 条记录,不过记录很相似。竟然用了 200 多秒,这是什么问题导致的呢?麻烦各位帮解答下,mem_limit: 128M

indexing index 'product_core'...
collected 36 docs, 0.0 MB
sorted 0.0 Mhits, 100.0% done
total 36 docs, 5864 bytes
total 234.095 sec, 25 bytes/sec, 0.15 docs/sec
indexing index 'product_delta'...
collected 0 docs, 0.0 MB
total 0 docs, 0 bytes
total 0.002 sec, 0 bytes/sec, 0.00 docs/sec
skipping non-plain index 'product'...
total 4 reads, 0.000 sec, 1.4 kb/call avg, 0.0 msec/call avg
total 14 writes, 0.000 sec, 0.8 kb/call avg, 0.0 msec/call avg
rotating indices: succesfully sent SIGHUP to searchd (pid=3637).

real    4m9.765s
user    0m40.307s
sys 0m17.785s


You need to Sign in before reply, if you don't have an account, please Sign up first.