N
N
NemuiSaburau2019-03-28 12:29:41
Sphinx
NemuiSaburau, 2019-03-28 12:29:41

How to find out how much space a file with Sphinx index takes? And how to reduce the size of this file?

How can I see the file with the Sphinx index, how much space does it take up, and where is it located?
Is it possible to reduce the size of this file, for example, by archiving (even if there will be a loss in search speed)
Can this file be copied to another server without re-indexing, just by connecting?
System - Ubuntu 18, located on the server (access only through the terminal)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Tikhonov, 2019-03-28
@NemuiSaburau

It is located in the folder corresponding to the path in the config.
You can only archive at the level of a virtual file system - the sphinx does not work with compressed formats. You can try to cut down the index functionality (expand_keywords, index_exact_words, remove unused fields and attributes) - but it depends on how the index is used.
Can be copied to another server without reindexing.

P
Puma Thailand, 2019-03-28
@opium

Go to the folder with indexes and see the size
Use a compressible file system will weigh less

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question