Postgres Plus Advanced Server 9.2新機能ご紹介
Post on 15-Jan-2015
326 Views
Preview:
DESCRIPTION
Transcript
1 EnterpriseDB, Postgres Plus and Dynatune are trademarks of EnterpriseDB Corporation. Other names may be trademarks of their respective owners. © 2010. All rights reserved.
Postgres Plus Advanced Server 9.2 !
!EnterpriseDB Corporation!Feb. 2013!
Version 9.2 !
u 9.2 :
u Oracle
u
u /
u
u
u DBA
2 © 2012 EnterpriseDB. All rights reserved.
EnterpriseDB !
Oracle •
• ANSI/ISO
•
•
• PL/SQL •
• SMP • ( ) • (sub-query SELECTS) •
•
• • • INSERT ”Append”
/ HA
•
•
• xxxxxxx
• xDB ( )
•
• PgPool 3.2
3 © 2012 EnterpriseDB. All rights reserved.
EnterpriseDB
• SQL USAGE
• JSON • RANGE
.
• pg_dump • pg_upgrade
4 © 2012 EnterpriseDB. All rights reserved.
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)
u
u u
xDB
u
u
u u u
vs.
PgPool 3.2u
• !• 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
16 © 2012 EnterpriseDB. All rights reserved.
!u :
• http://www.enterprisedb.com/download-advanced-server!
u • http://www.enterprisedb.com/documentation!
17 © 2012 EnterpriseDB. All rights reserved.
18 EnterpriseDB, Postgres Plus and Dynatune are trademarks of EnterpriseDB Corporation. Other names may be trademarks of their respective owners. © 2010. All rights reserved.
Questions?!
What’s New in Postgres Plus Advanced Server 9.2?!
top related