Replies: 2 comments
-
|
Note. use tokenizer TokenBigramSplitSymbolAlpha and normalizer NormalizerAuto |
Beta Was this translation helpful? Give feedback.
-
Because PGroonga copies source data in PostgreSQL. PGroonga has source data + index data. So it's larger. It's for removing deleted data from index efficiently. If we don't remove deleted data from index (we remove deleted data only by
Because PostgreSQL doesn't count data created by non PostgreSQL API. See also: #15
In general, source size * 2-3 are expected size.
Yes. All PGroonga data can be generated from PostgreSQL data.
No. But if the crash remains lock in PGroonga, Could you share PGroonga's log file that should record crash details?
What does "this behavior" mean? Size? Crash? If it means size, it's a known behavior and it's not an issue. If it means crash, it's not a known issue. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
We started using PGroonga to index objects and documents.
Before enabling PGroonga, the PostgreSQL database size was approximately 200 GB.
After enabling PGroonga, the database size rapidly increased to about 1 TB before the database eventually crashed. We restored the database from backup.
After restoration, the database size is now around 500 GB and continues to increase every day.
PGroonga is installed in the schema
indexation.We currently use two PGroonga indexes on the following tables:
FTS_SEARCH_CHUNKFTS_INDEXDatabase size:
SELECT pg_size_pretty(pg_database_size(current_database()));Current result:
Filesystem usage inside PGDATA:
We inspected PGroonga internal files directly and found many very large
pgrn.*files, including files larger than 50 GB.Example:
There are also many additional files between 600 MB and 1.1 GB.
However, PostgreSQL reports much smaller index sizes.
For example:
Result:
For PGroonga indexes specifically, the reported logical size is also relatively small.
Example:
Result:
We also tried rebuilding the PGroonga indexes using
REINDEX.Could you help us understand:
Beta Was this translation helpful? Give feedback.
All reactions