EasyManuals Logo

Amazon Redshift User Manual

Amazon Redshift
131 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #27 background imageLoading...
Page #27 background image
System.out.println("Cluster property:");
System.out.format("Preferred Maintenance Window: %s\n", res
ult.getClusters().get(0).getPreferredMaintenanceWindow());
}
private static void waitForClusterReady() throws InterruptedException {
Boolean clusterReady = false;
System.out.println("Wating for cluster to become available.");
while (!clusterReady) {
DescribeClustersResult result = client.describeClusters(new Describe
ClustersRequest()
.withClusterIdentifier(clusterIdentifier));
String status = (result.getClusters()).get(0).getClusterStatus();
if (status.equalsIgnoreCase("available")) {
clusterReady = true;
}
else {
System.out.print(".");
Thread.sleep(sleepTime*1000);
}
}
}
}
Manage Clusters Using Amazon Redshift CLI
and API
You can use the following Amazon Redshift CLI operations to manage clusters.
create-cluster
delete-cluster
describe-clusters
describe-cluster-versions
describe-orderable-cluster-options
reboot-cluster
You can use the following Amazon Redshift APIs to manage clusters.
CreateCluster
DeleteCluster
DescribeClusters
DescribeClusterVersions
DescribeOrderableClusterOptions
RebootCluster
Managing Clusters in Virtual Private Cloud (VPC)
Topics
API Version 2012-12-01
23
Amazon Redshift Management Guide
Manage Clusters Using Amazon Redshift CLI and API

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Amazon Redshift and is the answer not in the manual?

Amazon Redshift Specifications

General IconGeneral
ProviderAmazon Web Services (AWS)
Query LanguageSQL
Data StorageColumnar storage
SecurityEncryption at rest and in transit, VPC, IAM
BackupAutomated and manual snapshots
DeploymentCloud-based
TypeCloud-based data warehouse service
Primary UseData warehousing, analytics
IntegrationIntegrates with AWS services, BI tools, and ETL tools
Pricing ModelOn-demand and reserved instance pricing
Data CompressionColumnar storage with data compression
Performance OptimizationQuery optimization

Related product manuals