Skip to content

AWS bytes

  • Cheat Sheets
  • Concepts
    • Show All
    • S3 Concepts
  • How-To Guides
    • Show all
    • EC2
    • EBS
    • S3
    • Redshift
    • IAM
    • SQS
    • CloudWatch
    • Billing
  • CLI Guides
  • Contact Us
  • Tutorials
  • Interview Questions
  • Postgresql
How-To Guides / Redshift

How to export data from Redshift database to a csv file

Use the ‘unload‘ command as shown below to extract data from Redshift database to a csv file. unload (‘SELECT *

Continue reading
How-To Guides / Redshift

How to remove not null constraint from a column in Redshift

Once the table in created – Redshift does not support altering column to remove a not-null constraint defined on a

Continue reading
Redshift

[Amazon](500310) Invalid operation: cannot drop table because other objects depend on it

You might encounter the below error while trying to drop a table from Amazon Redshift database. Error : [Amazon](500310) Invalid

Continue reading
Redshift

[Amazon](500310) Invalid operation: Maximum number of stored procedures allowed exceeded

You might encounter the below message while creating a stored procedure in Amazon Redshift database. Error : [Amazon](500310) Invalid operation:

Continue reading
Redshift

[Amazon](500310) Invalid operation: permission denied for relation

You might encounter the below error while accessing a database object in Redshift database. Error : [Amazon](500310) Invalid operation: permission

Continue reading
Cheat Sheets

Route 53 Cheat Sheet

Domain Name System (DNS) service Functionality offered: Domain registration DNS routing Health checking Hosted Zone -> Collection of records 2

Continue reading
Cheat Sheets

AWS Glue Cheat Sheet

Fully managed ETL service Serverless Pay as you go ETL jobs are executed on scalable Apache Spark environment Supports encryption

Continue reading
How-To Guides / Redshift

How to Refresh a Materialized View in Redshift

Manually Refresh: Below is the syntax to manually refresh a materialized view where mv_name is the name of the materialized

Continue reading
How-To Guides / Redshift

How to drop a constraint in Redshift database

Identify the constraint that you would like to drop using below sql and copy the constraint name. select * from

Continue reading
How-To Guides / Redshift

How to resize a column in Redshift database

Use the below command to modify the column width in Redshift. ALTER TABLE table_name ALTER COLUMN column_name TYPE new_data_type; Example,

Continue reading

Posts pagination

«Previous Posts 1 … 11 12 13 14 15 … 33 Next Posts»
  • PostgreSQL Tutorials
  • Redshift Tutorials
WordPress Theme: Maxwell by ThemeZee.