PostgreSQL in Mission-Critical Financial Systems May 20th 2010

Similar documents
EMC Symmetrix DMX Series The High End Platform. Tom Gorodecki EMC

Easy and Effective Operation for production systems with PostgreSQL

<Insert Picture Here> MySQL Web Reference Architectures Building Massively Scalable Web Infrastructure

System Requirements. PREEvision. System requirements and deployment scenarios Version 7.0 English

<Insert Picture Here> Value of TimesTen Oracle TimesTen Product Overview

PREEvision. System Requirements. Version 7.5 English

Providing a first class, enterprise-level, backup and archive service for Oxford University

System Requirements. PREEvision. System requirements and deployment scenarios Version 7.0 English

Oracle Performance on M5000 with F20 Flash Cache. Benchmark Report September 2011

Streaming Replication. Hot Standby

Storage Optimization with Oracle Database 11g

IT Certification Exams Provider! Weofferfreeupdateserviceforoneyear! h ps://

SAP SD Benchmark with DB2 and Red Hat Enterprise Linux 5 on IBM System x3850 M2

PGConf US PostgreSQL Power on Power. Michael Meskes. Bernd Helmle. Julian Schauder. credativ

DocuShare 6.6 Customer Expectation Setting

Maintaining End-to-End Service Levels for VMware Virtual Machines Using VMware DRS and EMC Navisphere QoS

What is wrong with PostgreSQL? OR What does Oracle have that PostgreSQL should? Richard Stephan

Outline. Failure Types

Oracle Platform Performance Baseline Oracle 12c on Hitachi VSP G1000. Benchmark Report December 2014

Scaling PostgreSQL on SMP Architectures

Hard- and Software Requirements

Reference Architecture

ORACLE IDENTITY MANAGER SIZING GUIDE. An Oracle White Paper March 2007

EMC CLARiiON CX3-40. Reference Architecture. Enterprise Solutions for Microsoft Exchange Enabled by MirrorView/S

PostgreSQL on FreeBSD

Performance comparisons and trade-offs for various MySQL replication schemes

archiving with the IBM CommonStore solution

Replicating Mainframe Tape Data for DR Best Practices

SQL Server 2014 Upgrade

Maintaining End-to-End Service Levels for VMware Virtual Machines Using VMware DRS and EMC Navisphere QoS

Leading Performance for Oracle Applications? John McAbel Collaborate 2015

The VERITAS VERTEX Initiative. The Future of Data Protection

How have PostgreSQL community and Market evolved in Japan. Tatsuo Ishii SRA OSS, Inc. Japan

Unified Management for Virtual Storage

PREEvision System Requirements. Version 9.0 English

IBM IBM Open Systems Storage Solutions Version 4. Download Full Version :

Survey of Oracle Database

A Performance Characterization of Microsoft SQL Server 2005 Virtual Machines on Dell PowerEdge Servers Running VMware ESX Server 3.

IBM s Data Warehouse Appliance Offerings

Oracle 10g on Solaris to Oracle RAC 11gR2 on Linux Upgrade

IBM Tivoli Access Manager for e-business V6.1.1 Implementation

Automating Information Lifecycle Management with

Interoperability of Bloombase StoreSafe Security Server, QLogic FC-HBAs and QLogic SAN Switch for Transparent Storage Area Network (SAN) Encryption

ORACLE 11gR2 DBA. by Mr. Akal Singh ( Oracle Certified Master ) COURSE CONTENT. INTRODUCTION to ORACLE

EMC Business Continuity for Microsoft Applications

Oracle: From Client Server to the Grid and beyond

Session: Oracle RAC vs DB2 LUW purescale. Udo Brede Quest Software. 22 nd November :30 Platform: DB2 LUW

Data Deduplication Makes It Practical to Replicate Your Tape Data for Disaster Recovery

PREEvision. System Requirements. Version 8.0 English

NTT's Case Report. Introduce PostgreSQL into reliable and largescale telecommunication support system

Deployment Scenario: WebSphere Portal Mashup integration and page builder

Terabytes of Business Intelligence: Design and Administration of Very Large Data Warehouses on PostgreSQL

Dell Microsoft Business Intelligence and Data Warehousing Reference Configuration Performance Results Phase III

The SHARED hosting plan is designed to meet the advanced hosting needs of businesses who are not yet ready to move on to a server solution.

Oracle Database Exadata Cloud Service Exadata Performance, Cloud Simplicity DATABASE CLOUD SERVICE

Postgres-XC PostgreSQL Conference Michael PAQUIER Tokyo, 2012/02/24

PORTAL. A Case Study. Dr. Kristin Tufte Mark Wong September 23, Linux Plumbers Conference 2009

EMC CLARiiON CX3-80 EMC Metropolitan Recovery for SQL Server 2005 Enabled by Replication Manager and MirrorView/S

PostgreSQL Cluster. Mar.16th, Postgres XC Write Scalable Cluster

Implementation of Red Hat Linux on z: User Experiences at Isracard

Fifth Third Bancorp BUSINESS VALUE HIGHLIGHTS SOLUTION SNAPSHOT. Customer Focus on Business Continuity

E-BUSINESS APPLICATIONS R12 (RUP 3) RECEIVABLES ONLINE PROCESSING: Using Oracle10g on an IBM System P5 595

Personality Next Generation Operating Environment. Last updated: Mar-2015

Oracle GoldenGate and Oracle Streams: The Future of Oracle Replication and Data Integration

PostgreSQL Configuration for Humans. Álvaro Hernandez Tortosa

Using MVCC for Clustered Databases

PostgreSQL Performance The basics

Bipul Sinha, Amit Ganesh, Lilian Hobbs, Oracle Corp. Dingbo Zhou, Basavaraj Hubli, Manohar Malayanur, Fannie Mae

<Insert Picture Here> Oracle NoSQL Database A Distributed Key-Value Store

IBM Tivoli Storage Manager for HP-UX Version Installation Guide IBM

Clouds ahead Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice

PREEvision System Requirements. Version 8.5 English

Eliminating Downtime When Migrating or Upgrading to Oracle 10g

IBM Tivoli Netcool Service Quality Manager V4.1.1

Ingo Brenckmann Jochen Kirsten Storage Technology Strategists SAS EMEA Copyright 2003, SAS Institute Inc. All rights reserved.

Storage Monitoring Made Easy for DBAs: Diagnosing Performance Problems. Senior Product Manager Consulting Member of Technical Staff

Netezza The Analytics Appliance

IBM Tivoli Storage Manager for AIX Version Installation Guide IBM

Prices in Japan (Yen) Oracle Technology Global Price List December 8, 2017

Oracle Hospitality Suite8 System Requirements Release August 2015

EMC CLARiiON CX3 Series FCP

Five Steps to PostgreSQL. Performance. Josh Berkus PostgreSQL Experts Inc. JDCon West - October 2009

Mellanox InfiniBand Solutions Accelerate Oracle s Data Center and Cloud Solutions

Introduction to pgbench

ORACLE 11g R2 New Features

An Oracle Technical White Paper October Sizing Guide for Single Click Configurations of Oracle s MySQL on Sun Fire x86 Servers

Storage / SAN Compatibility Guide For ESX Server 3.5 and ESX Server 3i

5/24/ MVP SQL Server: Architecture since 2010 MCT since 2001 Consultant and trainer since 1992

Aster Database Platform/OS Support Matrix, version 5.0.2

Avaya IQ 5.1 Database Server Configuration Recommendations And Oracle Guidelines

Chapter 11: Implementing File Systems

Upgrade Strategies for Oracle E-Business: Leveraging Archiving Best Practices

Oracle Enterprise Architecture. Software. Hardware. Complete. Oracle Exalogic.

Implementing Linux on z: User Experiences at Isracard

How In-memory Database Technology and IBM soliddb Complement IBM DB2 for Extreme Speed

IBM Storage Software Strategy

Symantec Backup Exec 10d for Windows Servers AGENTS & OPTIONS MEDIA SERVER OPTIONS KEY BENEFITS AGENT AND OPTION GROUPS DATASHEET

Postgres-XC PG session #3. Michael PAQUIER Paris, 2012/02/02

IBM DS8870 Release 7.0 Performance Update

10/29/2013. Program Agenda. The Database Trifecta: Simplified Management, Less Capacity, Better Performance

Transcription:

PostgreSQL in Mission-Critical Financial Systems May 20th 2010 Flavio Henrique Araque Gurgel http://creativecommons.org/licenses/by-sa/3.0/deed.pt

4Linux in Caixa 2nd level support, 24/7 Configuration, tuning Tests and documentation Knowledge transfer (training) Commitment: employees should attend communities Send code to the upstream in the same license

Caixa Econômica Federal All cities of Brazil Social benefits Every Brazilian has used or will use Caixa services Caixa is a bank too!

Multicanal Environment What is it? Multicanal is the Brazilian word for Multichannel 1) Banking and Social transactions 2) Monitoring 3) SMS Today: ATM self-service

Multicanal Environment in Numbers More than 22.000 ATM Peak: more than 7 million transactions in a day Peak: more than 18 million database transactions in a day More than R$ 1 billion per month (US$ 1 ~ R$ 1.8 in May 14th, 2010)

Multicanal Environment Characteristics High availability High performance High reliability MISSION-CRITICAL!!!

Multicanal Environment Transactions (self-service) ATM Contingency Site PostgreSQL Java EE Application Host IBM Site replication Hitachi USP-VM CSM JBoss AS JBoss AS JBoss AS JBoss AS PostgreSQL

Multicanal Environment Tests made with the system 750 TPS Minimum Financial Transactions per Second zos + WebSphere + DB2 Debian + JBoss + PostgreSQL Solaris + Sun Java System + Oracle

Multicanal Environment The choice zos + WebSphere +DB2 Best TPS. Debian + JBoss + PostgreSQL TPS was ok. 1% of costs compared to zos Certified Solaris + JBoss + PostgreSQL Least total cost Solaris is widely used in Caixa Definitive Platform

Multicanal Environment Monitoring ATMs Contingency Site PostgreSQL JBoss AS Transactional Application Java EE Application JBoss AS PostgreSQL Site replication Hitachi USP-VM JBoss AS JBoss AS Managers and Agencies

Multicanal Environment SMS SMS Broker Contingency Site PostgreSQL Java EE Application Host IBM Site replication Hitachi USP-VM JBoss AS JBoss AS PostgreSQL Managers and Agencies

Multicanal Environment Database Infrastructure Infrastructure until final scale Debian Etch Linux kernel 2.6.24/64bit PostgreSQL 8.3.6 community code compiled in-house Final infrastructure Migrated to Solaris 10u6/Sparc 64bit PostgreSQL 8.3.7 Sun Package - 64bit Transactions System OLTP - 250 GB database Monitoring System DW - 1 TB database SMS System OLTP 20 GB database

Multicanal Environment Hardware Dell Servers: 2x Quad Xeon HT (2x4x2HT cores) @1.8GHz 16 GB RAM HP Servers: 2x Quad Xeon (2x4 cores) @2GHz 32 GB RAM Sun Fire E25K (per system board): 2x Ultra Sparc IV+ (4x2 cores) @1.5GHz 32 GB RAM

Multicanal Environment Characteristics: Production: Backup: Storage Sub-system Storage Area Network Fiber Channel Hitachi Virtualizer 16 GB cache McData Switches Hitachi USP-VM 8 GB cache FC disks 15000 rpm RAID5 6 and 7 disks Online: EMC CLARiiON CX Series Storage Tape: IBM Tivoli

Multicanal Environment Replication Hitachi Virtualizer Synchronous Replication Fiber Optics Site-to-site distance: approximately 4 km (~ 2.5 miles)

Daily Challenges Availability OLTP Stability DW Performance Maintenance Other DBMS knowledge

Daily Challenges Availability Online Backup and PITR strategy One initial copy each day Two days in disk Initial copy and archived WAL are replicated

Daily Challenges Stability Keep the Throughput!!! Tuning PostgreSQL shared buffers work_mem Connection count checkpoints bgwriter sync method autovacuum

Daily Challenges Stability Keep the Throughput!!! Debian Tuning I/O scheduler kswapd kernel patch Solaris Tuning max_queue_msg forcedirectio (UFS) ARC cache (ZFS)

Daily Challenges Stability Keep the Throughput!!! Disks Tuning tablespaces for mostly accessed tables tablespaces for mostly accessed indexes Exclusive disk array for pg_xlog Synchronous replication tuning High concurrency in remote storage Fiber parameters and cache

Daily Challenges DW query tuning DW performance When more than 10 million live tuples: Table partitioning Automatic partitioning function Development collaboration XML data in tables Development collaboration Indexing tables

Daily Challenges Database maintenance All systems are 24h!!! autovacuum How to schedule REINDEX How to schedule dump/restore Or VACUUM FULL + REINDEX??? state machine partitioned Development collaboration Purge (database and application)

Daily Challenges Paradigms Reality in data-centers is not PostgreSQL (yet) Knowledge transfer Relative limitations Relative advantages No DBMS is the same as another How to think PostgreSQL

After challenges, praises Performance, high TPS Data was never lost Extensive documentation Open source software model Issues are solved quickly Cost relatively low

Needs Performance and availability Scale out Multi-master cluster (Postgres-XC)? Transparent memcached Use more resources in maintenance routines SQL administration (configuration) System catalogs for performance monitoring Corporate audit flexibility

Multi-master for availability Tests 4Linux and Caixa pgpool-ii and Sequoia OLTP performance was not enough PostgreSQL stand-alone 750 TPS* pgpool-ii + 2 PostgreSQL 170 TPS* Sequoia + 2 PostgreSQL 50 TPS* * Financial Transactions per Second, Caixa minimum is 700 TPS

Final needs (and more important) Tools Integrated and graphical monitoring and administration tool All the database infrastructure Incident prevention alerts, automatic reports

Conclusion PostgreSQL is ready for mission-critical but we need to evolve we know how to evolve we can evolve

Special Thanks! Euler Taveira de Oliveira Caixa Econômica Federal PostgreSQL Community 4Linux

Flavio Henrique Araque Gurgel flavio@4linux.com.br