SlideShare a Scribd company logo
1 of 25
Postgres: Kurumsal dünya için 
öneriler 
Devrim Gündüz 
Principal Systems Engineer / Technical Account Manager 
© Copyright EnterpriseDB Corporation, 2014. All rights reserved.
EnterpriseDB hakkında 
© Copyright EnterpriseDB Corporation, 2014. All rights reserved.
EnterpriseDB 
 2005 - ... 
 Oracle uyumluluğu 
 PostgreSQL tabanlı 
 Göç (migration) araçları (Oracle, SQL Server, MySQL) 
 Replikasyon araçları 
 Yedekleme, failover, grafik istemciler, gözlemleme 
yazılımları ile bütünleşik çözüm 
 Postgres Plus Advanced Server ( PPAS) 
 BART, EFM, PEM... 
© Copyright EnterpriseDB Corporation, 2014. All rights reserved.
9.4 neler getirecek? 
Postgres Plus Advanced Server: 
 CPU ve I/O Kaynak Yönetimi 
 CUBE ile SQL Aggregation 
 ROLLUP ve GROUPING SETS 
 Gelişmiş UTL_HTTP paketi 
 Connect_By_Root operatörü 
 Hash partitioning 
 EDB*Loader geliştirmeleri 
 SQL/Protect'in veritabanı tablosuna 
yazabilmesiLogging to DB Table 
 ... 
© Copyright EnterpriseDB Corporation, 2014. All rights reserved.
9.4 neler getirecek? 
PostgreSQL: 
 JSONB veri tipi 
 Gecikmeli replikasyon 
 ALTER SYSTEM 
 pg_prewarm() 
 MV Refresh Concurrently 
 ... 
© Copyright EnterpriseDB Corporation, 2014. All rights reserved.
Postgres sunucunuzu hazırlamak 
© Copyright EnterpriseDB Corporation, 2014. All rights reserved.
Sunucu hazırlarken 
Kısaca: Donanım 
 Tüm bileşenler önemlidir. 
 Ağ cihazları, başarımda anahtar rolü oynayabilir. 
 Yıllar önce 10 mbit ayarlanmış bir ağdaki sorun 
 CPU seçimi 
 Disk seçimi 
 SSD 
 RAM seçimi 
 shared_buffers? 
© Copyright EnterpriseDB Corporation, 2014. All rights reserved.
Sunucu hazırlarken 
 Cluster? 
 Replikasyon? 
 Diğer bileşenler... 
 En sık yaşanan sorunlar: 
 Küçük donanımla başlamak 
 Küçük düşünmek 
 Düzgün projeksiyon yapamamak 
 ... 
© Copyright EnterpriseDB Corporation, 2014. All rights reserved.
Postgres başarımını arttırmak – 
en sık kullanılan parametreler 
© Copyright EnterpriseDB Corporation, 2014. All rights reserved.
Postgres başarımı için değiştirilmesi 
gereken ilk parametreler 
 shared_buffers 
 work_mem 
 maintenance_work_mem 
 bgwriter_* 
 checkpoint_* 
 effective_cache_size 
© Copyright EnterpriseDB Corporation, 2014. All rights reserved.
En son sorun çıkartan süreçler 
© Copyright EnterpriseDB Corporation, 2014. All rights reserved.
En çok sorun çıkartan süreçler 
Öncelikle VACUUM 
 vacuum_cost_delay 
 vacuum_cost_page_hit 
 vacuum_cost_page_miss 
 vacuum_cost_page_dirty 
 vacuum_cost_limit 
© Copyright EnterpriseDB Corporation, 2014. All rights reserved.
En çok sorun çıkartan süreçler 
Sonra autovacuum 
 autovacuum_work_mem 
 autovacuum 
 log_autovacuum_min_duration 
 autovacuum_max_workers 
 autovacuum_naptime 
 autovacuum_vacuum_scale_factor 
 autovacuum_analyze_scale_factor 
© Copyright EnterpriseDB Corporation, 2014. All rights reserved.
En çok sorun çıkartan süreçler 
Sorgu planlayıcısı 
 Aslında pek sorun yok 
 HINT? 
 Cost tabanlı optimizer 
 Düzgün istatistik toplama 
 ANALYZE? 
 Düzgün indexler, gerekli indexler 
 Partial, pg_trgm, GIN, GIST, expressional, btree... 
© Copyright EnterpriseDB Corporation, 2014. All rights reserved.
Loglama, gözlemleme 
© Copyright EnterpriseDB Corporation, 2014. All rights reserved.
Loglama, gözlemleme 
Ölçmeden bilemeyiz'! 
Ölçmek için bilgi toplamak gerekli. 
Sık hata: Loglama geç açılır. 
log_checkpoints, log_lock_waits, log_temp_files, 
log_line_prefix, log_min_duration_statement, 
log_autovacuum_min_duration, ... 
Pgbadger, PEM! 
© Copyright EnterpriseDB Corporation, 2014. All rights reserved.
Veritabanı kurtarma ve 
yedekleme stratejileri 
© Copyright EnterpriseDB Corporation, 2014. All rights reserved.
Yedekleme ve kurtarma stratejileri 
Herşeyin başı test! 
 Veri büyür, yedek büyür 
 pg_dump asla yetmez! 
 PITR, xlog archiving 
 Gecikmeli standby sunucu 
 EFM 
 BART – Back up and Recovery Tool 
© Copyright EnterpriseDB Corporation, 2014. All rights reserved.
Büyüme sancıları 
© Copyright EnterpriseDB Corporation, 2014. All rights reserved.
Büyümek kolay değil! 
 Önce donanım yetmez 
 Sonra herşey birden yavaşlamaya başlar 
 Yedekler? 
 Yedeklerin testi? 
 Felaket kurtarma merkezi? 
 DBA? Eğitim? 
© Copyright EnterpriseDB Corporation, 2014. All rights reserved.
Büyüme demişken: Big data! 
© Copyright EnterpriseDB Corporation, 2014. All rights reserved.
Büyük veri 
“Keep Calm and Analyze Big Data” 
 Herkesin verisi büyüktür (=önemlidir) 
 Bazı veriler daha büyüktür 
 NoSQL veritabanları 
 Postgres? JSONB ve MongoDB 
 Daha hızlı, daha az maliyetli 
 Ölçeklenebilirlik? 
© Copyright EnterpriseDB Corporation, 2014. All rights reserved.
Peki ne yapmak gerekli? 
© Copyright EnterpriseDB Corporation, 2014. All rights reserved.
EnterpriseDB çözümleri 
Postgres servisleri için... 
 AHC (Architectural Health Check) : En başta yapılması 
gereken. 
 PPAS: Hızlı ve bütünleşik çözümler 
 PEM (Postgres Enterprise Manager): Tek noktadan 
gözlemlene 
 BART (Back up and Recovery Tool): Yedekleme 
 xDB: Multimaster replikasyon 
© Copyright EnterpriseDB Corporation, 2014. All rights reserved.
© Copyright EnterpriseDB Corporation, 2014. All rights reserved.

More Related Content

Similar to Edb kurumsal dunyaicinoneriler.101614

İleri Seviye T-SQL Programlama - Chapter 19
İleri Seviye T-SQL Programlama - Chapter 19İleri Seviye T-SQL Programlama - Chapter 19
İleri Seviye T-SQL Programlama - Chapter 19Cihan Özhan
 
E-ticarette Yazılım ve Altyapı
E-ticarette Yazılım ve AltyapıE-ticarette Yazılım ve Altyapı
E-ticarette Yazılım ve AltyapıMurat Kader
 
Eticaret akademi Yazılım ve IT süreçleri
Eticaret akademi Yazılım ve IT süreçleriEticaret akademi Yazılım ve IT süreçleri
Eticaret akademi Yazılım ve IT süreçleriMurat Kader
 
progressokulu.com OpenEdge Replication Slide 2
progressokulu.com OpenEdge Replication Slide 2progressokulu.com OpenEdge Replication Slide 2
progressokulu.com OpenEdge Replication Slide 2kaan verdioglu
 
GDO'suz Yazılım Geliştirme Teknikleri
GDO'suz Yazılım Geliştirme TeknikleriGDO'suz Yazılım Geliştirme Teknikleri
GDO'suz Yazılım Geliştirme TeknikleriLemi Orhan Ergin
 
System Center Data Protection Manager 2007 Kurulum
System Center Data Protection Manager 2007 KurulumSystem Center Data Protection Manager 2007 Kurulum
System Center Data Protection Manager 2007 KurulumÇözümPARK
 
Weblogic performance tips&tricks
Weblogic performance tips&tricksWeblogic performance tips&tricks
Weblogic performance tips&tricksZekeriya Besiroglu
 
Kod günleri veritabnı
Kod günleri veritabnıKod günleri veritabnı
Kod günleri veritabnıMustafa Tepe
 
Veri işleme üzerine, Hakan Sarıbıyık
Veri işleme üzerine, Hakan SarıbıyıkVeri işleme üzerine, Hakan Sarıbıyık
Veri işleme üzerine, Hakan SarıbıyıkHakan Sarıbıyık
 
Log yonetimi tecrubeleri
Log yonetimi tecrubeleriLog yonetimi tecrubeleri
Log yonetimi tecrubeleriErtugrul Akbas
 
Nosql wars & machine learning
Nosql wars & machine learningNosql wars & machine learning
Nosql wars & machine learningEnsarERDOAN
 
Azure Sanal Makineler
Azure Sanal MakinelerAzure Sanal Makineler
Azure Sanal MakinelerMustafa
 
Zararlı Yazılım Analizi Eğitimi Lab Kitabı
Zararlı Yazılım Analizi Eğitimi Lab KitabıZararlı Yazılım Analizi Eğitimi Lab Kitabı
Zararlı Yazılım Analizi Eğitimi Lab KitabıBGA Cyber Security
 
windows server 2008 r2 hyper-v fail over cluster
windows server 2008 r2 hyper-v fail over clusterwindows server 2008 r2 hyper-v fail over cluster
windows server 2008 r2 hyper-v fail over clusterÇözümPARK
 

Similar to Edb kurumsal dunyaicinoneriler.101614 (20)

İleri Seviye T-SQL Programlama - Chapter 19
İleri Seviye T-SQL Programlama - Chapter 19İleri Seviye T-SQL Programlama - Chapter 19
İleri Seviye T-SQL Programlama - Chapter 19
 
12factor apps
12factor apps12factor apps
12factor apps
 
E-ticarette Yazılım ve Altyapı
E-ticarette Yazılım ve AltyapıE-ticarette Yazılım ve Altyapı
E-ticarette Yazılım ve Altyapı
 
Eticaret akademi Yazılım ve IT süreçleri
Eticaret akademi Yazılım ve IT süreçleriEticaret akademi Yazılım ve IT süreçleri
Eticaret akademi Yazılım ve IT süreçleri
 
progressokulu.com OpenEdge Replication Slide 2
progressokulu.com OpenEdge Replication Slide 2progressokulu.com OpenEdge Replication Slide 2
progressokulu.com OpenEdge Replication Slide 2
 
GDO'suz Yazılım Geliştirme Teknikleri
GDO'suz Yazılım Geliştirme TeknikleriGDO'suz Yazılım Geliştirme Teknikleri
GDO'suz Yazılım Geliştirme Teknikleri
 
Raid technologies
Raid technologiesRaid technologies
Raid technologies
 
System Center Data Protection Manager 2007 Kurulum
System Center Data Protection Manager 2007 KurulumSystem Center Data Protection Manager 2007 Kurulum
System Center Data Protection Manager 2007 Kurulum
 
Weblogic performance tips&tricks
Weblogic performance tips&tricksWeblogic performance tips&tricks
Weblogic performance tips&tricks
 
Sbs 2008 disaster
Sbs 2008 disasterSbs 2008 disaster
Sbs 2008 disaster
 
Kod günleri veritabnı
Kod günleri veritabnıKod günleri veritabnı
Kod günleri veritabnı
 
Kod günleri veritabnı
Kod günleri veritabnıKod günleri veritabnı
Kod günleri veritabnı
 
Veri işleme üzerine, Hakan Sarıbıyık
Veri işleme üzerine, Hakan SarıbıyıkVeri işleme üzerine, Hakan Sarıbıyık
Veri işleme üzerine, Hakan Sarıbıyık
 
Log yonetimi tecrubeleri
Log yonetimi tecrubeleriLog yonetimi tecrubeleri
Log yonetimi tecrubeleri
 
Nosql wars & machine learning
Nosql wars & machine learningNosql wars & machine learning
Nosql wars & machine learning
 
Azure Sanal Makineler
Azure Sanal MakinelerAzure Sanal Makineler
Azure Sanal Makineler
 
Zararlı Yazılım Analizi Eğitimi Lab Kitabı
Zararlı Yazılım Analizi Eğitimi Lab KitabıZararlı Yazılım Analizi Eğitimi Lab Kitabı
Zararlı Yazılım Analizi Eğitimi Lab Kitabı
 
windows server 2008 r2 hyper-v fail over cluster
windows server 2008 r2 hyper-v fail over clusterwindows server 2008 r2 hyper-v fail over cluster
windows server 2008 r2 hyper-v fail over cluster
 
Freedom ERP / Barkod Uygulama Fikir ve Örnekleri
Freedom ERP / Barkod Uygulama Fikir ve ÖrnekleriFreedom ERP / Barkod Uygulama Fikir ve Örnekleri
Freedom ERP / Barkod Uygulama Fikir ve Örnekleri
 
Cp Scom
Cp ScomCp Scom
Cp Scom
 

More from EDB

Cloud Migration Paths: Kubernetes, IaaS, or DBaaS
Cloud Migration Paths: Kubernetes, IaaS, or DBaaSCloud Migration Paths: Kubernetes, IaaS, or DBaaS
Cloud Migration Paths: Kubernetes, IaaS, or DBaaSEDB
 
Die 10 besten PostgreSQL-Replikationsstrategien für Ihr Unternehmen
Die 10 besten PostgreSQL-Replikationsstrategien für Ihr UnternehmenDie 10 besten PostgreSQL-Replikationsstrategien für Ihr Unternehmen
Die 10 besten PostgreSQL-Replikationsstrategien für Ihr UnternehmenEDB
 
Migre sus bases de datos Oracle a la nube
Migre sus bases de datos Oracle a la nube Migre sus bases de datos Oracle a la nube
Migre sus bases de datos Oracle a la nube EDB
 
EFM Office Hours - APJ - July 29, 2021
EFM Office Hours - APJ - July 29, 2021EFM Office Hours - APJ - July 29, 2021
EFM Office Hours - APJ - July 29, 2021EDB
 
Benchmarking Cloud Native PostgreSQL
Benchmarking Cloud Native PostgreSQLBenchmarking Cloud Native PostgreSQL
Benchmarking Cloud Native PostgreSQLEDB
 
Las Variaciones de la Replicación de PostgreSQL
Las Variaciones de la Replicación de PostgreSQLLas Variaciones de la Replicación de PostgreSQL
Las Variaciones de la Replicación de PostgreSQLEDB
 
NoSQL and Spatial Database Capabilities using PostgreSQL
NoSQL and Spatial Database Capabilities using PostgreSQLNoSQL and Spatial Database Capabilities using PostgreSQL
NoSQL and Spatial Database Capabilities using PostgreSQLEDB
 
Is There Anything PgBouncer Can’t Do?
Is There Anything PgBouncer Can’t Do?Is There Anything PgBouncer Can’t Do?
Is There Anything PgBouncer Can’t Do?EDB
 
Data Analysis with TensorFlow in PostgreSQL
Data Analysis with TensorFlow in PostgreSQLData Analysis with TensorFlow in PostgreSQL
Data Analysis with TensorFlow in PostgreSQLEDB
 
Practical Partitioning in Production with Postgres
Practical Partitioning in Production with PostgresPractical Partitioning in Production with Postgres
Practical Partitioning in Production with PostgresEDB
 
A Deeper Dive into EXPLAIN
A Deeper Dive into EXPLAINA Deeper Dive into EXPLAIN
A Deeper Dive into EXPLAINEDB
 
IOT with PostgreSQL
IOT with PostgreSQLIOT with PostgreSQL
IOT with PostgreSQLEDB
 
A Journey from Oracle to PostgreSQL
A Journey from Oracle to PostgreSQLA Journey from Oracle to PostgreSQL
A Journey from Oracle to PostgreSQLEDB
 
Psql is awesome!
Psql is awesome!Psql is awesome!
Psql is awesome!EDB
 
EDB 13 - New Enhancements for Security and Usability - APJ
EDB 13 - New Enhancements for Security and Usability - APJEDB 13 - New Enhancements for Security and Usability - APJ
EDB 13 - New Enhancements for Security and Usability - APJEDB
 
Comment sauvegarder correctement vos données
Comment sauvegarder correctement vos donnéesComment sauvegarder correctement vos données
Comment sauvegarder correctement vos donnéesEDB
 
Cloud Native PostgreSQL - Italiano
Cloud Native PostgreSQL - ItalianoCloud Native PostgreSQL - Italiano
Cloud Native PostgreSQL - ItalianoEDB
 
New enhancements for security and usability in EDB 13
New enhancements for security and usability in EDB 13New enhancements for security and usability in EDB 13
New enhancements for security and usability in EDB 13EDB
 
Best Practices in Security with PostgreSQL
Best Practices in Security with PostgreSQLBest Practices in Security with PostgreSQL
Best Practices in Security with PostgreSQLEDB
 
Cloud Native PostgreSQL - APJ
Cloud Native PostgreSQL - APJCloud Native PostgreSQL - APJ
Cloud Native PostgreSQL - APJEDB
 

More from EDB (20)

Cloud Migration Paths: Kubernetes, IaaS, or DBaaS
Cloud Migration Paths: Kubernetes, IaaS, or DBaaSCloud Migration Paths: Kubernetes, IaaS, or DBaaS
Cloud Migration Paths: Kubernetes, IaaS, or DBaaS
 
Die 10 besten PostgreSQL-Replikationsstrategien für Ihr Unternehmen
Die 10 besten PostgreSQL-Replikationsstrategien für Ihr UnternehmenDie 10 besten PostgreSQL-Replikationsstrategien für Ihr Unternehmen
Die 10 besten PostgreSQL-Replikationsstrategien für Ihr Unternehmen
 
Migre sus bases de datos Oracle a la nube
Migre sus bases de datos Oracle a la nube Migre sus bases de datos Oracle a la nube
Migre sus bases de datos Oracle a la nube
 
EFM Office Hours - APJ - July 29, 2021
EFM Office Hours - APJ - July 29, 2021EFM Office Hours - APJ - July 29, 2021
EFM Office Hours - APJ - July 29, 2021
 
Benchmarking Cloud Native PostgreSQL
Benchmarking Cloud Native PostgreSQLBenchmarking Cloud Native PostgreSQL
Benchmarking Cloud Native PostgreSQL
 
Las Variaciones de la Replicación de PostgreSQL
Las Variaciones de la Replicación de PostgreSQLLas Variaciones de la Replicación de PostgreSQL
Las Variaciones de la Replicación de PostgreSQL
 
NoSQL and Spatial Database Capabilities using PostgreSQL
NoSQL and Spatial Database Capabilities using PostgreSQLNoSQL and Spatial Database Capabilities using PostgreSQL
NoSQL and Spatial Database Capabilities using PostgreSQL
 
Is There Anything PgBouncer Can’t Do?
Is There Anything PgBouncer Can’t Do?Is There Anything PgBouncer Can’t Do?
Is There Anything PgBouncer Can’t Do?
 
Data Analysis with TensorFlow in PostgreSQL
Data Analysis with TensorFlow in PostgreSQLData Analysis with TensorFlow in PostgreSQL
Data Analysis with TensorFlow in PostgreSQL
 
Practical Partitioning in Production with Postgres
Practical Partitioning in Production with PostgresPractical Partitioning in Production with Postgres
Practical Partitioning in Production with Postgres
 
A Deeper Dive into EXPLAIN
A Deeper Dive into EXPLAINA Deeper Dive into EXPLAIN
A Deeper Dive into EXPLAIN
 
IOT with PostgreSQL
IOT with PostgreSQLIOT with PostgreSQL
IOT with PostgreSQL
 
A Journey from Oracle to PostgreSQL
A Journey from Oracle to PostgreSQLA Journey from Oracle to PostgreSQL
A Journey from Oracle to PostgreSQL
 
Psql is awesome!
Psql is awesome!Psql is awesome!
Psql is awesome!
 
EDB 13 - New Enhancements for Security and Usability - APJ
EDB 13 - New Enhancements for Security and Usability - APJEDB 13 - New Enhancements for Security and Usability - APJ
EDB 13 - New Enhancements for Security and Usability - APJ
 
Comment sauvegarder correctement vos données
Comment sauvegarder correctement vos donnéesComment sauvegarder correctement vos données
Comment sauvegarder correctement vos données
 
Cloud Native PostgreSQL - Italiano
Cloud Native PostgreSQL - ItalianoCloud Native PostgreSQL - Italiano
Cloud Native PostgreSQL - Italiano
 
New enhancements for security and usability in EDB 13
New enhancements for security and usability in EDB 13New enhancements for security and usability in EDB 13
New enhancements for security and usability in EDB 13
 
Best Practices in Security with PostgreSQL
Best Practices in Security with PostgreSQLBest Practices in Security with PostgreSQL
Best Practices in Security with PostgreSQL
 
Cloud Native PostgreSQL - APJ
Cloud Native PostgreSQL - APJCloud Native PostgreSQL - APJ
Cloud Native PostgreSQL - APJ
 

Edb kurumsal dunyaicinoneriler.101614

  • 1. Postgres: Kurumsal dünya için öneriler Devrim Gündüz Principal Systems Engineer / Technical Account Manager © Copyright EnterpriseDB Corporation, 2014. All rights reserved.
  • 2. EnterpriseDB hakkında © Copyright EnterpriseDB Corporation, 2014. All rights reserved.
  • 3. EnterpriseDB  2005 - ...  Oracle uyumluluğu  PostgreSQL tabanlı  Göç (migration) araçları (Oracle, SQL Server, MySQL)  Replikasyon araçları  Yedekleme, failover, grafik istemciler, gözlemleme yazılımları ile bütünleşik çözüm  Postgres Plus Advanced Server ( PPAS)  BART, EFM, PEM... © Copyright EnterpriseDB Corporation, 2014. All rights reserved.
  • 4. 9.4 neler getirecek? Postgres Plus Advanced Server:  CPU ve I/O Kaynak Yönetimi  CUBE ile SQL Aggregation  ROLLUP ve GROUPING SETS  Gelişmiş UTL_HTTP paketi  Connect_By_Root operatörü  Hash partitioning  EDB*Loader geliştirmeleri  SQL/Protect'in veritabanı tablosuna yazabilmesiLogging to DB Table  ... © Copyright EnterpriseDB Corporation, 2014. All rights reserved.
  • 5. 9.4 neler getirecek? PostgreSQL:  JSONB veri tipi  Gecikmeli replikasyon  ALTER SYSTEM  pg_prewarm()  MV Refresh Concurrently  ... © Copyright EnterpriseDB Corporation, 2014. All rights reserved.
  • 6. Postgres sunucunuzu hazırlamak © Copyright EnterpriseDB Corporation, 2014. All rights reserved.
  • 7. Sunucu hazırlarken Kısaca: Donanım  Tüm bileşenler önemlidir.  Ağ cihazları, başarımda anahtar rolü oynayabilir.  Yıllar önce 10 mbit ayarlanmış bir ağdaki sorun  CPU seçimi  Disk seçimi  SSD  RAM seçimi  shared_buffers? © Copyright EnterpriseDB Corporation, 2014. All rights reserved.
  • 8. Sunucu hazırlarken  Cluster?  Replikasyon?  Diğer bileşenler...  En sık yaşanan sorunlar:  Küçük donanımla başlamak  Küçük düşünmek  Düzgün projeksiyon yapamamak  ... © Copyright EnterpriseDB Corporation, 2014. All rights reserved.
  • 9. Postgres başarımını arttırmak – en sık kullanılan parametreler © Copyright EnterpriseDB Corporation, 2014. All rights reserved.
  • 10. Postgres başarımı için değiştirilmesi gereken ilk parametreler  shared_buffers  work_mem  maintenance_work_mem  bgwriter_*  checkpoint_*  effective_cache_size © Copyright EnterpriseDB Corporation, 2014. All rights reserved.
  • 11. En son sorun çıkartan süreçler © Copyright EnterpriseDB Corporation, 2014. All rights reserved.
  • 12. En çok sorun çıkartan süreçler Öncelikle VACUUM  vacuum_cost_delay  vacuum_cost_page_hit  vacuum_cost_page_miss  vacuum_cost_page_dirty  vacuum_cost_limit © Copyright EnterpriseDB Corporation, 2014. All rights reserved.
  • 13. En çok sorun çıkartan süreçler Sonra autovacuum  autovacuum_work_mem  autovacuum  log_autovacuum_min_duration  autovacuum_max_workers  autovacuum_naptime  autovacuum_vacuum_scale_factor  autovacuum_analyze_scale_factor © Copyright EnterpriseDB Corporation, 2014. All rights reserved.
  • 14. En çok sorun çıkartan süreçler Sorgu planlayıcısı  Aslında pek sorun yok  HINT?  Cost tabanlı optimizer  Düzgün istatistik toplama  ANALYZE?  Düzgün indexler, gerekli indexler  Partial, pg_trgm, GIN, GIST, expressional, btree... © Copyright EnterpriseDB Corporation, 2014. All rights reserved.
  • 15. Loglama, gözlemleme © Copyright EnterpriseDB Corporation, 2014. All rights reserved.
  • 16. Loglama, gözlemleme Ölçmeden bilemeyiz'! Ölçmek için bilgi toplamak gerekli. Sık hata: Loglama geç açılır. log_checkpoints, log_lock_waits, log_temp_files, log_line_prefix, log_min_duration_statement, log_autovacuum_min_duration, ... Pgbadger, PEM! © Copyright EnterpriseDB Corporation, 2014. All rights reserved.
  • 17. Veritabanı kurtarma ve yedekleme stratejileri © Copyright EnterpriseDB Corporation, 2014. All rights reserved.
  • 18. Yedekleme ve kurtarma stratejileri Herşeyin başı test!  Veri büyür, yedek büyür  pg_dump asla yetmez!  PITR, xlog archiving  Gecikmeli standby sunucu  EFM  BART – Back up and Recovery Tool © Copyright EnterpriseDB Corporation, 2014. All rights reserved.
  • 19. Büyüme sancıları © Copyright EnterpriseDB Corporation, 2014. All rights reserved.
  • 20. Büyümek kolay değil!  Önce donanım yetmez  Sonra herşey birden yavaşlamaya başlar  Yedekler?  Yedeklerin testi?  Felaket kurtarma merkezi?  DBA? Eğitim? © Copyright EnterpriseDB Corporation, 2014. All rights reserved.
  • 21. Büyüme demişken: Big data! © Copyright EnterpriseDB Corporation, 2014. All rights reserved.
  • 22. Büyük veri “Keep Calm and Analyze Big Data”  Herkesin verisi büyüktür (=önemlidir)  Bazı veriler daha büyüktür  NoSQL veritabanları  Postgres? JSONB ve MongoDB  Daha hızlı, daha az maliyetli  Ölçeklenebilirlik? © Copyright EnterpriseDB Corporation, 2014. All rights reserved.
  • 23. Peki ne yapmak gerekli? © Copyright EnterpriseDB Corporation, 2014. All rights reserved.
  • 24. EnterpriseDB çözümleri Postgres servisleri için...  AHC (Architectural Health Check) : En başta yapılması gereken.  PPAS: Hızlı ve bütünleşik çözümler  PEM (Postgres Enterprise Manager): Tek noktadan gözlemlene  BART (Back up and Recovery Tool): Yedekleme  xDB: Multimaster replikasyon © Copyright EnterpriseDB Corporation, 2014. All rights reserved.
  • 25. © Copyright EnterpriseDB Corporation, 2014. All rights reserved.

Editor's Notes

  1. 1
  2. 2
  3. 6
  4. 9
  5. 11
  6. 15
  7. 17
  8. 19
  9. 21
  10. 23