SlideShare una empresa de Scribd logo
1 de 29
Descargar para leer sin conexión
REPLICATION SERVER —
REAL TIME LOADING (RTL) FOR 
IQ UPDATES



DIAL NUMBERS:
1‐866‐803‐2143
1‐210‐795‐1098
PASSCODE: SYBASE
YOUR HOSTS FOR TODAY

         Your Host…                          Guest Speaker…




                           Tom Traubitz             Bill Zhang
                        Product Marketing    Senior Product Manager
                             Manager 




2 – Company Confidential – June 4, 2012
HOUSEKEEPING
         Questions?
         Submit via the ‘Questions’ tool on your Live Meeting console, 
           or call 1‐866‐803‐2143 United States, 1‐210‐795‐1098  other 
           Password SYBASE 
           Press *1 during the Q&A segment


         Presentation copies?
         Select the printer icon on the Live Meeting console




3 – Company Confidential – June 4, 2012
REPLICATION SERVER —
REAL TIME LOADING (RTL) FOR IQ 
UPDATES


BILL ZHANG
PRODUCT MANAGEMENT

JUNE 2012
TYPICAL DATA REPLICATION SOLUTIONS
         HIGH VOLUME DATA TRANSFER FOR TRANSACTIONAL SYSTEMS

                                          High Availability
                                          • Business Continuity vs. Disaster Recovery
                                          • Zero Risk/Downtime Application Migrations

                                          Real Time Analytics
                                          • Companion Reporting/Analytics Servers
                                          • In‐Memory Real Time Synchronization

                                          Light‐Weight Integration
                                          • Inter‐Application Data Movement
                                          • Security Enclaves (Web, etc.)

                                          Data Distribution
                                          • Global Infrastructures (Peer‐to‐Peer)
                                          • Hierarchical Data Flow (Corporate Roll‐ups/Fan‐out)

5 – Company Confidential – June 4, 2012
AGENDA

         • Background & Benefits
            – Pre‐RS 15.5 replication to IQ solutions
            – Complexity & manual effort
            – Performance limitation

         • Real‐Time Loading (RTL) Overview

         • Real‐Time Loading (RTL) Update 




6 – Company Confidential – June 4, 2012
DIRECT REPLICATION

         • Data is captured at the source database (transaction log)
         • Transactions are applied in order at the target IQ system




7 – Company Confidential – June 4, 2012
DIRECT REPLICATION
    Individual inserts of replicated transactions into Sybase IQ 




                          Pros                                         Cons
                                                                              All data is applied to IQ in 
                                          Very simple to setup
                                                                              OLTP, single‐row format


                                          Can use whole database              Very slow
                                          replication at the source           • 1‐100 rows per second
                                          to minimize complexity


                                          No custom code or 
                                          scripts need be used


                                          All architecture can be 
                                          designed with 
                                          PowerDesigner




8 – Company Confidential – June 4, 2012
PRE‐REPLICATION SERVER 15.5/15.6 RTL 
         SOLUTION
         • Staging solution
            – Replicate to an ASE to “stage” data
            – Customer function strings required
            – External loading mechanism
            – “Secret hand shakes”




9 – Company Confidential – June 4, 2012
STAGED REPLICATION
         • Data is captured at the source database (transaction log)
         • Data is queued for delayed movement into IQ
            • Can be staged in an IMDB or lightweight DBMS 
              implementation
         • Data is periodically uploaded into Sybase IQ
            • Via ETL tool, Insert/Location w/ Job Scheduler
            • May be uploaded on a frequent (every 15 minute) basis
                              Continuous                       Continuous 
                              Capture of                       Movement        Scheduled 
                              Changed Data                     into Staging    Uploads to IQ

                                                                          Staging 
                                           Replication    Replication 
                                                                           Server         Sybase IQ
                                             Agent          Server
                                                                         (ASE/ASA)




10 – Company Confidential – June 4, 2012
STAGED REPLICATION STEPS
         •   Data is typically continuously replicated into the staging database so 
             that all source operations are captured 
             −    insert, update, deletes are compiled to avoid multiple operations on same 
                  rows
             −    The old primary key and complete after image of each data row is 
                  maintained (optionally other previous values or system variables such as 
                  commit time, user, etc.)
         •   At scheduled intervals the data is moved into IQ via the bulk loader
             −    Data is initially inserted into work tables
             −    Deletes, updates and inserts are then merged into schema
         •   Once the data base been fully applied to IQ, the data in the staging 
             database (and work tables) is removed




11 – Company Confidential – June 4, 2012
STAGED REPLICATION
        Grouped inserts of replicated transactions to utilize bulk loading



                 Pros             Have full control over what data 
                                                                      Cons
                                                                             Requires a staging 
                                  (tables, columns, rows) is moved 
                                                                             database/server (ASA, ASE)
                                  into IQ


                                  Can augment source data with 
                                  other data and perform some                Custom code function strings for 
                                  cleansing and transformations              each table being replicated




                                  All architecture can be designed           Need custom scripts to move data 
                                  with PowerDesigner                         from staging area to IQ

                                  If ASE is your source database, 
                                  PowerDesigner will create 
                                  staging database schema and 
                                  generate load scripts

12 – Company Confidential – June 4, 2012
RS REAL TIME LOADING (RTL) EDITION
         Achieving low latency Real Time Analytics

         • Replication Server/Real Time Loading Edition
            –Introduced with RS version 15.5
            –the ONLY DBMS target supported is Sybase IQ
                              Routes into and out of RS/RTL edition are supported


         • Source DBMS’s Supported
            –Sybase ASE (RS/RTL 15.5+)
            –Oracle (RS/RTL 15.6+)



13 – Company Confidential – June 4, 2012
BASICS OF RS REAL TIME LOADING EDITION
                             ASE / Oracle                 Primary RS      Replicate RS             IQ




         1. Outbound                              2. Read xact from            3. Compile a         4. Apply group
            queue                                    xact cache and               group
                                                     grouped
                                                                                    DSI module

                                           Transaction cache           Group             Compile         Apply



                                                                                                   CDB




14 – Company Confidential – June 4, 2012
RS REAL‐TIME LOADING (RTL) EDITION
   RTL performs these steps during replication:


                1.        Group compile‐able transactions into one
                2.        Compile commands — per row base (see next 
                          page for compilation rules) 
                3.        Bulk apply compiled commands — table and 
                          operation type (insert/delete/update) base
                       – Determine apply order
                       – Different bulk interfaces according target DB
                       – Join to get final result for update/delete




15 – Company Confidential – June 4, 2012
RS REAL‐TIME LOADING EDITION
         Bulk loading from Sybase ASE without a separate staging database


                 Pros                                                  Cons   Data transformation is not 
                                   Have full control over what data           supported, and the source and 
                                   (tables, columns, rows) is                 target schemas must be 
                                   moved into IQ                              equivalent


                                   Reduced number of external 
                                   components (no staging 
                                   database)


                                    Reduced latency without the 
                                    overhead of the staging 
                                    solution, or the performance of 
                                    the direct replication solution


                                   Simpler maintenance and 
                                   manageability


16 – Company Confidential – June 4, 2012
SUPPORTED CONFIGURATIONS
         Replication Server Editions Needed

         • No non‐IQ Replicate Databases Supported in RTL
                – You can however replicate directly from ASE to IQ ‐ just no non‐IQ targets

         • If you need to replicate to both an ASE (e.g. WS) and IQ
                – you will need to use both an RS Enterprise Edition with route to RTL
                – Same is true to replicate from ASE to Heterogeneous Targets and Sybase IQ ‐ RS/HE 
                  required with route to/from RS/RTL


                                                                      RS/EE or RS/HE


                                  RS/RTL                  …or…                            …or…

       …or…


                                                                           RS/RTL


17 – Company Confidential – June 4, 2012
ORACLE PRIMARY DB FOR RTL

         • Oracle Versions supported
            – Oracle 10g and 11g
         • Oracle database administrator (Oracle DBA), Sybase IQ 
           administrator (IQ DBS), and RS administrator (RSA)
            – Object ownership and permissions granted
            – See Heterogeneous ReplicationQuick Start Guide
         • Mark Oracle tables for replication
            – pdb_setreptable RA command
         • See RS 15.6 Oracle to IQ Replication Documentation for step‐
           by‐step instructions for instructions and syntax for each step



18 – Company Confidential – June 4, 2012
KEY UPDATES IN RTL 15.7.1




         INCREASED PARALLELISM VIA MULTI‐PATH REPLICATION




19 – Company Confidential – June 4, 2012
MULTI‐PATH REPLICATION (MPR) & RTL

         • Multi‐Path Replication (MPR) is now available as part of Real 
         Time Loading Edition 15.7.1

                                                          DIST Direct 
                                                            Cache 
                                                             Read

                                           Multi‐Path                     NRM 
                                           Replication                   Thread



                                                          ASO
                                           Block sizes                   Memory 
                                             > 16K                        Alloc


                                                            HVAR




20 – Company Confidential – June 4, 2012
UNDERSTAND THE NEED FOR MPR
         •RS in past has been very serialized
            • Ensured transaction serialization and integrity (next slide)
         •Problem is this severely hampered performance
                • Large transactions by batch users impacted OLTP user transaction 
                  latency
                • Transactions on different areas of schema were serialized even though 
                  independent of each other
                • Independent transactions by different users were serialized
                         • E.g. the grocery store check‐out lane scenario
            • Extremely large transactions could only use a single apply method
         •Past work around attempts
                • Parallel DSI – didn’t work well as transaction grouping often led to 
                  contention between threads
                • Multiple DSI – worked okay, but only for DSI and required a non‐standard 
                  implementation with confusing TS support clauses
21 – Company Confidential – June 4, 2012
PRE‐RS 15.7 INDUCED SERIALIZATION



                                                                       Single DSI connection 
                          Single RepAgent per PDB                      to RDB
                                               Single Route between 
                                               PRS & RRS




22 – Company Confidential – June 4, 2012
PARALLELISM IN MULTI‐PATH REPLICATION

         •Multiple Rep Agents
           • Currently single log scanner (in ASE) but multiple senders –
             one each for each source path defined.
         •Dedicated Routes
           • Key connections have a dedicated route (and resources) vs. 
             the current shared route for all connections
         •Multiple DSI
           • Multiple independent connections to the same replicate 
             database




23 – Company Confidential – June 4, 2012
MULTI‐PATH REPLICATION IN RS 15.7+
           Multiple RepAgent Senders 
           (still single scanner)

                                           Multiple RS from    Dedicated Route
                                           Same Source                           Multiple DSI
                                                               Paths




24 – Company Confidential – June 4, 2012
TYPES OF MULTI‐PATH REPLICATION 
         (SUPPORTED)
         • Schema Subsets (supported in 15.7)
            – Different tables/stored procedures are replicated on different paths
            – This allows different areas of the schema acted upon by different 
              business functions to have relative independence
                              Equity trade table vs. Commodity trade table
                              Customer Service vs. Sales
                              Audit data vs. transaction data
         • User Session (supported in 15.7.1)
            – Different transactions from different user sessions that can be applied in 
              any order use multiple paths
            – This is the grocery check‐out lane situation
            – This also will help with large batch jobs
                              Several FSI & Healthcare applications leverage 100's of concurrent connections 
                              to perform batch processing in order to maximize parallelism on large SMP.
                              Advantage over column value hashing is that the hashkey doesn't have to 
                              appear in every table (as it frequently doesn't).
         • Other types will be introduced in the future releases


25 – Company Confidential – June 4, 2012
USE CASES FOR MULTIPLE DSI
    • Usual MPR separation for performance
    • Separate DSI's for separate sources 
       – Corporate rollups, reporting systems, Sybase IQ, etc.
       – Improves HVAR/RTL effectiveness as it prevents the transaction grouping to be 
         terminated due to change in origin
    • Separate large volume non‐business data
       – Audit data
       – Historical tables (e.g. trade_history) during archiving
    • Replicate long running stored procedures
       – Typically we don't want to do this 
                         If it ran for 5 hours at the primary, it would run for 5 hours at the replicate
                         This creates much more than 5 hours of latency due to serialization
           – Now we can
                         Create an alternate connection just for long running procs
                         Create proc repdef and subscribe using alternate connection
                         We don't care how long it runs any more
           – Note that we don't need MPR RA, etc. this – just MDSI

26 – Company Confidential – June 4, 2012
MULTI‐PATH REPLICATION TO SYBASE IQ SUMMARY

         • Create multiple connections from Replication Server to the 
           replicate Sybase IQ database to increase replication throughput 
           and performance, and reduce latency and contention.
         • MPR to IQ (end to end) works with following min. versions
            – ASE 15.7
            – RS 15.7.1
            – IQ 15.1




27 – Company Confidential – June 4, 2012
THANK YOU
         FOR MORE INFORMATION
         WWW.SYBASE.COM/REPLICATION




28 – Company Confidential – June 4, 2012
Real-Time Loading to Sybase IQ

Más contenido relacionado

La actualidad más candente

Tips and Tricks for SAP Sybase IQ
Tips and Tricks for SAP  Sybase IQTips and Tricks for SAP  Sybase IQ
Tips and Tricks for SAP Sybase IQDon Brizendine
 
SQL Server 2008 Fast Track Data Warehouse
SQL Server 2008 Fast Track Data WarehouseSQL Server 2008 Fast Track Data Warehouse
SQL Server 2008 Fast Track Data WarehouseMark Ginnebaugh
 
Sizing SAP on x86 IBM PureFlex with Reference Architecture
Sizing SAP on x86 IBM PureFlex with Reference ArchitectureSizing SAP on x86 IBM PureFlex with Reference Architecture
Sizing SAP on x86 IBM PureFlex with Reference ArchitectureDoddi Priyambodo
 
SAP Sybase Event Streaming Processing
SAP Sybase Event Streaming ProcessingSAP Sybase Event Streaming Processing
SAP Sybase Event Streaming ProcessingSybase Türkiye
 
Контроль зверей: инструменты для управления и мониторинга распределенных сист...
Контроль зверей: инструменты для управления и мониторинга распределенных сист...Контроль зверей: инструменты для управления и мониторинга распределенных сист...
Контроль зверей: инструменты для управления и мониторинга распределенных сист...yaevents
 
Introduction to Greenplum
Introduction to GreenplumIntroduction to Greenplum
Introduction to GreenplumDave Cramer
 
Kognitio overview jan 2013
Kognitio overview jan 2013Kognitio overview jan 2013
Kognitio overview jan 2013Michael Hiskey
 
INTERSPORT improves fitness and business flexibility
INTERSPORT improves  fitness and business  flexibilityINTERSPORT improves  fitness and business  flexibility
INTERSPORT improves fitness and business flexibilityIBM India Smarter Computing
 
SQL Server Workshop Paul Bertucci
SQL Server Workshop Paul BertucciSQL Server Workshop Paul Bertucci
SQL Server Workshop Paul BertucciMark Ginnebaugh
 
Data Science Day New York: The Platform for Big Data
Data Science Day New York: The Platform for Big DataData Science Day New York: The Platform for Big Data
Data Science Day New York: The Platform for Big DataCloudera, Inc.
 
Introduction to Hadoop - ACCU2010
Introduction to Hadoop - ACCU2010Introduction to Hadoop - ACCU2010
Introduction to Hadoop - ACCU2010Gavin Heavyside
 
NetApp-ClusteredONTAP-Fall2012
NetApp-ClusteredONTAP-Fall2012NetApp-ClusteredONTAP-Fall2012
NetApp-ClusteredONTAP-Fall2012Michael Harding
 

La actualidad más candente (16)

Tips and Tricks for SAP Sybase IQ
Tips and Tricks for SAP  Sybase IQTips and Tricks for SAP  Sybase IQ
Tips and Tricks for SAP Sybase IQ
 
SQL Server 2008 Fast Track Data Warehouse
SQL Server 2008 Fast Track Data WarehouseSQL Server 2008 Fast Track Data Warehouse
SQL Server 2008 Fast Track Data Warehouse
 
Hana Offerings Engl
Hana Offerings EnglHana Offerings Engl
Hana Offerings Engl
 
Sizing SAP on x86 IBM PureFlex with Reference Architecture
Sizing SAP on x86 IBM PureFlex with Reference ArchitectureSizing SAP on x86 IBM PureFlex with Reference Architecture
Sizing SAP on x86 IBM PureFlex with Reference Architecture
 
SAP Sybase Event Streaming Processing
SAP Sybase Event Streaming ProcessingSAP Sybase Event Streaming Processing
SAP Sybase Event Streaming Processing
 
Контроль зверей: инструменты для управления и мониторинга распределенных сист...
Контроль зверей: инструменты для управления и мониторинга распределенных сист...Контроль зверей: инструменты для управления и мониторинга распределенных сист...
Контроль зверей: инструменты для управления и мониторинга распределенных сист...
 
Introduction to Greenplum
Introduction to GreenplumIntroduction to Greenplum
Introduction to Greenplum
 
Kognitio overview jan 2013
Kognitio overview jan 2013Kognitio overview jan 2013
Kognitio overview jan 2013
 
INTERSPORT improves fitness and business flexibility
INTERSPORT improves  fitness and business  flexibilityINTERSPORT improves  fitness and business  flexibility
INTERSPORT improves fitness and business flexibility
 
Autodesk Technical Webinar: SAP HANA in-memory database
Autodesk Technical Webinar: SAP HANA in-memory databaseAutodesk Technical Webinar: SAP HANA in-memory database
Autodesk Technical Webinar: SAP HANA in-memory database
 
SQL Server User Group 02/2009
SQL Server User Group 02/2009SQL Server User Group 02/2009
SQL Server User Group 02/2009
 
SQL Server High Availability
SQL Server High AvailabilitySQL Server High Availability
SQL Server High Availability
 
SQL Server Workshop Paul Bertucci
SQL Server Workshop Paul BertucciSQL Server Workshop Paul Bertucci
SQL Server Workshop Paul Bertucci
 
Data Science Day New York: The Platform for Big Data
Data Science Day New York: The Platform for Big DataData Science Day New York: The Platform for Big Data
Data Science Day New York: The Platform for Big Data
 
Introduction to Hadoop - ACCU2010
Introduction to Hadoop - ACCU2010Introduction to Hadoop - ACCU2010
Introduction to Hadoop - ACCU2010
 
NetApp-ClusteredONTAP-Fall2012
NetApp-ClusteredONTAP-Fall2012NetApp-ClusteredONTAP-Fall2012
NetApp-ClusteredONTAP-Fall2012
 

Similar a Real-Time Loading to Sybase IQ

Processing Big Data
Processing Big DataProcessing Big Data
Processing Big Datacwensel
 
SplunkLive! Nutanix Session - Turnkey and scalable infrastructure for Splunk ...
SplunkLive! Nutanix Session - Turnkey and scalable infrastructure for Splunk ...SplunkLive! Nutanix Session - Turnkey and scalable infrastructure for Splunk ...
SplunkLive! Nutanix Session - Turnkey and scalable infrastructure for Splunk ...Splunk
 
Hadoop in the Enterprise - Dr. Amr Awadallah @ Microstrategy World 2011
Hadoop in the Enterprise - Dr. Amr Awadallah @ Microstrategy World 2011Hadoop in the Enterprise - Dr. Amr Awadallah @ Microstrategy World 2011
Hadoop in the Enterprise - Dr. Amr Awadallah @ Microstrategy World 2011Cloudera, Inc.
 
Intel SUSE Texperts Webinar
Intel SUSE Texperts WebinarIntel SUSE Texperts Webinar
Intel SUSE Texperts WebinarDirk Oppenkowski
 
Application Repackaging Best Practices for Novell ZENworks 10 Configuration M...
Application Repackaging Best Practices for Novell ZENworks 10 Configuration M...Application Repackaging Best Practices for Novell ZENworks 10 Configuration M...
Application Repackaging Best Practices for Novell ZENworks 10 Configuration M...Novell
 
Business Intelligence and Data Analytics Revolutionized with Apache Hadoop
Business Intelligence and Data Analytics Revolutionized with Apache HadoopBusiness Intelligence and Data Analytics Revolutionized with Apache Hadoop
Business Intelligence and Data Analytics Revolutionized with Apache HadoopCloudera, Inc.
 
How Apache Hadoop is Revolutionizing Business Intelligence and Data Analytics...
How Apache Hadoop is Revolutionizing Business Intelligence and Data Analytics...How Apache Hadoop is Revolutionizing Business Intelligence and Data Analytics...
How Apache Hadoop is Revolutionizing Business Intelligence and Data Analytics...Amr Awadallah
 
Java in the database–is it really useful? Solving impossible Big Data challenges
Java in the database–is it really useful? Solving impossible Big Data challengesJava in the database–is it really useful? Solving impossible Big Data challenges
Java in the database–is it really useful? Solving impossible Big Data challengesRogue Wave Software
 
Hadoop World 2011: How Hadoop Revolutionized Business Intelligence and Advanc...
Hadoop World 2011: How Hadoop Revolutionized Business Intelligence and Advanc...Hadoop World 2011: How Hadoop Revolutionized Business Intelligence and Advanc...
Hadoop World 2011: How Hadoop Revolutionized Business Intelligence and Advanc...Cloudera, Inc.
 
Complex Er[jl]ang Processing with StreamBase
Complex Er[jl]ang Processing with StreamBaseComplex Er[jl]ang Processing with StreamBase
Complex Er[jl]ang Processing with StreamBasedarach
 
Stsg17 speaker yousunjeong
Stsg17 speaker yousunjeongStsg17 speaker yousunjeong
Stsg17 speaker yousunjeongYousun Jeong
 
Using SAS GRID v 9 with Isilon F810
Using SAS GRID v 9 with Isilon F810Using SAS GRID v 9 with Isilon F810
Using SAS GRID v 9 with Isilon F810Boni Bruno
 
Simplify IT: Oracle SuperCluster
Simplify IT: Oracle SuperCluster Simplify IT: Oracle SuperCluster
Simplify IT: Oracle SuperCluster Fran Navarro
 
A Big Data Lake Based on Spark for BBVA Bank-(Oscar Mendez, STRATIO)
A Big Data Lake Based on Spark for BBVA Bank-(Oscar Mendez, STRATIO)A Big Data Lake Based on Spark for BBVA Bank-(Oscar Mendez, STRATIO)
A Big Data Lake Based on Spark for BBVA Bank-(Oscar Mendez, STRATIO)Spark Summit
 
VMworld 2013: Virtualizing Databases: Doing IT Right
VMworld 2013: Virtualizing Databases: Doing IT Right VMworld 2013: Virtualizing Databases: Doing IT Right
VMworld 2013: Virtualizing Databases: Doing IT Right VMworld
 
Azure Data Factory ETL Patterns in the Cloud
Azure Data Factory ETL Patterns in the CloudAzure Data Factory ETL Patterns in the Cloud
Azure Data Factory ETL Patterns in the CloudMark Kromer
 
Migrating P2V: SUSE Linux Enterprise Server with Xen
Migrating P2V: SUSE Linux Enterprise Server with XenMigrating P2V: SUSE Linux Enterprise Server with Xen
Migrating P2V: SUSE Linux Enterprise Server with XenNovell
 
Cloud Computing: Making IT Simple
Cloud Computing: Making IT SimpleCloud Computing: Making IT Simple
Cloud Computing: Making IT SimpleBob Rhubart
 
Cloud Computing - Making IT Simple
 Cloud Computing - Making IT Simple Cloud Computing - Making IT Simple
Cloud Computing - Making IT SimpleBob Rhubart
 
Introduction sur Tez par Olivier RENAULT de HortonWorks Meetup du 25/11/2014
Introduction sur Tez par Olivier RENAULT de HortonWorks Meetup du 25/11/2014Introduction sur Tez par Olivier RENAULT de HortonWorks Meetup du 25/11/2014
Introduction sur Tez par Olivier RENAULT de HortonWorks Meetup du 25/11/2014Modern Data Stack France
 

Similar a Real-Time Loading to Sybase IQ (20)

Processing Big Data
Processing Big DataProcessing Big Data
Processing Big Data
 
SplunkLive! Nutanix Session - Turnkey and scalable infrastructure for Splunk ...
SplunkLive! Nutanix Session - Turnkey and scalable infrastructure for Splunk ...SplunkLive! Nutanix Session - Turnkey and scalable infrastructure for Splunk ...
SplunkLive! Nutanix Session - Turnkey and scalable infrastructure for Splunk ...
 
Hadoop in the Enterprise - Dr. Amr Awadallah @ Microstrategy World 2011
Hadoop in the Enterprise - Dr. Amr Awadallah @ Microstrategy World 2011Hadoop in the Enterprise - Dr. Amr Awadallah @ Microstrategy World 2011
Hadoop in the Enterprise - Dr. Amr Awadallah @ Microstrategy World 2011
 
Intel SUSE Texperts Webinar
Intel SUSE Texperts WebinarIntel SUSE Texperts Webinar
Intel SUSE Texperts Webinar
 
Application Repackaging Best Practices for Novell ZENworks 10 Configuration M...
Application Repackaging Best Practices for Novell ZENworks 10 Configuration M...Application Repackaging Best Practices for Novell ZENworks 10 Configuration M...
Application Repackaging Best Practices for Novell ZENworks 10 Configuration M...
 
Business Intelligence and Data Analytics Revolutionized with Apache Hadoop
Business Intelligence and Data Analytics Revolutionized with Apache HadoopBusiness Intelligence and Data Analytics Revolutionized with Apache Hadoop
Business Intelligence and Data Analytics Revolutionized with Apache Hadoop
 
How Apache Hadoop is Revolutionizing Business Intelligence and Data Analytics...
How Apache Hadoop is Revolutionizing Business Intelligence and Data Analytics...How Apache Hadoop is Revolutionizing Business Intelligence and Data Analytics...
How Apache Hadoop is Revolutionizing Business Intelligence and Data Analytics...
 
Java in the database–is it really useful? Solving impossible Big Data challenges
Java in the database–is it really useful? Solving impossible Big Data challengesJava in the database–is it really useful? Solving impossible Big Data challenges
Java in the database–is it really useful? Solving impossible Big Data challenges
 
Hadoop World 2011: How Hadoop Revolutionized Business Intelligence and Advanc...
Hadoop World 2011: How Hadoop Revolutionized Business Intelligence and Advanc...Hadoop World 2011: How Hadoop Revolutionized Business Intelligence and Advanc...
Hadoop World 2011: How Hadoop Revolutionized Business Intelligence and Advanc...
 
Complex Er[jl]ang Processing with StreamBase
Complex Er[jl]ang Processing with StreamBaseComplex Er[jl]ang Processing with StreamBase
Complex Er[jl]ang Processing with StreamBase
 
Stsg17 speaker yousunjeong
Stsg17 speaker yousunjeongStsg17 speaker yousunjeong
Stsg17 speaker yousunjeong
 
Using SAS GRID v 9 with Isilon F810
Using SAS GRID v 9 with Isilon F810Using SAS GRID v 9 with Isilon F810
Using SAS GRID v 9 with Isilon F810
 
Simplify IT: Oracle SuperCluster
Simplify IT: Oracle SuperCluster Simplify IT: Oracle SuperCluster
Simplify IT: Oracle SuperCluster
 
A Big Data Lake Based on Spark for BBVA Bank-(Oscar Mendez, STRATIO)
A Big Data Lake Based on Spark for BBVA Bank-(Oscar Mendez, STRATIO)A Big Data Lake Based on Spark for BBVA Bank-(Oscar Mendez, STRATIO)
A Big Data Lake Based on Spark for BBVA Bank-(Oscar Mendez, STRATIO)
 
VMworld 2013: Virtualizing Databases: Doing IT Right
VMworld 2013: Virtualizing Databases: Doing IT Right VMworld 2013: Virtualizing Databases: Doing IT Right
VMworld 2013: Virtualizing Databases: Doing IT Right
 
Azure Data Factory ETL Patterns in the Cloud
Azure Data Factory ETL Patterns in the CloudAzure Data Factory ETL Patterns in the Cloud
Azure Data Factory ETL Patterns in the Cloud
 
Migrating P2V: SUSE Linux Enterprise Server with Xen
Migrating P2V: SUSE Linux Enterprise Server with XenMigrating P2V: SUSE Linux Enterprise Server with Xen
Migrating P2V: SUSE Linux Enterprise Server with Xen
 
Cloud Computing: Making IT Simple
Cloud Computing: Making IT SimpleCloud Computing: Making IT Simple
Cloud Computing: Making IT Simple
 
Cloud Computing - Making IT Simple
 Cloud Computing - Making IT Simple Cloud Computing - Making IT Simple
Cloud Computing - Making IT Simple
 
Introduction sur Tez par Olivier RENAULT de HortonWorks Meetup du 25/11/2014
Introduction sur Tez par Olivier RENAULT de HortonWorks Meetup du 25/11/2014Introduction sur Tez par Olivier RENAULT de HortonWorks Meetup du 25/11/2014
Introduction sur Tez par Olivier RENAULT de HortonWorks Meetup du 25/11/2014
 

Más de Sybase Türkiye

Italya Posta Teskilatı Sybase Afaria Kullaniyot
Italya Posta Teskilatı Sybase Afaria KullaniyotItalya Posta Teskilatı Sybase Afaria Kullaniyot
Italya Posta Teskilatı Sybase Afaria KullaniyotSybase Türkiye
 
SAP REAL TIME DATA PLATFORM WITH SYBASE SUPPORT
SAP REAL TIME DATA PLATFORM WITH SYBASE SUPPORTSAP REAL TIME DATA PLATFORM WITH SYBASE SUPPORT
SAP REAL TIME DATA PLATFORM WITH SYBASE SUPPORTSybase Türkiye
 
Sybase IQ ile Muhteşem Performans
Sybase IQ ile Muhteşem PerformansSybase IQ ile Muhteşem Performans
Sybase IQ ile Muhteşem PerformansSybase Türkiye
 
Mobil Uygulama Geliştirme Klavuzu
Mobil Uygulama Geliştirme KlavuzuMobil Uygulama Geliştirme Klavuzu
Mobil Uygulama Geliştirme KlavuzuSybase Türkiye
 
Mobile Device Management for Dummies
Mobile Device Management for DummiesMobile Device Management for Dummies
Mobile Device Management for DummiesSybase Türkiye
 
SAP Sybase Data Management
SAP Sybase Data Management SAP Sybase Data Management
SAP Sybase Data Management Sybase Türkiye
 
Sybase IQ ile Analitik Platform
Sybase IQ ile Analitik PlatformSybase IQ ile Analitik Platform
Sybase IQ ile Analitik PlatformSybase Türkiye
 
Appcelerator report-q2-2012
Appcelerator report-q2-2012Appcelerator report-q2-2012
Appcelerator report-q2-2012Sybase Türkiye
 
Sybase PowerDesigner Vs Erwin
Sybase PowerDesigner Vs ErwinSybase PowerDesigner Vs Erwin
Sybase PowerDesigner Vs ErwinSybase Türkiye
 
Elastic Platform for Business Analytics
Elastic Platform for Business AnalyticsElastic Platform for Business Analytics
Elastic Platform for Business AnalyticsSybase Türkiye
 
Information Architech and DWH with PowerDesigner
Information Architech and DWH with PowerDesignerInformation Architech and DWH with PowerDesigner
Information Architech and DWH with PowerDesignerSybase Türkiye
 
Mobile Application Strategy
Mobile Application StrategyMobile Application Strategy
Mobile Application StrategySybase Türkiye
 
Mobile is the new face of business
Mobile is the new face of businessMobile is the new face of business
Mobile is the new face of businessSybase Türkiye
 
Sybase SUP Mobil Uygulama Geliştirme Genel Bilgilendirme
Sybase SUP Mobil Uygulama Geliştirme Genel BilgilendirmeSybase SUP Mobil Uygulama Geliştirme Genel Bilgilendirme
Sybase SUP Mobil Uygulama Geliştirme Genel BilgilendirmeSybase Türkiye
 

Más de Sybase Türkiye (20)

Italya Posta Teskilatı Sybase Afaria Kullaniyot
Italya Posta Teskilatı Sybase Afaria KullaniyotItalya Posta Teskilatı Sybase Afaria Kullaniyot
Italya Posta Teskilatı Sybase Afaria Kullaniyot
 
SAP REAL TIME DATA PLATFORM WITH SYBASE SUPPORT
SAP REAL TIME DATA PLATFORM WITH SYBASE SUPPORTSAP REAL TIME DATA PLATFORM WITH SYBASE SUPPORT
SAP REAL TIME DATA PLATFORM WITH SYBASE SUPPORT
 
Sybase IQ ile Muhteşem Performans
Sybase IQ ile Muhteşem PerformansSybase IQ ile Muhteşem Performans
Sybase IQ ile Muhteşem Performans
 
Mobil Uygulama Geliştirme Klavuzu
Mobil Uygulama Geliştirme KlavuzuMobil Uygulama Geliştirme Klavuzu
Mobil Uygulama Geliştirme Klavuzu
 
Mobile Device Management for Dummies
Mobile Device Management for DummiesMobile Device Management for Dummies
Mobile Device Management for Dummies
 
SAP Sybase Data Management
SAP Sybase Data Management SAP Sybase Data Management
SAP Sybase Data Management
 
Sybase IQ ve Big Data
Sybase IQ ve Big DataSybase IQ ve Big Data
Sybase IQ ve Big Data
 
Sybase IQ ile Analitik Platform
Sybase IQ ile Analitik PlatformSybase IQ ile Analitik Platform
Sybase IQ ile Analitik Platform
 
SAP EIM
SAP EIM SAP EIM
SAP EIM
 
Appcelerator report-q2-2012
Appcelerator report-q2-2012Appcelerator report-q2-2012
Appcelerator report-q2-2012
 
Sybase PowerDesigner Vs Erwin
Sybase PowerDesigner Vs ErwinSybase PowerDesigner Vs Erwin
Sybase PowerDesigner Vs Erwin
 
Elastic Platform for Business Analytics
Elastic Platform for Business AnalyticsElastic Platform for Business Analytics
Elastic Platform for Business Analytics
 
Actionable Architecture
Actionable Architecture Actionable Architecture
Actionable Architecture
 
Information Architech and DWH with PowerDesigner
Information Architech and DWH with PowerDesignerInformation Architech and DWH with PowerDesigner
Information Architech and DWH with PowerDesigner
 
Why modeling matters ?
Why modeling matters ?Why modeling matters ?
Why modeling matters ?
 
Welcome introduction
Welcome introductionWelcome introduction
Welcome introduction
 
Mobile Application Strategy
Mobile Application StrategyMobile Application Strategy
Mobile Application Strategy
 
Mobile is the new face of business
Mobile is the new face of businessMobile is the new face of business
Mobile is the new face of business
 
Sybase SUP Mobil Uygulama Geliştirme Genel Bilgilendirme
Sybase SUP Mobil Uygulama Geliştirme Genel BilgilendirmeSybase SUP Mobil Uygulama Geliştirme Genel Bilgilendirme
Sybase SUP Mobil Uygulama Geliştirme Genel Bilgilendirme
 
Sybase IQ Big Data
Sybase IQ Big DataSybase IQ Big Data
Sybase IQ Big Data
 

Último

Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesZilliz
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 

Último (20)

Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector Databases
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 

Real-Time Loading to Sybase IQ

  • 2. YOUR HOSTS FOR TODAY Your Host… Guest Speaker… Tom Traubitz Bill Zhang Product Marketing  Senior Product Manager Manager  2 – Company Confidential – June 4, 2012
  • 3. HOUSEKEEPING Questions? Submit via the ‘Questions’ tool on your Live Meeting console,  or call 1‐866‐803‐2143 United States, 1‐210‐795‐1098  other  Password SYBASE  Press *1 during the Q&A segment Presentation copies? Select the printer icon on the Live Meeting console 3 – Company Confidential – June 4, 2012
  • 5. TYPICAL DATA REPLICATION SOLUTIONS HIGH VOLUME DATA TRANSFER FOR TRANSACTIONAL SYSTEMS High Availability • Business Continuity vs. Disaster Recovery • Zero Risk/Downtime Application Migrations Real Time Analytics • Companion Reporting/Analytics Servers • In‐Memory Real Time Synchronization Light‐Weight Integration • Inter‐Application Data Movement • Security Enclaves (Web, etc.) Data Distribution • Global Infrastructures (Peer‐to‐Peer) • Hierarchical Data Flow (Corporate Roll‐ups/Fan‐out) 5 – Company Confidential – June 4, 2012
  • 6. AGENDA • Background & Benefits – Pre‐RS 15.5 replication to IQ solutions – Complexity & manual effort – Performance limitation • Real‐Time Loading (RTL) Overview • Real‐Time Loading (RTL) Update  6 – Company Confidential – June 4, 2012
  • 7. DIRECT REPLICATION • Data is captured at the source database (transaction log) • Transactions are applied in order at the target IQ system 7 – Company Confidential – June 4, 2012
  • 8. DIRECT REPLICATION Individual inserts of replicated transactions into Sybase IQ  Pros Cons All data is applied to IQ in  Very simple to setup OLTP, single‐row format Can use whole database  Very slow replication at the source  • 1‐100 rows per second to minimize complexity No custom code or  scripts need be used All architecture can be  designed with  PowerDesigner 8 – Company Confidential – June 4, 2012
  • 9. PRE‐REPLICATION SERVER 15.5/15.6 RTL  SOLUTION • Staging solution – Replicate to an ASE to “stage” data – Customer function strings required – External loading mechanism – “Secret hand shakes” 9 – Company Confidential – June 4, 2012
  • 10. STAGED REPLICATION • Data is captured at the source database (transaction log) • Data is queued for delayed movement into IQ • Can be staged in an IMDB or lightweight DBMS  implementation • Data is periodically uploaded into Sybase IQ • Via ETL tool, Insert/Location w/ Job Scheduler • May be uploaded on a frequent (every 15 minute) basis Continuous  Continuous  Capture of  Movement  Scheduled  Changed Data into Staging Uploads to IQ Staging  Replication  Replication  Server  Sybase IQ Agent Server (ASE/ASA) 10 – Company Confidential – June 4, 2012
  • 11. STAGED REPLICATION STEPS • Data is typically continuously replicated into the staging database so  that all source operations are captured  − insert, update, deletes are compiled to avoid multiple operations on same  rows − The old primary key and complete after image of each data row is  maintained (optionally other previous values or system variables such as  commit time, user, etc.) • At scheduled intervals the data is moved into IQ via the bulk loader − Data is initially inserted into work tables − Deletes, updates and inserts are then merged into schema • Once the data base been fully applied to IQ, the data in the staging  database (and work tables) is removed 11 – Company Confidential – June 4, 2012
  • 12. STAGED REPLICATION Grouped inserts of replicated transactions to utilize bulk loading Pros Have full control over what data  Cons Requires a staging  (tables, columns, rows) is moved  database/server (ASA, ASE) into IQ Can augment source data with  other data and perform some  Custom code function strings for  cleansing and transformations each table being replicated All architecture can be designed  Need custom scripts to move data  with PowerDesigner from staging area to IQ If ASE is your source database,  PowerDesigner will create  staging database schema and  generate load scripts 12 – Company Confidential – June 4, 2012
  • 13. RS REAL TIME LOADING (RTL) EDITION Achieving low latency Real Time Analytics • Replication Server/Real Time Loading Edition –Introduced with RS version 15.5 –the ONLY DBMS target supported is Sybase IQ Routes into and out of RS/RTL edition are supported • Source DBMS’s Supported –Sybase ASE (RS/RTL 15.5+) –Oracle (RS/RTL 15.6+) 13 – Company Confidential – June 4, 2012
  • 14. BASICS OF RS REAL TIME LOADING EDITION ASE / Oracle Primary RS Replicate RS IQ 1. Outbound  2. Read xact from  3. Compile a  4. Apply group queue  xact cache and  group grouped DSI module Transaction cache  Group Compile Apply CDB 14 – Company Confidential – June 4, 2012
  • 15. RS REAL‐TIME LOADING (RTL) EDITION RTL performs these steps during replication: 1. Group compile‐able transactions into one 2. Compile commands — per row base (see next  page for compilation rules)  3. Bulk apply compiled commands — table and  operation type (insert/delete/update) base – Determine apply order – Different bulk interfaces according target DB – Join to get final result for update/delete 15 – Company Confidential – June 4, 2012
  • 16. RS REAL‐TIME LOADING EDITION Bulk loading from Sybase ASE without a separate staging database Pros Cons Data transformation is not  Have full control over what data  supported, and the source and  (tables, columns, rows) is  target schemas must be  moved into IQ equivalent Reduced number of external  components (no staging  database) Reduced latency without the  overhead of the staging  solution, or the performance of  the direct replication solution Simpler maintenance and  manageability 16 – Company Confidential – June 4, 2012
  • 17. SUPPORTED CONFIGURATIONS Replication Server Editions Needed • No non‐IQ Replicate Databases Supported in RTL – You can however replicate directly from ASE to IQ ‐ just no non‐IQ targets • If you need to replicate to both an ASE (e.g. WS) and IQ – you will need to use both an RS Enterprise Edition with route to RTL – Same is true to replicate from ASE to Heterogeneous Targets and Sybase IQ ‐ RS/HE  required with route to/from RS/RTL RS/EE or RS/HE RS/RTL …or… …or… …or… RS/RTL 17 – Company Confidential – June 4, 2012
  • 18. ORACLE PRIMARY DB FOR RTL • Oracle Versions supported – Oracle 10g and 11g • Oracle database administrator (Oracle DBA), Sybase IQ  administrator (IQ DBS), and RS administrator (RSA) – Object ownership and permissions granted – See Heterogeneous ReplicationQuick Start Guide • Mark Oracle tables for replication – pdb_setreptable RA command • See RS 15.6 Oracle to IQ Replication Documentation for step‐ by‐step instructions for instructions and syntax for each step 18 – Company Confidential – June 4, 2012
  • 19. KEY UPDATES IN RTL 15.7.1 INCREASED PARALLELISM VIA MULTI‐PATH REPLICATION 19 – Company Confidential – June 4, 2012
  • 20. MULTI‐PATH REPLICATION (MPR) & RTL • Multi‐Path Replication (MPR) is now available as part of Real  Time Loading Edition 15.7.1 DIST Direct  Cache  Read Multi‐Path  NRM  Replication Thread ASO Block sizes  Memory  > 16K Alloc HVAR 20 – Company Confidential – June 4, 2012
  • 21. UNDERSTAND THE NEED FOR MPR •RS in past has been very serialized • Ensured transaction serialization and integrity (next slide) •Problem is this severely hampered performance • Large transactions by batch users impacted OLTP user transaction  latency • Transactions on different areas of schema were serialized even though  independent of each other • Independent transactions by different users were serialized • E.g. the grocery store check‐out lane scenario • Extremely large transactions could only use a single apply method •Past work around attempts • Parallel DSI – didn’t work well as transaction grouping often led to  contention between threads • Multiple DSI – worked okay, but only for DSI and required a non‐standard  implementation with confusing TS support clauses 21 – Company Confidential – June 4, 2012
  • 22. PRE‐RS 15.7 INDUCED SERIALIZATION Single DSI connection  Single RepAgent per PDB to RDB Single Route between  PRS & RRS 22 – Company Confidential – June 4, 2012
  • 23. PARALLELISM IN MULTI‐PATH REPLICATION •Multiple Rep Agents • Currently single log scanner (in ASE) but multiple senders – one each for each source path defined. •Dedicated Routes • Key connections have a dedicated route (and resources) vs.  the current shared route for all connections •Multiple DSI • Multiple independent connections to the same replicate  database 23 – Company Confidential – June 4, 2012
  • 24. MULTI‐PATH REPLICATION IN RS 15.7+ Multiple RepAgent Senders  (still single scanner) Multiple RS from  Dedicated Route Same Source Multiple DSI Paths 24 – Company Confidential – June 4, 2012
  • 25. TYPES OF MULTI‐PATH REPLICATION  (SUPPORTED) • Schema Subsets (supported in 15.7) – Different tables/stored procedures are replicated on different paths – This allows different areas of the schema acted upon by different  business functions to have relative independence Equity trade table vs. Commodity trade table Customer Service vs. Sales Audit data vs. transaction data • User Session (supported in 15.7.1) – Different transactions from different user sessions that can be applied in  any order use multiple paths – This is the grocery check‐out lane situation – This also will help with large batch jobs Several FSI & Healthcare applications leverage 100's of concurrent connections  to perform batch processing in order to maximize parallelism on large SMP. Advantage over column value hashing is that the hashkey doesn't have to  appear in every table (as it frequently doesn't). • Other types will be introduced in the future releases 25 – Company Confidential – June 4, 2012
  • 26. USE CASES FOR MULTIPLE DSI • Usual MPR separation for performance • Separate DSI's for separate sources  – Corporate rollups, reporting systems, Sybase IQ, etc. – Improves HVAR/RTL effectiveness as it prevents the transaction grouping to be  terminated due to change in origin • Separate large volume non‐business data – Audit data – Historical tables (e.g. trade_history) during archiving • Replicate long running stored procedures – Typically we don't want to do this  If it ran for 5 hours at the primary, it would run for 5 hours at the replicate This creates much more than 5 hours of latency due to serialization – Now we can Create an alternate connection just for long running procs Create proc repdef and subscribe using alternate connection We don't care how long it runs any more – Note that we don't need MPR RA, etc. this – just MDSI 26 – Company Confidential – June 4, 2012
  • 27. MULTI‐PATH REPLICATION TO SYBASE IQ SUMMARY • Create multiple connections from Replication Server to the  replicate Sybase IQ database to increase replication throughput  and performance, and reduce latency and contention. • MPR to IQ (end to end) works with following min. versions – ASE 15.7 – RS 15.7.1 – IQ 15.1 27 – Company Confidential – June 4, 2012
  • 28. THANK YOU FOR MORE INFORMATION WWW.SYBASE.COM/REPLICATION 28 – Company Confidential – June 4, 2012