Summary - Distributed and big data
- SQL course
- Expert
- Lesson 35/45
- 5 min
Speed up an analytical query with columnar storage.
Summary - Distributed and big data
Distributed SQL: FDW for remote tables, MPP for parallel, columnar for OLAP, SQL on Hadoop for big data, NoSQL for flexible structure. Scale-out design ties them together.
-- FDW -> MPP -> columnar -> Hadoop
-- NoSQL: CAP seçerDistributed data arrives five ways.
Practice Summary - Distributed and big data
Summary task: create the analytics table as columnar: WITH (format = 'columnar').
Starter code
-- summary distributed
CREATE TABLE analytics (id INT, revenue NUMERIC)Sample solution
CREATE TABLE analytics (id INT, revenue NUMERIC) WITH (format = 'columnar');Expected output
CREATE TABLE
Questions and answers
Review the lesson questions together with their answers. To test yourself, solve the lesson interactively.
1 Distributed foreign table
CREATE FOREIGN TABLE remote_events (id INT) SERVER ____
CREATE FOREIGN TABLE remote_events (id INT) SERVER remote_server
Explanation: remote_server is the right answer.
2 Which workload suits columnar storage?
- OLAP Correct answer
- OLTP
- Both
- Files
Explanation: Columnar storage suits OLAP workloads.
3 Summary - Distributed and big data: match the terms
| Term | Meaning |
|---|---|
FDW |
foreign table |
MPP |
parallel |
columnar |
columnar |
Hadoop |
big data |