forked from awslabs/amazon-redshift-utils
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config-example.json
29 lines (29 loc) · 2.52 KB
/
config-example.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{"utilities":["ColumnEncodingUtility", "AnalyzeVacuumUtility", "Monitoring"],
"configuration":{
"analyzeTable": "Specific table names to operate on (string)",
"analyzeSchema": "Schema to be analyzed, vacuumed, or encoded (string)",
"comprows": "Rows to use in the analyze compression request (int | default -1 meaning unspecified)",
"db": "Database Name to connect to (string)",
"dbHost": "Your cluster DNS name (string)",
"dbPassword": "Your base64 encoded encrypted password here (string - generated with encrypt_password.py)",
"dbPort": "The database port number (int)",
"dbUser": "The database User to connect to (string)",
"dropOldData": "When column encoding is invoked, should the old database table be kept as XXX_$old? (boolean - true | false | default false)",
"ignoreErrors": "Should a given utility keep running if it encouters errors, and fail the Lambda function? (boolean - true | false | default false)",
"queryGroup": "Query group name to set for routing to a specific WLM queue (string)",
"querySlotCount": "Number of query slots to use - set to queue(max) for optimal performance (int - default 1)",
"targetSchema": "When column encoding is invoked, should it build new tables into a different schema? (string)",
"force": "Do you want to force the utility to run for each provided table or schema, even if changes are not required? (boolean - true | false | default false)",
"outputFile":"/tmp/analyze-schema-compression.sql",
"debug": "Should the utilities run in debug mode? (boolean - true | false | default false)",
"do-execute": "Should changes be made automatically, or just for reporting purposes (boolean - true | false | default true)",
"analyze_col_width": "Analyze columns wider than this value (int)",
"threads": "How many threads should the column encoding utility use (can run in parallel - default 1 for Lambda)",
"ssl-option":"Should you connect to the cluster with SSL? (boolean true | false | default true)",
"doVacuum": "Should the Analyze Vacuum utility run Vacuum? (boolean true | false | default true)",
"doAnalyze":"Should the Analyze Vacuum utility run Analyze? (boolean true | false | default true)",
"blacklistedTables":"comma separated list of tables to suppress running the analyze vacuum utility against",
"aggregationInterval":"Interval on which to summarise database statistics (redshift interval literal: http://docs.aws.amazon.com/redshift/latest/dg/r_interval_literals.html | default '1 hour'",
"clusterName":"The cluster name that is the first part of the DNS name"
}
}