.ovfs_status
Onesimus extension
Show whether restore trees use the ovfs extension or the Director fallback.
Synopsis
.ovfs_status [refresh] [json]
Words without brackets are required, [ ] marks optional parts, a | b alternatives, ... a repeatable argument and [,...] a comma separated list.
Description
Onesimus extension: shows whether the PostgreSQL extension ovfs is installed and usable in the catalog database and which path answers the .ovfs commands, the extension or the equivalent plain SQL fallback in the Director. Both give the same results; the extension is faster on large catalogs. If the extension is not usable the reason is shown.
refresh checks the extension again instead of showing the stored result. json prints the result as one JSON line in every API mode.
Arguments
| Argument | Type | Values / source | Default | Flags | Description |
|---|---|---|---|---|---|
refresh | keyword | Check the extension again now. | |||
json | keyword | Print the JSON object as text. |
Examples
Extension state and restore tree path:
.ovfs_status
Check again and print JSON:
.ovfs_status refresh json