Stream Processing with Pipelines
and Stored Procedures
Tewei Luo
Software Engineer
CREATE PIPELINE AS LOAD DATA
[KAFKA | S3 | FS]
INTO TABLE tbl
Stream into more tables?
Stream into more tables?
Example:
- 2 fields in source
- 2 tables, each takes one column
CREATE PIPELINE AS LOAD DATA
[KAFKA | S3 | FS]
INTO PROCEDURE split
CREATE PROCEDURE
split(batch Query(c1 int, c2 text)) AS
BEGIN
INSERT INTO tb1 SELECT c1 from batch;
INSERT INTO tb2 SELECT c2 from batch;
…
END
7
DEMO
- Split stream to multiple tables
- Update statistics
- Complex logic using existing tables
- Delete obsolete data automatically
9
Questions?
Thank you
memsql.com

More Related Content

PPTX
Optimizing Your Cloud Applications in RightScale
PPTX
Microsoft sql server architecture
PDF
Data Migration with Spark to Hive
PDF
Spark SQL Beyond Official Documentation
PPT
Ms sql server architecture
PPTX
SQL Saturday - Twelve Trace Flags In Twelve Minutes
PDF
Materialized Column: An Efficient Way to Optimize Queries on Nested Columns
PPSX
Oracle database 12c new features
Optimizing Your Cloud Applications in RightScale
Microsoft sql server architecture
Data Migration with Spark to Hive
Spark SQL Beyond Official Documentation
Ms sql server architecture
SQL Saturday - Twelve Trace Flags In Twelve Minutes
Materialized Column: An Efficient Way to Optimize Queries on Nested Columns
Oracle database 12c new features

What's hot (20)

PPT
Sql architecture
PPT
Performance Tuning And Optimization Microsoft SQL Database
PPTX
Real Time Operational Analytics with Microsoft Sql Server 2016 [Liviu Ieran]
PDF
Performance tuning in sql server
PDF
PostgreSQL Performance Tables Partitioning vs. Aggregated Data Tables
PDF
Connecting Hadoop and Oracle
PDF
Why PostgreSQL for Analytics Infrastructure (DW)?
PPTX
Database Performance Tuning
PPTX
PyCon DE 2013 - Table Partitioning with Django
PPTX
Sql server backup internals
PPTX
Query Optimization in SQL Server
PDF
ORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIES
PPTX
SQL Server 2008 Development for Programmers
PDF
Why & how to optimize sql server for performance from design to query
PDF
Common Strategies for Improving Performance on Your Delta Lakehouse
PDF
Perfect trio : temporal tables, transparent archiving in db2 for z_os and idaa
PDF
Oracle 21c: New Features and Enhancements of Data Pump & TTS
PPTX
SQL Server 2012 Best Practices
PDF
How to Fine-Tune Performance Using Amazon Redshift
PDF
PostgreSQL 9.5 Features
Sql architecture
Performance Tuning And Optimization Microsoft SQL Database
Real Time Operational Analytics with Microsoft Sql Server 2016 [Liviu Ieran]
Performance tuning in sql server
PostgreSQL Performance Tables Partitioning vs. Aggregated Data Tables
Connecting Hadoop and Oracle
Why PostgreSQL for Analytics Infrastructure (DW)?
Database Performance Tuning
PyCon DE 2013 - Table Partitioning with Django
Sql server backup internals
Query Optimization in SQL Server
ORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIES
SQL Server 2008 Development for Programmers
Why & how to optimize sql server for performance from design to query
Common Strategies for Improving Performance on Your Delta Lakehouse
Perfect trio : temporal tables, transparent archiving in db2 for z_os and idaa
Oracle 21c: New Features and Enhancements of Data Pump & TTS
SQL Server 2012 Best Practices
How to Fine-Tune Performance Using Amazon Redshift
PostgreSQL 9.5 Features
Ad

More from SingleStore (20)

PPTX
Five ways database modernization simplifies your data life
PPTX
How Kafka and Modern Databases Benefit Apps and Analytics
PDF
Architecting Data in the AWS Ecosystem
PPTX
Building the Foundation for a Latency-Free Life
PDF
Converging Database Transactions and Analytics
PDF
Building a Machine Learning Recommendation Engine in SQL
PPTX
MemSQL 201: Advanced Tips and Tricks Webcast
PDF
Introduction to MemSQL
PDF
An Engineering Approach to Database Evaluations
PPTX
Building a Fault Tolerant Distributed Architecture
PPTX
Curriculum Associates Strata NYC 2017
PPTX
Image Recognition on Streaming Data
PPTX
Spark Summit Dublin 2017 - MemSQL - Real-Time Image Recognition
PDF
The State of the Data Warehouse in 2017 and Beyond
PDF
How Database Convergence Impacts the Coming Decades of Data Management
PPTX
Teaching Databases to Learn in the World of AI
PDF
Gartner Catalyst 2017: The Data Warehouse Blueprint for ML, AI, and Hybrid Cloud
PPTX
Gartner Catalyst 2017: Image Recognition on Streaming Data
PPTX
Spark Summit West 2017: Real-Time Image Recognition with MemSQL and Spark
PDF
Real-Time Analytics at Uber Scale
Five ways database modernization simplifies your data life
How Kafka and Modern Databases Benefit Apps and Analytics
Architecting Data in the AWS Ecosystem
Building the Foundation for a Latency-Free Life
Converging Database Transactions and Analytics
Building a Machine Learning Recommendation Engine in SQL
MemSQL 201: Advanced Tips and Tricks Webcast
Introduction to MemSQL
An Engineering Approach to Database Evaluations
Building a Fault Tolerant Distributed Architecture
Curriculum Associates Strata NYC 2017
Image Recognition on Streaming Data
Spark Summit Dublin 2017 - MemSQL - Real-Time Image Recognition
The State of the Data Warehouse in 2017 and Beyond
How Database Convergence Impacts the Coming Decades of Data Management
Teaching Databases to Learn in the World of AI
Gartner Catalyst 2017: The Data Warehouse Blueprint for ML, AI, and Hybrid Cloud
Gartner Catalyst 2017: Image Recognition on Streaming Data
Spark Summit West 2017: Real-Time Image Recognition with MemSQL and Spark
Real-Time Analytics at Uber Scale
Ad

Recently uploaded (20)

PPTX
Chapter_5_ network layer control plan v8.2.pptx
PPTX
text mining_Natural Language Processing.pptx
PPTX
Transport System for Biology students in the 11th grade
PDF
NU-MEP-Standards معايير تصميم جامعية .pdf
PPTX
Bussiness Plan S Group of college 2020-23 Final
PDF
toaz.info-grade-11-2nd-quarter-earth-and-life-science-pr_5360bfd5a497b75f7ae4...
PPTX
1.Introduction to orthodonti hhhgghhcs.pptx
PPTX
AI-Augmented Business Process Management Systems
PDF
MISO Deep-NARX Forecasting for Energy and Electricity Demand/Price Data
PPT
Handout for Lean and Six Sigma application
PPT
DWDM unit 1 for btech 3rd year students.ppt
PPTX
Power BI - Microsoft Power BI is an interactive data visualization software p...
PDF
The-Physical-Self.pdf college students1-4
PDF
American Journal of Multidisciplinary Research and Review
PPT
Technicalities in writing workshops indigenous language
PPTX
PSU research training.pptxPSU research training.pptx
PPTX
ISO 9001-2015 quality management system presentation
PPTX
logistic__regression_for_beginners_.pptx
PPTX
An Introduction to Lean Six Sigma for Bilginer
PPTX
Microsoft Fabric Modernization Pathways in Action: Strategic Insights for Dat...
Chapter_5_ network layer control plan v8.2.pptx
text mining_Natural Language Processing.pptx
Transport System for Biology students in the 11th grade
NU-MEP-Standards معايير تصميم جامعية .pdf
Bussiness Plan S Group of college 2020-23 Final
toaz.info-grade-11-2nd-quarter-earth-and-life-science-pr_5360bfd5a497b75f7ae4...
1.Introduction to orthodonti hhhgghhcs.pptx
AI-Augmented Business Process Management Systems
MISO Deep-NARX Forecasting for Energy and Electricity Demand/Price Data
Handout for Lean and Six Sigma application
DWDM unit 1 for btech 3rd year students.ppt
Power BI - Microsoft Power BI is an interactive data visualization software p...
The-Physical-Self.pdf college students1-4
American Journal of Multidisciplinary Research and Review
Technicalities in writing workshops indigenous language
PSU research training.pptxPSU research training.pptx
ISO 9001-2015 quality management system presentation
logistic__regression_for_beginners_.pptx
An Introduction to Lean Six Sigma for Bilginer
Microsoft Fabric Modernization Pathways in Action: Strategic Insights for Dat...

Stream Processing with Pipelines and Stored Procedures