SQL Reference
Data Definition Language (DDL)...

Data Integrity and Storage

{{ocient}} provides several capabilities to check on the quality of data on a node and to quarantine segment groups that are problematic for any reason related to data integrity is the ability to rebuild tasks for details, see distributed tasks docid 9rqvzquratdsyzj8d3fez 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 \ to quarantine a single segment group alter segment quarantine for { \<quarantine level> } where segment group id = seg id \ to quarantine multiple segment groups alter segment quarantine for { \<quarantine level> } where segment group id in ( seg id \[, ] ) \<quarantine level> = segment generation | query | all | none parameter data type description seg id numeric the identification numbers for segment groups depending on your alter segment quarantine statement, the ocient system quarantines the specified segment groups for having an existing quarantine removed for details about finding abnormal segments, see the guide to rebuilding segments docid 0vilk3gzks92cszpkko09 using quarantine levels ( \<quarantine level> ) you can place quarantines at these segment levels level description segment generation isolates the specified segments from segment generation this statement prevents corrupt data from causing problems while still leaving the data available for future analysis query isolates segment groups from subsequent queries data that is quarantined at the query level is not returned by database queries this can be useful to prevent corrupt data from causing query problems while leaving it available for future analysis all isolates the specified segments from segment generation and subsequent queries none removes any quarantines from the specified segments examples this example quarantines a single segment group from segment generation alter segment quarantine for segment generation where segment group id = 123456789; this example quarantines multiple segment groups from segment generation alter segment quarantine for segment generation where segment group id in (1,2,3,4,5); this example removes a quarantine from a single segment group alter segment quarantine for none where segment group id = 123456789; this example removes a quarantine from multiple segment groups alter segment quarantine for none where segment group id in (1,2,3,4,5); this example quarantines at the query level alter segment quarantine for query where segment group id = 123456789; this example removes a quarantine at the query level alter segment quarantine for none where segment group id = 123456789; this example quarantines at both the query and segment group levels alter segment quarantine for all where segment group id = 123456789; related links errors and warnings docid\ tx6zolljcw4cixhnabxzf