search - Sphinx getting slow after continuously adding and removing items -
search - Sphinx getting slow after continuously adding and removing items -
i have sphinx search function 5m items. new items added , removed continuously. thereby sphinx getting slow after while.
when truncate rtindex sphinx database , set every item in sphinx again, sphinx fast 1 time again after while sphinx getting slow again.
i don't want truncate every day because takes hr , half add together products sphinx again.
does know how optimize sphinx prepare problem? maybe caching?
some info: virtual memory 1021.73 mb used, 1021.99 mb total real memory 10.42 gb used, 31.39 gb total
real-time indexes stores on disk in chunks. after while there many chunks, impact performance. so, need optimize index executing optimize index command: http://sphinxsearch.com/docs/current.html#sphinxql-optimize-index
search sphinx
Comments
Post a Comment