Skip to content

Commit 839dfe2

Browse files
Update for automated indexing (#4230)
Co-authored-by: Iain Cox <[email protected]>
1 parent 1bdd4fd commit 839dfe2

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

use-timescale/schema-management/indexing.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,7 @@ is created on your data. If you want to manually create a time index, you can us
3333
CREATE INDEX ON conditions (time DESC);
3434
```
3535

36-
After you create a hypertable, you can specify an optional hash partition in addition to time. For example,
37-
`add_dimension('conditions', by_hash('location', 4))`. An additional index is created on the optional column
38-
and time. For example:
36+
You can also create an additional index on another column and time. For example:
3937

4038
```sql
4139
CREATE INDEX ON conditions (location, time DESC);
@@ -44,7 +42,7 @@ CREATE INDEX ON conditions (location, time DESC);
4442
For more information about the order to use when declaring indexes, see the
4543
[about indexing][about-index] section.
4644

47-
If you do not want to create these default indexes, you can set
45+
If you do not want to create default indexes, you can set
4846
`create_default_indexes` to `false` when you create a hypertable. For example:
4947

5048
```sql

0 commit comments

Comments
 (0)