Skip to content

Commit e66e4e8

Browse files
authored
first update (#4526)
1 parent 53d5140 commit e66e4e8

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

_partials/_timescaledb-gucs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
| `enable_tiered_reads` | `BOOLEAN` | `true` | Enable reading of tiered data by including a foreign table representing the data in the object storage into the query plan |
6868
| `enable_transparent_decompression` | `BOOLEAN` | `true` | Enable transparent decompression when querying hypertable |
6969
| `enable_tss_callbacks` | `BOOLEAN` | `true` | Enable ts_stat_statements callbacks |
70-
| `enable_uuid_compression` | `BOOLEAN` | `false` | Enable uuid compression |
70+
| `enable_uuid_compression` | `BOOLEAN` | `true` | Enable uuid compression |
7171
| `enable_vectorized_aggregation` | `BOOLEAN` | `true` | Enable vectorized aggregation for compressed data |
7272
| `last_tuned` | `STRING` | `NULL` | records last time timescaledb-tune ran |
7373
| `last_tuned_version` | `STRING` | `NULL` | version of timescaledb-tune used to tune |

api/hypertable/create_table.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -89,26 +89,22 @@ arguments specific to $TIMESCALE_DB.
8989
<tab label='Postgres 17 and lower'>
9090

9191
```sql
92-
-- For optimal compression on the ID column, first enable UUIDv7 compression
93-
SET enable_uuid_compression=true;
94-
-- Then create your table
92+
-- UUIDv7 compression is enabled by default
9593
CREATE TABLE events (
9694
id uuid PRIMARY KEY DEFAULT generate_uuidv7(),
9795
payload jsonb
98-
) WITH (tsdb.hypertable, tsdb.partition_column = 'id');
96+
) WITH (tsdb.hypertable, tsdb.partition_column = 'id');
9997
```
10098
</tab>
10199

102100
<tab label='Postgres v18'>
103101

104102
```sql
105-
-- For optimal compression on the ID column, first enable UUIDv7 compression
106-
SET enable_uuid_compression=true;
107-
-- Then create your table
103+
-- UUIDv7 compression is enabled by default
108104
CREATE TABLE events (
109105
id uuid PRIMARY KEY DEFAULT uuidv7(),
110106
payload jsonb
111-
) WITH (tsdb.hypertable, tsdb.partition_column = 'id');
107+
) WITH (tsdb.hypertable, tsdb.partition_column = 'id');
112108
```
113109

114110
</tab>

0 commit comments

Comments
 (0)