Postgres Plus Advanced Server 9.2新機能ご紹介

512 views
404 views

Published on

0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
512
On SlideShare
0
From Embeds
0
Number of Embeds
49
Actions
Shares
0
Downloads
5
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

Postgres Plus Advanced Server 9.2新機能ご紹介

  1. 1. Postgres Plus Advanced Server 9.2 ! ! EnterpriseDB Corporation! Feb. 2013!EnterpriseDB, Postgres Plus and Dynatune are trademarks ofEnterpriseDB Corporation. Other names may be trademarks of their 1respective owners. © 2010. All rights reserved.
  2. 2. Version 9.2 ! u  9.2 : u  Oracle u  u  / u  u  u  DBA© 2012 EnterpriseDB. All rights reserved. 2
  3. 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. 4. EnterpriseDB •  SQL USAGE •  JSON •  RANGE •  pg_dump . •  pg_upgrade© 2012 EnterpriseDB. All rights reserved. 4
  5. 5. PL/SQLu 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; -- cant have fractional part, it will be lost because of constraint DBMS_OUTPUT.PUT_LINE (Var1 = || var1); END;
  6. 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)
  7. 7. u u u 
  8. 8. xDBu u 
  9. 9. u u u  vs.
  10. 10. PgPool 3.2u  •  ! •  pgpool-II !u  Watchdog •  pgpool •  watchdog •  ! •  IP ! •  !
  11. 11. u u  VIEWu  VIEW VIEW
  12. 12. JSONu  JSON (JavaScript )u u  : •  array_to_json() Returns the array as JSON! •  row_to_json() Returns the row as JSON!u 
  13. 13. RANGEu u  Range datau  integer, big int, numeric, timestamp and dateu  “CREATE TYPE”u  9.2 2u u  date/time range, price ranges, scientific data rangesu  calculating containment, overlaps, intersections, emptiness, upper/lower bounds
  14. 14. u  pg_dump •  ! •  e.g. restore... ! •  table structure and check constraints first, ! •  ! •  !u  pg_upgrade •  / ! •  ! •  !
  15. 15. ! u  Postgres Plus Advanced Server u  u © 2012 EnterpriseDB. All rights reserved. 16
  16. 16. ! u  : •  http://www.enterprisedb.com/download-advanced-server! u  •  http://www.enterprisedb.com/documentation!© 2012 EnterpriseDB. All rights reserved. 17
  17. 17. What’s New in 
 Postgres Plus Advanced Server 9.2?! Questions?!EnterpriseDB, Postgres Plus and Dynatune are trademarks ofEnterpriseDB Corporation. Other names may be trademarks of their 18respective owners. © 2010. All rights reserved.

×