คลังข้อมูลและระบบสารสนเทศเพื่อธุรกิจ
เรียนรู้วิธีที่บริษัทซอฟต์แวร์บริการย้ายข้อมูลการดำเนินงานเข้าสู่คลังข้อมูล และสร้างแดชบอร์ด BI ด้วย ETL/ELT แบบจำลองดาว และการรวมข้อมูล
คลังข้อมูลและระบบสารสนเทศเพื่อธุรกิจ เป็นบทเรียน SaaS Architecture & Startup Engineering ฟรีบน CoddyKit นี่คือบทเรียนที่ 4 จากทั้งหมด 4 บทเรียน คุณสามารถอ่านบทเรียนทั้งหมดด้านล่างฟรี — จากนั้นลองปฏิบัติด้วยตัวคุณเองในเบราว์เซอร์พร้อมตัวแก้ไขโค้ดในตัวและติวเตอร์ AI ตลอด 24/7 บทเรียนนี้เป็นส่วนหนึ่งของเส้นทางการเรียน SaaS Architecture & Startup Engineering และความก้าวหน้าของคุณจะซิงค์ข้ามเว็บและแอป CoddyKit คอร์ส SaaS Architecture & Startup Engineering มีบทเรียนทั้งหมด 4 บทเรียน
บางส่วนของบทเรียนนี้ยังไม่ได้รับการแปล และแสดงเป็นภาษาอังกฤษ
OLTP vs OLAP
Your live app database is OLTP (transaction processing): fast small reads and writes. Analytics needs OLAP: large scans over historical data.
Running heavy analytics on the production database harms app performance, so we separate them.
The Data Warehouse
A data warehouse (Snowflake, BigQuery, Redshift) stores large volumes of historical data optimized for analytical queries.
It is the single source of truth for reporting across the whole SaaS business.
ETL vs ELT
Two patterns move data into the warehouse:
- ETL — Extract, Transform, then Load (transform before storing)
- ELT — Extract, Load, then Transform (load raw, transform inside the warehouse)
Modern cloud warehouses favor ELT because they have cheap, powerful compute.
Extracting Data
Extraction pulls data from sources: the app database, event streams, and third-party APIs. It can be a full reload or an incremental pull of only changed rows.
Incremental extraction scales far better as data grows.
The Star Schema
Warehouses model data as a star schema: a central fact table (measurable events) surrounded by dimension tables (descriptive context like date, user, product).
Facts and Dimensions
A fact row records a measurable event with numeric measures and foreign keys to dimensions.
-- fact_sales
-- sale_id, date_key, product_key, customer_key, amount
SELECT SUM(amount)
FROM fact_sales
JOIN dim_date USING (date_key)
WHERE dim_date.year = 2026;Aggregation and Roll-Ups
BI queries aggregate facts: sum revenue by month, count signups by plan, average usage by region.
Pre-computed roll-up tables or materialized views speed up frequently used aggregations.
SELECT plan, COUNT(*) AS signups
FROM fact_signups
GROUP BY plan;Business Intelligence Dashboards
BI tools (Looker, Metabase, Tableau) sit on top of the warehouse and let non-engineers explore data through charts and dashboards.
This democratizes data access across the company.
Tenant Isolation in Analytics
In multi-tenant SaaS, analytics must respect tenant boundaries. Internal dashboards may span all tenants, but customer-facing analytics must filter strictly by tenant ID.
A leak here exposes one customer's business data to another.
Data Freshness vs Cost
Warehouses can update in batches (hourly, nightly) or near real-time via streaming. More freshness costs more compute.
Match the refresh rate to the decision: executive reports rarely need second-by-second data.
Data Quality and Governance
Bad data leads to bad decisions. Apply data quality checks (no nulls in keys, totals reconcile) and governance (access control, documentation) so the warehouse stays trustworthy.
Trust in the numbers is the whole point of BI.
Quick Check
Test your data warehousing knowledge.
Recap
You learned data warehousing and BI:
- OLTP vs OLAP and why to separate them
- ETL vs ELT pipelines with incremental extraction
- Star schemas (facts and dimensions), aggregation, and BI dashboards
- Tenant isolation, freshness/cost trade-offs, and data quality
เรียนรู้ SaaS Architecture & Startup Engineering ด้วย AI tutor — ฟรี
เขียนและเรียกใช้โค้ดจริงในเบราว์เซอร์ของคุณ รับความช่วยเหลือทันทีจาก AI tutor 24/7 และเรียนรู้ต่อจากที่คุณหยุดบนเว็บหรือในแอป
- คอร์ส
- 12
- บทเรียน
- 48
คำถามที่พบบ่อย
บทเรียน “คลังข้อมูลและระบบสารสนเทศเพื่อธุรกิจ” ฟรีหรือไม่
ใช่ — ข้อความเต็มของ “คลังข้อมูลและระบบสารสนเทศเพื่อธุรกิจ” ฟรีให้อ่านที่นี่บนเว็บ เพื่อปฏิบัติแบบโต้ตอบ (ตัวแก้ไขโค้ดในตัวและติวเตอร์ AI ตลอด 24/7) และปลดล็อคส่วนที่เหลือของคอร์ส SaaS Architecture & Startup Engineering ให้อัปเกรดเป็น CoddyKit PRO คอร์ส SaaS Architecture & Startup Engineering มีบทเรียนทั้งหมด 4 บทเรียน
คุณจะเรียนรู้อะไรในบทเรียน “คลังข้อมูลและระบบสารสนเทศเพื่อธุรกิจ”
เรียนรู้วิธีที่บริษัทซอฟต์แวร์บริการย้ายข้อมูลการดำเนินงานเข้าสู่คลังข้อมูล และสร้างแดชบอร์ด BI ด้วย ETL/ELT แบบจำลองดาว และการรวมข้อมูล คุณปฏิบัติ SaaS Architecture & Startup Engineering ด้วยโค้ดที่ใช้งานได้จริงที่คุณเรียกใช้โดยตรงในเบราว์เซอร์ และติวเตอร์ AI ตลอด 24/7 ตอบคำถามของคุณขณะที่คุณไปผ่านบทเรียน
คุณต้องมีประสบการณ์ก่อนที่จะเริ่มเรียน SaaS Architecture & Startup Engineering หรือไม่
ไม่จำเป็นต้องมีประสบการณ์มาก่อน SaaS Architecture & Startup Engineering บน CoddyKit ออกแบบมาสำหรับผู้เริ่มต้นไปจนถึงผู้เรียนขั้นสูง คุณสามารถเริ่มต้นที่นี่หรือเริ่มจากตัวแรกและเรียนด้วยความเร็วของคุณเอง นี่คือบทเรียนที่ 4 จากทั้งหมด 4 บทเรียน
บทเรียน “คลังข้อมูลและระบบสารสนเทศเพื่อธุรกิจ” ใช้เวลานานแค่ไหน
บทเรียน CoddyKit ส่วนใหญ่ใช้เวลาประมาณ 5–10 นาที แต่ละบทเรียนจึงสั้นและเป็นแบบโต้ตอบ คุณสามารถก้าวหน้าอย่างต่อเนื่องและกลับมาเรียนต่อจากตรงที่เพิ่งหยุดบนเว็บและแอปได้เลย
ฉันเขียนและรันโค้ดในบทเรียน SaaS Architecture & Startup Engineering นี้ได้ไหม
ได้ บทเรียน SaaS Architecture & Startup Engineering ทุกบทมีตัวแก้ไขโค้ดในตัว คุณจึงเขียนและรันโค้ดจริงได้เลยในเบราว์เซอร์ และได้รับข้อเสนอแนะจาก AI ในทันที — ไม่ต้องติดตั้งในเครื่องของคุณ
บทเรียนทั้งหมดในหลักสูตรนี้
- กระบวนการส่งข้อมูลสำหรับการวิเคราะห์
- การผสานบริการปัญญาประดิษฐ์และการเรียนรู้ของเครื่อง
- การใช้แฟล็กฟีเจอร์และการทดสอบ A/B
- คลังข้อมูลและระบบสารสนเทศเพื่อธุรกิจ