Configuration
Logging
By default, you cannot capture all pgvecto.rs logs. pgvecto.rs starts a background worker process for indexing, and it prints logs to standard error. To capture them, you need to set logging_collector to on. You can get more information from PostgreSQL document about logging collector.
You can set logging_collector to on with the following command:
Index configuration
since v0.3.0For each index, there are a number of configuration items that are variable. Unlike options, they support real-time modification after the index has been created. These items can be configured by function alter_vector_index.
Here are all the available configurations.
Threads for backend optimizing
By default, each vector index is optimized by only one thread at the backend. However, if you have multiple idle CPUs and want to take advantage of them, you can increase the number of threads.
Set the key argument to optimizing.threads and the value argument to the desired number of threads.