Skip to content

Commit 5990a54

Browse files
committed
reference max_bulk_insert_wal_record_size: add
1 parent 5678eb4 commit 5990a54

File tree

6 files changed

+245
-3
lines changed

6 files changed

+245
-3
lines changed

_po/ja/reference/index.po

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -784,6 +784,16 @@ msgstr ""
784784
" * [`pgroonga.match_escalation_threshold`パラメーター][match-escalation-"
785785
"threshold]"
786786

787+
msgid ""
788+
" * [`pgroonga.max_bulk_insert_wal_record_size` parameter][max-bulk-insert-"
789+
"wal-record-size]"
790+
msgstr ""
791+
" * [`pgroonga.max_bulk_insert_wal_record_size`パラメーター][max-bulk-insert-"
792+
"wal-record-size]"
793+
794+
msgid " * Since 3.2.5."
795+
msgstr " * 3.2.5で追加。"
796+
787797
msgid " * [`pgroonga.max_wal_size` parameter][max-wal-size]"
788798
msgstr " * [`pgroonga.max_wal_size`パラメーター][max-wal-size]"
789799

@@ -1052,6 +1062,8 @@ msgid ""
10521062
"[log-rotate-threshold-size]:parameters/log-rotate-threshold-size.html\n"
10531063
"[log-type]:parameters/log-type.html\n"
10541064
"[match-escalation-threshold]:parameters/match-escalation-threshold.html\n"
1065+
"[max-bulk-insert-wal-record-size]:parameters/max-bulk-insert-wal-record-size."
1066+
"html\n"
10551067
"[max-wal-size]:parameters/max-wal-size.html\n"
10561068
"[query-log-path]:parameters/query-log-path.html\n"
10571069
"[query-log-rotate-threshold-size]:parameters/query-log-rotate-threshold-size."
Lines changed: 122 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,122 @@
1+
# Japanese translations for PACKAGE package.
2+
# Copyright (C) 2024 THE PACKAGE'S COPYRIGHT HOLDER
3+
# This file is distributed under the same license as the PACKAGE package.
4+
# FIRST AUTHOR <EMAIL@ADDRESS>, 2024.
5+
#
6+
msgid ""
7+
msgstr ""
8+
"Project-Id-Version: PACKAGE VERSION\n"
9+
"Report-Msgid-Bugs-To: \n"
10+
"PO-Revision-Date: 2024-12-09 14:50+0900\n"
11+
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
12+
"Language-Team: Japanese\n"
13+
"Language: ja\n"
14+
"MIME-Version: 1.0\n"
15+
"Content-Type: text/plain; charset=UTF-8\n"
16+
"Content-Transfer-Encoding: 8bit\n"
17+
"Plural-Forms: nplurals=; plural=;\n"
18+
19+
msgid ""
20+
"---\n"
21+
"title: \"pgroonga.max_bulk_insert_wal_record_size parameter\"\n"
22+
"upper_level: ../\n"
23+
"---"
24+
msgstr ""
25+
"---\n"
26+
"title: \"pgroonga.max_bulk_insert_wal_record_sizeパラメーター\"\n"
27+
"upper_level: ../\n"
28+
"---"
29+
30+
msgid "# `pgroonga.max_bulk_insert_wal_record_size` parameter"
31+
msgstr "# `pgroonga.max_bulk_insert_wal_record_size`パラメーター"
32+
33+
msgid "Since 3.2.5."
34+
msgstr "3.2.5で追加。"
35+
36+
msgid "## Summary"
37+
msgstr "## 概要"
38+
39+
msgid ""
40+
"`pgroonga.max_bulk_insert_wal_record_size` parameter controls the max custom "
41+
"WAL record size for PGroonga's bulk insert."
42+
msgstr ""
43+
"`pgroonga.max_bulk_insert_wal_record_size`パラメーターはPGroongaのバルクイン"
44+
"サート用のカスタムWALレコードの最大サイズを制御します。"
45+
46+
msgid ""
47+
"This is used only when [`pgroonga_wal_resource_manager` module][pgroonga-wal-"
48+
"resource-manager] is used."
49+
msgstr ""
50+
"このパラメーターは[`pgroonga_wal_resource_manager`モジュール][pgroonga-wal-"
51+
"resource-manager]を使っているときだけ使われます。"
52+
53+
msgid ""
54+
"This is a soft limit. So some WAL records may use more size than this size."
55+
msgstr ""
56+
"これはソフトリミットです。そのため、いくつかのWALレコードはここで指定した値以"
57+
"上のサイズになることがあります。"
58+
59+
msgid "## Syntax"
60+
msgstr "## 構文"
61+
62+
msgid "In SQL:"
63+
msgstr "SQLの場合:"
64+
65+
msgid ""
66+
"```sql\n"
67+
"SET pgroonga.max_bulk_insert_wal_record_size = size;\n"
68+
"```"
69+
msgstr ""
70+
71+
msgid "In `postgresql.conf`:"
72+
msgstr "`postgresql.conf`の場合:"
73+
74+
msgid ""
75+
"```text\n"
76+
"pgroonga.max_bulk_insert_wal_record_size = size\n"
77+
"```"
78+
msgstr ""
79+
80+
msgid ""
81+
"`size` is a size value. The default unit is KiB. You can change unit by "
82+
"specify suffix such as `MB` for MiB."
83+
msgstr ""
84+
"`size`はサイズです。デフォルトの単位はKiBです。サフィックスを指定することで単"
85+
"位を変更できます。たとえば、MiBを使いたい場合は`MB`を指定します。"
86+
87+
msgid "The default is `16MiB`."
88+
msgstr "デフォルトは`16MiB`です。"
89+
90+
msgid "You can disable this soft limit by specifying `0`."
91+
msgstr "`0`を指定するとこのソフトリミットを無効にできます。"
92+
93+
msgid "## Usage"
94+
msgstr "## 使い方"
95+
96+
msgid "Here is an example to specify 256 MiB:"
97+
msgstr "以下は256MiBを指定する例です。"
98+
99+
msgid ""
100+
"```text\n"
101+
"pgroonga.max_bulk_insert_wal_record_size = 256MB\n"
102+
"```"
103+
msgstr ""
104+
105+
msgid "## See also"
106+
msgstr "## 参考"
107+
108+
msgid ""
109+
" * [`pgroonga_wal_resource_manager` module][pgroonga-wal-resource-manager]"
110+
msgstr ""
111+
" * [`pgroonga_wal_resource_manager`モジュール][pgroonga-wal-resource-"
112+
"manager]"
113+
114+
msgid " * [Streaming replication][streaming-replication]"
115+
msgstr " * [ストリーミングレプリケーション][streaming-replication]"
116+
117+
msgid ""
118+
"[pgroonga-wal-resource-manager]:../modules/pgroonga-wal-resource-manager.html"
119+
msgstr ""
120+
121+
msgid "[streaming-replication]:../streaming-replication.html"
122+
msgstr ""

_po/ja/reference/parameters/max-wal-size.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ msgstr ""
66
"Content-Type: text/plain; charset=UTF-8\n"
77
"Content-Transfer-Encoding: 8bit\n"
88
"Plural-Forms: nplurals=1; plural=0;\n"
9-
"PO-Revision-Date: 2023-08-13 09:53+0900\n"
9+
"PO-Revision-Date: 2024-12-09 14:51+0900\n"
1010

1111
msgid ""
1212
"---\n"
@@ -102,7 +102,7 @@ msgid " * [`pgroonga_wal_applier` module][pgroonga-wal-applier]"
102102
msgstr " * [`pgroonga_wal_applier`モジュール][pgroonga-wal-applier]"
103103

104104
msgid " * [Streaming replication][streaming-replication]"
105-
msgstr " * [ストリーミングレプリケーション][streaming-replication]"
105+
msgstr " * [ストリーミングレプリケーション][streaming-replication]"
106106

107107
msgid "[pgroonga-wal-applier]:../modules/pgroonga-wal-applier.html"
108108
msgstr ""
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
---
2+
title: "pgroonga.max_bulk_insert_wal_record_sizeパラメーター"
3+
upper_level: ../
4+
---
5+
6+
# `pgroonga.max_bulk_insert_wal_record_size`パラメーター
7+
8+
3.2.5で追加。
9+
10+
## 概要
11+
12+
`pgroonga.max_bulk_insert_wal_record_size`パラメーターはPGroongaのバルクインサート用のカスタムWALレコードの最大サイズを制御します。
13+
14+
このパラメーターは[`pgroonga_wal_resource_manager`モジュール][pgroonga-wal-resource-manager]を使っているときだけ使われます。
15+
16+
これはソフトリミットです。そのため、いくつかのWALレコードはここで指定した値以上のサイズになることがあります。
17+
18+
## 構文
19+
20+
SQLの場合:
21+
22+
```sql
23+
SET pgroonga.max_bulk_insert_wal_record_size = size;
24+
```
25+
26+
`postgresql.conf`の場合:
27+
28+
```text
29+
pgroonga.max_bulk_insert_wal_record_size = size
30+
```
31+
32+
`size`はサイズです。デフォルトの単位はKiBです。サフィックスを指定することで単位を変更できます。たとえば、MiBを使いたい場合は`MB`を指定します。
33+
34+
デフォルトは`16MiB`です。
35+
36+
`0`を指定するとこのソフトリミットを無効にできます。
37+
38+
## 使い方
39+
40+
以下は256MiBを指定する例です。
41+
42+
```text
43+
pgroonga.max_bulk_insert_wal_record_size = 256MB
44+
```
45+
46+
## 参考
47+
48+
* [`pgroonga_wal_resource_manager`モジュール][pgroonga-wal-resource-manager]
49+
50+
* [ストリーミングレプリケーション][streaming-replication]
51+
52+
[pgroonga-wal-resource-manager]:../modules/pgroonga-wal-resource-manager.html
53+
54+
[streaming-replication]:../streaming-replication.html

ja/reference/parameters/max-wal-size.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ pgroonga.max_wal_size = 10MB
4545

4646
* [`pgroonga_wal_applier`モジュール][pgroonga-wal-applier]
4747

48-
* [ストリーミングレプリケーション][streaming-replication]
48+
* [ストリーミングレプリケーション][streaming-replication]
4949

5050
[pgroonga-wal-applier]:../modules/pgroonga-wal-applier.html
5151

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
---
2+
title: "pgroonga.max_bulk_insert_wal_record_size parameter"
3+
upper_level: ../
4+
---
5+
6+
# `pgroonga.max_bulk_insert_wal_record_size` parameter
7+
8+
Since 3.2.5.
9+
10+
## Summary
11+
12+
`pgroonga.max_bulk_insert_wal_record_size` parameter controls the max custom WAL record size for PGroonga's bulk insert.
13+
14+
This is used only when [`pgroonga_wal_resource_manager` module][pgroonga-wal-resource-manager] is used.
15+
16+
This is a soft limit. So some WAL records may use more size than this size.
17+
18+
## Syntax
19+
20+
In SQL:
21+
22+
```sql
23+
SET pgroonga.max_bulk_insert_wal_record_size = size;
24+
```
25+
26+
In `postgresql.conf`:
27+
28+
```text
29+
pgroonga.max_bulk_insert_wal_record_size = size
30+
```
31+
32+
`size` is a size value. The default unit is KiB. You can change unit by specify suffix such as `MB` for MiB.
33+
34+
The default is `16MiB`.
35+
36+
You can disable this soft limit by specifying `0`.
37+
38+
## Usage
39+
40+
Here is an example to specify 256 MiB:
41+
42+
```text
43+
pgroonga.max_bulk_insert_wal_record_size = 256MB
44+
```
45+
46+
## See also
47+
48+
* [`pgroonga_wal_resource_manager` module][pgroonga-wal-resource-manager]
49+
50+
* [Streaming replication][streaming-replication]
51+
52+
[pgroonga-wal-resource-manager]:../modules/pgroonga-wal-resource-manager.html
53+
54+
[streaming-replication]:../streaming-replication.html

0 commit comments

Comments
 (0)