pgroonga_database
Overview
| Package | Version | Category | License | Language |
|---|---|---|---|---|
pgroonga | 4.1.0 | FTS | PostgreSQL | C |
| ID | Extension | Bin | Lib | Load | Create | Trust | Reloc | Schema |
|---|---|---|---|---|---|---|---|---|
| 2110 | pgroonga | Yes | Yes | No | Yes | No | No | - |
| 2111 | pgroonga_database | No | Yes | No | Yes | No | No | - |
| Related | pg_search pg_textsearch pg_fts pg_bestmatch vchord_bm25 pg_rrf psql_bm25s pgcontext vectorize |
|---|
Version
| Type | Repo | Version | PG Ver | Package | Deps |
|---|---|---|---|---|---|
| EXT | PIGSTY | 4.1.0 | 1817161514 | pgroonga | - |
| RPM | PIGSTY | 4.1.0 | 1817161514 | pgroonga_$v | groonga-libs, msgpack, xxhash-libs |
| DEB | PIGSTY | 4.1.0 | 1817161514 | postgresql-$v-pgroonga | libgroonga0, `libmsgpackc2 |
| OS / PG | PG18 | PG17 | PG16 | PG15 | PG14 |
|---|---|---|---|---|---|
| el8.x86_64 | PIGSTY 4.1.0 | PIGSTY 4.1.0 | PIGSTY 4.1.0 | PIGSTY 4.1.0 | PIGSTY 4.1.0 |
| el8.aarch64 | PIGSTY 4.1.0 | PIGSTY 4.1.0 | PIGSTY 4.1.0 | PIGSTY 4.1.0 | PIGSTY 4.1.0 |
| el9.x86_64 | PIGSTY 4.1.0 | PIGSTY 4.1.0 | PIGSTY 4.1.0 | PIGSTY 4.1.0 | PIGSTY 4.1.0 |
| el9.aarch64 | PIGSTY 4.1.0 | PIGSTY 4.1.0 | PIGSTY 4.1.0 | PIGSTY 4.1.0 | PIGSTY 4.1.0 |
| el10.x86_64 | PIGSTY 4.1.0 | PIGSTY 4.1.0 | PIGSTY 4.1.0 | PIGSTY 4.1.0 | PIGSTY 4.1.0 |
| el10.aarch64 | PIGSTY 4.1.0 | PIGSTY 4.1.0 | PIGSTY 4.1.0 | PIGSTY 4.1.0 | PIGSTY 4.1.0 |
| d12.x86_64 | PIGSTY 4.1.0 | PIGSTY 4.1.0 | PIGSTY 4.1.0 | PIGSTY 4.1.0 | PIGSTY 4.1.0 |
| d12.aarch64 | PIGSTY 4.1.0 | PIGSTY 4.1.0 | PIGSTY 4.1.0 | PIGSTY 4.1.0 | PIGSTY 4.1.0 |
| d13.x86_64 | PIGSTY 4.1.0 | PIGSTY 4.1.0 | PIGSTY 4.1.0 | PIGSTY 4.1.0 | PIGSTY 4.1.0 |
| d13.aarch64 | PIGSTY 4.1.0 | PIGSTY 4.1.0 | PIGSTY 4.1.0 | PIGSTY 4.1.0 | PIGSTY 4.1.0 |
| u22.x86_64 | PIGSTY 4.1.0 | PIGSTY 4.1.0 | PIGSTY 4.1.0 | PIGSTY 4.1.0 | PIGSTY 4.1.0 |
| u22.aarch64 | PIGSTY 4.1.0 | PIGSTY 4.1.0 | PIGSTY 4.1.0 | PIGSTY 4.1.0 | PIGSTY 4.1.0 |
| u24.x86_64 | PIGSTY 4.1.0 | PIGSTY 4.1.0 | PIGSTY 4.1.0 | PIGSTY 4.1.0 | PIGSTY 4.1.0 |
| u24.aarch64 | PIGSTY 4.1.0 | PIGSTY 4.1.0 | PIGSTY 4.1.0 | PIGSTY 4.1.0 | PIGSTY 4.1.0 |
| u26.x86_64 | PIGSTY 4.1.0 | PIGSTY 4.1.0 | PIGSTY 4.1.0 | PIGSTY 4.1.0 | PIGSTY 4.1.0 |
| u26.aarch64 | PIGSTY 4.1.0 | PIGSTY 4.1.0 | PIGSTY 4.1.0 | PIGSTY 4.1.0 | PIGSTY 4.1.0 |
Build
You can build the RPM / DEB packages for pgroonga using pig build:
Install
You can install pgroonga directly. First, make sure the PGDG and PIGSTY repositories are added and enabled:
Install the extension using pig or apt/yum/dnf:
Create Extension:
Usage
Sources:
pgroonga_database 4.1.0 is a recovery-only helper for a damaged internal PGroonga database. It provides one SQL function that removes PGroonga files from database and applicable tablespace directories. It does not provide the search access method.
Recovery Workflow
Normal index corruption may be repairable with REINDEX alone. Use this module only when the internal Groonga database itself is damaged and a planned rebuild is necessary. Arrange a recovery window and disconnect every session using PGroonga before proceeding; remaining sessions may crash when their files are removed.
In a fresh administrative connection that has not opened any PGroonga index:
Disconnect that connection immediately afterward. In another fresh connection, run REINDEX for every PGroonga index to recreate the internal database from PostgreSQL table data. Resume application traffic only after rebuilding and checking all affected indexes.
Return Value and Boundaries
pgroonga_database_remove() returns true when it reaches the end of its cleanup loop. If a tablespace ownership check fails, the loop stops and the function can still return true; this result alone does not prove that every location was cleaned. Other failures can raise errors. It removes the internal files directly; it neither exports them nor rebuilds indexes. Do not use other PGroonga features in the cleanup connection. This is not a routine vacuum, an uninstall command, or an action that can be made safe merely by wrapping the call in a SQL transaction.
The control file does not mark the extension trusted or relocatable. The C implementation checks tablespace ownership when traversing locations. Use an administrator who owns the required locations and verify that the cleanup and full reindex completed. The module has no preload requirement; enable it only for the recovery task.
Version 4.1.0
The 4.1.0 control version is synchronized with PGroonga. The recovery helper remains a destructive file-removal operation; the disconnect/rebuild procedure above is unchanged.
Was this page helpful?
Thanks—your feedback helps us improve this page.
What got in the way? (optional)