Viewing Partition Summaries - Novell SENTINEL RAPID DEPLOYMENT 6.1 - 12-2009 User Manual

Table of Contents

Advertisement

Dropping Partition Flags
Table 11-4
Command
-action
-keepDays
-forceDelete (optional)
-connectFile
-tableName
NOTE: Sentinel partitioned tables are organized into two groups. One is the EVENTS table group,
which includes EVENTS and CORRELATED_EVENTS; the other is the summary table group,
which includes all summary, or aggregate, tables. If any one of the tables in the group is specified by
the –tableName parameter, the dropPartition operation is applied to all tables in that group.
To run dropPartition:
1 Execute this command as follows:
-action dropPartitions -keepDays <numberofDaysToKeep> -tableName <table
name> [-forceDelete <true/false>] -connectFile <filePath>
The following examples drops all the partitions older than 30 days, making sure all the
partitions are archived. All partitions that were skipped (not removed) because they have not
been archived are listed when the operation completes.
PostgreSQL Example:
./sdm –action dropPartitions –keepDays 30 –tableName CORRELATED_EVENTS
–forceDelete false –connectFile sdm.connect

11.3.7 Viewing Partition Summaries

The viewPartitions action displays the partition summary of the following supported tables:
PostgreSQL
EVENTS
AUDIT_RECORDS
CORRELATED_EVENTS
EVT_DEST_EVT_NAME_SMRY_1
EVT_DEST_SMRY_1
EVT_DEST_TXNMY_SMRY_1
EVT_PORT_SMRY_1
Command Flags
dropPartitions
<number of days to keep>
<either "true" or "false">
This defaults to false if not specified, meaning that only the partitions
that are older than keepDays and are already archived are dropped.
If this is set to true, all partitions older than keepDays are dropped,
even if they have not been archived.
<filePath>
<table name>
Sentinel Data Manager 279

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sentinel rapid deployment 6.1

Table of Contents