SlideShare una empresa de Scribd logo
1 de 20
Descargar para leer sin conexión
PostgreSQL
               Replication Solutions

                       BRUCE MOMJIAN,
                        ENTERPRISEDB

                        December, 2008




                             Abstract
Replication is a complex feature. POSTGRESQL supports a variety
of replication options.

                                            http://momjian.us/presentations
Uses for Replication




                                     Theolotech.com


PostgreSQL Replication Solutions                 1
2
              ©¨ ©¨           §¦ §¦ §¦ §¦              
              ©¨ ©¨           §¦ §¦ §¦ §¦               
            ¨©¨© §§    
                 § ¦¦§ ¦¦               
                                  
              ©¨ ©¨           §¦ §¦ §¦ §¦                
              ©¨ ©¨           §¦ §¦ §¦ §¦                 
Fail Over




             ¡  ¡          £¢ £¢   £¢ £¢           ¤ ¥¤       ¥¤ ¥¤   ¥¤ ¥¤   ¥¤ ¥¤   ¥¤
             ¡  ¡          £¢ £¢   £¢ £¢            ¤ ¥¤      ¥¤ ¥¤   ¥¤ ¥¤   ¥¤ ¥¤   ¥¤




                                                                                           PostgreSQL Replication Solutions
             ¡  ¡          £¢ £¢   £¢ £¢             ¤ ¥¤     ¥¤ ¥¤   ¥¤ ¥¤   ¥¤ ¥¤   ¥¤
             ¡  ¡          £¢ £¢   £¢ £¢              ¤ ¥¤    ¥¤ ¥¤   ¥¤ ¥¤   ¥¤ ¥¤   ¥¤
             ¡  ¡          £¢ £¢   £¢ £¢               ¤ ¥¤   ¥¤ ¥¤   ¥¤ ¥¤   ¥¤ ¥¤   ¥¤
3
                 ©¨ ©¨             §¦ §¦ §¦ §¦                    
                 ©¨ ©¨             §¦ §¦ §¦ §¦                     
                 ©¨ ©¨             §¦ §¦ §¦ §¦                      
                 ©¨ ©¨             §¦ §¦ §¦ §¦                       
                 ¨© ¨© §§§§ 
                        ¦ ¦ ¦ ¦                 
                                       
Load Balancing




                 ¡  ¡               £¢ £¢ £¢ £¢             ¤ ¥¤ ¥¤ ¥¤ ¥¤ ¥¤ ¥¤ ¥¤
                 ¡  ¡                                        ¤ ¥¤ ¥¤ ¥¤ ¥¤ ¥¤ ¥¤ ¥¤




                                                                                          PostgreSQL Replication Solutions
                                    £¢ £¢ £¢ £¢
                  ¡  ¡ ££££¤¥¤¥¤¥¤¥¤¥¤¥¤¥¤ 
                        ¢ ¢ ¢ ¢                 
                                       
                 ¡  ¡               £¢ £¢ £¢ £¢               ¤ ¥¤ ¥¤ ¥¤ ¥¤ ¥¤ ¥¤ ¥¤
                  ¡  ¡ ££££¤¥¤¥¤¥¤¥¤¥¤¥¤¥¤ 
                         ¢ ¢ ¢ ¢
4
                                ©¨ ©¨ ©¨ ©¨            ¦ §¦ §¦ §¦ §¦ §¦ §¦ §¦ §¦
                                ©¨ ©¨ ©¨ ©¨             ¦ §¦ §¦ §¦ §¦ §¦ §¦ §¦ §¦
                                ©¨ ©¨ ©¨ ©¨              ¦ §¦ §¦ §¦ §¦ §¦ §¦ §¦ §¦
                                ©¨ ©¨ ©¨ ©¨               ¦ §¦ §¦ §¦ §¦ §¦ §¦ §¦ §¦
                    ©©©©§§¦ §¦ §§§§¦ ¦  § ¦
                         ¨ ¨¨¨   ¦  ¦  ¦  ¦ 
                                                
Data Warehousing




                    ¥¤ ¥¤            £¢ £¢ £¢ £¢              ¡  ¡  ¡  ¡  ¡  ¡  ¡  ¡ 
                    ¥¤ ¥¤            £¢ £¢ £¢ £¢               ¡  ¡  ¡  ¡  ¡  ¡  ¡  ¡ 
                   ¤¥¤¥ ££££¡¡  ¡  ¡¡¡¡     ¡  




                                                                                                PostgreSQL Replication Solutions
                         ¢ ¢¢¢              
                                                 
                    ¥¤ ¥¤            £¢ £¢ £¢ £¢                ¡  ¡  ¡  ¡  ¡  ¡  ¡  ¡ 
                   ¤¥¤¥ ££££¡¡  ¡  ¡¡¡¡     ¡  
                          ¢ ¢¢¢             
©¨ ©¨          ¡  ¡    ¡  ¡                               5
                  ©¨ ©¨          ¡  ¡    ¡  ¡                            
                  ©¨ ©¨          ¡  ¡    ¡  ¡                            
                  ©¨ ©¨          ¡  ¡    ¡  ¡                            
                  ©¨ ©¨          ¡  ¡    ¡  ¡                            
Remote Servers




                 £¢ £¢           ¥¤ ¥¤ ¥¤ ¥¤         §¦ §¦ §¦ §¦ §¦ §¦ §¦
                 £¢ £¢           ¥¤ ¥¤ ¥¤ ¥¤         §¦ §¦ §¦ §¦ §¦ §¦ §¦




                                                                                          PostgreSQL Replication Solutions
                 ¢£ ¢£¥¥¥¥¦§¦§¦§¦§ ¦§¦§¦§ 
                     ¤ ¤¤ ¤            
                                  
                 £¢ £¢           ¥¤ ¥¤ ¥¤ ¥¤         §¦ §¦ §¦ §¦ §¦ §¦ §¦
                 £¢ £¢           ¥¤ ¥¤ ¥¤ ¥¤         §¦ §¦ §¦ §¦ §¦ §¦ §¦
6
Mobile Servers




                                                                                              PostgreSQL Replication Solutions
                    ¡  ¡              ¥¤ ¥¤ ¥¤ ¥¤                  £¢ £¢ £¢ £¢ £¢ £¢ £¢
                     ¡  ¡             ¥¤ ¥¤ ¥¤ ¥¤                  £¢ £¢ £¢ £¢ £¢ £¢ £¢
                      ¡  ¡            ¥¤ ¥¤ ¥¤ ¥¤                  £¢ £¢ £¢ £¢ £¢ £¢ £¢
                       ¡  ¡           ¥¤ ¥¤ ¥¤ ¥¤                  £¢ £¢ £¢ £¢ £¢ £¢ £¢
                 §§ ¡¨ ¦ §§ ¡¨ §§§§¥§¥§¥§¥§§§§§§¢£§§¢£§§¢£§§¢£§§¢£§§¢£§§¢£§¨ ¦
                       ¦ ¦ ¨ §¨ §¨ §¨ ¤§¨ ¤§¨ ¤§¨ ¤§¨ §¨ §¨ §¨ §¨ ¦ ¨ ¦ ¨ ¦ ¨ ¦ ¨ ¦ ¨ ¦ ¨ ¦
                                ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦
Replication Solutions




                                   Taotaomona Computing

PostgreSQL Replication Solutions                     7
8
                                                           Slave cannot execute queries
                               No data loss on fail-over
                 No overhead
Shared Storage




                                                                           




                                                                                                                                            Network−Attached
                                                                                                                                              Storage (NAS)
                                                                                             ©¨ ©¨ ©¨ ¦ §¦ §¦ §¦ §¦ §¦
                                                                                             ©¨ ©¨ ©¨ ¦ §¦ §¦ §¦ §¦ §¦
                                                                                          ¨© ¨© ¨©  §  ¦
                                                                                                      §  §  §  § 
                                                                                                             ¦ ¦ ¦ ¦ ¦
                                                                                              ©¨ ©¨ ©¨ ¦ §¦ §¦ §¦ §¦ §¦




                                                                                                                                                               PostgreSQL Replication Solutions
                                                                                           ¥¤ ¥¤ £¢ £¢ £¢   ¡  ¡  ¡  ¡  ¡ 
                                                                                           ¥¤ ¥¤ £¢ £¢ £¢   ¡  ¡  ¡  ¡  ¡ 
                                                                                          ¢£ ¢£ ¢£  ¡   
                                                                                           ¥  ¥         ¡  ¡  ¡  ¡ 
                                                                                             ¤ ¤                        
                                                                                            ¥¤ ¥¤ £¢ £¢ £¢   ¡  ¡  ¡  ¡  ¡ 
                                                                                                                        ¡  ¡  ¡  ¡  ¡ 
9
                                            Synchronous or asynchronous

                                                                          Possible data loss on fail-over


                                                                                                                     Slave cannot execute queries
                                                                          when using asynchronous
                    No overhead on master
Storage Mirroring




                                                                                                                                    
                                                                                                     ©¨ ©¨ ©¨              §¦ §¦ §¦ §¦ §¦
                                                                                                     ©¨ ©¨ ©¨              §¦ §¦ §¦ §¦ §¦
                                                                                                  ¨© ¨© ¨© § ¦
                                                                                                             § § § § 
                                                                                                                     ¦ ¦ ¦ ¦
                                                                                                      ©¨ ©¨ ©¨             §¦ §¦ §¦ §¦ §¦




                                                                                                                                                           PostgreSQL Replication Solutions
                                                                                                                                                    DRBD
                                                                                                   ¤¥ ¥ ¤ £ ¢ £ ¢ £ ¢            ¡  ¡  ¡  ¡  ¡ 
                                                                                                   ¥¤ ¥¤ £¢ £¢ £¢                ¡  ¡  ¡  ¡  ¡ 
                                                                                                        ¡ ¡ ¡ ¡ 
                                                                                                   ¥  ¥            
                                                                                                     ¤ ¤   ¢£¢£ ¢£ ¡  
                                                                                                    ¥¤ ¥¤ £¢ £¢ £¢               ¡  ¡  ¡  ¡  ¡ 
                                                                                                                                 ¡  ¡  ¡  ¡  ¡ 
10
                                                                                                                                               Allowing slaves to execute queries
                                                                                                 Synchronous and auto-fail-over
                                                        Possible data loss on fail-over




                                                                                                 modes under development
                                                        when using asychonous
                                No overhead on master




                                                                                                                                               is under development
Point-In-Time Recovery (PITR)




                                                                                                                                                      
                                                                                               ©¨ ©¨ ©¨ ¦ §¦ §¦ §¦ §¦ §¦
                                                                                                  ¨© © ¨ © ¨ ¦ § ¦ § ¦ § ¦ § ¦ § ¦
                                                                                                 § §  § § 
                                                                                           
                                                                                            ¨¨¨ §  ¦
                                                                                                
                                                                                              © © © 
                                                                                                                  ¦ ¦ ¦ ¦ ¦
                                                                                               ©¨ ©¨ ©¨ ¦ §¦ §¦ §¦ §¦ §¦
                                                                                                                      ¦ §¦ §¦ §¦ §¦ §¦




                                                                                                                                  Ahead

                                                                                                                                  (WAL)
                                                                                                                                   Write




                                                                                                                                                                                    PostgreSQL Replication Solutions
                                                                                                                                   Log
                                                                                          ¥¤ ¥¤ £¢ £¢ £¢   ¡  ¡  ¡  ¡  ¡ 
                                                                                          ¥¤ ¥¤ £¢ £¢ £¢   ¡  ¡  ¡  ¡  ¡ 
                                                                                          ¥ ¥ ¡ ¡ ¡ ¡ ¡   
                                                                                             ¤  ¤  £ ¢ £ ¢ £ ¢                 
                                                                                           ¥¤ ¥¤ £¢ £¢ £¢   ¡  ¡  ¡  ¡  ¡ 
11
                                                                         Replication possible even over
                                       Possible data loss on fail-over




                                                                                                                                                                                     Table-level granularity allows
        Triggers add overhead to the




                                                                                                                          Slave can execute read-only



                                                                                                                                                                                     complex data partitioning
                                                                                                                                                                                     configurations
                                                                         slow links


                                                                                                                          queries
        master
Slony




                                                                                                                                                                                            
                                                                                                          ¨ ©¨ ©¨                ¡  ¡  ¡  ¡                        
                                                                                                           ¨ ©¨ ©¨               ¡  ¡  ¡  ¡                        
                                                                                                            ¨ ¨© ¨© ¡¡¡¡ 
                                                                                                                                               
                                                                                                                                    
                                                                                                             ¨ ©¨ ©¨             ¡  ¡  ¡  ¡                        
                                                                                                              ¨ ¨©¨©¡¡¡¡ 
                                                                                                                              
                                                                                                                                     
                                                                                                                                 ¡  ¡  ¡  ¡ 




                                                                                                                                                                                 Asynchronous




                                                                                                                                                                                                                      PostgreSQL Replication Solutions
                                                                                                          ¢ £¢ £¢                  ¥¤ ¥¤ ¥¤ ¥¤                §¦ §¦ §¦ §¦ §¦ §¦ §¦
                                                                                                           ¢ £¢ £¢                 ¥¤ ¥¤ ¥¤ ¥¤                §¦ §¦ §¦ §¦ §¦ §¦ §¦
                                                                                                            ¢ ¢£ ¢£ ¥¥¥¥§¦§¦§¦§¦§¦§¦§¦ 
                                                                                                                       ¤ ¤ ¤ ¤                 
                                                                                                                                      
                                                                                                             ¢ £¢ £¢               ¥¤ ¥¤ ¥¤ ¥¤                §¦ §¦ §¦ §¦ §¦ §¦ §¦
                                                                                                              ¢ ¢£ ¢£ ¥¥¥¥§¦§¦§¦§¦§¦§¦§¦ 
                                                                                                                        ¤ ¤ ¤ ¤
12
Slony - Cascading Slaves




                                                                                       54 54 32 32 32              10 10 10 10 10        )( )(  ' ' ' $ %$ %$ %$ %$ %$
                                                                                       54 54 32 32 32              10 10 10 10 10        )( )(  ' ' ' $ %$ %$ %$ %$ %$
                                                                                    @ 5 7@ 5 7@ 79 9 9 @ 7@ 7@ 7@ 1 7@ 1 71 97@ 1 7
                                                                                     777723@ 7723@ 7723@ 777777@77@ 1 9 0
                                                                                        94 94 9           9 9 9 90 90 0 90            8 ) 7) 67 6 6 678 78 7% 678 % 78 % 78 % 7
                                                                                                                                       78787677'8 77'8 787'678777877778 % 6 $
                                                                                                                                          6( (                     6 6$ $ 6$ 6$ 6$
                                                                                       54 54 32 32 32              10 10 10 10 10        )( )(  ' ' ' $ %$ %$ %$ %$ %$
                              # # ! ! !                           
                              # # ! ! !                           
                           7777777777777P  I 
                           P # 7P # 7P 7P !7P !7P !7P 7P 7P 7P  7P  7P  7P  7
                               I  I  I I I I I I I I I I I
                              # # ! ! !                                                                                       ¨ ©¨ ©¨ ©¨ ¦ §¦ §¦ §¦ §¦ §¦
                                                                                                                                ¨ ©¨ ©¨ ©¨ ¦ §¦ §¦ §¦ §¦ §¦
                                                                                                                                      C77 G7C 7C 7BG77H7H77H7H7H7
                                                                                                                                       H7HC7HC7¨B77¨©H77¨©H7HC7¨©7HC777HC7777HC § BG ¦
                                                                                                                                         7 BG7 BG BG BG7C 7C 7§ BG7C § 7C § 7C § 7
                                                                                                                                          BG                       BG BG ¦ ¦ BG ¦ BG ¦ BG ¦
                                                                                                                                           ¨ ©¨ ©¨ ©¨ ¦ §¦ §¦ §¦ §¦ §¦
                                                                                                                                                                            ¦ §¦ §¦ §¦ §¦ §¦
                                                                                    ¥¤ ¥¤ £¢ £¢ £¢                    
                                                                                    ¥¤ ¥¤ £¢ £¢ £¢                    
                                                                                    ¥ 7¥ 77£7£7£7777 7 7 A7 7 A 
                                                                                      A ¤ A ¤ A A ¢ A ¢ A ¢ A A A A A  A
                                                                                     ¥¤ ¥¤ £¢ £¢ £¢                   
                                                                                                                                       ¡  ¡           
                                                                                                                                       ¡  ¡           
                                                                                                                                      F7F7F7DE77F 77F 7F7DE7F777F7777F  DE 
                                                                                                                                       ¡ 7¡ DE77D7D77DE7F 7F 7 DE7F  7F  7F  7
                                                                                                                                         E   
                                                                                                                                         D77 E E 7D7D77D7D7D7        E E  E E E
                                                                                                                                        ¡  ¡           
                                                                                                                                                                              




                                                                                                                                                                                                PostgreSQL Replication Solutions
13
                                                                                                        Subscribers
                                                        Other
                   Subscriber




                                                                                                    ¥       ¥       ¥               ¥               ¥               ¥               ¥               ¥               ¥               ¥               ¥       ¥       ¥
                                                                                        ¤               ¤       ¤       ¤               ¤               ¤               ¤               ¤               ¤               ¤               ¤               ¤       ¤       ¤
                                                                                                    ¥       ¥       ¥               ¥               ¥               ¥               ¥               ¥               ¥               ¥               ¥       ¥       ¥
                                                                                        ¤               ¤       ¤       ¤               ¤               ¤               ¤               ¤               ¤               ¤               ¤               ¤       ¤       ¤
                                                                sl_log




                                                                                                    ¥       ¥       ¥               ¥               ¥               ¥               ¥               ¥               ¥               ¥               ¥       ¥       ¥
                                                                                        ¤               ¤       ¤       ¤               ¤               ¤               ¤               ¤               ¤               ¤               ¤               ¤       ¤       ¤
                                                                                                    ¥       ¥       ¥               ¥               ¥               ¥               ¥               ¥               ¥               ¥               ¥       ¥       ¥
                                                                                        ¤               ¤       ¤       ¤               ¤               ¤               ¤               ¤               ¤               ¤               ¤               ¤       ¤       ¤
                                                                                                    ¥       ¥       ¥               ¥               ¥               ¥               ¥               ¥               ¥               ¥               ¥       ¥       ¥
                                                                                        ¤               ¤       ¤       ¤               ¤               ¤               ¤               ¤               ¤               ¤               ¤               ¤       ¤       ¤
                                                                                                    ¥       ¥       ¥               ¥               ¥               ¥               ¥               ¥               ¥               ¥               ¥       ¥       ¥
                                                                                        ¤               ¤       ¤       ¤               ¤               ¤               ¤               ¤               ¤               ¤               ¤               ¤       ¤       ¤
                                                                                                    ¥       ¥       ¥               ¥               ¥               ¥               ¥               ¥               ¥               ¥               ¥       ¥       ¥
                                                                                        ¤               ¤       ¤       ¤               ¤               ¤               ¤               ¤               ¤               ¤               ¤               ¤       ¤       ¤
                                                                                                    ¥       ¥       ¥               ¥               ¥               ¥               ¥               ¥               ¥               ¥               ¥       ¥       ¥
                                                                                        ¤               ¤       ¤       ¤               ¤               ¤               ¤               ¤               ¤               ¤               ¤               ¤       ¤       ¤
                                                                                                                                                                                                                                                                                                                                            modifications
                                                                                                                                                                                                                                                                                                                                               CREATE
                                                                                                                                                                                                                                                                                                                                              TRIGGER
                                                                                                                                                                                                                                                                                                                                             prevents
Slony Internals




                                    %       %       %       %       %       %       %           %                               #               #               #               #               #               #               #               #                                                                                
                                    $       $       $       $       $       $       $           $                                                                                                                                                                                                                        
                                ©       ©       ©       ©       ©       ©       ©           ©                               §               §               §               §               §               §               §               §                                                                                
                                    ¨       ¨       ¨       ¨       ¨       ¨       ¨           ¨                               ¦               ¦               ¦               ¦               ¦               ¦               ¦               ¦                                                                                
                                    %       %       %       %       %       %       %           %                               #               #               #               #               #               #               #               #                                                                                
                                    $       $       $       $       $       $       $           $                                                                                                                                                                                                                        
                                ©       ©       ©       ©       ©       ©       ©           ©                               §               §               §               §               §               §               §               §                                                                                
                                    ¨       ¨       ¨       ¨       ¨       ¨       ¨           ¨                               ¦               ¦               ¦               ¦               ¦               ¦               ¦               ¦                                                                                
                                    %       %       %       %       %       %       %           %                               #               #               #               #               #               #               #               #                                                                                
                                    $       $       $       $       $       $       $           $                                                                                                                                                                                                                        
                                ©       ©       ©       ©       ©       ©       ©           ©                               §               §               §               §               §               §               §               §                                                                                
                                    ¨       ¨       ¨       ¨       ¨       ¨       ¨           ¨                               ¦               ¦               ¦               ¦               ¦               ¦               ¦               ¦                                                                                
                  User




                                ©       ©       ©       ©       ©       ©       ©           ©                               §               §               §               §               §               §               §               §                                                                                
                                    ¨       ¨       ¨       ¨       ¨       ¨       ¨           ¨                               ¦               ¦               ¦               ¦               ¦               ¦               ¦               ¦                                                                                
                                ©       ©       ©       ©       ©       ©       ©           ©                               §               §               §               §               §               §               §               §                                                                                
                                    ¨       ¨       ¨       ¨       ¨       ¨       ¨           ¨                               ¦               ¦               ¦               ¦               ¦               ¦               ¦               ¦                                                                                
                                ©       ©       ©       ©       ©       ©       ©           ©                               §               §               §               §               §               §               §               §                                                                                
                                    ¨       ¨       ¨       ¨       ¨       ¨       ¨           ¨                               ¦               ¦               ¦               ¦               ¦               ¦               ¦               ¦                                                                                
                                ©       ©       ©       ©       ©       ©       ©           ©                               §               §               §               §               §               §               §               §                                                                                
                                    ¨       ¨       ¨       ¨       ¨       ¨       ¨           ¨                               ¦               ¦               ¦               ¦               ¦               ¦               ¦               ¦                                                                                
                                ©       ©       ©       ©       ©       ©       ©           ©                               §               §               §               §               §               §               §               §                                                                                
                                    ¨       ¨       ¨       ¨       ¨       ¨       ¨           ¨                               ¦               ¦               ¦               ¦               ¦               ¦               ¦               ¦                                                                                
                                ©       ©       ©       ©       ©       ©       ©           ©                               §               §               §               §               §               §               §               §                                                                                
                                    ¨       ¨       ¨       ¨       ¨       ¨       ¨           ¨                               ¦               ¦               ¦               ¦               ¦               ¦               ¦               ¦                                                                                




                                                                                                                                                                                                                                                                                                                                                                          Slonik
                                                                                                                                                                                                                                                                                                                                                  fills sl_log
                                                                                                                                                                                                                                                                                                                                               TRIGGER
                                                                                                                                                                                                                                                                                                                                            CREATE
                                                                                                    ¡       ¡       ¡               ¡               ¡               ¡               ¡               ¡               ¡               ¡               ¡       ¡       ¡
                                                                                                                                                                                                                                                                         
                                                                                                    ¡       ¡       ¡               ¡               ¡               ¡               ¡               ¡               ¡               ¡               ¡       ¡       ¡
                                                                                                                                                                                                                                                                         
                                                                sl_log



                                                                                                    ¡       ¡       ¡               ¡               ¡               ¡               ¡               ¡               ¡               ¡               ¡       ¡       ¡
                                                                                                                                                                                                                                                                         
                   Origin




                                                                                                    ¡       ¡       ¡               ¡               ¡               ¡               ¡               ¡               ¡               ¡               ¡       ¡       ¡
                                                                                                                                                                                                                                                                         
                                                                                                    ¡       ¡       ¡               ¡               ¡               ¡               ¡               ¡               ¡               ¡               ¡       ¡       ¡
                                                                                                                                                                                                                                                                         




                                                                                                                                                                                                                                                                                                                                                                 CREATE
                                                                                                    ¡       ¡       ¡               ¡               ¡               ¡               ¡               ¡               ¡               ¡               ¡       ¡       ¡
                                                                                                                                                                                                                                                                         




                                                                                                                                                                                                                                                                                                                                                                           TABLE




                                                                                                                                                                                                                                                                                                                                                                                         PostgreSQL Replication Solutions
                                                                                                    ¡       ¡       ¡               ¡               ¡               ¡               ¡               ¡               ¡               ¡               ¡       ¡       ¡
                                                                                                                                                                                                                                                                         




                                                                                                                                                                                                                                                                                                                                                                                   ...
                                                                                                    ¡       ¡       ¡               ¡               ¡               ¡               ¡               ¡               ¡               ¡               ¡       ¡       ¡
                                                                                                                                                                                                                                                                         
                                                                                                    ¡       ¡       ¡               ¡               ¡               ¡               ¡               ¡               ¡               ¡               ¡       ¡       ¡
                                                                                                                                                                                                                                                                         
                                                                                                                    !               !               !               !               !               !               !               !                               '       '       '       '       '       '       '       '
                                                                                                                                                                                                                                                                                                                         
                                                                                                                                                                                                                                                            £       £       £       £       £       £       £       £
                                                                                                                                                                                                                                                                ¢       ¢       ¢       ¢       ¢       ¢       ¢       ¢
                                                                                                                    !               !               !               !               !               !               !               !                               '       '       '       '       '       '       '       '
                                                                                                                                                                                                                                                                                                                         
                                                                                                                                                                                                                                                            £       £       £       £       £       £       £       £
                                                                                                                                                                                                                                                                ¢       ¢       ¢       ¢       ¢       ¢       ¢       ¢
                                                                                                                                                                                                                                                            £       £       £       £       £       £       £       £
                                                                                                                                                                                                                                                                ¢       ¢       ¢       ¢       ¢       ¢       ¢       ¢




                  User
                                                                                                                                                                                                                                                            £       £       £       £       £       £       £       £
                                                                                                                                                                                                                                                                ¢       ¢       ¢       ¢       ¢       ¢       ¢       ¢
                                                                                                                                                                                                                                                            £       £       £       £       £       £       £       £
                                                                                                                                                                                                                                                                ¢       ¢       ¢       ¢       ¢       ¢       ¢       ¢
                                                                                                                                                                                                                                                            £       £       £       £       £       £       £       £
                                                                                                                                                                                                                                                                ¢       ¢       ¢       ¢       ¢       ¢       ¢       ¢
                                                                                                                                                                                                                                                            £       £       £       £       £       £       £       £
                                                                                                                                                                                                                                                                ¢       ¢       ¢       ¢       ¢       ¢       ¢       ¢
                                                                                                                                                                                                                                                            £       £       £       £       £       £       £       £
                                                                                                                                                                                                                                                                ¢       ¢       ¢       ¢       ¢       ¢       ¢       ¢
                                                                                                                                                                                                                                                            £       £       £       £       £       £       £       £
                                                                                                                                                                                                                                                                ¢       ¢       ¢       ¢       ¢       ¢       ¢       ¢
14
                     Subscriber




                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                  
                                                                      sl_log




                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                  
                                      @        @        @        @        @        @        @        @
                                      @A       @A       @A       @A       @A       @A       @A       @A                               %               %               %               %               %               %               %               %                               9       9       9       9       9       9       9       9
                                                                                                                                      $               $               $               $               $               $               $               $                               8       8       8       8       8       8       8       8
                                  ©        ©        ©        ©        ©        ©        ©        ©                                ¡               ¡               ¡               ¡               ¡               ¡               ¡               ¡                                                                                
                                      ¨        ¨        ¨        ¨        ¨        ¨        ¨        ¨                                                                                                                                                                                                                                 
                                      A        A        A        A        A        A        A        A                                %               %               %               %               %               %               %               %                               9       9       9       9       9       9       9       9
                                                                                                                                      $               $               $               $               $               $               $               $                               8       8       8       8       8       8       8       8
                                  ©        ©        ©        ©        ©        ©        ©        ©                                ¡               ¡               ¡               ¡               ¡               ¡               ¡               ¡                                                                                
                                      ¨        ¨        ¨        ¨        ¨        ¨        ¨        ¨                                                                                                                                                                                                                                 
                                  ©        ©        ©        ©        ©        ©        ©        ©                                ¡               ¡               ¡               ¡               ¡               ¡               ¡               ¡                                                                                
                                      ¨        ¨        ¨        ¨        ¨        ¨        ¨        ¨                                                                                                                                                                                                                                 
                    User




                                  ©        ©        ©        ©        ©        ©        ©        ©                                ¡               ¡               ¡               ¡               ¡               ¡               ¡               ¡                                                                                
                                      ¨        ¨        ¨        ¨        ¨        ¨        ¨        ¨                                                                                                                                                                                                                                 
                                  ©        ©        ©        ©        ©        ©        ©        ©                                ¡               ¡               ¡               ¡               ¡               ¡               ¡               ¡                                                                                
                                      ¨        ¨        ¨        ¨        ¨        ¨        ¨        ¨                                                                                                                                                                                                                                 
                                  ©        ©        ©        ©        ©        ©        ©        ©                                ¡               ¡               ¡               ¡               ¡               ¡               ¡               ¡                                                                                
                                      ¨        ¨        ¨        ¨        ¨        ¨        ¨        ¨                                                                                                                                                                                                                                 
                                  ©        ©        ©        ©        ©        ©        ©        ©                                ¡               ¡               ¡               ¡               ¡               ¡               ¡               ¡                                                                                
                                      ¨        ¨        ¨        ¨        ¨        ¨        ¨        ¨                                                                                                                                                                                                                                 
                                  ©        ©        ©        ©        ©        ©        ©        ©                                ¡               ¡               ¡               ¡               ¡               ¡               ¡               ¡                                                                                
                                      ¨        ¨        ¨        ¨        ¨        ¨        ¨        ¨                                                                                                                                                                                                                                 
                                  ©        ©        ©        ©        ©        ©        ©        ©                                ¡               ¡               ¡               ¡               ¡               ¡               ¡               ¡                                                                                
                                      ¨        ¨        ¨        ¨        ¨        ¨        ¨        ¨                                                                                                                                                                                                                                 
Slony Multi-Slave


                     Subscriber




                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                  
                                                                      sl_log




                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                  
                                      '        '        '        '        '        '        '        '                                1               1               1               1               1               1               1               1                               3       3       3       3       3       3       3       3
                                                                                                                              0               0               0               0               0               0               0               0                               2       2       2       2       2       2       2       2
                                                                                                                          #               #               #               #               #               #               #               #                               !       !       !       !       !       !       !       !
                                                                                                                                                                                                                                       
                                      '        '        '        '        '        '        '        '                                1               1               1               1               1               1               1               1                               3       3       3       3       3       3       3       3
                                                                                                                              0               0               0               0               0               0               0               0                               2       2       2       2       2       2       2       2
                                                                                                                          #               #               #               #               #               #               #               #                               !       !       !       !       !       !       !       !
                                                                                                                                                                                                                                       
                                                                                                                          #               #               #               #               #               #               #               #                               !       !       !       !       !       !       !       !
                                                                                                                                                                                                                                       
                    User




                                                                                                                          #               #               #               #               #               #               #               #                               !       !       !       !       !       !       !       !
                                                                                                                                                                                                                                       
                                                                                                                          #               #               #               #               #               #               #               #                               !       !       !       !       !       !       !       !
                                                                                                                                                                                                                                       
                                                                                                                          #               #               #               #               #               #               #               #                               !       !       !       !       !       !       !       !
                                                                                                                                                                                                                                       
                                                                                                                          #               #               #               #               #               #               #               #                               !       !       !       !       !       !       !       !
                                                                                                                                                                                                                                       
                                                                                                                          #               #               #               #               #               #               #               #                               !       !       !       !       !       !       !       !
                                                                                                                                                                                                                                       
                                                                                                                          #               #               #               #               #               #               #               #                               !       !       !       !       !       !       !       !
                                                                                                                                                                                                                                       




                                                                                                                                                                                                                                                                                                                                                  PostgreSQL Replication Solutions
                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                  
                                                                      sl_log

                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                  
                     Origin


                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                  
                                  )        )        )        )        )        )        )        )                                5               5               5               5               5               5               5               5                               7       7       7       7       7       7       7       7
                                      (        (        (        (        (        (        (        (                                4               4               4               4               4               4               4               4                               6       6       6       6       6       6       6       6
                                  £        £        £        £        £        £        £        £                                ¥               ¥               ¥               ¥               ¥               ¥               ¥               ¥                               §       §       §       §       §       §       §       §
                                      ¢        ¢        ¢        ¢        ¢        ¢        ¢        ¢                                ¤               ¤               ¤               ¤               ¤               ¤               ¤               ¤                               ¦       ¦       ¦       ¦       ¦       ¦       ¦       ¦
                                  )        )        )        )        )        )        )        )                                5               5               5               5               5               5               5               5                               7       7       7       7       7       7       7       7
                                      (        (        (        (        (        (        (        (                                4               4               4               4               4               4               4               4                               6       6       6       6       6       6       6       6
                                  £        £        £        £        £        £        £        £                                ¥               ¥               ¥               ¥               ¥               ¥               ¥               ¥                               §       §       §       §       §       §       §       §
                                      ¢        ¢        ¢        ¢        ¢        ¢        ¢        ¢                                ¤               ¤               ¤               ¤               ¤               ¤               ¤               ¤                               ¦       ¦       ¦       ¦       ¦       ¦       ¦       ¦
                                  )        )        )        )        )        )        )        )                                5               5               5               5               5               5               5               5                               7       7       7       7       7       7       7       7
                                      (        (        (        (        (        (        (        (                                4               4               4               4               4               4               4               4                               6       6       6       6       6       6       6       6




                    User
                                  £        £        £        £        £        £        £        £                                ¥               ¥               ¥               ¥               ¥               ¥               ¥               ¥                               §       §       §       §       §       §       §       §
                                      ¢        ¢        ¢        ¢        ¢        ¢        ¢        ¢                                ¤               ¤               ¤               ¤               ¤               ¤               ¤               ¤                               ¦       ¦       ¦       ¦       ¦       ¦       ¦       ¦
                                  £        £        £        £        £        £        £        £                                ¥               ¥               ¥               ¥               ¥               ¥               ¥               ¥                               §       §       §       §       §       §       §       §
                                      ¢        ¢        ¢        ¢        ¢        ¢        ¢        ¢                                ¤               ¤               ¤               ¤               ¤               ¤               ¤               ¤                               ¦       ¦       ¦       ¦       ¦       ¦       ¦       ¦
                                  £        £        £        £        £        £        £        £                                ¥               ¥               ¥               ¥               ¥               ¥               ¥               ¥                               §       §       §       §       §       §       §       §
                                      ¢        ¢        ¢        ¢        ¢        ¢        ¢        ¢                                ¤               ¤               ¤               ¤               ¤               ¤               ¤               ¤                               ¦       ¦       ¦       ¦       ¦       ¦       ¦       ¦
                                  £        £        £        £        £        £        £        £                                ¥               ¥               ¥               ¥               ¥               ¥               ¥               ¥                               §       §       §       §       §       §       §       §
                                      ¢        ¢        ¢        ¢        ¢        ¢        ¢        ¢                                ¤               ¤               ¤               ¤               ¤               ¤               ¤               ¤                               ¦       ¦       ¦       ¦       ¦       ¦       ¦       ¦
                                  £        £        £        £        £        £        £        £                                ¥               ¥               ¥               ¥               ¥               ¥               ¥               ¥                               §       §       §       §       §       §       §       §
                                      ¢        ¢        ¢        ¢        ¢        ¢        ¢        ¢                                ¤               ¤               ¤               ¤               ¤               ¤               ¤               ¤                               ¦       ¦       ¦       ¦       ¦       ¦       ¦       ¦
                                  £        £        £        £        £        £        £        £                                ¥               ¥               ¥               ¥               ¥               ¥               ¥               ¥                               §       §       §       §       §       §       §       §
                                      ¢        ¢        ¢        ¢        ¢        ¢        ¢        ¢                                ¤               ¤               ¤               ¤               ¤               ¤               ¤               ¤                               ¦       ¦       ¦       ¦       ¦       ¦       ¦       ¦
PostgreSQL Replication Solutions
PostgreSQL Replication Solutions
PostgreSQL Replication Solutions
PostgreSQL Replication Solutions
PostgreSQL Replication Solutions

Más contenido relacionado

Similar a PostgreSQL Replication Solutions

Callaghan Design2 Packet 02.17.16
Callaghan Design2 Packet 02.17.16Callaghan Design2 Packet 02.17.16
Callaghan Design2 Packet 02.17.16
John Zierke
 
分布式系统原理与范例读书笔记
分布式系统原理与范例读书笔记分布式系统原理与范例读书笔记
分布式系统原理与范例读书笔记
Karl Xue
 
20094324034338
2009432403433820094324034338
20094324034338
pogoshio
 
郭沫若诗歌的“神话转型题旨”与文学想象意义
郭沫若诗歌的“神话转型题旨”与文学想象意义郭沫若诗歌的“神话转型题旨”与文学想象意义
郭沫若诗歌的“神话转型题旨”与文学想象意义
sugeladi
 

Similar a PostgreSQL Replication Solutions (20)

LA County – California - 2016 Presidential Primary Elections
LA County – California - 2016 Presidential Primary ElectionsLA County – California - 2016 Presidential Primary Elections
LA County – California - 2016 Presidential Primary Elections
 
Callaghan Design2 Packet 02.17.16
Callaghan Design2 Packet 02.17.16Callaghan Design2 Packet 02.17.16
Callaghan Design2 Packet 02.17.16
 
Why Customers Choose Veracity Networks
Why Customers Choose Veracity NetworksWhy Customers Choose Veracity Networks
Why Customers Choose Veracity Networks
 
分布式系统原理与范例读书笔记
分布式系统原理与范例读书笔记分布式系统原理与范例读书笔记
分布式系统原理与范例读书笔记
 
final
finalfinal
final
 
Fatty acids01
Fatty acids01Fatty acids01
Fatty acids01
 
Forces Behind The Connected Car
Forces Behind The Connected CarForces Behind The Connected Car
Forces Behind The Connected Car
 
President Awards
President AwardsPresident Awards
President Awards
 
Mercados V+
Mercados V+Mercados V+
Mercados V+
 
20094324034338
2009432403433820094324034338
20094324034338
 
Capurro
CapurroCapurro
Capurro
 
Evolução no plantio de cana
Evolução no plantio de canaEvolução no plantio de cana
Evolução no plantio de cana
 
Henriette Slot CV
Henriette Slot CVHenriette Slot CV
Henriette Slot CV
 
Pesquisa do IAC e ESALQ indicam cultivares de milho para silagem no Estado de...
Pesquisa do IAC e ESALQ indicam cultivares de milho para silagem no Estado de...Pesquisa do IAC e ESALQ indicam cultivares de milho para silagem no Estado de...
Pesquisa do IAC e ESALQ indicam cultivares de milho para silagem no Estado de...
 
郭沫若诗歌的“神话转型题旨”与文学想象意义
郭沫若诗歌的“神话转型题旨”与文学想象意义郭沫若诗歌的“神话转型题旨”与文学想象意义
郭沫若诗歌的“神话转型题旨”与文学想象意义
 
SCM 7.0 EHP3
SCM 7.0 EHP3SCM 7.0 EHP3
SCM 7.0 EHP3
 
Open plan apartments - revisiting risks in light of contemporary demands
Open plan apartments - revisiting risks in light of contemporary demandsOpen plan apartments - revisiting risks in light of contemporary demands
Open plan apartments - revisiting risks in light of contemporary demands
 
Anteproyecto collage para la actuación en el parque arquológico de los hitos...
Anteproyecto collage para  la actuación en el parque arquológico de los hitos...Anteproyecto collage para  la actuación en el parque arquológico de los hitos...
Anteproyecto collage para la actuación en el parque arquológico de los hitos...
 
Dillon Valley West Landscape Master Plan 2015, Dillon, CO
Dillon Valley West Landscape Master Plan 2015, Dillon, CODillon Valley West Landscape Master Plan 2015, Dillon, CO
Dillon Valley West Landscape Master Plan 2015, Dillon, CO
 
Classe gagnante du 1er pris du Grand concours d'ecriture, categorie Raconte-m...
Classe gagnante du 1er pris du Grand concours d'ecriture, categorie Raconte-m...Classe gagnante du 1er pris du Grand concours d'ecriture, categorie Raconte-m...
Classe gagnante du 1er pris du Grand concours d'ecriture, categorie Raconte-m...
 

Más de elliando dias

Why you should be excited about ClojureScript
Why you should be excited about ClojureScriptWhy you should be excited about ClojureScript
Why you should be excited about ClojureScript
elliando dias
 
Nomenclatura e peças de container
Nomenclatura  e peças de containerNomenclatura  e peças de container
Nomenclatura e peças de container
elliando dias
 
Polyglot and Poly-paradigm Programming for Better Agility
Polyglot and Poly-paradigm Programming for Better AgilityPolyglot and Poly-paradigm Programming for Better Agility
Polyglot and Poly-paradigm Programming for Better Agility
elliando dias
 
Javascript Libraries
Javascript LibrariesJavascript Libraries
Javascript Libraries
elliando dias
 
How to Make an Eight Bit Computer and Save the World!
How to Make an Eight Bit Computer and Save the World!How to Make an Eight Bit Computer and Save the World!
How to Make an Eight Bit Computer and Save the World!
elliando dias
 
A Practical Guide to Connecting Hardware to the Web
A Practical Guide to Connecting Hardware to the WebA Practical Guide to Connecting Hardware to the Web
A Practical Guide to Connecting Hardware to the Web
elliando dias
 
Introdução ao Arduino
Introdução ao ArduinoIntrodução ao Arduino
Introdução ao Arduino
elliando dias
 
Incanter Data Sorcery
Incanter Data SorceryIncanter Data Sorcery
Incanter Data Sorcery
elliando dias
 
Fab.in.a.box - Fab Academy: Machine Design
Fab.in.a.box - Fab Academy: Machine DesignFab.in.a.box - Fab Academy: Machine Design
Fab.in.a.box - Fab Academy: Machine Design
elliando dias
 
Hadoop - Simple. Scalable.
Hadoop - Simple. Scalable.Hadoop - Simple. Scalable.
Hadoop - Simple. Scalable.
elliando dias
 
Hadoop and Hive Development at Facebook
Hadoop and Hive Development at FacebookHadoop and Hive Development at Facebook
Hadoop and Hive Development at Facebook
elliando dias
 
Multi-core Parallelization in Clojure - a Case Study
Multi-core Parallelization in Clojure - a Case StudyMulti-core Parallelization in Clojure - a Case Study
Multi-core Parallelization in Clojure - a Case Study
elliando dias
 

Más de elliando dias (20)

Clojurescript slides
Clojurescript slidesClojurescript slides
Clojurescript slides
 
Why you should be excited about ClojureScript
Why you should be excited about ClojureScriptWhy you should be excited about ClojureScript
Why you should be excited about ClojureScript
 
Functional Programming with Immutable Data Structures
Functional Programming with Immutable Data StructuresFunctional Programming with Immutable Data Structures
Functional Programming with Immutable Data Structures
 
Nomenclatura e peças de container
Nomenclatura  e peças de containerNomenclatura  e peças de container
Nomenclatura e peças de container
 
Geometria Projetiva
Geometria ProjetivaGeometria Projetiva
Geometria Projetiva
 
Polyglot and Poly-paradigm Programming for Better Agility
Polyglot and Poly-paradigm Programming for Better AgilityPolyglot and Poly-paradigm Programming for Better Agility
Polyglot and Poly-paradigm Programming for Better Agility
 
Javascript Libraries
Javascript LibrariesJavascript Libraries
Javascript Libraries
 
How to Make an Eight Bit Computer and Save the World!
How to Make an Eight Bit Computer and Save the World!How to Make an Eight Bit Computer and Save the World!
How to Make an Eight Bit Computer and Save the World!
 
Ragel talk
Ragel talkRagel talk
Ragel talk
 
A Practical Guide to Connecting Hardware to the Web
A Practical Guide to Connecting Hardware to the WebA Practical Guide to Connecting Hardware to the Web
A Practical Guide to Connecting Hardware to the Web
 
Introdução ao Arduino
Introdução ao ArduinoIntrodução ao Arduino
Introdução ao Arduino
 
Minicurso arduino
Minicurso arduinoMinicurso arduino
Minicurso arduino
 
Incanter Data Sorcery
Incanter Data SorceryIncanter Data Sorcery
Incanter Data Sorcery
 
Rango
RangoRango
Rango
 
Fab.in.a.box - Fab Academy: Machine Design
Fab.in.a.box - Fab Academy: Machine DesignFab.in.a.box - Fab Academy: Machine Design
Fab.in.a.box - Fab Academy: Machine Design
 
The Digital Revolution: Machines that makes
The Digital Revolution: Machines that makesThe Digital Revolution: Machines that makes
The Digital Revolution: Machines that makes
 
Hadoop + Clojure
Hadoop + ClojureHadoop + Clojure
Hadoop + Clojure
 
Hadoop - Simple. Scalable.
Hadoop - Simple. Scalable.Hadoop - Simple. Scalable.
Hadoop - Simple. Scalable.
 
Hadoop and Hive Development at Facebook
Hadoop and Hive Development at FacebookHadoop and Hive Development at Facebook
Hadoop and Hive Development at Facebook
 
Multi-core Parallelization in Clojure - a Case Study
Multi-core Parallelization in Clojure - a Case StudyMulti-core Parallelization in Clojure - a Case Study
Multi-core Parallelization in Clojure - a Case Study
 

Último

Modulo-Mini Cargador.................pdf
Modulo-Mini Cargador.................pdfModulo-Mini Cargador.................pdf
Modulo-Mini Cargador.................pdf
AnnimoUno1
 
EPA-pdf resultado da prova presencial Uninove
EPA-pdf resultado da prova presencial UninoveEPA-pdf resultado da prova presencial Uninove
EPA-pdf resultado da prova presencial Uninove
FagnerLisboa3
 

Último (15)

Global Azure Lima 2024 - Integración de Datos con Microsoft Fabric
Global Azure Lima 2024 - Integración de Datos con Microsoft FabricGlobal Azure Lima 2024 - Integración de Datos con Microsoft Fabric
Global Azure Lima 2024 - Integración de Datos con Microsoft Fabric
 
Modulo-Mini Cargador.................pdf
Modulo-Mini Cargador.................pdfModulo-Mini Cargador.................pdf
Modulo-Mini Cargador.................pdf
 
EL CICLO PRÁCTICO DE UN MOTOR DE CUATRO TIEMPOS.pptx
EL CICLO PRÁCTICO DE UN MOTOR DE CUATRO TIEMPOS.pptxEL CICLO PRÁCTICO DE UN MOTOR DE CUATRO TIEMPOS.pptx
EL CICLO PRÁCTICO DE UN MOTOR DE CUATRO TIEMPOS.pptx
 
Desarrollo Web Moderno con Svelte 2024.pdf
Desarrollo Web Moderno con Svelte 2024.pdfDesarrollo Web Moderno con Svelte 2024.pdf
Desarrollo Web Moderno con Svelte 2024.pdf
 
pruebas unitarias unitarias en java con JUNIT
pruebas unitarias unitarias en java con JUNITpruebas unitarias unitarias en java con JUNIT
pruebas unitarias unitarias en java con JUNIT
 
Avances tecnológicos del siglo XXI 10-07 eyvana
Avances tecnológicos del siglo XXI 10-07 eyvanaAvances tecnológicos del siglo XXI 10-07 eyvana
Avances tecnológicos del siglo XXI 10-07 eyvana
 
Presentación guía sencilla en Microsoft Excel.pptx
Presentación guía sencilla en Microsoft Excel.pptxPresentación guía sencilla en Microsoft Excel.pptx
Presentación guía sencilla en Microsoft Excel.pptx
 
PROYECTO FINAL. Tutorial para publicar en SlideShare.pptx
PROYECTO FINAL. Tutorial para publicar en SlideShare.pptxPROYECTO FINAL. Tutorial para publicar en SlideShare.pptx
PROYECTO FINAL. Tutorial para publicar en SlideShare.pptx
 
Avances tecnológicos del siglo XXI y ejemplos de estos
Avances tecnológicos del siglo XXI y ejemplos de estosAvances tecnológicos del siglo XXI y ejemplos de estos
Avances tecnológicos del siglo XXI y ejemplos de estos
 
Refrigerador_Inverter_Samsung_Curso_y_Manual_de_Servicio_Español.pdf
Refrigerador_Inverter_Samsung_Curso_y_Manual_de_Servicio_Español.pdfRefrigerador_Inverter_Samsung_Curso_y_Manual_de_Servicio_Español.pdf
Refrigerador_Inverter_Samsung_Curso_y_Manual_de_Servicio_Español.pdf
 
Trabajo Mas Completo De Excel en clase tecnología
Trabajo Mas Completo De Excel en clase tecnologíaTrabajo Mas Completo De Excel en clase tecnología
Trabajo Mas Completo De Excel en clase tecnología
 
EPA-pdf resultado da prova presencial Uninove
EPA-pdf resultado da prova presencial UninoveEPA-pdf resultado da prova presencial Uninove
EPA-pdf resultado da prova presencial Uninove
 
guía de registro de slideshare por Brayan Joseph
guía de registro de slideshare por Brayan Josephguía de registro de slideshare por Brayan Joseph
guía de registro de slideshare por Brayan Joseph
 
Presentación de elementos de afilado con esmeril
Presentación de elementos de afilado con esmerilPresentación de elementos de afilado con esmeril
Presentación de elementos de afilado con esmeril
 
presentacion de PowerPoint de la fuente de poder.pptx
presentacion de PowerPoint de la fuente de poder.pptxpresentacion de PowerPoint de la fuente de poder.pptx
presentacion de PowerPoint de la fuente de poder.pptx
 

PostgreSQL Replication Solutions

  • 1. PostgreSQL Replication Solutions BRUCE MOMJIAN, ENTERPRISEDB December, 2008 Abstract Replication is a complex feature. POSTGRESQL supports a variety of replication options. http://momjian.us/presentations
  • 2. Uses for Replication Theolotech.com PostgreSQL Replication Solutions 1
  • 3. 2 ©¨ ©¨ §¦ §¦ §¦ §¦ ©¨ ©¨ §¦ §¦ §¦ §¦ ¨©¨© §§ § ¦¦§ ¦¦ ©¨ ©¨ §¦ §¦ §¦ §¦ ©¨ ©¨ §¦ §¦ §¦ §¦ Fail Over ¡  ¡  £¢ £¢ £¢ £¢ ¤ ¥¤ ¥¤ ¥¤ ¥¤ ¥¤ ¥¤ ¥¤ ¥¤ ¡  ¡  £¢ £¢ £¢ £¢ ¤ ¥¤ ¥¤ ¥¤ ¥¤ ¥¤ ¥¤ ¥¤ ¥¤ PostgreSQL Replication Solutions ¡  ¡  £¢ £¢ £¢ £¢ ¤ ¥¤ ¥¤ ¥¤ ¥¤ ¥¤ ¥¤ ¥¤ ¥¤ ¡  ¡  £¢ £¢ £¢ £¢ ¤ ¥¤ ¥¤ ¥¤ ¥¤ ¥¤ ¥¤ ¥¤ ¥¤ ¡  ¡  £¢ £¢ £¢ £¢ ¤ ¥¤ ¥¤ ¥¤ ¥¤ ¥¤ ¥¤ ¥¤ ¥¤
  • 4. 3 ©¨ ©¨ §¦ §¦ §¦ §¦ ©¨ ©¨ §¦ §¦ §¦ §¦ ©¨ ©¨ §¦ §¦ §¦ §¦ ©¨ ©¨ §¦ §¦ §¦ §¦ ¨© ¨© §§§§ ¦ ¦ ¦ ¦ Load Balancing ¡  ¡  £¢ £¢ £¢ £¢ ¤ ¥¤ ¥¤ ¥¤ ¥¤ ¥¤ ¥¤ ¥¤ ¡  ¡  ¤ ¥¤ ¥¤ ¥¤ ¥¤ ¥¤ ¥¤ ¥¤ PostgreSQL Replication Solutions £¢ £¢ £¢ £¢  ¡  ¡ ££££¤¥¤¥¤¥¤¥¤¥¤¥¤¥¤ ¢ ¢ ¢ ¢ ¡  ¡  £¢ £¢ £¢ £¢ ¤ ¥¤ ¥¤ ¥¤ ¥¤ ¥¤ ¥¤ ¥¤  ¡  ¡ ££££¤¥¤¥¤¥¤¥¤¥¤¥¤¥¤ ¢ ¢ ¢ ¢
  • 5. 4 ©¨ ©¨ ©¨ ©¨ ¦ §¦ §¦ §¦ §¦ §¦ §¦ §¦ §¦ ©¨ ©¨ ©¨ ©¨ ¦ §¦ §¦ §¦ §¦ §¦ §¦ §¦ §¦ ©¨ ©¨ ©¨ ©¨ ¦ §¦ §¦ §¦ §¦ §¦ §¦ §¦ §¦ ©¨ ©¨ ©¨ ©¨ ¦ §¦ §¦ §¦ §¦ §¦ §¦ §¦ §¦ ©©©©§§¦ §¦ §§§§¦ ¦ § ¦ ¨ ¨¨¨ ¦ ¦ ¦ ¦ Data Warehousing ¥¤ ¥¤ £¢ £¢ £¢ £¢   ¡  ¡  ¡  ¡  ¡  ¡  ¡  ¡  ¥¤ ¥¤ £¢ £¢ £¢ £¢   ¡  ¡  ¡  ¡  ¡  ¡  ¡  ¡  ¤¥¤¥ ££££¡¡  ¡  ¡¡¡¡    ¡   PostgreSQL Replication Solutions ¢ ¢¢¢         ¥¤ ¥¤ £¢ £¢ £¢ £¢   ¡  ¡  ¡  ¡  ¡  ¡  ¡  ¡  ¤¥¤¥ ££££¡¡  ¡  ¡¡¡¡    ¡   ¢ ¢¢¢        
  • 6. ©¨ ©¨ ¡  ¡  ¡  ¡  5 ©¨ ©¨ ¡  ¡  ¡  ¡  ©¨ ©¨ ¡  ¡  ¡  ¡  ©¨ ©¨ ¡  ¡  ¡  ¡  ©¨ ©¨ ¡  ¡  ¡  ¡  Remote Servers £¢ £¢ ¥¤ ¥¤ ¥¤ ¥¤ §¦ §¦ §¦ §¦ §¦ §¦ §¦ £¢ £¢ ¥¤ ¥¤ ¥¤ ¥¤ §¦ §¦ §¦ §¦ §¦ §¦ §¦ PostgreSQL Replication Solutions ¢£ ¢£¥¥¥¥¦§¦§¦§¦§ ¦§¦§¦§ ¤ ¤¤ ¤ £¢ £¢ ¥¤ ¥¤ ¥¤ ¥¤ §¦ §¦ §¦ §¦ §¦ §¦ §¦ £¢ £¢ ¥¤ ¥¤ ¥¤ ¥¤ §¦ §¦ §¦ §¦ §¦ §¦ §¦
  • 7. 6 Mobile Servers PostgreSQL Replication Solutions   ¡  ¡  ¥¤ ¥¤ ¥¤ ¥¤ £¢ £¢ £¢ £¢ £¢ £¢ £¢   ¡  ¡  ¥¤ ¥¤ ¥¤ ¥¤ £¢ £¢ £¢ £¢ £¢ £¢ £¢   ¡  ¡  ¥¤ ¥¤ ¥¤ ¥¤ £¢ £¢ £¢ £¢ £¢ £¢ £¢   ¡  ¡  ¥¤ ¥¤ ¥¤ ¥¤ £¢ £¢ £¢ £¢ £¢ £¢ £¢ §§ ¡¨ ¦ §§ ¡¨ §§§§¥§¥§¥§¥§§§§§§¢£§§¢£§§¢£§§¢£§§¢£§§¢£§§¢£§¨ ¦ ¦ ¦ ¨ §¨ §¨ §¨ ¤§¨ ¤§¨ ¤§¨ ¤§¨ §¨ §¨ §¨ §¨ ¦ ¨ ¦ ¨ ¦ ¨ ¦ ¨ ¦ ¨ ¦ ¨ ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦
  • 8. Replication Solutions Taotaomona Computing PostgreSQL Replication Solutions 7
  • 9. 8 Slave cannot execute queries No data loss on fail-over No overhead Shared Storage Network−Attached Storage (NAS) ©¨ ©¨ ©¨ ¦ §¦ §¦ §¦ §¦ §¦ ©¨ ©¨ ©¨ ¦ §¦ §¦ §¦ §¦ §¦ ¨© ¨© ¨© § ¦ § § § § ¦ ¦ ¦ ¦ ¦ ©¨ ©¨ ©¨ ¦ §¦ §¦ §¦ §¦ §¦ PostgreSQL Replication Solutions ¥¤ ¥¤ £¢ £¢ £¢   ¡  ¡  ¡  ¡  ¡  ¥¤ ¥¤ £¢ £¢ £¢   ¡  ¡  ¡  ¡  ¡  ¢£ ¢£ ¢£ ¡   ¥ ¥ ¡ ¡ ¡ ¡ ¤ ¤           ¥¤ ¥¤ £¢ £¢ £¢   ¡  ¡  ¡  ¡  ¡    ¡  ¡  ¡  ¡  ¡ 
  • 10. 9 Synchronous or asynchronous Possible data loss on fail-over Slave cannot execute queries when using asynchronous No overhead on master Storage Mirroring ©¨ ©¨ ©¨ §¦ §¦ §¦ §¦ §¦ ©¨ ©¨ ©¨ §¦ §¦ §¦ §¦ §¦ ¨© ¨© ¨© § ¦ § § § § ¦ ¦ ¦ ¦ ©¨ ©¨ ©¨ §¦ §¦ §¦ §¦ §¦ PostgreSQL Replication Solutions DRBD ¤¥ ¥ ¤ £ ¢ £ ¢ £ ¢ ¡  ¡  ¡  ¡  ¡  ¥¤ ¥¤ £¢ £¢ £¢ ¡  ¡  ¡  ¡  ¡  ¡ ¡ ¡ ¡ ¥ ¥         ¤ ¤ ¢£¢£ ¢£ ¡   ¥¤ ¥¤ £¢ £¢ £¢ ¡  ¡  ¡  ¡  ¡  ¡  ¡  ¡  ¡  ¡ 
  • 11. 10 Allowing slaves to execute queries Synchronous and auto-fail-over Possible data loss on fail-over modes under development when using asychonous No overhead on master is under development Point-In-Time Recovery (PITR) ©¨ ©¨ ©¨ ¦ §¦ §¦ §¦ §¦ §¦ ¨© © ¨ © ¨ ¦ § ¦ § ¦ § ¦ § ¦ § ¦ § § § § ¨¨¨ § ¦ © © © ¦ ¦ ¦ ¦ ¦ ©¨ ©¨ ©¨ ¦ §¦ §¦ §¦ §¦ §¦ ¦ §¦ §¦ §¦ §¦ §¦ Ahead (WAL) Write PostgreSQL Replication Solutions Log ¥¤ ¥¤ £¢ £¢ £¢   ¡  ¡  ¡  ¡  ¡  ¥¤ ¥¤ £¢ £¢ £¢   ¡  ¡  ¡  ¡  ¡  ¥ ¥ ¡ ¡ ¡ ¡ ¡   ¤ ¤ £ ¢ £ ¢ £ ¢           ¥¤ ¥¤ £¢ £¢ £¢   ¡  ¡  ¡  ¡  ¡ 
  • 12. 11 Replication possible even over Possible data loss on fail-over Table-level granularity allows Triggers add overhead to the Slave can execute read-only complex data partitioning configurations slow links queries master Slony ¨ ©¨ ©¨ ¡  ¡  ¡  ¡  ¨ ©¨ ©¨ ¡  ¡  ¡  ¡  ¨ ¨© ¨© ¡¡¡¡         ¨ ©¨ ©¨ ¡  ¡  ¡  ¡  ¨ ¨©¨©¡¡¡¡      ¡  ¡  ¡  ¡  Asynchronous PostgreSQL Replication Solutions ¢ £¢ £¢ ¥¤ ¥¤ ¥¤ ¥¤ §¦ §¦ §¦ §¦ §¦ §¦ §¦ ¢ £¢ £¢ ¥¤ ¥¤ ¥¤ ¥¤ §¦ §¦ §¦ §¦ §¦ §¦ §¦ ¢ ¢£ ¢£ ¥¥¥¥§¦§¦§¦§¦§¦§¦§¦ ¤ ¤ ¤ ¤ ¢ £¢ £¢ ¥¤ ¥¤ ¥¤ ¥¤ §¦ §¦ §¦ §¦ §¦ §¦ §¦ ¢ ¢£ ¢£ ¥¥¥¥§¦§¦§¦§¦§¦§¦§¦ ¤ ¤ ¤ ¤
  • 13. 12 Slony - Cascading Slaves 54 54 32 32 32 10 10 10 10 10 )( )( ' ' ' $ %$ %$ %$ %$ %$ 54 54 32 32 32 10 10 10 10 10 )( )( ' ' ' $ %$ %$ %$ %$ %$ @ 5 7@ 5 7@ 79 9 9 @ 7@ 7@ 7@ 1 7@ 1 71 97@ 1 7 777723@ 7723@ 7723@ 777777@77@ 1 9 0 94 94 9 9 9 9 90 90 0 90 8 ) 7) 67 6 6 678 78 7% 678 % 78 % 78 % 7 78787677'8 77'8 787'678777877778 % 6 $ 6( ( 6 6$ $ 6$ 6$ 6$ 54 54 32 32 32 10 10 10 10 10 )( )( ' ' ' $ %$ %$ %$ %$ %$ # # ! ! ! # # ! ! ! 7777777777777P I P # 7P # 7P 7P !7P !7P !7P 7P 7P 7P 7P 7P 7P 7 I I I I I I I I I I I I I # # ! ! ! ¨ ©¨ ©¨ ©¨ ¦ §¦ §¦ §¦ §¦ §¦ ¨ ©¨ ©¨ ©¨ ¦ §¦ §¦ §¦ §¦ §¦ C77 G7C 7C 7BG77H7H77H7H7H7 H7HC7HC7¨B77¨©H77¨©H7HC7¨©7HC777HC7777HC § BG ¦ 7 BG7 BG BG BG7C 7C 7§ BG7C § 7C § 7C § 7 BG BG BG ¦ ¦ BG ¦ BG ¦ BG ¦ ¨ ©¨ ©¨ ©¨ ¦ §¦ §¦ §¦ §¦ §¦ ¦ §¦ §¦ §¦ §¦ §¦ ¥¤ ¥¤ £¢ £¢ £¢ ¥¤ ¥¤ £¢ £¢ £¢ ¥ 7¥ 77£7£7£7777 7 7 A7 7 A A ¤ A ¤ A A ¢ A ¢ A ¢ A A A A A A ¥¤ ¥¤ £¢ £¢ £¢ ¡  ¡  ¡  ¡  F7F7F7DE77F 77F 7F7DE7F777F7777F DE ¡ 7¡ DE77D7D77DE7F 7F 7 DE7F 7F 7F 7 E    D77 E E 7D7D77D7D7D7 E E E E E ¡  ¡  PostgreSQL Replication Solutions
  • 14. 13 Subscribers Other Subscriber ¥ ¥ ¥ ¥ ¥ ¥ ¥ ¥ ¥ ¥ ¥ ¥ ¥ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¥ ¥ ¥ ¥ ¥ ¥ ¥ ¥ ¥ ¥ ¥ ¥ ¥ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¤ sl_log ¥ ¥ ¥ ¥ ¥ ¥ ¥ ¥ ¥ ¥ ¥ ¥ ¥ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¥ ¥ ¥ ¥ ¥ ¥ ¥ ¥ ¥ ¥ ¥ ¥ ¥ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¥ ¥ ¥ ¥ ¥ ¥ ¥ ¥ ¥ ¥ ¥ ¥ ¥ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¥ ¥ ¥ ¥ ¥ ¥ ¥ ¥ ¥ ¥ ¥ ¥ ¥ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¥ ¥ ¥ ¥ ¥ ¥ ¥ ¥ ¥ ¥ ¥ ¥ ¥ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¥ ¥ ¥ ¥ ¥ ¥ ¥ ¥ ¥ ¥ ¥ ¥ ¥ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¤ modifications CREATE TRIGGER prevents Slony Internals % % % % % % % % # # # # # # # # $ $ $ $ $ $ $ $ © © © © © © © © § § § § § § § § ¨ ¨ ¨ ¨ ¨ ¨ ¨ ¨ ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ % % % % % % % % # # # # # # # # $ $ $ $ $ $ $ $ © © © © © © © © § § § § § § § § ¨ ¨ ¨ ¨ ¨ ¨ ¨ ¨ ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ % % % % % % % % # # # # # # # # $ $ $ $ $ $ $ $ © © © © © © © © § § § § § § § § ¨ ¨ ¨ ¨ ¨ ¨ ¨ ¨ ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ User © © © © © © © © § § § § § § § § ¨ ¨ ¨ ¨ ¨ ¨ ¨ ¨ ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ © © © © © © © © § § § § § § § § ¨ ¨ ¨ ¨ ¨ ¨ ¨ ¨ ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ © © © © © © © © § § § § § § § § ¨ ¨ ¨ ¨ ¨ ¨ ¨ ¨ ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ © © © © © © © © § § § § § § § § ¨ ¨ ¨ ¨ ¨ ¨ ¨ ¨ ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ © © © © © © © © § § § § § § § § ¨ ¨ ¨ ¨ ¨ ¨ ¨ ¨ ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ © © © © © © © © § § § § § § § § ¨ ¨ ¨ ¨ ¨ ¨ ¨ ¨ ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ Slonik fills sl_log TRIGGER CREATE ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡                             ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡                             sl_log ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡                             Origin ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡                             ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡                             CREATE ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡                             TABLE PostgreSQL Replication Solutions ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡                             ... ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡                             ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡                             ! ! ! ! ! ! ! ! ' ' ' ' ' ' ' ' £ £ £ £ £ £ £ £ ¢ ¢ ¢ ¢ ¢ ¢ ¢ ¢ ! ! ! ! ! ! ! ! ' ' ' ' ' ' ' ' £ £ £ £ £ £ £ £ ¢ ¢ ¢ ¢ ¢ ¢ ¢ ¢ £ £ £ £ £ £ £ £ ¢ ¢ ¢ ¢ ¢ ¢ ¢ ¢ User £ £ £ £ £ £ £ £ ¢ ¢ ¢ ¢ ¢ ¢ ¢ ¢ £ £ £ £ £ £ £ £ ¢ ¢ ¢ ¢ ¢ ¢ ¢ ¢ £ £ £ £ £ £ £ £ ¢ ¢ ¢ ¢ ¢ ¢ ¢ ¢ £ £ £ £ £ £ £ £ ¢ ¢ ¢ ¢ ¢ ¢ ¢ ¢ £ £ £ £ £ £ £ £ ¢ ¢ ¢ ¢ ¢ ¢ ¢ ¢ £ £ £ £ £ £ £ £ ¢ ¢ ¢ ¢ ¢ ¢ ¢ ¢
  • 15. 14 Subscriber sl_log @ @ @ @ @ @ @ @ @A @A @A @A @A @A @A @A % % % % % % % % 9 9 9 9 9 9 9 9 $ $ $ $ $ $ $ $ 8 8 8 8 8 8 8 8 © © © © © © © © ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¨ ¨ ¨ ¨ ¨ ¨ ¨ ¨                 A A A A A A A A % % % % % % % % 9 9 9 9 9 9 9 9 $ $ $ $ $ $ $ $ 8 8 8 8 8 8 8 8 © © © © © © © © ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¨ ¨ ¨ ¨ ¨ ¨ ¨ ¨                 © © © © © © © © ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¨ ¨ ¨ ¨ ¨ ¨ ¨ ¨                 User © © © © © © © © ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¨ ¨ ¨ ¨ ¨ ¨ ¨ ¨                 © © © © © © © © ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¨ ¨ ¨ ¨ ¨ ¨ ¨ ¨                 © © © © © © © © ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¨ ¨ ¨ ¨ ¨ ¨ ¨ ¨                 © © © © © © © © ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¨ ¨ ¨ ¨ ¨ ¨ ¨ ¨                 © © © © © © © © ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¨ ¨ ¨ ¨ ¨ ¨ ¨ ¨                 © © © © © © © © ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¨ ¨ ¨ ¨ ¨ ¨ ¨ ¨                 Slony Multi-Slave Subscriber sl_log ' ' ' ' ' ' ' ' 1 1 1 1 1 1 1 1 3 3 3 3 3 3 3 3 0 0 0 0 0 0 0 0 2 2 2 2 2 2 2 2 # # # # # # # # ! ! ! ! ! ! ! ! ' ' ' ' ' ' ' ' 1 1 1 1 1 1 1 1 3 3 3 3 3 3 3 3 0 0 0 0 0 0 0 0 2 2 2 2 2 2 2 2 # # # # # # # # ! ! ! ! ! ! ! ! # # # # # # # # ! ! ! ! ! ! ! ! User # # # # # # # # ! ! ! ! ! ! ! ! # # # # # # # # ! ! ! ! ! ! ! ! # # # # # # # # ! ! ! ! ! ! ! ! # # # # # # # # ! ! ! ! ! ! ! ! # # # # # # # # ! ! ! ! ! ! ! ! # # # # # # # # ! ! ! ! ! ! ! ! PostgreSQL Replication Solutions sl_log Origin ) ) ) ) ) ) ) ) 5 5 5 5 5 5 5 5 7 7 7 7 7 7 7 7 ( ( ( ( ( ( ( ( 4 4 4 4 4 4 4 4 6 6 6 6 6 6 6 6 £ £ £ £ £ £ £ £ ¥ ¥ ¥ ¥ ¥ ¥ ¥ ¥ § § § § § § § § ¢ ¢ ¢ ¢ ¢ ¢ ¢ ¢ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ ) ) ) ) ) ) ) ) 5 5 5 5 5 5 5 5 7 7 7 7 7 7 7 7 ( ( ( ( ( ( ( ( 4 4 4 4 4 4 4 4 6 6 6 6 6 6 6 6 £ £ £ £ £ £ £ £ ¥ ¥ ¥ ¥ ¥ ¥ ¥ ¥ § § § § § § § § ¢ ¢ ¢ ¢ ¢ ¢ ¢ ¢ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ ) ) ) ) ) ) ) ) 5 5 5 5 5 5 5 5 7 7 7 7 7 7 7 7 ( ( ( ( ( ( ( ( 4 4 4 4 4 4 4 4 6 6 6 6 6 6 6 6 User £ £ £ £ £ £ £ £ ¥ ¥ ¥ ¥ ¥ ¥ ¥ ¥ § § § § § § § § ¢ ¢ ¢ ¢ ¢ ¢ ¢ ¢ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ £ £ £ £ £ £ £ £ ¥ ¥ ¥ ¥ ¥ ¥ ¥ ¥ § § § § § § § § ¢ ¢ ¢ ¢ ¢ ¢ ¢ ¢ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ £ £ £ £ £ £ £ £ ¥ ¥ ¥ ¥ ¥ ¥ ¥ ¥ § § § § § § § § ¢ ¢ ¢ ¢ ¢ ¢ ¢ ¢ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ £ £ £ £ £ £ £ £ ¥ ¥ ¥ ¥ ¥ ¥ ¥ ¥ § § § § § § § § ¢ ¢ ¢ ¢ ¢ ¢ ¢ ¢ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ £ £ £ £ £ £ £ £ ¥ ¥ ¥ ¥ ¥ ¥ ¥ ¥ § § § § § § § § ¢ ¢ ¢ ¢ ¢ ¢ ¢ ¢ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ £ £ £ £ £ £ £ £ ¥ ¥ ¥ ¥ ¥ ¥ ¥ ¥ § § § § § § § § ¢ ¢ ¢ ¢ ¢ ¢ ¢ ¢ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¤ ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦