Change Data Capture

A
Ahmetcan ZANSoftware Developer at Migros Ticaret A.Ş.
CHANGE DATA CAPTURE
ETL
• Bir kaynaktan veri
toplama ve bu verileri
hedefe aktarma işlemidir
• Veri güvenilirliği düşüktür
• Zaman ve kaynak sorunu
oluşur
• Extract – Transform – Load
adımlarından oluşur
CDC
(CHANGE
DATA
CAPTURE) • ETL’den farkı değişiklikleri anlık yakalar ve gönderir
• Ek yükü azaltır ve real time analitiği destekler
CDC
(CHANGE
DATA
CAPTURE) • Yüksek verim
• Senkronizasyon
NEDEN CDC?
Hızlı Kararlar
Senkron Çoğaltma
Düşük Maliyetler
Azalan Ağ Yükü
CDC METODLARI
• Temelde İki Yöntemden Oluşmaktadır
• Push:
• Kaynak veritabanı kullanımı
fazladır.
• Gerçek zamana yakın.
• Mesajlaşma sistemi gereklidir.
• Pull:
• Log olarak kaydetme
• Gerçek zamandan uzak
• Veri kaybı önlenmelidir.
1. LOG
BASED
• Her transaction geldiğinde değişiklikler tutulur
• Etkili ve hızlı
• Kaynağa bir etkisi olmaz
• Veri tabanı Log yapısını ayrıştırmak zordur
2. Query Based
(TimeStamp)
• Veriler sorgular ile veritabanından alınır.
• Timestamp gibi bir yapı tutulması gereklidir.
• Kaynak sisteme performans olarak kötü etkisi vardır
3. Triggers
• Her transaction’da
algılanır ve yazılır
• Veritabanı performansını
azaltır
• Güvenilir ve detaylıdır
CDC Avantajları ve
Kullanım Alanları
• Sürekli veri aktarımı ve kopyalanması
• Mikro servisler arası verinin güncel tutulması
• Cache’in güncellenmesi
• Elastic Search gibi arama indexlerinin güncellenmesi
1. APACHE NIFI
• 2. Debezium
Debezium Kullanım
Biçimleri
• 1. Kütüphane
• Gömülü olarak Java uygulamasında kullanılabilir.
Debezium Kullanım
Biçimleri
• 2. Standalone Server
3. Apache Flink
• Yüksek Verimli
• Düşük Gecikmeli
• Event altyapısını kullanır
• Sınırlı ve Sınırsız Veri akışı işler
3. APACHE
FLINK
• Kendi depolama katmanı yoktur.
• Kafka, elastic search gibi depolama sistemlerini kullanabilir
4. Hibernate Envers
4. Hibernate Envers
1 of 18

Recommended

Cem kubilay by
Cem kubilayCem kubilay
Cem kubilayTeradataDay
556 views29 slides
İleri Seviye T-SQL Programlama - Chapter 19 by
İleri Seviye T-SQL Programlama - Chapter 19İleri Seviye T-SQL Programlama - Chapter 19
İleri Seviye T-SQL Programlama - Chapter 19Cihan Özhan
2.1K views42 slides
6.Oracle Day2009 Engin Senel V2 by
6.Oracle Day2009 Engin Senel V26.Oracle Day2009 Engin Senel V2
6.Oracle Day2009 Engin Senel V2Ermando
620 views34 slides
Oracle Database & Oracle Datawarehouse Best Practices by
Oracle Database & Oracle Datawarehouse Best PracticesOracle Database & Oracle Datawarehouse Best Practices
Oracle Database & Oracle Datawarehouse Best PracticesZekeriya Besiroglu
858 views19 slides
Sukru_TRSUG2016 by
Sukru_TRSUG2016Sukru_TRSUG2016
Sukru_TRSUG2016Sukru Hasdemir
138 views21 slides
Oracle 12c Database In Memory DBA SIG by
Oracle 12c Database In Memory DBA SIGOracle 12c Database In Memory DBA SIG
Oracle 12c Database In Memory DBA SIGGokhan Atil
672 views26 slides

More Related Content

Featured

Google's Just Not That Into You: Understanding Core Updates & Search Intent by
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
6.4K views99 slides
How to have difficult conversations by
How to have difficult conversations How to have difficult conversations
How to have difficult conversations Rajiv Jayarajah, MAppComm, ACC
5K views19 slides
Introduction to Data Science by
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data ScienceChristy Abraham Joy
82.3K views51 slides
Time Management & Productivity - Best Practices by
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
169.7K views42 slides
The six step guide to practical project management by
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
36.6K views27 slides
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright... by
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
12.7K views21 slides

Featured(20)

Google's Just Not That Into You: Understanding Core Updates & Search Intent by Lily Ray
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray6.4K views
Time Management & Productivity - Best Practices by Vit Horky
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
Vit Horky169.7K views
The six step guide to practical project management by MindGenius
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
MindGenius36.6K views
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright... by RachelPearson36
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
RachelPearson3612.7K views
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present... by Applitools
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Applitools55.5K views
12 Ways to Increase Your Influence at Work by GetSmarter
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
GetSmarter401.7K views
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G... by DevGAMM Conference
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
DevGAMM Conference3.6K views
Barbie - Brand Strategy Presentation by Erica Santiago
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
Erica Santiago25.1K views
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well by Saba Software
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Saba Software25.2K views
Introduction to C Programming Language by Simplilearn
Introduction to C Programming LanguageIntroduction to C Programming Language
Introduction to C Programming Language
Simplilearn8.4K views
The Pixar Way: 37 Quotes on Developing and Maintaining a Creative Company (fr... by Palo Alto Software
The Pixar Way: 37 Quotes on Developing and Maintaining a Creative Company (fr...The Pixar Way: 37 Quotes on Developing and Maintaining a Creative Company (fr...
The Pixar Way: 37 Quotes on Developing and Maintaining a Creative Company (fr...
Palo Alto Software88.4K views
9 Tips for a Work-free Vacation by Weekdone.com
9 Tips for a Work-free Vacation9 Tips for a Work-free Vacation
9 Tips for a Work-free Vacation
Weekdone.com7.2K views
How to Map Your Future by SlideShop.com
How to Map Your FutureHow to Map Your Future
How to Map Your Future
SlideShop.com275.1K views
Beyond Pride: Making Digital Marketing & SEO Authentically LGBTQ+ Inclusive -... by AccuraCast
Beyond Pride: Making Digital Marketing & SEO Authentically LGBTQ+ Inclusive -...Beyond Pride: Making Digital Marketing & SEO Authentically LGBTQ+ Inclusive -...
Beyond Pride: Making Digital Marketing & SEO Authentically LGBTQ+ Inclusive -...
AccuraCast3.4K views

Change Data Capture