Amazon Redshift for Beginners (Full Course)

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 ธ.ค. 2022
  • Free SQL Pattern Training: etlsql.kartra.com/page/sps-fr...
    Course Transcript:
    If you are absolute beginner then this course will give a good overview of the Amazon Redshift.
    The goal is that after taking this course you should be comfortable in talking about Redshift. You should be able to participate in group discussions at your work place and understand solutions concerning Amazon Redshift.
    We will start with the fundamentals :
    Data Warehouse
    MPP System
    Columnar
    Then we will see how these fundamentals are applicable to Amazon Redshift. We will see how parallelism is built as part of the core architecture in Redshift.
    Amazon Redshift is a data warehouse offering by AWS (Amazon Web Services).
    So what is a Data Warehouse ?
    Data Warehouse is a system that allow users to complete 3 main tasks:
    Mechanism to gather data from various sources
    Provide tools to transform data and apply business logic on it
    Enable business to take decisions by supporting Reports & Visualisations.
    Massively Parallel Processing (MPP) system are built on mechanism of DIVIDE & CONQUER. The task is divided into multiple smaller & similar tasks by main node. The tasks are further given to delegates to complete. Once the delegates complete their tasks, they share the result with main node.
    Summary:
    Divide the work into smaller 'similar' tasks
    individual teams work in silo to complete the task
    "Main node" collate the tasks back into one output
    Columnar database use different method of storing data in blocks when compared to traditional row-based storage databases. The columns are stored in same/adjacent storage blocks. This facilitates quick retrieval of data as only the blocks that store required columns are scanned and not all the blocks.
    Summary:
    Columns are stored in same/adjacent block
    Efficient read when few columns are required
    Better compression at column level
    In this lesson , we will see how Amazon Redshift work as the data warehouse.
    Gather data from various sources:
    Export to S3 and run COPY command
    JDBC connection to Source & load data into table
    Amazon DataShare to bring data from another Redshift cluster
    Use other services - Glue/Lambda/EMR to process and load data into Redshift
    Use Lakeformation table as external table in Redshift
    Apply business transformations
    Allows you to run SQL on data in the tables
    Can connect other AWS services like GLUE/EMR to process
    Let you connect ETL tools to process data
    Enable business to take decisions
    Unload data into S3 bucket for downstream applications
    Quicksight and other Reporting tools can connect for visualisation
    Can share data via Datashare with other Redshift cluster.
    Amazon Redshift architecture consists of 2 types of Nodes:
    Leader Node
    Compute Node
    *There is a third type of node which is Spectrum Node which I will not cover as part of this beginners course.
    The end-user will submit request to the Leader Node. There is one and only one leader node in the Amazon Redshift cluster. Leader node will break the task into smaller-similar tasks. These small tasks are passed to compute nodes for processing.
    The compute nodes have their own memory & storage portion to complete the task. The compute nodes are divided into slices which are like "mini-computers" that actually process the data. Each compute node has at-least 1 slice depending on the node type in the redshift cluster.
    Once the task is complete compute nodes sends the result back to leader node which collates all the result from different compute nodes. Once done, it passes the output to end users.
    Amazon Redshift is a columnar database hence it is logically faster than many traditional RDBMS which are row-oriented for data analytics.
    Stores data in columnar format
    Redshift storage blocks are of 1 MB size
    Multiple encoding algorithms are available like AZ64, LZO, ZSTD and more.
    We now know that Amazon Redshift is a columnar database. However there is a standard manner which determines how table data is stored in the database.

ความคิดเห็น • 49

  • @ETLSQL
    @ETLSQL  6 หลายเดือนก่อน +7

    Did you like this video? What else do you want to learn about AWS ? Drop a comment below.

    • @lakshmivaishnavi7547
      @lakshmivaishnavi7547 หลายเดือนก่อน

      Why is no 'distkey' mentioned for other distribution styles like all and even?

    • @ETLSQL
      @ETLSQL  หลายเดือนก่อน

      There are 4 options - distkey , all , even, auto. Key is applicable to only first option. Rest 3 distribution styles does not need any key for data distribution.

  • @GouravSharma-us9yq
    @GouravSharma-us9yq 7 หลายเดือนก่อน +2

    I like the way you put lesson, simple, easy and clear in understanding, Thanks, GS

    • @ETLSQL
      @ETLSQL  7 หลายเดือนก่อน

      Glad you liked it 👍

  • @arokiarajan1230
    @arokiarajan1230 ปีที่แล้ว +1

    Superb... Good pitch

  • @verosirvi
    @verosirvi 7 หลายเดือนก่อน

    I like the distribution style of the content in this video and the way you chose to present it

    • @ETLSQL
      @ETLSQL  7 หลายเดือนก่อน

      Glad you liked it. 👍

  • @sreechivukula8115
    @sreechivukula8115 8 หลายเดือนก่อน +2

    Best 30min I have spent in recent days! Add next video with more details.

    • @ETLSQL
      @ETLSQL  8 หลายเดือนก่อน

      Thanks for leaving a comment. Any specific topic would you like me to cover next ?

  • @Atlas-ck9vm
    @Atlas-ck9vm ปีที่แล้ว

    Very clear and concise introduction to aws redshift.

    • @ETLSQL
      @ETLSQL  ปีที่แล้ว

      Glad you liked it

  • @sriharisrinivasan1307
    @sriharisrinivasan1307 ปีที่แล้ว

    Enrolled to the course, Looking forward to gr8 and Informative content as always.

    • @ETLSQL
      @ETLSQL  ปีที่แล้ว +2

      Hope you liked it

  • @user-mv1dm3jj7c
    @user-mv1dm3jj7c 9 หลายเดือนก่อน

    Hats Of you sir, keep making content like this, Clear explanation

    • @ETLSQL
      @ETLSQL  9 หลายเดือนก่อน

      Glad you liked it. I remember this video took the most time I have invested in any video till date.
      Do you have any recommendations for next set of videos.

  • @kolawolegabriel6558
    @kolawolegabriel6558 หลายเดือนก่อน

    Excellent video i have ever watched on AWS Redshift, this is the best that Explained redshift in details

    • @ETLSQL
      @ETLSQL  หลายเดือนก่อน

      Glad you liked it ❤️

  • @LoveisHell85
    @LoveisHell85 10 หลายเดือนก่อน

    Very clear tutorial. Thank you

    • @ETLSQL
      @ETLSQL  10 หลายเดือนก่อน

      Glad you liked it. 👍

  • @aykhan.g
    @aykhan.g 6 หลายเดือนก่อน

    Thanks for awesome video !

    • @ETLSQL
      @ETLSQL  6 หลายเดือนก่อน

      Woo hoo. Thanks for the comment. 👍

  • @adityaf17
    @adityaf17 8 หลายเดือนก่อน

    Best one for Redshift!

    • @ETLSQL
      @ETLSQL  8 หลายเดือนก่อน

      Glad you liked it. 👍

  • @ETLSQL
    @ETLSQL  10 หลายเดือนก่อน

    If you like this video, please drop a comment to share your reaction. ❤

  • @AllAboutDataTechnology
    @AllAboutDataTechnology 6 หลายเดือนก่อน

    good video, clear explanation of this topic

    • @ETLSQL
      @ETLSQL  6 หลายเดือนก่อน

      Glad you liked it 👍

  • @adityaf17
    @adityaf17 8 หลายเดือนก่อน +1

    Hands on tutorial on Redshift will be the best one.

    • @ETLSQL
      @ETLSQL  8 หลายเดือนก่อน

      Noted. I do plan to work on that one in the coming weeks.

    • @ETLSQL
      @ETLSQL  6 หลายเดือนก่อน

      Hey @adityaf17
      I am working on hands-on tutorial however redshift is not free and incur cost.
      Do you think people will be ready to shell some coins for the hands on tutorials ?
      Or would you prefer to have video like me doing the actual work and you just watching it ?

  • @gloirebeya5127
    @gloirebeya5127 7 หลายเดือนก่อน

    Thanks for your video

    • @ETLSQL
      @ETLSQL  7 หลายเดือนก่อน

      Glad you liked it 👍

  • @andriys5772
    @andriys5772 3 หลายเดือนก่อน

    Thank you!

    • @ETLSQL
      @ETLSQL  3 หลายเดือนก่อน

      You're welcome!

  • @aniketbahalkar223
    @aniketbahalkar223 5 หลายเดือนก่อน

    Thanks for such nice video, please create a complete course on this.

    • @ETLSQL
      @ETLSQL  5 หลายเดือนก่อน

      Hey @aniketbahalkar223
      Can you suggest few topics that I shall cover in the course

  • @SurajPatil14
    @SurajPatil14 หลายเดือนก่อน

    Great 👍

    • @ETLSQL
      @ETLSQL  หลายเดือนก่อน

      Thanks

  • @Piyushjoshi6767
    @Piyushjoshi6767 3 หลายเดือนก่อน

    nicely explained

    • @ETLSQL
      @ETLSQL  3 หลายเดือนก่อน

      Glad you liked it. Can you suggest me any relevant topic which I can cover next.

  • @krishnasingh-tf9jw
    @krishnasingh-tf9jw 6 หลายเดือนก่อน +1

    Thanks for insightful tutorial. My only question is while going with distribution style key vs even will choosing key column distribute the rows and retrieve much faster than doing even distribution style as even will distribute evenly

    • @ETLSQL
      @ETLSQL  6 หลายเดือนก่อน

      Yes you are right. If you have distkey and you use that in the query, then it will return rows faster than even distribution style.
      You should be little careful while picking distkey column. Ideally it should be the one with unique values and used in the queries.
      Good luck.

    • @krishnasingh-tf9jw
      @krishnasingh-tf9jw 6 หลายเดือนก่อน

      @@ETLSQL Thanks for clarification

  • @prabhuthiyagarajan7437
    @prabhuthiyagarajan7437 3 หลายเดือนก่อน +1

    Can same node slice share two different column values in case of same datatype?

    • @ETLSQL
      @ETLSQL  3 หลายเดือนก่อน +1

      Yes it can. But remember data is distributed using distkey only.

  • @maheshkumar.s2513
    @maheshkumar.s2513 6 หลายเดือนก่อน

    Please provide a video on azure data factory like this with atleast ome example

    • @ETLSQL
      @ETLSQL  6 หลายเดือนก่อน

      Hey Mahesh,
      I am not planning to cover azure as of now. Will focus on general concepts and aws.
      Hope you find a suitable tutorial soon.

  • @heetshah5923
    @heetshah5923 7 หลายเดือนก่อน +1

    Is there any videos power BI + amazon redshift

    • @ETLSQL
      @ETLSQL  7 หลายเดือนก่อน +1

      Not sure about any video with power bi, generally teams prefer to use quicksight with redshift though.