Skip to content
Jetsukda's Blog
← Back to TIL

Operational และ Analytics Systems คืออะไร และแต่แบบเหมาะกับ data ประเภทไหน

Operational Systems เน้นการจัดการข้อมูลแบบ transactional ที่ต้องการทั้ง read และ write อยู่ตลอดเวลา ส่วน Analytical Systems เน้นการ read ข้อมูลเพื่อนำไปวิเคราะห์ต่อ ไม่ว่าจะเป็น reports, dashboards หรืองานด้านอื่น

PropertyOperational Systems (OLTP)Analytical Systems (OLAP)
Main read patternPoint queries (fetch individual records by key)Aggregate over large number of records
Main write patternCreate, update, and delete individual recordsBulk import (ETL) or event stream
Human user exampleEnd user of web/mobile applicationInternal analyst, for decision support
Machine use exampleChecking if an action is authorizedDetecting fraud/abuse patterns
Type of queriesFixed, predefined by applicationArbitrary, ad-hoc exploration by analysts
Query volumeLots of small queriesFew queries, each is complex
Data representsLatest state of data (current point in time)History of events that happened over time
Dataset sizeGigabytes to terabytesTerabytes to petabytes