(device_id, time) can lead to significant performance improvement for
these types of queries.
One can call this function directly on individual s of a , but
using add_reorder_policy is often much more convenient.
Samples
Reorder a chunk on an index:Arguments
| Name | Type | Default | Required | Description |
|---|---|---|---|---|
chunk | REGCLASS | - | ✔ | Name of the to reorder. |
index | REGCLASS | - | ✖ | The name of the index (on either the or ) to order by. |
verbose | BOOLEAN | FALSE | ✖ | Setting to true displays messages about the progress of the reorder command. |