SlideShare a Scribd company logo
Postgres Plus Advanced Server 9.2                                 !

 !
 EnterpriseDB Corporation!
 Feb. 2013!




EnterpriseDB, Postgres Plus and Dynatune are trademarks of
EnterpriseDB Corporation. Other names may be trademarks of their   1
respective owners. © 2010. All rights reserved.
Version 9.2                              !

     u     9.2                             :
              u     Oracle

              u 

              u                            /

              u 

              u 

              u     DBA




© 2012 EnterpriseDB. All rights reserved.           2
EnterpriseDB                                             !

     Oracle                          •                              • 

                                     • ANSI/ISO
                                                                    • PL/SQL
                                     •                              • 


                                     • SMP                          • 
                                     •             (            )
                                     •             (sub-query
                                        SELECTS)                    • 
                                     •                              • 
                                                                    •  INSERT      ”Append”


                              /      •                              •  xDB
     HA                                                               (             )

                                     •                              • 

                                                                    • PgPool 3.2
                                     •  xxxxxxx


© 2012 EnterpriseDB. All rights reserved.                   3
EnterpriseDB


                                                    •               SQL USAGE



                                                    •  JSON
                                                    •  RANGE
                                                    •  pg_dump
                                            .       •  pg_upgrade




© 2012 EnterpriseDB. All rights reserved.       4
PL/SQL

u 
u 
u    SPL

      DECLARE
      SUBTYPE INTEGER IS NUMBER (38,0);
      SUBTYPE NAME IS VARCHAR (20) NOT NULL;

      var1 INTEGER;
      var3 NAME := 'hello'; -- NOT NULL constraint, must initialize
      BEGIN
      var1 := 38.38; -- can't have fractional part, it will be lost because of constraint
      DBMS_OUTPUT.PUT_LINE ('Var1 = '|| var1);
      END;
u    DROP TABLE mytable CASCADE CONSTRAINTS;
u             “current_date”
u             “Log”
u                 “STRING”      (VARCHAR2      )
u                “NVARCHAR2”         (VARCHAR2                      )
u                            Table()

        CREATE OR REPLACE TYPE string_a IS TABLE OF VARCHAR2(765);

        select * from table(string_a('abc','xyz')) ;
         column_value
        --------------
         abc
         xyz
        (2 rows)
Postgres Plus Advanced Server 9.2新機能ご紹介
u 


u 
u 
xDB

u 

u 
u 
u 
u 




      vs.
PgPool 3.2
u 
      •                      !
      •                                  pgpool-II
                    !
u    Watchdog

      •  pgpool
      •  watchdog
      •                              !
      •                 IP                 !
      •                          !
u 
u    VIEW
u    VIEW
             VIEW
JSON

u    JSON                 (JavaScript                  )
u 
u                                          :
      •    array_to_json() Returns the array as JSON!
      •    row_to_json()   Returns the row as JSON!

u 
RANGE

u 
u    Range data
u         integer, big int, numeric, timestamp and date
u    “CREATE TYPE”
u    9.2       2
u 
u    date/time range, price ranges, scientific data ranges
u    calculating containment, overlaps, intersections,
      emptiness, upper/lower bounds
u                                             pg_dump
      •                                          !
      •    e.g. restore... !
      •                                    table structure and check constraints first, !
      •                        !
      •                                                           !

u    pg_upgrade
      •          /                                      !
      •                            !
      •                                !
!

     u     Postgres Plus Advanced Server



     u 



     u 




© 2012 EnterpriseDB. All rights reserved.   16
!
     u                                     :
              •     http://www.enterprisedb.com/download-advanced-server!

     u 
              •     http://www.enterprisedb.com/documentation!




© 2012 EnterpriseDB. All rights reserved.               17
What’s New in 

                      Postgres Plus Advanced Server 9.2?!

 Questions?!




EnterpriseDB, Postgres Plus and Dynatune are trademarks of
EnterpriseDB Corporation. Other names may be trademarks of their   18
respective owners. © 2010. All rights reserved.

More Related Content

PPTX
NoSQL & HBase overview
PDF
Breaking the-database-type-barrier-replicating-across-different-dbms
PDF
SQL Server 2014 In-Memory Tables (XTP, Hekaton)
PDF
Json in Postgres - the Roadmap
 
PPTX
No sql solutions - 공개용
PPTX
H cat berlinbuzzwords2012
PDF
RocksDB meetup
PDF
Ceph and RocksDB
NoSQL & HBase overview
Breaking the-database-type-barrier-replicating-across-different-dbms
SQL Server 2014 In-Memory Tables (XTP, Hekaton)
Json in Postgres - the Roadmap
 
No sql solutions - 공개용
H cat berlinbuzzwords2012
RocksDB meetup
Ceph and RocksDB

What's hot (20)

PPTX
Liquidating database frustrations with liquibase
PPTX
PPTX
The Hive Think Tank: Rocking the Database World with RocksDB
DOCX
ใบความรู้ที่ 1 เรื่องความรู้เบื้องต้นเกี่ยวกับฐานข้อมูล
PPTX
Ogh Ace Case, Part 1 and 2, Oracle Xml Database, Marco Gralike
PDF
Hive Quick Start Tutorial
PDF
How mysql handles ORDER BY, GROUP BY, and DISTINCT
PDF
MyRocks Deep Dive
PDF
第17回Cassandra勉強会: MyCassandra
PDF
xPatterns on Spark, Tachyon and Mesos - Bucharest meetup
PDF
Key-Value-Stores -- The Key to Scaling?
PDF
What’s New In PostgreSQL 9.3
PPTX
Jss 2015 in memory and operational analytics
PDF
Optimizing RocksDB for Open-Channel SSDs
PPT
X$Tables And Sga Scanner, DOAG2009
PDF
Non-Relational Postgres
 
PPTX
PostgreSQL as an Alternative to MSSQL
PDF
SQL Track: Restoring databases with powershell
PPTX
HBaseCon 2015: Analyzing HBase Data with Apache Hive
Liquidating database frustrations with liquibase
The Hive Think Tank: Rocking the Database World with RocksDB
ใบความรู้ที่ 1 เรื่องความรู้เบื้องต้นเกี่ยวกับฐานข้อมูล
Ogh Ace Case, Part 1 and 2, Oracle Xml Database, Marco Gralike
Hive Quick Start Tutorial
How mysql handles ORDER BY, GROUP BY, and DISTINCT
MyRocks Deep Dive
第17回Cassandra勉強会: MyCassandra
xPatterns on Spark, Tachyon and Mesos - Bucharest meetup
Key-Value-Stores -- The Key to Scaling?
What’s New In PostgreSQL 9.3
Jss 2015 in memory and operational analytics
Optimizing RocksDB for Open-Channel SSDs
X$Tables And Sga Scanner, DOAG2009
Non-Relational Postgres
 
PostgreSQL as an Alternative to MSSQL
SQL Track: Restoring databases with powershell
HBaseCon 2015: Analyzing HBase Data with Apache Hive
Ad

Viewers also liked (9)

PDF
PPTX
Benefits to customers
PDF
xDB 5.0シングルマスター機能説明 シングルマスター編
PPTX
Understanding leasing
PPTX
Beat your competition
PDF
Automotive
PDF
Enterprise Manager 3.0
PPTX
Leisure
PDF
[db tech showcase Sapporo 2015] C15:商用RDBをOSSへ Oracle to Postgres 徹底解説 by 株式会...
Benefits to customers
xDB 5.0シングルマスター機能説明 シングルマスター編
Understanding leasing
Beat your competition
Automotive
Enterprise Manager 3.0
Leisure
[db tech showcase Sapporo 2015] C15:商用RDBをOSSへ Oracle to Postgres 徹底解説 by 株式会...
Ad

Similar to Postgres Plus Advanced Server 9.2新機能ご紹介 (20)

PDF
DevLOVE Beautiful Development - 第一幕 陽の巻
PDF
Avoiding.the.pitfallsof.oracle.migration.2013
 
PDF
Migration From Oracle to PostgreSQL
PDF
Liberating Your Data From MySQL: Cross-Database Replication to the Rescue!
PDF
Spark after Dark by Chris Fregly of Databricks
PDF
Spark After Dark - LA Apache Spark Users Group - Feb 2015
PDF
Flexible Replication
PDF
Lesson09
KEY
Sybase To Oracle Migration for DBAs
KEY
No SQL, No problem - using MongoDB in Ruby
PPTX
001 hbase introduction
PDF
Whats new in_postgres_enterprise_db_20130124
 
PPTX
Using existing language skillsets to create large-scale, cloud-based analytics
PPTX
NoSql-YesSQL mickey alon
PPTX
Deep Dive into Apache Apex App Development
PPTX
Introducing U-SQL (SQLPASS 2016)
KEY
Adding Riak to your NoSQL Bag of Tricks
PPTX
NoSQL
PPTX
Introduction to Apache Drill
PDF
Oracle hadoop let them talk together !
DevLOVE Beautiful Development - 第一幕 陽の巻
Avoiding.the.pitfallsof.oracle.migration.2013
 
Migration From Oracle to PostgreSQL
Liberating Your Data From MySQL: Cross-Database Replication to the Rescue!
Spark after Dark by Chris Fregly of Databricks
Spark After Dark - LA Apache Spark Users Group - Feb 2015
Flexible Replication
Lesson09
Sybase To Oracle Migration for DBAs
No SQL, No problem - using MongoDB in Ruby
001 hbase introduction
Whats new in_postgres_enterprise_db_20130124
 
Using existing language skillsets to create large-scale, cloud-based analytics
NoSql-YesSQL mickey alon
Deep Dive into Apache Apex App Development
Introducing U-SQL (SQLPASS 2016)
Adding Riak to your NoSQL Bag of Tricks
NoSQL
Introduction to Apache Drill
Oracle hadoop let them talk together !

Postgres Plus Advanced Server 9.2新機能ご紹介

  • 1. Postgres Plus Advanced Server 9.2 ! ! EnterpriseDB Corporation! Feb. 2013! EnterpriseDB, Postgres Plus and Dynatune are trademarks of EnterpriseDB Corporation. Other names may be trademarks of their 1 respective owners. © 2010. All rights reserved.
  • 2. Version 9.2 ! u  9.2 : u  Oracle u  u  / u  u  u  DBA © 2012 EnterpriseDB. All rights reserved. 2
  • 3. EnterpriseDB ! Oracle •  •  • ANSI/ISO • PL/SQL •  •  • SMP •  •  ( ) •  (sub-query SELECTS) •  •  •  •  INSERT ”Append” / •  •  xDB HA ( ) •  •  • PgPool 3.2 •  xxxxxxx © 2012 EnterpriseDB. All rights reserved. 3
  • 4. EnterpriseDB •  SQL USAGE •  JSON •  RANGE •  pg_dump . •  pg_upgrade © 2012 EnterpriseDB. All rights reserved. 4
  • 5. PL/SQL u  u  u  SPL DECLARE SUBTYPE INTEGER IS NUMBER (38,0); SUBTYPE NAME IS VARCHAR (20) NOT NULL; var1 INTEGER; var3 NAME := 'hello'; -- NOT NULL constraint, must initialize BEGIN var1 := 38.38; -- can't have fractional part, it will be lost because of constraint DBMS_OUTPUT.PUT_LINE ('Var1 = '|| var1); END;
  • 6. u  DROP TABLE mytable CASCADE CONSTRAINTS; u  “current_date” u  “Log” u  “STRING” (VARCHAR2 ) u  “NVARCHAR2” (VARCHAR2 ) u  Table() CREATE OR REPLACE TYPE string_a IS TABLE OF VARCHAR2(765); select * from table(string_a('abc','xyz')) ; column_value -------------- abc xyz (2 rows)
  • 11. PgPool 3.2 u  •  ! •  pgpool-II ! u  Watchdog •  pgpool •  watchdog •  ! •  IP ! •  !
  • 12. u  u  VIEW u  VIEW VIEW
  • 13. JSON u  JSON (JavaScript ) u  u  : •  array_to_json() Returns the array as JSON! •  row_to_json() Returns the row as JSON! u 
  • 14. RANGE u  u  Range data u  integer, big int, numeric, timestamp and date u  “CREATE TYPE” u  9.2 2 u  u  date/time range, price ranges, scientific data ranges u  calculating containment, overlaps, intersections, emptiness, upper/lower bounds
  • 15. u  pg_dump •  ! •  e.g. restore... ! •  table structure and check constraints first, ! •  ! •  ! u  pg_upgrade •  / ! •  ! •  !
  • 16. ! u  Postgres Plus Advanced Server u  u  © 2012 EnterpriseDB. All rights reserved. 16
  • 17. ! u  : •  http://www.enterprisedb.com/download-advanced-server! u  •  http://www.enterprisedb.com/documentation! © 2012 EnterpriseDB. All rights reserved. 17
  • 18. What’s New in 
 Postgres Plus Advanced Server 9.2?! Questions?! EnterpriseDB, Postgres Plus and Dynatune are trademarks of EnterpriseDB Corporation. Other names may be trademarks of their 18 respective owners. © 2010. All rights reserved.