Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit784170a

Browse files
committed
more fixes to README.md
1 parentb23712b commit784170a

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

‎README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -58,16 +58,16 @@ More interesting features are yet to come. Stay tuned!
5858

5959
* HASH and RANGE partitioning schemes;
6060
* Partitioning by expression and composite key;
61-
* Both automatic and manual partition management;
61+
* Both automatic and manual[partition management](#post-creation-partition-management);
6262
* Support for integer, floating point, date and other types, including domains;
6363
* Effective query planning for partitioned tables (JOINs, subselects etc);
6464
*`RuntimeAppend` &`RuntimeMergeAppend` custom plan nodes to pick partitions at runtime;
65-
*`PartitionFilter`: an efficient drop-in replacement for INSERT triggers;
66-
*`PartitionRouter` for cross-partition UPDATE queries (instead of triggers);
65+
*[`PartitionFilter`](#custom-plan-nodes): an efficient drop-in replacement for INSERT triggers;
66+
*[`PartitionRouter`](#custom-plan-nodes) for cross-partition UPDATE queries (instead of triggers);
6767
* Automatic partition creation for new INSERTed data (only for RANGE partitioning);
6868
* Improved`COPY FROM` statement that is able to insert rows directly into partitions;
69-
* User-defined callbacks for partition creation event handling;
70-
* Non-blocking concurrent table partitioning;
69+
*[User-defined callbacks](#additional-parameters) for partition creation event handling;
70+
* Non-blocking[concurrent table partitioning](#data-migration);
7171
* FDW support (foreign partitions);
7272
* Various[GUC](#disabling-pg_pathman) toggles and configurable settings.
7373

@@ -182,17 +182,17 @@ Stops a background worker performing a concurrent partitioning task. Note: worke
182182

183183
###Triggers
184184

185-
Triggers are no longer required nor for INSERTs, neither for cross-partition UPDATEs. However, user-supplied triggers*are supported*.
185+
Triggers are no longer required nor for INSERTs, neither for cross-partition UPDATEs. However, user-supplied triggers*are supported*:
186186

187-
Each inserted row results in execution of BEFORE/AFTER INSERT trigger functions of a**corresponding partition**.
188-
Each updated row results in execution of BEFORE/AFTER UPDATE trigger functions of a**corresponding partition**.
189-
Each moved row (cross-partition update) results in execution of BEFORE UPDATE + BEFORE/AFTER DELETE + BEFORE/AFTER INSERT trigger functions of**corresponding partitions**.
187+
*Each**inserted row** results in execution of`BEFORE/AFTER INSERT` trigger functions of a*corresponding partition*.
188+
*Each**updated row** results in execution of`BEFORE/AFTER UPDATE` trigger functions of a*corresponding partition*.
189+
*Each**moved row** (cross-partition update) results in execution of`BEFORE UPDATE` +`BEFORE/AFTER DELETE` +`BEFORE/AFTER INSERT` trigger functions of*corresponding partitions*.
190190

191191
###Post-creation partition management
192192
```plpgsql
193193
replace_hash_partition(old_partition REGCLASS,
194194
new_partition REGCLASS,
195-
lock_parentBOOL DEFAULT TRUE)
195+
lock_parentBOOLEAN DEFAULT TRUE)
196196
```
197197
Replaces specified partition of HASH-partitioned table with another table. The`lock_parent` parameter will prevent any INSERT/UPDATE/ALTER TABLE queries to parent table.
198198

@@ -201,7 +201,7 @@ Replaces specified partition of HASH-partitioned table with another table. The `
201201
split_range_partition(partition_relid REGCLASS,
202202
split_value ANYELEMENT,
203203
partition_nameTEXT DEFAULTNULL,
204-
tablespaceTEXT DEFAULTNULL)
204+
tablespaceTEXT DEFAULTNULL)
205205
```
206206
Split RANGE`partition` in two by`split_value`. Partition creation callback is invoked for a new partition if available.
207207

@@ -434,7 +434,7 @@ SELECT generate_series(1, 10), random();
434434
(4 rows)
435435
```
436436

437-
`PartitionRouter` is another*proxy node* used in conjunction with`PartitionFilter` to enable cross-partition UPDATEs (i.e. whenyouupdateany columnofapartitioning key). Since this node has a great deal of side effects (ordinary`UPDATE` becomes slower; cross-partition`UPDATE` is transformed into`DELETE + INSERT`), it is disabled by default. To enable it, refer to the list of[GUCs](#disabling-pg_pathman) below.
437+
`PartitionRouter` is another*proxy node* used in conjunction with`PartitionFilter` to enable cross-partition UPDATEs (i.e. when update of partitioning key requires that we move row to another partition). Since this node has a great deal of side effects (ordinary`UPDATE` becomes slower; cross-partition`UPDATE` is transformed into`DELETE + INSERT`), it is disabled by default. To enable it, refer to the list of[GUCs](#disabling-pg_pathman) below.
438438

439439
```plpgsql
440440
EXPLAIN (COSTS OFF)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp