Ưu đãi trong tuần: Nhập mã UD50 giảm 50k cho đơn từ 300k!
Trang chủ
Menu

2025 Mastering dbt (Data Build Tool) - From Beginner to Pro

Khóa học dbt (Data Build Tool) 2025 - Từ Cơ Bản đến Chuyên Gia

Khóa học dbt (Data Build Tool) 2025 - Từ Cơ Bản đến Chuyên Gia

Khóa học thực hành Kỹ sư Phân tích: Lý thuyết, Xây dựng dự án dbt từ đầu và Triển khai lên dbt Cloud

4.5
(1,125 đánh giá)
8,136 học viên
Giảng viên
Jack Colsey
Phụ đề Việt chất lượng cao Phụ đề tiếng Anh Bán chạy Đánh giá cao
50.000đ 349.000đ -86%
✓ Xem giỏ hàng và thanh toán
Bao gồm phụ đề tiếng Việt, tiếng Anh
8.0 giờ video
110 bài giảng
Truy cập vĩnh viễn
Học trên mọi thiết bị
Cập nhật: 30/05/2026

Bạn sẽ học được gì

Cách xây dựng một dự án dbt hoàn chỉnh từ con số 0
Lợi ích chính của dbt và bối cảnh ra đời của công cụ này
Tất cả kiến thức nền tảng về dbt: sources, models, tests, documentation, snapshots, seeds, macros, hooks, và operations
Cách tổ chức cấu trúc dự án dbt: staging, intermediate, mart models - và quy ước đặt tên
Cách quản lý phiên bản thay đổi code với GitHub và VSCode
Kiểm thử nâng cao trong dbt - tạo custom singular & generic tests, thiết lập mức độ nghiêm trọng và ngưỡng cảnh báo/lỗi
Mô hình dữ liệu nâng cao với dbt - materialisation và quản trị model (access, contracts, và versions)
Lệnh dbt nâng cao - cách sử dụng selectors, profiles, tags, indirect test selection và xây dựng trang tài liệu dbt cục bộ
Jinja & Macros nâng cao trong dbt - tạo macros để dùng trong hooks/functions/operations, sử dụng vòng lặp và biến trong Jinja, và hàm target
Cách triển khai dự án trên dbt Cloud, sử dụng giao diện dbt Cloud UI và environment variables
Cách sử dụng tests & macros từ các package bên ngoài để nâng cấp dự án dbt
Các phương pháp hay nhất khi vận hành dự án dbt (dựa trên kinh nghiệm thực tế!)
Cách thiết lập môi trường đầy đủ cho Mac hoặc Windows: cài đặt tất cả công cụ và thiết lập VSCode chuyên cho dbt!

Yêu cầu

SQL cơ bản
Không yêu cầu kinh nghiệm Python
Máy tính Mac/Windows có thể cài đặt Python, Git và VSCode (chúng ta sẽ hướng dẫn tất cả trong khóa học!)

Đối tượng phù hợp

Chuyên viên phân tích dữ liệu (Data Analysts)
Nhà khoa học dữ liệu (Data Scientists)
Kỹ sư phân tích (Analytics Engineers)
Kỹ sư dữ liệu (Data Engineers)
Chuyên viên BI (BI Professionals)
Bất kỳ ai quan tâm đến lĩnh vực dữ liệu!

Nội dung khóa học

8 phần • 110 bài giảng
1 Giới thiệu giảng viên
2 Nội dung khóa học
3 Giới thiệu tổng quan khóa học
4 Lược sử về Data Stack
5 Lợi ích của dbt - Suy luận phụ thuộc (Inferring Dependencies)
6 Lợi ích của dbt - Tài liệu & Kiểm thử
7 Lợi ích của dbt - Tính năng tương tự Python
8 Cách dbt giải quyết nhiều vấn đề trong Data Stack
9 Vị trí của dbt trong Data Stack
10 dbt Core vs. dbt Cloud
11 Tóm tắt phần
1 Tổng quan phần học
2 Lưu ý về cập nhật khóa học liên tục
3 Hỗ trợ khi gặp khó khăn trong khóa học
4 Tạo tài khoản Gmail
5 Thiết lập dự án BigQuery với tính năng thanh toán
6 (Tùy chọn) Nếu gặp vấn đề với thanh toán BigQuery
7 Giao diện BigQuery UI
8 Bộ dữ liệu bạn sẽ sử dụng
9 (Mac) Cài đặt Python 3.10
10 (Windows) Cài đặt Python 3.10
11 Tải VSCode và thiết lập phím tắt
12 Tạo tài khoản GitHub
13 Forking vs. Cloning
14 Fork repository
15 (Tùy chọn) Nếu gặp vấn đề đồng bộ repository đã fork
16 Cài đặt các extension VSCode được đề xuất
17 Virtual Environment (venv) là gì?
18 Thiết lập Virtual Environment và cài đặt packages
19 Cấu hình dbt cho BigQuery
20 Chạy thử dự án dbt mẫu
21 (Tùy chọn) Thiết lập dbt Autocomplete
22 Xem trước dự án cuối khóa
23 Tóm tắt phần
1 Tổng quan phần học
2 Lệnh dbt init
3 Quản lý phiên bản với GitHub
4 Thiết lập dbt Power User
5 Cấu trúc dự án của chúng ta
6 Tạo file yml source (src) đầu tiên
7 (Windows) Vấn đề với extension dbt Power User
8 Tạo staging (stg) SQL model đầu tiên
9 Chạy staging (stg) SQL model đầu tiên
10 Tạo file yml model đầu tiên
11 Thêm tests vào file yml model đầu tiên
12 Thiết lập models materialise dưới dạng bảng thay vì view
13 Thiết lập các staging (stg) SQL models còn lại
14 Sử dụng dbt clean để materialise bảng hoạt động
15 Thiết lập các file yml staging (stg) còn lại
16 Đánh giá các staging (stg) data models
17 Thư mục Target
18 Thiết lập intermediate (int) SQL model đầu tiên
19 Thiết lập file yml intermediate (int) đầu tiên
20 Thiết lập Mart SQL model
21 Thiết lập file yml Mart
22 Dự án dbt cơ bản đã hoàn thành!
23 Tóm tắt phần
1 Tổng quan phần học
2 Thiết lập mức độ nghiêm trọng test mặc định
3 Thiết lập mức độ nghiêm trọng và ngưỡng test
4 Các dbt packages bên ngoài sẽ sử dụng
5 dbt_utils và dbt_expectations
6 Custom Singular Tests
7 Custom Generic Tests
8 Áp dụng advanced tests cho toàn bộ dự án
9 Source Freshness Tests
10 Unit Tests
11 Tóm tắt phần
1 Tổng quan phần học
2 Hàm doc
3 Seed Files
4 dbt Snapshots
5 Các loại Materialisation
6 Materialisation: Ephemeral Models
7 Materialisation: Incremental Models
8 Materialisation: Microbatch Incremental Models
9 (Tùy chọn) Partitioning bảng trong BigQuery
10 Tổng quan về Model Governance
11 Model Governance - Access & Groups
12 Model Governance - Contracts
13 Model Governance - Versions
14 Tóm tắt phần
1 Tổng quan phần học
2 Lệnh cho dbt run sạch
3 Sử dụng các dbt profiles khác nhau
4 Selectors
5 Tags
6 Indirect Test Selection
7 dbt test với --warn-error
8 dbt build
9 dbt docs generate / serve
10 Cờ "Empty"
11 Tóm tắt phần
1 Tổng quan phần học
2 Jinja Comments, Statements và Expressions
3 3 loại Macro: Functions, Hooks, Operations
4 (Tùy chọn) Tài liệu tham khảo hàm Jinja trong dbt
5 Macros: Operations
6 Macros: Functions (Xây dựng macro cơ bản)
7 Macros: Hooks
8 Jinja Statements: Vòng lặp for và thiết lập biến
9 (Tùy chọn) Jinja: Sử dụng hàm Target
10 Tóm tắt phần
1 Tổng quan phần học
2 Tạo tài khoản dbt Cloud
3 Thiết lập Service Account
4 Kết nối GitHub với dbt Cloud
5 dbt Cloud IDE
6 Triển khai Jobs trên dbt Cloud
7 Tóm tắt phần

Giới thiệu khóa học

A complete course to help anyone with basic SQL skills learn advanced dbt, a key tool for Analytics Engineering!

Welcome to the 2025 Mastering dbt (data build tool) course! This course runs through everything from the theory behind dbt to building an advanced dbt project (from scratch) and deploying it on dbt Cloud.

I have over 9 years of experience across Analytics / Analytics Engineering / Data Science, including 5 years using dbt on a daily basis. I was also involved in the rollout of dbt in my time at Monzo Bank!

In this course I've taken everything I've learnt over the past 5 years, and what I use on a daily basis, and condensed it to take anyone who knows SQL to an advanced level of dbt as quickly as possible.


MY APPROACH TO THIS COURSE:

We'll cover everything you need to know about dbt: from the basic data modelling right through to all of the advanced features such as creating custom tests and macros. We'll be doing this step by step, and build from the basics upwards.

It's focused on practical outcomes - we won't be spending ages on database theory, or going into lots of detail on the eCommerce dataset we'll be using, instead we'll be aiming to get you up to advanced dbt levels as quickly as possible.

For every video where we're writing code, I've created lesson attachments with the final outputs. This means you can either code as you go along, or watch the videos and look at the handouts afterwards! I've also included some theory with these handouts to help hammer home the points made in the videos.

There's also a public GitHub repository (which you'll be using for this course) that contains a model final project you can reference throughout.


This course isn't static! I'd love to hear your feedback and will be updating this course on an ongoing basis.


COURSE STRUCTURE:

This course focuses on first getting a good understanding of what problems dbt solves, then building a basic dbt project, before layering on more advanced concepts and finally deploying our project with dbt Cloud.


  1. Introduction
    Some theory (<1 hour) around dbt, what problems existed in the data stack before it came along, and how it solves them.


  2. Tool setup
    Getting set up with Python, GitHub, Google BigQuery, VSCode, and of course dbt! If you're familiar with any of these tools already then you are more than welcome to skip the appropriate lessons.

    We'll also be exploring the fictional eCommerce dataset that we'll be using throughout the course.


  3. Building our basic dbt project
    This section focuses on creating our project from scratch, including how we will structure our project.

    We'll be building out staging (stg), intermediate (int), and mart data models, including documentation & testing with the out-of-the-box dbt tests.


  4. Advanced dbt testing
    We'll start to build on our basic dbt project by setting test severity & thresholds, using the dbt-utils and dbt-expectations external packages for their excellent selection of tests, creating our own custom singular & generic tests, unit testing, and testing the freshness of our source data.


  5. Advanced data modelling with dbt
    Next, we'll be looking at how we can create reusable documentation, seed files (version controlled .csv files), snapshots (capturing changes to data tables), and materialisation methods.

    Most of this section will be focused on the last part - the materialisation methods: ephemeral, view, table, and incremental (including microbatch). By this point we'll have encountered view & table models and we will be building both an incremental and an ephemeral model - and you will gain an understanding of what to use and when.

    This section includes all model governance features from dbt version 1.5! This includes model access, groups, contracts, and versions.


  6. Advanced dbt commands
    This section will focus less on changing our dbt project, but instead all of the major dbt commands and how (and when) to use them.


  7. Advanced Jinja & macros
    The final changes to our project will involve using Jinja - a core feature of dbt and arguably it's most complex but powerful feature - and using it to create our own macros.

    This section will run through how you can use Jinja macros for hooks, operations, and as reusable functions in your SQL models. It'll also run through some theory around Jinja, common mistakes, and what I (personally) find to be what it's most useful for!


  8. dbt Cloud
    Finally, we'll be exploring how to take our project and deploy it on dbt Cloud - including how to schedule it to run on a regular basis. We'll also be looking at dbt Cloud itself and its main benefits.


Khóa học liên quan

Khám phá thêm các khoá học cùng chủ đề

Hiển thị tất cả khoá học Data Analytics
Hiển thị tất cả khoá học Data Engineering
Hiển thị tất cả khoá học Dbt
Hiển thị tất cả khoá học Sql
Zalo
Tôi có thể tư vấn khoá học cho bạn 😊