Top Banner
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`u¡Ù EnterpriseDB Corporation Feb. 2013
18

Postgres Plus Advanced Server 9.2新機能ご紹介

Jan 15, 2015

Download

Documents

Yuji Fujita

 
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Postgres Plus Advanced Server 9.2新機能ご紹介

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!

Page 2: Postgres Plus Advanced Server 9.2新機能ご紹介

Version 9.2 !

u  9.2 :

u  Oracle

u 

u  /

u 

u 

u  DBA

2 © 2012 EnterpriseDB. All rights reserved.

Page 3: Postgres Plus Advanced Server 9.2新機能ご紹介

EnterpriseDB !

Oracle • 

• ANSI/ISO

• 

• 

• PL/SQL • 

• SMP •  ( ) •  (sub-query SELECTS) • 

• 

•  •  •  INSERT ”Append”

/ HA

• 

• 

•  xxxxxxx

•  xDB ( )

• 

• PgPool 3.2

3 © 2012 EnterpriseDB. All rights reserved.

Page 4: Postgres Plus Advanced Server 9.2新機能ご紹介

EnterpriseDB

•  SQL USAGE

•  JSON •  RANGE

.

•  pg_dump •  pg_upgrade

4 © 2012 EnterpriseDB. All rights reserved.

Page 5: Postgres Plus Advanced Server 9.2新機能ご紹介

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;

Page 6: Postgres Plus Advanced Server 9.2新機能ご紹介

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)

Page 7: Postgres Plus Advanced Server 9.2新機能ご紹介
Page 8: Postgres Plus Advanced Server 9.2新機能ご紹介

u 

u  u 

Page 9: Postgres Plus Advanced Server 9.2新機能ご紹介

xDB

u 

u 

Page 10: Postgres Plus Advanced Server 9.2新機能ご紹介

u  u  u 

vs.

Page 11: Postgres Plus Advanced Server 9.2新機能ご紹介

PgPool 3.2u 

•  !•  pgpool-II

!u  Watchdog

•  pgpool •  watchdog •  !•  IP !•  !

Page 12: Postgres Plus Advanced Server 9.2新機能ご紹介

u  u  VIEW u  VIEW

VIEW

Page 13: Postgres Plus Advanced Server 9.2新機能ご紹介

JSON

u  JSON (JavaScript ) u  u  :

•  array_to_json() Returns the array as JSON!

•  row_to_json() Returns the row as JSON!

u 

Page 14: Postgres Plus Advanced Server 9.2新機能ご紹介

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

Page 15: Postgres Plus Advanced Server 9.2新機能ご紹介

u  pg_dump •  !•  e.g. restore... !•  table structure and check constraints first, !•  !•  !

u  pg_upgrade •  / !•  !•  !

Page 16: Postgres Plus Advanced Server 9.2新機能ご紹介

!

u  Postgres Plus Advanced Server

u 

u 

16 © 2012 EnterpriseDB. All rights reserved.

Page 17: Postgres Plus Advanced Server 9.2新機能ご紹介

!u  :

•  http://www.enterprisedb.com/download-advanced-server!

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

17 © 2012 EnterpriseDB. All rights reserved.

Page 18: Postgres Plus Advanced Server 9.2新機能ご紹介

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?!