File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
articles/postgresql/hyperscale Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -339,16 +339,16 @@ particularly the IOPS metric maxing out.
339
339
340
340
Tips:
341
341
342
- 1 . If your data is naturally ordered, such as in a time series, use PostgreSQL
342
+ - If your data is naturally ordered, such as in a time series, use PostgreSQL
343
343
table partitioning. See [ this
344
344
guide] ( https://docs.citusdata.com/en/stable/use_cases/timeseries.html ) to learn
345
345
how to partition distributed tables in Hyperscale (Citus).
346
346
347
- 2 . Remove unused indices. Index maintenance causes I/O amplification during
347
+ - Remove unused indices. Index maintenance causes I/O amplification during
348
348
ingestion. To find which indices are unused, use [ this
349
349
query] ( howto-useful-diagnostic-queries.md#identifying-unused-indices ) .
350
350
351
- 3 . If possible, avoid indexing randomized data. For instance, some UUID
351
+ - If possible, avoid indexing randomized data. For instance, some UUID
352
352
generation algorithms follow no order. Indexing such a value causes a lot
353
353
overhead. Try a bigint sequence instead, or monotonically increasing UUIDs.
354
354
You can’t perform that action at this time.
0 commit comments