回答編集履歴

3

加筆修正

2018/02/27 06:27

投稿

退会済みユーザー
test CHANGED
@@ -1,4 +1,6 @@
1
1
  実務でやったことがないのですが、
2
+
3
+ [14.4. データベースへのデータ投入](https://www.postgresql.jp/document/9.6/html/populate.html)
2
4
 
3
5
  [大量のデータを高速に投入するには | Let's Postgres](https://lets.postgresql.jp/documents/technical/bulkload/1)
4
6
 

2

加筆修正

2018/02/27 06:27

投稿

退会済みユーザー
test CHANGED
@@ -9,3 +9,9 @@
9
9
  許されるなら、インデックス削除してからINSERT文などを実行し、
10
10
 
11
11
  最後にインデックスを再生成。
12
+
13
+
14
+
15
+ [GitHub - ossc-db/pg_bulkload: High speed data loading utility for PostgreSQL](https://github.com/ossc-db/pg_bulkload)
16
+
17
+ pg_bulkloadってのも検討すると良いかも。

1

加筆修正

2018/02/27 06:06

投稿

退会済みユーザー
test CHANGED
@@ -3,3 +3,9 @@
3
3
  [大量のデータを高速に投入するには | Let's Postgres](https://lets.postgresql.jp/documents/technical/bulkload/1)
4
4
 
5
5
  は参考になりますでしょうか。
6
+
7
+
8
+
9
+ 許されるなら、インデックス削除してからINSERT文などを実行し、
10
+
11
+ 最後にインデックスを再生成。