ALTER SEGMENT QUARANTINE
ALTER SEGMENT QUARANTINE isolates segment groups from segment generation or queries. Use this SQL statement if segments are causing unexpected results or crashes. The segments can be un-quarantined by setting quarantine_level to none.
Syntax
SQL
Using Quarantine Levels ( <quarantine_level> )
You can place quarantines at these segment levels.
Examples
This example quarantines a single segment group from
segment_generation.
SQL
segment_generation.
SQL
SQL
SQL
query level.
SQL
query level.
SQL
SQL
DRAIN PAGES
TheDRAIN PAGES SQL statement instructs the Ocient System to immediately convert buffered pages into segments on one or more Loader Nodes. During normal operation, the system converts pages to segments automatically based on internal thresholds and timeouts, so the DRAIN PAGES statement is usually needed only in special circumstances. For example, draining pages can be useful before performing planned maintenance on Loader Nodes.
The SQL statement targets all Loader Nodes by default. You can optionally scope the operation to a specific storage scope or table, and you can restrict it to a subset of Loader Nodes.
Required Privileges
- To drain all pages or drain pages for a specific storage scope, you must have
UPDATEprivileges on the system. - To drain pages for a specific table, you must have
UPDATEprivileges on the system orDELETEprivileges on the database that contains the table.
SQL
Examples
Drain All Pages
This example converts all buffered pages to segments across every Loader Node.
SQL
a1b2c3d4-e5f6-7890-abcd-ef1234567890.
SQL
12345678-abcd-ef01-2345-6789abcdef01.
SQL
loader-node-1 and loader-node-2 Loader Nodes.
SQL
12345678-abcd-ef01-2345-6789abcdef01 on the loader-node-1 Loader Node.
SQL

