[db tech showcase Tokyo 2014] D21: Postgres Plus Advanced Serverはここが使える&9.4新機...Insight Technology, Inc.
?
日本でも徐々に浸透してきたPostgres Plus Advanced Server (PPAS)。PPASが備えている実用的な機能を2014年末にリリース予定の最新版9.4の新機能を交えて、コミュニティ版PostgreSQLと比較しながら解説します。
特に性能面で大きな向上をうたっているパーティショニング機能については実際に検証した結果を紹介します。
[db tech showcase Tokyo 2014] D21: Postgres Plus Advanced Serverはここが使える&9.4新機...Insight Technology, Inc.
?
日本でも徐々に浸透してきたPostgres Plus Advanced Server (PPAS)。PPASが備えている実用的な機能を2014年末にリリース予定の最新版9.4の新機能を交えて、コミュニティ版PostgreSQLと比較しながら解説します。
特に性能面で大きな向上をうたっているパーティショニング機能については実際に検証した結果を紹介します。
The document is about Beccoame, a "ore-ore" elastic computing software that is loosely compatible with Amazon EC2 and Eucalyptus. It discusses the author Satoshi Hirata and his skills/social media. Tatsumaki, a Perl web framework inspired by Tornado, and Sys::Virt, a libvirt binding for Perl, are also described. The document proposes to demonstrate Beccoame's 3 actions: running instances, terminating instances, and describing instances.
15. MERGE文
15
postgres=> MERGE INTO dst1 AS d USING
src1 AS s ON d.c1 = s.c1
WHEN MATCHED THEN
UPDATE SET c2 = s.c2
WHEN NOT MATCHED THEN
INSERT VALUES (s.c1, s.c2) ;
MERGE 2
16. MERGE文
16
postgres=> MERGE INTO dst1 AS d USING
src1 AS s ON d.c1 = s.c1
WHEN MATCHED THEN
UPDATE SET c2 = s.c2
WHEN NOT MATCHED THEN
INSERT VALUES (s.c1, s.c2) ;
MERGE 2
postgres=> MERGE INTO dst1 AS d USING
src1 AS s ON d.c1 = s.c1
WHEN MATCHED AND s.c1 < 1000 THEN
DELETE
WHEN NOT MATCHED THEN
DO NOTHING ;
MERGE 2
20. マルチ範囲型への集約
20
(range_agg() を使?して多重範囲型データに集約する)
db1=# SELECT empid, range_agg(vacation_days) FROM
t_vacation
GROUP BY empid ORDER BY empid;
empid | range_agg
-------+-----------------------------------------------
----
101 | {[2022-08-08,2022-08-11),[2022-08-15,2022-08-17)}