SlideShare a Scribd company logo
Copyright©2016 NTT corp. All Rights Reserved.
pg_̲bigmをさわり始めた⼈人に
伝えたいこと
2016/6/9
NTT  OSSセンタ
澤⽥田  雅彦
@MySQLとPostgreSQLと⽇日本語全⽂文検索索2
2Copyright©2016 NTT corp. All Rights Reserved.
Ø 澤⽥田  雅彦(さわだ  まさひこ)
Ø @sawada_̲masahiko
Ø PostgreSQLサポート
Ø PostgreSQL本体機能の開発、パッチレビュー
Ø REINDEX  SCHEMA
Ø Freeze  Map
Ø マルチ同期レプリケーション
Ø 先々週PGCon@Ottawaに⾏行行きました
3Copyright©2016 NTT corp. All Rights Reserved.
http://www.slideshare.net/hadoopxnttdata/postgresqlpgbigm-‐‑‒
mysqlpostgresql
前回の資料料
4Copyright©2016 NTT corp. All Rights Reserved.
1.  pg_̲bigmの特徴
2.  関連するパラメータ、オプション
3.  便便利利なTIPS
⽬目次
5Copyright©2016 NTT corp. All Rights Reserved.
pg_̲bigmの特徴
6Copyright©2016 NTT corp. All Rights Reserved.
N-‐‑‒gram?形態素解析?
東京都で全⽂文検索索
•  東京
•  京都
•  都で
•  で全
•  全⽂文
•  ⽂文検
•  検索索
•  東京都
•  で
•  全⽂文検索索
N-‐‑‒gram
(2-‐‑‒gram)
形態素解析
7Copyright©2016 NTT corp. All Rights Reserved.
N-‐‑‒gram?形態素解析?
東京都で全⽂文検索索
•  東京
•  京都
•  都で
•  で全
•  全⽂文
•  ⽂文検
•  検索索
•  東京都
•  で
•  全⽂文検索索
•  東京都
•  で
•  全⽂文
•  検索索
N-‐‑‒gram
(2-‐‑‒gram)
形態素解析
形態素解析
8Copyright©2016 NTT corp. All Rights Reserved.
レプリケーション構成でも使えます
マスタ スタンバイ
クライアント
レプリケーシ
ョン
参照・更更新 参照
(全⽂文検索索)
9Copyright©2016 NTT corp. All Rights Reserved.
PostgreSQL9.4以降降がおすすめ
(前回資料料より)
http://www.slideshare.net/hadoopxnttdata/postgresqlpgbigm-mysqlpostgresql
10Copyright©2016 NTT corp. All Rights Reserved.
• 得意な全⽂文検索索
• 1⽂文字、2⽂文字検索索
•  例例えば、「東京」、「春」で検索索する場合
• 苦⼿手な全⽂文検索索
• 検索索対象データの⽂文字の”種類”が少ない
•  例例えば、ユーザID(AB0001)を全⽂文検索索、英⽂文を全⽂文検索索
•  英⽂文”のみ”の検索索には、pg_̲trgm、tsqueryが向いてい
ます。
pg_̲bigmが得意/苦⼿手な全⽂文検索索
11Copyright©2016 NTT corp. All Rights Reserved.
関連するパラメータ、オプション	
  
12Copyright©2016 NTT corp. All Rights Reserved.
=#	
  CREATE	
  INDEX	
  hoge_idx	
  	
  
	
  ON	
  hoge	
  	
  
	
  USING	
  gin	
  (col	
  gin_bigm_ops);	
  
	
  
=#	
  CREATE	
  INDEX	
  hoge_idx	
  	
  
	
  ON	
  hoge	
  	
  
	
  USING	
  gin	
  (col	
  gin_bigm_ops)	
  
	
  WITH	
  (FASTUPDATE	
  =	
  on/off);	
  
インデックスを作成する
13Copyright©2016 NTT corp. All Rights Reserved.
FASTUPDATE	
  
オプション
検索索 更更新
ON △	
  
(劣化する可能性あり)
○
OFF ○ ×
FASTUPDATEオプションとは?
•  GINインデックスの(弱点である)更更新を⾼高速化するオ
プション
•  デフォルトはON
•  オンラインでON/OFFの変更更が可能
14Copyright©2016 NTT corp. All Rights Reserved.
• work_̲mem
•  増やすと検索索性能に効く
• maintenance_̲work_̲mem
•  増やすとインデックス構築性能(更更新ではない)に効く
• gin_̲pending_̲list_̲limit(9.5~∼)
•  FASTUPDATEオプションをONにしているときのみ利利⽤用可能。
•  増やすと更更新性能に効く。ただし、副作⽤用として検索索性能が
落落ちる。
全⽂文検索索に関連する設定パラメータ
15Copyright©2016 NTT corp. All Rights Reserved.
便便利利なTIPS
16Copyright©2016 NTT corp. All Rights Reserved.
	
  
	
  
	
  
SELECT	
  *	
  FROM	
  hoge	
  
WHERE	
  col	
  LIKE	
  ‘%全⽂文検索索%’;	
  
	
  
	
  
アンダースコア(_)	
  	
  	
  :	
    任意の⼀一⽂文字	
  
パーセント(%) 	
  	
  	
  :	
    0⽂文字以上の並び	
  
※上記の⽂文字を検索索したいときはバックスラッシュ()でエスケープする
全⽂文検索索クエリを書く
17Copyright©2016 NTT corp. All Rights Reserved.
WHERE  col  LIKE  likequery(ʻ‘pg_̲bigmで検索索ʼ’);
||
WHERE  col  LIKE  ʻ‘%pg_̲bigmで検索索%ʼ’;
likequery()を使う
18Copyright©2016 NTT corp. All Rights Reserved.
=#	
  CREATE	
  TABLE	
  jb	
  (col	
  jsonb);	
  
=#	
  INSERT	
  INTO	
  jb	
  VALUES	
  
	
  (‘{“title”	
  :	
  “全⽂文検索索勉強会”}’);	
  
=#	
  SELECT	
  *	
  FROM	
  jb;	
  	
  
	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  col	
  
-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐	
  
	
  {"title":	
  "全⽂文検索索勉強会"}	
  
(1	
  row)
PostgreSQLのJSONB型
19Copyright©2016 NTT corp. All Rights Reserved.
JSONB型と⼀一緒に使う
{	
  
    “Htle”	
  	
  	
  :	
  “MySQLとPostgreSQLと⽇日本語全⽂文検索索2”,	
  
    “date”	
  	
  	
  :	
  2016-­‐06-­‐09,	
  
    “desc”	
  	
  	
  :	
  “MySQLとPostgreSQLの⽇日本語全⽂文検索索を知っている⼈人向けの勉強会”,	
  
    “url”	
  	
  	
  	
  	
  	
  :	
  “hXps://groonga.doorkeeper.jp/events/41770”	
  
    “hashtag”	
  :	
  “#mypgd”,	
  
    “venue”	
  :	
  {	
  	
  
	
         	
    “name”	
  :	
  “DMM.comラボ”,	
  
	
         	
    “address”	
  :	
  “渋⾕谷区恵⽐比寿4-­‐20-­‐3	
  恵⽐比寿ガーデンプレイスタワー21F”	
  
	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  }	
  
}	
  
20Copyright©2016 NTT corp. All Rights Reserved.
JSONB型と⼀一緒に使う
CREATE INDEX jb_idx on jb using gin(col);
{	
  
    “Htle”	
  	
  	
  :	
  “MySQLとPostgreSQLと⽇日本語全⽂文検索索2”,	
  
    “date”	
  	
  	
  :	
  2016-­‐06-­‐09,	
  
    “desc”	
  	
  	
  :	
  “MySQLとPostgreSQLの⽇日本語全⽂文検索索を知っている⼈人向けの勉強会”,	
  
    “url”	
  	
  	
  	
  	
  	
  :	
  “hXps://groonga.doorkeeper.jp/events/41770”	
  
    “hashtag”	
  :	
  “#mypgd”,	
  
    “venue”	
  :	
  {	
  	
  
	
         	
    “name”	
  :	
  “DMM.comラボ”,	
  
	
         	
    “address”	
  :	
  “渋⾕谷区恵⽐比寿4-­‐20-­‐3	
  恵⽐比寿ガーデンプレイスタワー21F”	
  
	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  }	
  
}	
  
21Copyright©2016 NTT corp. All Rights Reserved.
JSONB型と⼀一緒に使う
CREATE INDEX bigm_idx on jb using gin((col->>’desc’) gin_bigm_ops);
{	
  
    “Htle”	
  	
  	
  :	
  “MySQLとPostgreSQLと⽇日本語全⽂文検索索2”,	
  
    “date”	
  	
  	
  :	
  2016-­‐06-­‐09,	
  
    “desc”	
  	
  	
  :	
  “MySQLとPostgreSQLの⽇日本語全⽂文検索索を知っている⼈人向けの勉強会”,	
  
    “url”	
  	
  	
  	
  	
  	
  :	
  “hXps://groonga.doorkeeper.jp/events/41770”	
  
    “hashtag”	
  :	
  “#mypgd”,	
  
    “venue”	
  :	
  {	
  	
  
	
         	
    “name”	
  :	
  “DMM.comラボ”,	
  
	
         	
    “address”	
  :	
  “渋⾕谷区恵⽐比寿4-­‐20-­‐3	
  恵⽐比寿ガーデンプレイスタワー21F”	
  
	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  }	
  
}	
  
22Copyright©2016 NTT corp. All Rights Reserved.
{	
  
    “Htle”	
  	
  	
  :	
  “MySQLとPostgreSQLと⽇日本語全⽂文検索索2”,	
  
    “date”	
  	
  	
  :	
  2016-­‐06-­‐09,	
  
    “desc”	
  	
  	
  :	
  “MySQLとPostgreSQLの⽇日本語全⽂文検索索を知っている⼈人向けの勉強会”,	
  
    “url”	
  	
  	
  	
  	
  	
  :	
  “hXps://groonga.doorkeeper.jp/events/41770”	
  
    “hashtag”	
  :	
  “#mypgd”,	
  
    “venue”	
  :	
  {	
  	
  
	
         	
    “name”	
  :	
  “DMM.comラボ”,	
  
	
         	
    “address”	
  :	
  “渋⾕谷区恵⽐比寿4-­‐20-­‐3	
  恵⽐比寿ガーデンプレイスタワー21F”	
  
	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  }	
  
}	
  
JSONB型と⼀一緒に使う
WHERE  (col-‐‑‒>>ʼ’descʼ’)  LIKE  ʻ‘%⽇日本語全⽂文検索索%ʼ’;
CREATE  INDEX  bigm_̲idx  on  jb  using  gin((col-‐‑‒>>ʼ’descʼ’)  gin_̲bigm_̲ops);
23Copyright©2016 NTT corp. All Rights Reserved.
{	
  
    “Htle”	
  	
  	
  :	
  “MySQLとPostgreSQLと⽇日本語全⽂文検索索2”,	
  
    “date”	
  	
  	
  :	
  2016-­‐06-­‐09,	
  
    “desc”	
  	
  	
  :	
  “MySQLとPostgreSQLの⽇日本語全⽂文検索索を知っている⼈人向けの勉強会”,	
  
    “url”	
  	
  	
  	
  	
  	
  :	
  “hXps://groonga.doorkeeper.jp/events/41770”	
  
    “hashtag”	
  :	
  “#mypgd”,	
  
    “venue”	
  :	
  {	
  	
  
	
         	
    “name”	
  :	
  “DMM.comラボ”,	
  
	
         	
    “address”	
  :	
  “渋⾕谷区恵⽐比寿4-­‐20-­‐3	
  恵⽐比寿ガーデンプレイスタワー21F”	
  
	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  }	
  
}	
  
JSONB型と⼀一緒に使う
CREATE  INDEX  bigm_̲idx  on  jb  using  gin((col-‐‑‒>ʼ’venueʼ’-‐‑‒>>ʼ’addressʼ’)  
gin_̲bigm_̲ops);
24Copyright©2016 NTT corp. All Rights Reserved.
{	
  
    “Htle”	
  	
  	
  :	
  “MySQLとPostgreSQLと⽇日本語全⽂文検索索2”,	
  
    “date”	
  	
  	
  :	
  2016-­‐06-­‐09,	
  
    “desc”	
  	
  	
  :	
  “MySQLとPostgreSQLの⽇日本語全⽂文検索索を知っている⼈人向けの勉強会”,	
  
    “url”	
  	
  	
  	
  	
  	
  :	
  “hXps://groonga.doorkeeper.jp/events/41770”	
  
    “hashtag”	
  :	
  “#mypgd”,	
  
    “venue”	
  :	
  {	
  	
  
	
         	
    “name”	
  :	
  “DMM.comラボ”,	
  
	
         	
    “address”	
  :	
  “渋⾕谷区恵⽐比寿4-­‐20-­‐3	
  恵⽐比寿ガーデンプレイスタワー21F”	
  
	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  }	
  
}	
  
JSONB型と⼀一緒に使う
WHERE  (col-‐‑‒>ʼ’venueʼ’-‐‑‒>>ʼ’addressʼ’)  LIKE  ʻ‘%渋⾕谷%ʼ’;
CREATE  INDEX  bigm_̲idx  on  jb  using  gin((col-‐‑‒>ʼ’venueʼ’-‐‑‒>>ʼ’addressʼ’)  
gin_̲bigm_̲ops);
25Copyright©2016 NTT corp. All Rights Reserved.
1.  pg_̲bigmの特徴
•  9.4以降降がおすすめ
•  レプリケーション対応
•  得意/苦⼿手な全⽂文検索索
2.  関連するパラメータ・オプション
•  FASTUPDATEオプション
•  各種チューニングパラメータ
3.  便便利利なTIPS
•  likequery()関数
•  JSONBと⼀一緒に使う
まとめ
26Copyright©2016 NTT corp. All Rights Reserved.
ご清聴ありがとうございました

More Related Content

What's hot

Vacuum徹底解説
Vacuum徹底解説Vacuum徹底解説
Vacuum徹底解説
Masahiko Sawada
 
PostgreSQLでスケールアウト
PostgreSQLでスケールアウトPostgreSQLでスケールアウト
PostgreSQLでスケールアウト
Masahiko Sawada
 
pg_bigm(ピージー・バイグラム)を用いた全文検索のしくみ(後編)
pg_bigm(ピージー・バイグラム)を用いた全文検索のしくみ(後編)pg_bigm(ピージー・バイグラム)を用いた全文検索のしくみ(後編)
pg_bigm(ピージー・バイグラム)を用いた全文検索のしくみ(後編)
Masahiko Sawada
 
オンライン物理バックアップの排他モードと非排他モードについて(第15回PostgreSQLアンカンファレンス@オンライン 発表資料)
オンライン物理バックアップの排他モードと非排他モードについて(第15回PostgreSQLアンカンファレンス@オンライン 発表資料)オンライン物理バックアップの排他モードと非排他モードについて(第15回PostgreSQLアンカンファレンス@オンライン 発表資料)
オンライン物理バックアップの排他モードと非排他モードについて(第15回PostgreSQLアンカンファレンス@オンライン 発表資料)
NTT DATA Technology & Innovation
 
PostgreSQLの統計情報について(第26回PostgreSQLアンカンファレンス@オンライン 発表資料)
PostgreSQLの統計情報について(第26回PostgreSQLアンカンファレンス@オンライン 発表資料)PostgreSQLの統計情報について(第26回PostgreSQLアンカンファレンス@オンライン 発表資料)
PostgreSQLの統計情報について(第26回PostgreSQLアンカンファレンス@オンライン 発表資料)
NTT DATA Technology & Innovation
 
PostgreSQL: XID周回問題に潜む別の問題
PostgreSQL: XID周回問題に潜む別の問題PostgreSQL: XID周回問題に潜む別の問題
PostgreSQL: XID周回問題に潜む別の問題
NTT DATA OSS Professional Services
 
PostgreSQLのfull_page_writesについて(第24回PostgreSQLアンカンファレンス@オンライン 発表資料)
PostgreSQLのfull_page_writesについて(第24回PostgreSQLアンカンファレンス@オンライン 発表資料)PostgreSQLのfull_page_writesについて(第24回PostgreSQLアンカンファレンス@オンライン 発表資料)
PostgreSQLのfull_page_writesについて(第24回PostgreSQLアンカンファレンス@オンライン 発表資料)
NTT DATA Technology & Innovation
 
統計情報のリセットによるautovacuumへの影響について(第39回PostgreSQLアンカンファレンス@オンライン 発表資料)
統計情報のリセットによるautovacuumへの影響について(第39回PostgreSQLアンカンファレンス@オンライン 発表資料)統計情報のリセットによるautovacuumへの影響について(第39回PostgreSQLアンカンファレンス@オンライン 発表資料)
統計情報のリセットによるautovacuumへの影響について(第39回PostgreSQLアンカンファレンス@オンライン 発表資料)
NTT DATA Technology & Innovation
 
PostgreSQLモニタリング機能の現状とこれから(Open Developers Conference 2020 Online 発表資料)
PostgreSQLモニタリング機能の現状とこれから(Open Developers Conference 2020 Online 発表資料)PostgreSQLモニタリング機能の現状とこれから(Open Developers Conference 2020 Online 発表資料)
PostgreSQLモニタリング機能の現状とこれから(Open Developers Conference 2020 Online 発表資料)
NTT DATA Technology & Innovation
 
PostgreSQLモニタリングの基本とNTTデータが追加したモニタリング新機能(Open Source Conference 2021 Online F...
PostgreSQLモニタリングの基本とNTTデータが追加したモニタリング新機能(Open Source Conference 2021 Online F...PostgreSQLモニタリングの基本とNTTデータが追加したモニタリング新機能(Open Source Conference 2021 Online F...
PostgreSQLモニタリングの基本とNTTデータが追加したモニタリング新機能(Open Source Conference 2021 Online F...
NTT DATA Technology & Innovation
 
PGCon 2023 参加報告(第42回PostgreSQLアンカンファレンス@オンライン 発表資料)
PGCon 2023 参加報告(第42回PostgreSQLアンカンファレンス@オンライン 発表資料)PGCon 2023 参加報告(第42回PostgreSQLアンカンファレンス@オンライン 発表資料)
PGCon 2023 参加報告(第42回PostgreSQLアンカンファレンス@オンライン 発表資料)
NTT DATA Technology & Innovation
 
PostgreSQL 14 モニタリング新機能紹介(PostgreSQL カンファレンス #24、2021/06/08)
PostgreSQL 14 モニタリング新機能紹介(PostgreSQL カンファレンス #24、2021/06/08)PostgreSQL 14 モニタリング新機能紹介(PostgreSQL カンファレンス #24、2021/06/08)
PostgreSQL 14 モニタリング新機能紹介(PostgreSQL カンファレンス #24、2021/06/08)
NTT DATA Technology & Innovation
 
アーキテクチャから理解するPostgreSQLのレプリケーション
アーキテクチャから理解するPostgreSQLのレプリケーションアーキテクチャから理解するPostgreSQLのレプリケーション
アーキテクチャから理解するPostgreSQLのレプリケーション
Masahiko Sawada
 
あなたの知らないPostgreSQL監視の世界
あなたの知らないPostgreSQL監視の世界あなたの知らないPostgreSQL監視の世界
あなたの知らないPostgreSQL監視の世界
Yoshinori Nakanishi
 
まずやっとくPostgreSQLチューニング
まずやっとくPostgreSQLチューニングまずやっとくPostgreSQLチューニング
まずやっとくPostgreSQLチューニング
Kosuke Kida
 
PostgreSQL13でのpg_basebackupの改善について(第13回PostgreSQLアンカンファレンス@オンライン)
PostgreSQL13でのpg_basebackupの改善について(第13回PostgreSQLアンカンファレンス@オンライン)PostgreSQL13でのpg_basebackupの改善について(第13回PostgreSQLアンカンファレンス@オンライン)
PostgreSQL13でのpg_basebackupの改善について(第13回PostgreSQLアンカンファレンス@オンライン)
NTT DATA Technology & Innovation
 
PostgreSQL 15の新機能を徹底解説
PostgreSQL 15の新機能を徹底解説PostgreSQL 15の新機能を徹底解説
PostgreSQL 15の新機能を徹底解説
Masahiko Sawada
 
PostgreSQL初心者がパッチを提案してからコミットされるまで(第20回PostgreSQLアンカンファレンス@オンライン 発表資料)
PostgreSQL初心者がパッチを提案してからコミットされるまで(第20回PostgreSQLアンカンファレンス@オンライン 発表資料)PostgreSQL初心者がパッチを提案してからコミットされるまで(第20回PostgreSQLアンカンファレンス@オンライン 発表資料)
PostgreSQL初心者がパッチを提案してからコミットされるまで(第20回PostgreSQLアンカンファレンス@オンライン 発表資料)
NTT DATA Technology & Innovation
 
PostgreSQLバックアップの基本
PostgreSQLバックアップの基本PostgreSQLバックアップの基本
PostgreSQLバックアップの基本
Uptime Technologies LLC (JP)
 
PostgreSQL 12は ここがスゴイ! ~性能改善やpluggable storage engineなどの新機能を徹底解説~ (NTTデータ テクノ...
PostgreSQL 12は ここがスゴイ! ~性能改善やpluggable storage engineなどの新機能を徹底解説~ (NTTデータ テクノ...PostgreSQL 12は ここがスゴイ! ~性能改善やpluggable storage engineなどの新機能を徹底解説~ (NTTデータ テクノ...
PostgreSQL 12は ここがスゴイ! ~性能改善やpluggable storage engineなどの新機能を徹底解説~ (NTTデータ テクノ...
NTT DATA Technology & Innovation
 

What's hot (20)

Vacuum徹底解説
Vacuum徹底解説Vacuum徹底解説
Vacuum徹底解説
 
PostgreSQLでスケールアウト
PostgreSQLでスケールアウトPostgreSQLでスケールアウト
PostgreSQLでスケールアウト
 
pg_bigm(ピージー・バイグラム)を用いた全文検索のしくみ(後編)
pg_bigm(ピージー・バイグラム)を用いた全文検索のしくみ(後編)pg_bigm(ピージー・バイグラム)を用いた全文検索のしくみ(後編)
pg_bigm(ピージー・バイグラム)を用いた全文検索のしくみ(後編)
 
オンライン物理バックアップの排他モードと非排他モードについて(第15回PostgreSQLアンカンファレンス@オンライン 発表資料)
オンライン物理バックアップの排他モードと非排他モードについて(第15回PostgreSQLアンカンファレンス@オンライン 発表資料)オンライン物理バックアップの排他モードと非排他モードについて(第15回PostgreSQLアンカンファレンス@オンライン 発表資料)
オンライン物理バックアップの排他モードと非排他モードについて(第15回PostgreSQLアンカンファレンス@オンライン 発表資料)
 
PostgreSQLの統計情報について(第26回PostgreSQLアンカンファレンス@オンライン 発表資料)
PostgreSQLの統計情報について(第26回PostgreSQLアンカンファレンス@オンライン 発表資料)PostgreSQLの統計情報について(第26回PostgreSQLアンカンファレンス@オンライン 発表資料)
PostgreSQLの統計情報について(第26回PostgreSQLアンカンファレンス@オンライン 発表資料)
 
PostgreSQL: XID周回問題に潜む別の問題
PostgreSQL: XID周回問題に潜む別の問題PostgreSQL: XID周回問題に潜む別の問題
PostgreSQL: XID周回問題に潜む別の問題
 
PostgreSQLのfull_page_writesについて(第24回PostgreSQLアンカンファレンス@オンライン 発表資料)
PostgreSQLのfull_page_writesについて(第24回PostgreSQLアンカンファレンス@オンライン 発表資料)PostgreSQLのfull_page_writesについて(第24回PostgreSQLアンカンファレンス@オンライン 発表資料)
PostgreSQLのfull_page_writesについて(第24回PostgreSQLアンカンファレンス@オンライン 発表資料)
 
統計情報のリセットによるautovacuumへの影響について(第39回PostgreSQLアンカンファレンス@オンライン 発表資料)
統計情報のリセットによるautovacuumへの影響について(第39回PostgreSQLアンカンファレンス@オンライン 発表資料)統計情報のリセットによるautovacuumへの影響について(第39回PostgreSQLアンカンファレンス@オンライン 発表資料)
統計情報のリセットによるautovacuumへの影響について(第39回PostgreSQLアンカンファレンス@オンライン 発表資料)
 
PostgreSQLモニタリング機能の現状とこれから(Open Developers Conference 2020 Online 発表資料)
PostgreSQLモニタリング機能の現状とこれから(Open Developers Conference 2020 Online 発表資料)PostgreSQLモニタリング機能の現状とこれから(Open Developers Conference 2020 Online 発表資料)
PostgreSQLモニタリング機能の現状とこれから(Open Developers Conference 2020 Online 発表資料)
 
PostgreSQLモニタリングの基本とNTTデータが追加したモニタリング新機能(Open Source Conference 2021 Online F...
PostgreSQLモニタリングの基本とNTTデータが追加したモニタリング新機能(Open Source Conference 2021 Online F...PostgreSQLモニタリングの基本とNTTデータが追加したモニタリング新機能(Open Source Conference 2021 Online F...
PostgreSQLモニタリングの基本とNTTデータが追加したモニタリング新機能(Open Source Conference 2021 Online F...
 
PGCon 2023 参加報告(第42回PostgreSQLアンカンファレンス@オンライン 発表資料)
PGCon 2023 参加報告(第42回PostgreSQLアンカンファレンス@オンライン 発表資料)PGCon 2023 参加報告(第42回PostgreSQLアンカンファレンス@オンライン 発表資料)
PGCon 2023 参加報告(第42回PostgreSQLアンカンファレンス@オンライン 発表資料)
 
PostgreSQL 14 モニタリング新機能紹介(PostgreSQL カンファレンス #24、2021/06/08)
PostgreSQL 14 モニタリング新機能紹介(PostgreSQL カンファレンス #24、2021/06/08)PostgreSQL 14 モニタリング新機能紹介(PostgreSQL カンファレンス #24、2021/06/08)
PostgreSQL 14 モニタリング新機能紹介(PostgreSQL カンファレンス #24、2021/06/08)
 
アーキテクチャから理解するPostgreSQLのレプリケーション
アーキテクチャから理解するPostgreSQLのレプリケーションアーキテクチャから理解するPostgreSQLのレプリケーション
アーキテクチャから理解するPostgreSQLのレプリケーション
 
あなたの知らないPostgreSQL監視の世界
あなたの知らないPostgreSQL監視の世界あなたの知らないPostgreSQL監視の世界
あなたの知らないPostgreSQL監視の世界
 
まずやっとくPostgreSQLチューニング
まずやっとくPostgreSQLチューニングまずやっとくPostgreSQLチューニング
まずやっとくPostgreSQLチューニング
 
PostgreSQL13でのpg_basebackupの改善について(第13回PostgreSQLアンカンファレンス@オンライン)
PostgreSQL13でのpg_basebackupの改善について(第13回PostgreSQLアンカンファレンス@オンライン)PostgreSQL13でのpg_basebackupの改善について(第13回PostgreSQLアンカンファレンス@オンライン)
PostgreSQL13でのpg_basebackupの改善について(第13回PostgreSQLアンカンファレンス@オンライン)
 
PostgreSQL 15の新機能を徹底解説
PostgreSQL 15の新機能を徹底解説PostgreSQL 15の新機能を徹底解説
PostgreSQL 15の新機能を徹底解説
 
PostgreSQL初心者がパッチを提案してからコミットされるまで(第20回PostgreSQLアンカンファレンス@オンライン 発表資料)
PostgreSQL初心者がパッチを提案してからコミットされるまで(第20回PostgreSQLアンカンファレンス@オンライン 発表資料)PostgreSQL初心者がパッチを提案してからコミットされるまで(第20回PostgreSQLアンカンファレンス@オンライン 発表資料)
PostgreSQL初心者がパッチを提案してからコミットされるまで(第20回PostgreSQLアンカンファレンス@オンライン 発表資料)
 
PostgreSQLバックアップの基本
PostgreSQLバックアップの基本PostgreSQLバックアップの基本
PostgreSQLバックアップの基本
 
PostgreSQL 12は ここがスゴイ! ~性能改善やpluggable storage engineなどの新機能を徹底解説~ (NTTデータ テクノ...
PostgreSQL 12は ここがスゴイ! ~性能改善やpluggable storage engineなどの新機能を徹底解説~ (NTTデータ テクノ...PostgreSQL 12は ここがスゴイ! ~性能改善やpluggable storage engineなどの新機能を徹底解説~ (NTTデータ テクノ...
PostgreSQL 12は ここがスゴイ! ~性能改善やpluggable storage engineなどの新機能を徹底解説~ (NTTデータ テクノ...
 

Viewers also liked

OSC沖縄2014_JPUG資料
OSC沖縄2014_JPUG資料OSC沖縄2014_JPUG資料
OSC沖縄2014_JPUG資料kasaharatt
 
Les merveilleux bienfaits du bicarbonate de soude chemins de santé
Les merveilleux bienfaits du bicarbonate de soude   chemins de santéLes merveilleux bienfaits du bicarbonate de soude   chemins de santé
Les merveilleux bienfaits du bicarbonate de soude chemins de santé
alexajonese
 
【Jpug勉強会】10大ニュースで振り返るpg con2013
【Jpug勉強会】10大ニュースで振り返るpg con2013【Jpug勉強会】10大ニュースで振り返るpg con2013
【Jpug勉強会】10大ニュースで振り返るpg con2013
Daichi Egawa
 
Comprehensive Hadoop Security for the Enterprise | Part I | Compliance Ready ...
Comprehensive Hadoop Security for the Enterprise | Part I | Compliance Ready ...Comprehensive Hadoop Security for the Enterprise | Part I | Compliance Ready ...
Comprehensive Hadoop Security for the Enterprise | Part I | Compliance Ready ...
Cloudera, Inc.
 
PostgreSQL共有バッファと関連ツール
PostgreSQL共有バッファと関連ツールPostgreSQL共有バッファと関連ツール
PostgreSQL共有バッファと関連ツール
Masahiko Sawada
 
What’s new in 9.6, by PostgreSQL contributor
What’s new in 9.6, by PostgreSQL contributorWhat’s new in 9.6, by PostgreSQL contributor
What’s new in 9.6, by PostgreSQL contributor
Masahiko Sawada
 
PostgreSQL 9.5 CPU Read Scalability
PostgreSQL 9.5 CPU Read ScalabilityPostgreSQL 9.5 CPU Read Scalability
PostgreSQL 9.5 CPU Read Scalability
Ohyama Masanori
 
Database Security for PCI DSS
Database Security for PCI DSSDatabase Security for PCI DSS
Database Security for PCI DSS
Ohyama Masanori
 
外部データラッパによる PostgreSQL の拡張
外部データラッパによる PostgreSQL の拡張外部データラッパによる PostgreSQL の拡張
外部データラッパによる PostgreSQL の拡張
Shigeru Hanada
 
PostgreSQLコミュニティに飛び込もう
PostgreSQLコミュニティに飛び込もうPostgreSQLコミュニティに飛び込もう
PostgreSQLコミュニティに飛び込もう
NTT DATA OSS Professional Services
 
PostgreSQLセキュリティ総復習
PostgreSQLセキュリティ総復習PostgreSQLセキュリティ総復習
PostgreSQLセキュリティ総復習
Uptime Technologies LLC (JP)
 
PostgreSQL 9.5 新機能紹介
PostgreSQL 9.5 新機能紹介PostgreSQL 9.5 新機能紹介
PostgreSQL 9.5 新機能紹介
NTT DATA OSS Professional Services
 
PostgreSQL 9.6 新機能紹介
PostgreSQL 9.6 新機能紹介PostgreSQL 9.6 新機能紹介
PostgreSQL 9.6 新機能紹介
Masahiko Sawada
 
PostgreSQL Security. How Do We Think?
PostgreSQL Security. How Do We Think?PostgreSQL Security. How Do We Think?
PostgreSQL Security. How Do We Think?
Ohyama Masanori
 
明日から使えるPostgre sql運用管理テクニック(監視編)
明日から使えるPostgre sql運用管理テクニック(監視編)明日から使えるPostgre sql運用管理テクニック(監視編)
明日から使えるPostgre sql運用管理テクニック(監視編)kasaharatt
 
Project Rhino: Enhancing Data Protection for Hadoop
Project Rhino: Enhancing Data Protection for HadoopProject Rhino: Enhancing Data Protection for Hadoop
Project Rhino: Enhancing Data Protection for Hadoop
Cloudera, Inc.
 
PostgreSQLによるデータ分析ことはじめ
PostgreSQLによるデータ分析ことはじめPostgreSQLによるデータ分析ことはじめ
PostgreSQLによるデータ分析ことはじめ
Ohyama Masanori
 
Study: The Future of VR, AR and Self-Driving Cars
Study: The Future of VR, AR and Self-Driving CarsStudy: The Future of VR, AR and Self-Driving Cars
Study: The Future of VR, AR and Self-Driving Cars
LinkedIn
 
UX, ethnography and possibilities: for Libraries, Museums and Archives
UX, ethnography and possibilities: for Libraries, Museums and ArchivesUX, ethnography and possibilities: for Libraries, Museums and Archives
UX, ethnography and possibilities: for Libraries, Museums and Archives
Ned Potter
 
Designing Teams for Emerging Challenges
Designing Teams for Emerging ChallengesDesigning Teams for Emerging Challenges
Designing Teams for Emerging Challenges
Aaron Irizarry
 

Viewers also liked (20)

OSC沖縄2014_JPUG資料
OSC沖縄2014_JPUG資料OSC沖縄2014_JPUG資料
OSC沖縄2014_JPUG資料
 
Les merveilleux bienfaits du bicarbonate de soude chemins de santé
Les merveilleux bienfaits du bicarbonate de soude   chemins de santéLes merveilleux bienfaits du bicarbonate de soude   chemins de santé
Les merveilleux bienfaits du bicarbonate de soude chemins de santé
 
【Jpug勉強会】10大ニュースで振り返るpg con2013
【Jpug勉強会】10大ニュースで振り返るpg con2013【Jpug勉強会】10大ニュースで振り返るpg con2013
【Jpug勉強会】10大ニュースで振り返るpg con2013
 
Comprehensive Hadoop Security for the Enterprise | Part I | Compliance Ready ...
Comprehensive Hadoop Security for the Enterprise | Part I | Compliance Ready ...Comprehensive Hadoop Security for the Enterprise | Part I | Compliance Ready ...
Comprehensive Hadoop Security for the Enterprise | Part I | Compliance Ready ...
 
PostgreSQL共有バッファと関連ツール
PostgreSQL共有バッファと関連ツールPostgreSQL共有バッファと関連ツール
PostgreSQL共有バッファと関連ツール
 
What’s new in 9.6, by PostgreSQL contributor
What’s new in 9.6, by PostgreSQL contributorWhat’s new in 9.6, by PostgreSQL contributor
What’s new in 9.6, by PostgreSQL contributor
 
PostgreSQL 9.5 CPU Read Scalability
PostgreSQL 9.5 CPU Read ScalabilityPostgreSQL 9.5 CPU Read Scalability
PostgreSQL 9.5 CPU Read Scalability
 
Database Security for PCI DSS
Database Security for PCI DSSDatabase Security for PCI DSS
Database Security for PCI DSS
 
外部データラッパによる PostgreSQL の拡張
外部データラッパによる PostgreSQL の拡張外部データラッパによる PostgreSQL の拡張
外部データラッパによる PostgreSQL の拡張
 
PostgreSQLコミュニティに飛び込もう
PostgreSQLコミュニティに飛び込もうPostgreSQLコミュニティに飛び込もう
PostgreSQLコミュニティに飛び込もう
 
PostgreSQLセキュリティ総復習
PostgreSQLセキュリティ総復習PostgreSQLセキュリティ総復習
PostgreSQLセキュリティ総復習
 
PostgreSQL 9.5 新機能紹介
PostgreSQL 9.5 新機能紹介PostgreSQL 9.5 新機能紹介
PostgreSQL 9.5 新機能紹介
 
PostgreSQL 9.6 新機能紹介
PostgreSQL 9.6 新機能紹介PostgreSQL 9.6 新機能紹介
PostgreSQL 9.6 新機能紹介
 
PostgreSQL Security. How Do We Think?
PostgreSQL Security. How Do We Think?PostgreSQL Security. How Do We Think?
PostgreSQL Security. How Do We Think?
 
明日から使えるPostgre sql運用管理テクニック(監視編)
明日から使えるPostgre sql運用管理テクニック(監視編)明日から使えるPostgre sql運用管理テクニック(監視編)
明日から使えるPostgre sql運用管理テクニック(監視編)
 
Project Rhino: Enhancing Data Protection for Hadoop
Project Rhino: Enhancing Data Protection for HadoopProject Rhino: Enhancing Data Protection for Hadoop
Project Rhino: Enhancing Data Protection for Hadoop
 
PostgreSQLによるデータ分析ことはじめ
PostgreSQLによるデータ分析ことはじめPostgreSQLによるデータ分析ことはじめ
PostgreSQLによるデータ分析ことはじめ
 
Study: The Future of VR, AR and Self-Driving Cars
Study: The Future of VR, AR and Self-Driving CarsStudy: The Future of VR, AR and Self-Driving Cars
Study: The Future of VR, AR and Self-Driving Cars
 
UX, ethnography and possibilities: for Libraries, Museums and Archives
UX, ethnography and possibilities: for Libraries, Museums and ArchivesUX, ethnography and possibilities: for Libraries, Museums and Archives
UX, ethnography and possibilities: for Libraries, Museums and Archives
 
Designing Teams for Emerging Challenges
Designing Teams for Emerging ChallengesDesigning Teams for Emerging Challenges
Designing Teams for Emerging Challenges
 

Similar to pg_bigmを触り始めた人に伝えたいこと

20171103 pg con-jp-lt-plpgsql
20171103 pg con-jp-lt-plpgsql20171103 pg con-jp-lt-plpgsql
20171103 pg con-jp-lt-plpgsql
Toshi Harada
 
Big Data University Tokyo Meetup #6 (mlwith_spark) 配布資料
Big Data University Tokyo Meetup #6 (mlwith_spark) 配布資料Big Data University Tokyo Meetup #6 (mlwith_spark) 配布資料
Big Data University Tokyo Meetup #6 (mlwith_spark) 配布資料
Atsushi Tsuchiya
 
ROS 2 Client Library for E^2
ROS 2 Client Library for E^2ROS 2 Client Library for E^2
ROS 2 Client Library for E^2
Hideki Takase
 
20201113_PGconf_Japan_GPU_PostGIS
20201113_PGconf_Japan_GPU_PostGIS20201113_PGconf_Japan_GPU_PostGIS
20201113_PGconf_Japan_GPU_PostGIS
Kohei KaiGai
 
WordPress+JSON-LDで構造化するこれからのマークアップ WordFes Nagoya 2016
WordPress+JSON-LDで構造化するこれからのマークアップ WordFes Nagoya 2016WordPress+JSON-LDで構造化するこれからのマークアップ WordFes Nagoya 2016
WordPress+JSON-LDで構造化するこれからのマークアップ WordFes Nagoya 2016
Takami Kazuya
 
OpenStreetMap+MongoDBで地図情報を検索してみたい!
OpenStreetMap+MongoDBで地図情報を検索してみたい!OpenStreetMap+MongoDBで地図情報を検索してみたい!
OpenStreetMap+MongoDBで地図情報を検索してみたい!
Naruhiko Ogasawara
 
JSON Value into Power Automate
JSON Value into Power AutomateJSON Value into Power Automate
JSON Value into Power Automate
Tomoyuki Obi
 
ふぉとぶらり+LODAC -iPhoneアプリでのSPARQLでの活用事例-
ふぉとぶらり+LODAC -iPhoneアプリでのSPARQLでの活用事例-ふぉとぶらり+LODAC -iPhoneアプリでのSPARQLでの活用事例-
ふぉとぶらり+LODAC -iPhoneアプリでのSPARQLでの活用事例-
uedayou
 
[db tech showcase Tokyo 2016] B31: Spark Summit 2016@SFに参加してきたので最新事例などを紹介しつつデ...
[db tech showcase Tokyo 2016] B31: Spark Summit 2016@SFに参加してきたので最新事例などを紹介しつつデ...[db tech showcase Tokyo 2016] B31: Spark Summit 2016@SFに参加してきたので最新事例などを紹介しつつデ...
[db tech showcase Tokyo 2016] B31: Spark Summit 2016@SFに参加してきたので最新事例などを紹介しつつデ...
Insight Technology, Inc.
 
safety and security using Raspberry PI
safety and security using Raspberry PIsafety and security using Raspberry PI
safety and security using Raspberry PI
Kiyoshi Ogawa
 
Realm
RealmRealm
Realm
m ishizaki
 
Spring data-rest-and-spring-cloud-contract
Spring data-rest-and-spring-cloud-contractSpring data-rest-and-spring-cloud-contract
Spring data-rest-and-spring-cloud-contract
Takeshi Ogawa
 
Sphinx customization for OGP support at SphinxCon JP 2018
Sphinx customization for OGP support at SphinxCon JP 2018Sphinx customization for OGP support at SphinxCon JP 2018
Sphinx customization for OGP support at SphinxCon JP 2018
Takayuki Shimizukawa
 
2012 12 08_ngk_osm_a
2012 12 08_ngk_osm_a2012 12 08_ngk_osm_a
2012 12 08_ngk_osm_a
Tom Hayakawa
 
GiNZAで始める日本語依存構造解析 〜CaboCha, UDPipe, Stanford NLPとの比較〜
GiNZAで始める日本語依存構造解析 〜CaboCha, UDPipe, Stanford NLPとの比較〜GiNZAで始める日本語依存構造解析 〜CaboCha, UDPipe, Stanford NLPとの比較〜
GiNZAで始める日本語依存構造解析 〜CaboCha, UDPipe, Stanford NLPとの比較〜
Megagon Labs
 
OSC 2016 Hokkaido セミナー資料
OSC 2016 Hokkaido セミナー資料OSC 2016 Hokkaido セミナー資料
OSC 2016 Hokkaido セミナー資料
slankdev
 
20171106 ntt-tx-postgre sql-10
20171106 ntt-tx-postgre sql-1020171106 ntt-tx-postgre sql-10
20171106 ntt-tx-postgre sql-10
Toshi Harada
 
Java 9 and Future #jjug
Java 9 and Future #jjugJava 9 and Future #jjug
Java 9 and Future #jjug
Yuji Kubota
 
Osc2015 hokkaido postgresql-semi-stuructured-datatype
Osc2015 hokkaido postgresql-semi-stuructured-datatypeOsc2015 hokkaido postgresql-semi-stuructured-datatype
Osc2015 hokkaido postgresql-semi-stuructured-datatype
Toshi Harada
 
20191211_Apache_Arrow_Meetup_Tokyo
20191211_Apache_Arrow_Meetup_Tokyo20191211_Apache_Arrow_Meetup_Tokyo
20191211_Apache_Arrow_Meetup_Tokyo
Kohei KaiGai
 

Similar to pg_bigmを触り始めた人に伝えたいこと (20)

20171103 pg con-jp-lt-plpgsql
20171103 pg con-jp-lt-plpgsql20171103 pg con-jp-lt-plpgsql
20171103 pg con-jp-lt-plpgsql
 
Big Data University Tokyo Meetup #6 (mlwith_spark) 配布資料
Big Data University Tokyo Meetup #6 (mlwith_spark) 配布資料Big Data University Tokyo Meetup #6 (mlwith_spark) 配布資料
Big Data University Tokyo Meetup #6 (mlwith_spark) 配布資料
 
ROS 2 Client Library for E^2
ROS 2 Client Library for E^2ROS 2 Client Library for E^2
ROS 2 Client Library for E^2
 
20201113_PGconf_Japan_GPU_PostGIS
20201113_PGconf_Japan_GPU_PostGIS20201113_PGconf_Japan_GPU_PostGIS
20201113_PGconf_Japan_GPU_PostGIS
 
WordPress+JSON-LDで構造化するこれからのマークアップ WordFes Nagoya 2016
WordPress+JSON-LDで構造化するこれからのマークアップ WordFes Nagoya 2016WordPress+JSON-LDで構造化するこれからのマークアップ WordFes Nagoya 2016
WordPress+JSON-LDで構造化するこれからのマークアップ WordFes Nagoya 2016
 
OpenStreetMap+MongoDBで地図情報を検索してみたい!
OpenStreetMap+MongoDBで地図情報を検索してみたい!OpenStreetMap+MongoDBで地図情報を検索してみたい!
OpenStreetMap+MongoDBで地図情報を検索してみたい!
 
JSON Value into Power Automate
JSON Value into Power AutomateJSON Value into Power Automate
JSON Value into Power Automate
 
ふぉとぶらり+LODAC -iPhoneアプリでのSPARQLでの活用事例-
ふぉとぶらり+LODAC -iPhoneアプリでのSPARQLでの活用事例-ふぉとぶらり+LODAC -iPhoneアプリでのSPARQLでの活用事例-
ふぉとぶらり+LODAC -iPhoneアプリでのSPARQLでの活用事例-
 
[db tech showcase Tokyo 2016] B31: Spark Summit 2016@SFに参加してきたので最新事例などを紹介しつつデ...
[db tech showcase Tokyo 2016] B31: Spark Summit 2016@SFに参加してきたので最新事例などを紹介しつつデ...[db tech showcase Tokyo 2016] B31: Spark Summit 2016@SFに参加してきたので最新事例などを紹介しつつデ...
[db tech showcase Tokyo 2016] B31: Spark Summit 2016@SFに参加してきたので最新事例などを紹介しつつデ...
 
safety and security using Raspberry PI
safety and security using Raspberry PIsafety and security using Raspberry PI
safety and security using Raspberry PI
 
Realm
RealmRealm
Realm
 
Spring data-rest-and-spring-cloud-contract
Spring data-rest-and-spring-cloud-contractSpring data-rest-and-spring-cloud-contract
Spring data-rest-and-spring-cloud-contract
 
Sphinx customization for OGP support at SphinxCon JP 2018
Sphinx customization for OGP support at SphinxCon JP 2018Sphinx customization for OGP support at SphinxCon JP 2018
Sphinx customization for OGP support at SphinxCon JP 2018
 
2012 12 08_ngk_osm_a
2012 12 08_ngk_osm_a2012 12 08_ngk_osm_a
2012 12 08_ngk_osm_a
 
GiNZAで始める日本語依存構造解析 〜CaboCha, UDPipe, Stanford NLPとの比較〜
GiNZAで始める日本語依存構造解析 〜CaboCha, UDPipe, Stanford NLPとの比較〜GiNZAで始める日本語依存構造解析 〜CaboCha, UDPipe, Stanford NLPとの比較〜
GiNZAで始める日本語依存構造解析 〜CaboCha, UDPipe, Stanford NLPとの比較〜
 
OSC 2016 Hokkaido セミナー資料
OSC 2016 Hokkaido セミナー資料OSC 2016 Hokkaido セミナー資料
OSC 2016 Hokkaido セミナー資料
 
20171106 ntt-tx-postgre sql-10
20171106 ntt-tx-postgre sql-1020171106 ntt-tx-postgre sql-10
20171106 ntt-tx-postgre sql-10
 
Java 9 and Future #jjug
Java 9 and Future #jjugJava 9 and Future #jjug
Java 9 and Future #jjug
 
Osc2015 hokkaido postgresql-semi-stuructured-datatype
Osc2015 hokkaido postgresql-semi-stuructured-datatypeOsc2015 hokkaido postgresql-semi-stuructured-datatype
Osc2015 hokkaido postgresql-semi-stuructured-datatype
 
20191211_Apache_Arrow_Meetup_Tokyo
20191211_Apache_Arrow_Meetup_Tokyo20191211_Apache_Arrow_Meetup_Tokyo
20191211_Apache_Arrow_Meetup_Tokyo
 

More from Masahiko Sawada

行ロックと「LOG: process 12345 still waiting for ShareLock on transaction 710 afte...
行ロックと「LOG:  process 12345 still waiting for ShareLock on transaction 710 afte...行ロックと「LOG:  process 12345 still waiting for ShareLock on transaction 710 afte...
行ロックと「LOG: process 12345 still waiting for ShareLock on transaction 710 afte...
Masahiko Sawada
 
PostgreSQL 15 開発最新情報
PostgreSQL 15 開発最新情報PostgreSQL 15 開発最新情報
PostgreSQL 15 開発最新情報
Masahiko Sawada
 
Transparent Data Encryption in PostgreSQL
Transparent Data Encryption in PostgreSQLTransparent Data Encryption in PostgreSQL
Transparent Data Encryption in PostgreSQL
Masahiko Sawada
 
PostgreSQL 12の話
PostgreSQL 12の話PostgreSQL 12の話
PostgreSQL 12の話
Masahiko Sawada
 
OSS活動のやりがいとそれから得たもの - PostgreSQLコミュニティにて -
OSS活動のやりがいとそれから得たもの - PostgreSQLコミュニティにて -OSS活動のやりがいとそれから得たもの - PostgreSQLコミュニティにて -
OSS活動のやりがいとそれから得たもの - PostgreSQLコミュニティにて -
Masahiko Sawada
 
Transparent Data Encryption in PostgreSQL and Integration with Key Management...
Transparent Data Encryption in PostgreSQL and Integration with Key Management...Transparent Data Encryption in PostgreSQL and Integration with Key Management...
Transparent Data Encryption in PostgreSQL and Integration with Key Management...
Masahiko Sawada
 
Bloat and Fragmentation in PostgreSQL
Bloat and Fragmentation in PostgreSQLBloat and Fragmentation in PostgreSQL
Bloat and Fragmentation in PostgreSQL
Masahiko Sawada
 
Database Encryption and Key Management for PostgreSQL - Principles and Consid...
Database Encryption and Key Management for PostgreSQL - Principles and Consid...Database Encryption and Key Management for PostgreSQL - Principles and Consid...
Database Encryption and Key Management for PostgreSQL - Principles and Consid...
Masahiko Sawada
 
今秋リリース予定のPostgreSQL11を徹底解説
今秋リリース予定のPostgreSQL11を徹底解説今秋リリース予定のPostgreSQL11を徹底解説
今秋リリース予定のPostgreSQL11を徹底解説
Masahiko Sawada
 
Vacuum more efficient than ever
Vacuum more efficient than everVacuum more efficient than ever
Vacuum more efficient than ever
Masahiko Sawada
 
Vacuumとzheap
VacuumとzheapVacuumとzheap
Vacuumとzheap
Masahiko Sawada
 
Parallel Vacuum
Parallel VacuumParallel Vacuum
Parallel Vacuum
Masahiko Sawada
 
OSS 開発ってどうやっているの? ~ PostgreSQL の現場から~
OSS 開発ってどうやっているの? ~ PostgreSQL の現場から~OSS 開発ってどうやっているの? ~ PostgreSQL の現場から~
OSS 開発ってどうやっているの? ~ PostgreSQL の現場から~
Masahiko Sawada
 
PostgreSQL10徹底解説
PostgreSQL10徹底解説PostgreSQL10徹底解説
PostgreSQL10徹底解説
Masahiko Sawada
 
FDW-based Sharding Update and Future
FDW-based Sharding Update and FutureFDW-based Sharding Update and Future
FDW-based Sharding Update and Future
Masahiko Sawada
 
Introduction VAUUM, Freezing, XID wraparound
Introduction VAUUM, Freezing, XID wraparoundIntroduction VAUUM, Freezing, XID wraparound
Introduction VAUUM, Freezing, XID wraparound
Masahiko Sawada
 
XID周回問題に潜む別の問題
XID周回問題に潜む別の問題XID周回問題に潜む別の問題
XID周回問題に潜む別の問題
Masahiko Sawada
 
Inside vacuum - 第一回PostgreSQLプレ勉強会
Inside vacuum - 第一回PostgreSQLプレ勉強会Inside vacuum - 第一回PostgreSQLプレ勉強会
Inside vacuum - 第一回PostgreSQLプレ勉強会Masahiko Sawada
 
Bgworkerで簡易クラスタ管理
Bgworkerで簡易クラスタ管理Bgworkerで簡易クラスタ管理
Bgworkerで簡易クラスタ管理Masahiko Sawada
 
pg_bigm(ピージーバイグラム)を用いた全文検索のしくみ
pg_bigm(ピージーバイグラム)を用いた全文検索のしくみpg_bigm(ピージーバイグラム)を用いた全文検索のしくみ
pg_bigm(ピージーバイグラム)を用いた全文検索のしくみ
Masahiko Sawada
 

More from Masahiko Sawada (20)

行ロックと「LOG: process 12345 still waiting for ShareLock on transaction 710 afte...
行ロックと「LOG:  process 12345 still waiting for ShareLock on transaction 710 afte...行ロックと「LOG:  process 12345 still waiting for ShareLock on transaction 710 afte...
行ロックと「LOG: process 12345 still waiting for ShareLock on transaction 710 afte...
 
PostgreSQL 15 開発最新情報
PostgreSQL 15 開発最新情報PostgreSQL 15 開発最新情報
PostgreSQL 15 開発最新情報
 
Transparent Data Encryption in PostgreSQL
Transparent Data Encryption in PostgreSQLTransparent Data Encryption in PostgreSQL
Transparent Data Encryption in PostgreSQL
 
PostgreSQL 12の話
PostgreSQL 12の話PostgreSQL 12の話
PostgreSQL 12の話
 
OSS活動のやりがいとそれから得たもの - PostgreSQLコミュニティにて -
OSS活動のやりがいとそれから得たもの - PostgreSQLコミュニティにて -OSS活動のやりがいとそれから得たもの - PostgreSQLコミュニティにて -
OSS活動のやりがいとそれから得たもの - PostgreSQLコミュニティにて -
 
Transparent Data Encryption in PostgreSQL and Integration with Key Management...
Transparent Data Encryption in PostgreSQL and Integration with Key Management...Transparent Data Encryption in PostgreSQL and Integration with Key Management...
Transparent Data Encryption in PostgreSQL and Integration with Key Management...
 
Bloat and Fragmentation in PostgreSQL
Bloat and Fragmentation in PostgreSQLBloat and Fragmentation in PostgreSQL
Bloat and Fragmentation in PostgreSQL
 
Database Encryption and Key Management for PostgreSQL - Principles and Consid...
Database Encryption and Key Management for PostgreSQL - Principles and Consid...Database Encryption and Key Management for PostgreSQL - Principles and Consid...
Database Encryption and Key Management for PostgreSQL - Principles and Consid...
 
今秋リリース予定のPostgreSQL11を徹底解説
今秋リリース予定のPostgreSQL11を徹底解説今秋リリース予定のPostgreSQL11を徹底解説
今秋リリース予定のPostgreSQL11を徹底解説
 
Vacuum more efficient than ever
Vacuum more efficient than everVacuum more efficient than ever
Vacuum more efficient than ever
 
Vacuumとzheap
VacuumとzheapVacuumとzheap
Vacuumとzheap
 
Parallel Vacuum
Parallel VacuumParallel Vacuum
Parallel Vacuum
 
OSS 開発ってどうやっているの? ~ PostgreSQL の現場から~
OSS 開発ってどうやっているの? ~ PostgreSQL の現場から~OSS 開発ってどうやっているの? ~ PostgreSQL の現場から~
OSS 開発ってどうやっているの? ~ PostgreSQL の現場から~
 
PostgreSQL10徹底解説
PostgreSQL10徹底解説PostgreSQL10徹底解説
PostgreSQL10徹底解説
 
FDW-based Sharding Update and Future
FDW-based Sharding Update and FutureFDW-based Sharding Update and Future
FDW-based Sharding Update and Future
 
Introduction VAUUM, Freezing, XID wraparound
Introduction VAUUM, Freezing, XID wraparoundIntroduction VAUUM, Freezing, XID wraparound
Introduction VAUUM, Freezing, XID wraparound
 
XID周回問題に潜む別の問題
XID周回問題に潜む別の問題XID周回問題に潜む別の問題
XID周回問題に潜む別の問題
 
Inside vacuum - 第一回PostgreSQLプレ勉強会
Inside vacuum - 第一回PostgreSQLプレ勉強会Inside vacuum - 第一回PostgreSQLプレ勉強会
Inside vacuum - 第一回PostgreSQLプレ勉強会
 
Bgworkerで簡易クラスタ管理
Bgworkerで簡易クラスタ管理Bgworkerで簡易クラスタ管理
Bgworkerで簡易クラスタ管理
 
pg_bigm(ピージーバイグラム)を用いた全文検索のしくみ
pg_bigm(ピージーバイグラム)を用いた全文検索のしくみpg_bigm(ピージーバイグラム)を用いた全文検索のしくみ
pg_bigm(ピージーバイグラム)を用いた全文検索のしくみ
 

Recently uploaded

LoRaWAN 4チャンネル電流センサー・コンバーター CS01-LB 日本語マニュアル
LoRaWAN 4チャンネル電流センサー・コンバーター CS01-LB 日本語マニュアルLoRaWAN 4チャンネル電流センサー・コンバーター CS01-LB 日本語マニュアル
LoRaWAN 4チャンネル電流センサー・コンバーター CS01-LB 日本語マニュアル
CRI Japan, Inc.
 
ReonHata_便利の副作用に気づかせるための発想支援手法の評価---行為の増減の提示による気づきへの影響---
ReonHata_便利の副作用に気づかせるための発想支援手法の評価---行為の増減の提示による気づきへの影響---ReonHata_便利の副作用に気づかせるための発想支援手法の評価---行為の増減の提示による気づきへの影響---
ReonHata_便利の副作用に気づかせるための発想支援手法の評価---行為の増減の提示による気づきへの影響---
Matsushita Laboratory
 
論文紹介:Deep Learning-Based Human Pose Estimation: A Survey
論文紹介:Deep Learning-Based Human Pose Estimation: A Survey論文紹介:Deep Learning-Based Human Pose Estimation: A Survey
論文紹介:Deep Learning-Based Human Pose Estimation: A Survey
Toru Tamaki
 
JSAI_類似画像マッチングによる器への印象付与手法の妥当性検証_ver.3_高橋りさ
JSAI_類似画像マッチングによる器への印象付与手法の妥当性検証_ver.3_高橋りさJSAI_類似画像マッチングによる器への印象付与手法の妥当性検証_ver.3_高橋りさ
JSAI_類似画像マッチングによる器への印象付与手法の妥当性検証_ver.3_高橋りさ
0207sukipio
 
キンドリル ネットワークアセスメントサービスご紹介 今のネットワーク環境は大丈夫? 調査〜対策までご支援します
キンドリル ネットワークアセスメントサービスご紹介 今のネットワーク環境は大丈夫? 調査〜対策までご支援しますキンドリル ネットワークアセスメントサービスご紹介 今のネットワーク環境は大丈夫? 調査〜対策までご支援します
キンドリル ネットワークアセスメントサービスご紹介 今のネットワーク環境は大丈夫? 調査〜対策までご支援します
Takayuki Nakayama
 
Generating Automatic Feedback on UI Mockups with Large Language Models
Generating Automatic Feedback on UI Mockups with Large Language ModelsGenerating Automatic Feedback on UI Mockups with Large Language Models
Generating Automatic Feedback on UI Mockups with Large Language Models
harmonylab
 
This is the company presentation material of RIZAP Technologies, Inc.
This is the company presentation material of RIZAP Technologies, Inc.This is the company presentation material of RIZAP Technologies, Inc.
This is the company presentation material of RIZAP Technologies, Inc.
chiefujita1
 
遺伝的アルゴリズムと知識蒸留による大規模言語モデル(LLM)の学習とハイパーパラメータ最適化
遺伝的アルゴリズムと知識蒸留による大規模言語モデル(LLM)の学習とハイパーパラメータ最適化遺伝的アルゴリズムと知識蒸留による大規模言語モデル(LLM)の学習とハイパーパラメータ最適化
遺伝的アルゴリズムと知識蒸留による大規模言語モデル(LLM)の学習とハイパーパラメータ最適化
t m
 

Recently uploaded (8)

LoRaWAN 4チャンネル電流センサー・コンバーター CS01-LB 日本語マニュアル
LoRaWAN 4チャンネル電流センサー・コンバーター CS01-LB 日本語マニュアルLoRaWAN 4チャンネル電流センサー・コンバーター CS01-LB 日本語マニュアル
LoRaWAN 4チャンネル電流センサー・コンバーター CS01-LB 日本語マニュアル
 
ReonHata_便利の副作用に気づかせるための発想支援手法の評価---行為の増減の提示による気づきへの影響---
ReonHata_便利の副作用に気づかせるための発想支援手法の評価---行為の増減の提示による気づきへの影響---ReonHata_便利の副作用に気づかせるための発想支援手法の評価---行為の増減の提示による気づきへの影響---
ReonHata_便利の副作用に気づかせるための発想支援手法の評価---行為の増減の提示による気づきへの影響---
 
論文紹介:Deep Learning-Based Human Pose Estimation: A Survey
論文紹介:Deep Learning-Based Human Pose Estimation: A Survey論文紹介:Deep Learning-Based Human Pose Estimation: A Survey
論文紹介:Deep Learning-Based Human Pose Estimation: A Survey
 
JSAI_類似画像マッチングによる器への印象付与手法の妥当性検証_ver.3_高橋りさ
JSAI_類似画像マッチングによる器への印象付与手法の妥当性検証_ver.3_高橋りさJSAI_類似画像マッチングによる器への印象付与手法の妥当性検証_ver.3_高橋りさ
JSAI_類似画像マッチングによる器への印象付与手法の妥当性検証_ver.3_高橋りさ
 
キンドリル ネットワークアセスメントサービスご紹介 今のネットワーク環境は大丈夫? 調査〜対策までご支援します
キンドリル ネットワークアセスメントサービスご紹介 今のネットワーク環境は大丈夫? 調査〜対策までご支援しますキンドリル ネットワークアセスメントサービスご紹介 今のネットワーク環境は大丈夫? 調査〜対策までご支援します
キンドリル ネットワークアセスメントサービスご紹介 今のネットワーク環境は大丈夫? 調査〜対策までご支援します
 
Generating Automatic Feedback on UI Mockups with Large Language Models
Generating Automatic Feedback on UI Mockups with Large Language ModelsGenerating Automatic Feedback on UI Mockups with Large Language Models
Generating Automatic Feedback on UI Mockups with Large Language Models
 
This is the company presentation material of RIZAP Technologies, Inc.
This is the company presentation material of RIZAP Technologies, Inc.This is the company presentation material of RIZAP Technologies, Inc.
This is the company presentation material of RIZAP Technologies, Inc.
 
遺伝的アルゴリズムと知識蒸留による大規模言語モデル(LLM)の学習とハイパーパラメータ最適化
遺伝的アルゴリズムと知識蒸留による大規模言語モデル(LLM)の学習とハイパーパラメータ最適化遺伝的アルゴリズムと知識蒸留による大規模言語モデル(LLM)の学習とハイパーパラメータ最適化
遺伝的アルゴリズムと知識蒸留による大規模言語モデル(LLM)の学習とハイパーパラメータ最適化
 

pg_bigmを触り始めた人に伝えたいこと

  • 1. Copyright©2016 NTT corp. All Rights Reserved. pg_̲bigmをさわり始めた⼈人に 伝えたいこと 2016/6/9 NTT  OSSセンタ 澤⽥田  雅彦 @MySQLとPostgreSQLと⽇日本語全⽂文検索索2
  • 2. 2Copyright©2016 NTT corp. All Rights Reserved. Ø 澤⽥田  雅彦(さわだ  まさひこ) Ø @sawada_̲masahiko Ø PostgreSQLサポート Ø PostgreSQL本体機能の開発、パッチレビュー Ø REINDEX  SCHEMA Ø Freeze  Map Ø マルチ同期レプリケーション Ø 先々週PGCon@Ottawaに⾏行行きました
  • 3. 3Copyright©2016 NTT corp. All Rights Reserved. http://www.slideshare.net/hadoopxnttdata/postgresqlpgbigm-‐‑‒ mysqlpostgresql 前回の資料料
  • 4. 4Copyright©2016 NTT corp. All Rights Reserved. 1.  pg_̲bigmの特徴 2.  関連するパラメータ、オプション 3.  便便利利なTIPS ⽬目次
  • 5. 5Copyright©2016 NTT corp. All Rights Reserved. pg_̲bigmの特徴
  • 6. 6Copyright©2016 NTT corp. All Rights Reserved. N-‐‑‒gram?形態素解析? 東京都で全⽂文検索索 •  東京 •  京都 •  都で •  で全 •  全⽂文 •  ⽂文検 •  検索索 •  東京都 •  で •  全⽂文検索索 N-‐‑‒gram (2-‐‑‒gram) 形態素解析
  • 7. 7Copyright©2016 NTT corp. All Rights Reserved. N-‐‑‒gram?形態素解析? 東京都で全⽂文検索索 •  東京 •  京都 •  都で •  で全 •  全⽂文 •  ⽂文検 •  検索索 •  東京都 •  で •  全⽂文検索索 •  東京都 •  で •  全⽂文 •  検索索 N-‐‑‒gram (2-‐‑‒gram) 形態素解析 形態素解析
  • 8. 8Copyright©2016 NTT corp. All Rights Reserved. レプリケーション構成でも使えます マスタ スタンバイ クライアント レプリケーシ ョン 参照・更更新 参照 (全⽂文検索索)
  • 9. 9Copyright©2016 NTT corp. All Rights Reserved. PostgreSQL9.4以降降がおすすめ (前回資料料より) http://www.slideshare.net/hadoopxnttdata/postgresqlpgbigm-mysqlpostgresql
  • 10. 10Copyright©2016 NTT corp. All Rights Reserved. • 得意な全⽂文検索索 • 1⽂文字、2⽂文字検索索 •  例例えば、「東京」、「春」で検索索する場合 • 苦⼿手な全⽂文検索索 • 検索索対象データの⽂文字の”種類”が少ない •  例例えば、ユーザID(AB0001)を全⽂文検索索、英⽂文を全⽂文検索索 •  英⽂文”のみ”の検索索には、pg_̲trgm、tsqueryが向いてい ます。 pg_̲bigmが得意/苦⼿手な全⽂文検索索
  • 11. 11Copyright©2016 NTT corp. All Rights Reserved. 関連するパラメータ、オプション  
  • 12. 12Copyright©2016 NTT corp. All Rights Reserved. =#  CREATE  INDEX  hoge_idx      ON  hoge      USING  gin  (col  gin_bigm_ops);     =#  CREATE  INDEX  hoge_idx      ON  hoge      USING  gin  (col  gin_bigm_ops)    WITH  (FASTUPDATE  =  on/off);   インデックスを作成する
  • 13. 13Copyright©2016 NTT corp. All Rights Reserved. FASTUPDATE   オプション 検索索 更更新 ON △   (劣化する可能性あり) ○ OFF ○ × FASTUPDATEオプションとは? •  GINインデックスの(弱点である)更更新を⾼高速化するオ プション •  デフォルトはON •  オンラインでON/OFFの変更更が可能
  • 14. 14Copyright©2016 NTT corp. All Rights Reserved. • work_̲mem •  増やすと検索索性能に効く • maintenance_̲work_̲mem •  増やすとインデックス構築性能(更更新ではない)に効く • gin_̲pending_̲list_̲limit(9.5~∼) •  FASTUPDATEオプションをONにしているときのみ利利⽤用可能。 •  増やすと更更新性能に効く。ただし、副作⽤用として検索索性能が 落落ちる。 全⽂文検索索に関連する設定パラメータ
  • 15. 15Copyright©2016 NTT corp. All Rights Reserved. 便便利利なTIPS
  • 16. 16Copyright©2016 NTT corp. All Rights Reserved.       SELECT  *  FROM  hoge   WHERE  col  LIKE  ‘%全⽂文検索索%’;       アンダースコア(_)      :    任意の⼀一⽂文字   パーセント(%)      :    0⽂文字以上の並び   ※上記の⽂文字を検索索したいときはバックスラッシュ()でエスケープする 全⽂文検索索クエリを書く
  • 17. 17Copyright©2016 NTT corp. All Rights Reserved. WHERE  col  LIKE  likequery(ʻ‘pg_̲bigmで検索索ʼ’); || WHERE  col  LIKE  ʻ‘%pg_̲bigmで検索索%ʼ’; likequery()を使う
  • 18. 18Copyright©2016 NTT corp. All Rights Reserved. =#  CREATE  TABLE  jb  (col  jsonb);   =#  INSERT  INTO  jb  VALUES    (‘{“title”  :  “全⽂文検索索勉強会”}’);   =#  SELECT  *  FROM  jb;                              col   -­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐    {"title":  "全⽂文検索索勉強会"}   (1  row) PostgreSQLのJSONB型
  • 19. 19Copyright©2016 NTT corp. All Rights Reserved. JSONB型と⼀一緒に使う {       “Htle”      :  “MySQLとPostgreSQLと⽇日本語全⽂文検索索2”,       “date”      :  2016-­‐06-­‐09,       “desc”      :  “MySQLとPostgreSQLの⽇日本語全⽂文検索索を知っている⼈人向けの勉強会”,       “url”            :  “hXps://groonga.doorkeeper.jp/events/41770”       “hashtag”  :  “#mypgd”,       “venue”  :  {                “name”  :  “DMM.comラボ”,              “address”  :  “渋⾕谷区恵⽐比寿4-­‐20-­‐3  恵⽐比寿ガーデンプレイスタワー21F”                        }   }  
  • 20. 20Copyright©2016 NTT corp. All Rights Reserved. JSONB型と⼀一緒に使う CREATE INDEX jb_idx on jb using gin(col); {       “Htle”      :  “MySQLとPostgreSQLと⽇日本語全⽂文検索索2”,       “date”      :  2016-­‐06-­‐09,       “desc”      :  “MySQLとPostgreSQLの⽇日本語全⽂文検索索を知っている⼈人向けの勉強会”,       “url”            :  “hXps://groonga.doorkeeper.jp/events/41770”       “hashtag”  :  “#mypgd”,       “venue”  :  {                “name”  :  “DMM.comラボ”,              “address”  :  “渋⾕谷区恵⽐比寿4-­‐20-­‐3  恵⽐比寿ガーデンプレイスタワー21F”                        }   }  
  • 21. 21Copyright©2016 NTT corp. All Rights Reserved. JSONB型と⼀一緒に使う CREATE INDEX bigm_idx on jb using gin((col->>’desc’) gin_bigm_ops); {       “Htle”      :  “MySQLとPostgreSQLと⽇日本語全⽂文検索索2”,       “date”      :  2016-­‐06-­‐09,       “desc”      :  “MySQLとPostgreSQLの⽇日本語全⽂文検索索を知っている⼈人向けの勉強会”,       “url”            :  “hXps://groonga.doorkeeper.jp/events/41770”       “hashtag”  :  “#mypgd”,       “venue”  :  {                “name”  :  “DMM.comラボ”,              “address”  :  “渋⾕谷区恵⽐比寿4-­‐20-­‐3  恵⽐比寿ガーデンプレイスタワー21F”                        }   }  
  • 22. 22Copyright©2016 NTT corp. All Rights Reserved. {       “Htle”      :  “MySQLとPostgreSQLと⽇日本語全⽂文検索索2”,       “date”      :  2016-­‐06-­‐09,       “desc”      :  “MySQLとPostgreSQLの⽇日本語全⽂文検索索を知っている⼈人向けの勉強会”,       “url”            :  “hXps://groonga.doorkeeper.jp/events/41770”       “hashtag”  :  “#mypgd”,       “venue”  :  {                “name”  :  “DMM.comラボ”,              “address”  :  “渋⾕谷区恵⽐比寿4-­‐20-­‐3  恵⽐比寿ガーデンプレイスタワー21F”                        }   }   JSONB型と⼀一緒に使う WHERE  (col-‐‑‒>>ʼ’descʼ’)  LIKE  ʻ‘%⽇日本語全⽂文検索索%ʼ’; CREATE  INDEX  bigm_̲idx  on  jb  using  gin((col-‐‑‒>>ʼ’descʼ’)  gin_̲bigm_̲ops);
  • 23. 23Copyright©2016 NTT corp. All Rights Reserved. {       “Htle”      :  “MySQLとPostgreSQLと⽇日本語全⽂文検索索2”,       “date”      :  2016-­‐06-­‐09,       “desc”      :  “MySQLとPostgreSQLの⽇日本語全⽂文検索索を知っている⼈人向けの勉強会”,       “url”            :  “hXps://groonga.doorkeeper.jp/events/41770”       “hashtag”  :  “#mypgd”,       “venue”  :  {                “name”  :  “DMM.comラボ”,              “address”  :  “渋⾕谷区恵⽐比寿4-­‐20-­‐3  恵⽐比寿ガーデンプレイスタワー21F”                        }   }   JSONB型と⼀一緒に使う CREATE  INDEX  bigm_̲idx  on  jb  using  gin((col-‐‑‒>ʼ’venueʼ’-‐‑‒>>ʼ’addressʼ’)   gin_̲bigm_̲ops);
  • 24. 24Copyright©2016 NTT corp. All Rights Reserved. {       “Htle”      :  “MySQLとPostgreSQLと⽇日本語全⽂文検索索2”,       “date”      :  2016-­‐06-­‐09,       “desc”      :  “MySQLとPostgreSQLの⽇日本語全⽂文検索索を知っている⼈人向けの勉強会”,       “url”            :  “hXps://groonga.doorkeeper.jp/events/41770”       “hashtag”  :  “#mypgd”,       “venue”  :  {                “name”  :  “DMM.comラボ”,              “address”  :  “渋⾕谷区恵⽐比寿4-­‐20-­‐3  恵⽐比寿ガーデンプレイスタワー21F”                        }   }   JSONB型と⼀一緒に使う WHERE  (col-‐‑‒>ʼ’venueʼ’-‐‑‒>>ʼ’addressʼ’)  LIKE  ʻ‘%渋⾕谷%ʼ’; CREATE  INDEX  bigm_̲idx  on  jb  using  gin((col-‐‑‒>ʼ’venueʼ’-‐‑‒>>ʼ’addressʼ’)   gin_̲bigm_̲ops);
  • 25. 25Copyright©2016 NTT corp. All Rights Reserved. 1.  pg_̲bigmの特徴 •  9.4以降降がおすすめ •  レプリケーション対応 •  得意/苦⼿手な全⽂文検索索 2.  関連するパラメータ・オプション •  FASTUPDATEオプション •  各種チューニングパラメータ 3.  便便利利なTIPS •  likequery()関数 •  JSONBと⼀一緒に使う まとめ
  • 26. 26Copyright©2016 NTT corp. All Rights Reserved. ご清聴ありがとうございました