From the course: AWS Certified Data Engineer Associate (DEA-C01) Cert Prep
Unlock this course with a free trial
Join today to access over 25,300 courses taught by industry experts.
Transform data with stored procedures
From the course: AWS Certified Data Engineer Associate (DEA-C01) Cert Prep
Transform data with stored procedures
- [Instructor] We may need to repeatedly perform multiple actions on our data all at once or perform a custom transformation. In this lesson, we'll learn about stored procedures and user-defined functions in Redshift. Stored procedures are commonly used to encapsulate logic for data transformation, data validation, and business-specific logic. By combining multiple SQL steps into a stored procedure, you could reduce round trips between your applications and the database. The application or client just has to call the stored procedure once and all the commands and the procedure will be executed. A stored procedure lets you limit user permissions by just giving a user access to run the procedure without having to give them permissions for the underlying cables. Redshift's stored procedures are written using the Postgres procedural language. You can create a stored procedure using the create procedure command. It's common just to use Create a replace procedure since that will update an…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
-
-
(Locked)
Introduction45s
-
(Locked)
Analytics services2m 23s
-
(Locked)
Amazon Redshift5m 14s
-
(Locked)
Hands-on learning: Launch an Amazon Redshift cluster8m 22s
-
(Locked)
Amazon Redshift serverless2m 32s
-
(Locked)
Schema design for Amazon Redshift2m 36s
-
Loading data into Amazon Redshift6m 19s
-
(Locked)
Hands-on learning: Use the Amazon Redshift COPY command5m 19s
-
(Locked)
Unloading Amazon Redshift data1m 52s
-
(Locked)
Hands-on learning: Unload data to Amazon S33m 10s
-
(Locked)
Column compression2m 45s
-
(Locked)
Distribution styles5m 28s
-
(Locked)
Maintaining tables3m 41s
-
(Locked)
Amazon Redshift federated queries1m 55s
-
(Locked)
Amazon Redshift Spectrum2m 42s
-
Amazon Redshift materialized views3m 39s
-
(Locked)
Transform data with stored procedures4m 18s
-
(Locked)
Workload management1m 59s
-
(Locked)
Zero-ETL integrations3m 3s
-
(Locked)
Streaming ingestion2m 7s
-
(Locked)
Amazon Athena4m
-
(Locked)
Partitioning data3m 2s
-
(Locked)
Creating views2m 40s
-
(Locked)
Hands-on learning: Create and query tables using Athena4m 56s
-
(Locked)
AWS Lake Formation1m 58s
-
(Locked)
Hands-on learning: Create a data lake9m 9s
-
(Locked)
Amazon QuickSight4m 47s
-
(Locked)
Hands-on learning: Create a QuickSight dashboard5m 33s
-
Amazon OpenSearch7m 11s
-
(Locked)
-
-
-