You might want to temporarily or permanently disable a Redshift database user account. You can achieve this by changing the
Continue readingCategory: Redshift
How to determine the creation time of a table in Redshift database
Use the below query to determine when a particular table was created in Redshift database. Replace <your schema name> with
Continue readingHow to List all user defined schemas of a Redshift database
Run the below query to list all the user defined schemas of a Redshift database: select distinct “database”, “schema” from
Continue readingHow to change the owner of a Redshift database
Below is the command to change the owner of a database. You need to login as superuser to run the
Continue readingHow to Rename Redshift database
You cannot change the name of a database that you are currently connected to. To rename a database, login as
Continue readingHow to Create a Database in Redshift Cluster
Use below commands to create a new database in the Redshift Cluster. CREATE DATABASE database_name; CREATE DATABASE database_name OWNER owner_name;
Continue readingHow to change the connection limit of a Redshift database
Connection limit is the maximum number of concurrent connections that a user is allowed to have against a particular redshift
Continue readingHow to Rename a Schema in Redshift database
Use the below command to rename a schema in Redshift where current_schema_name is the current name of the schema and
Continue readingHow to change Quota allocated to a Schema in Redshift database
Check the current quota and disk usage of the schema by running the below query where schemaname is the name
Continue readingHow to change Owner of a Schema in Redshift database
You can view the current owner of a schema by running the below query where schema_name is the name of
Continue reading