Skip to content

Commit

Permalink
add flags to speed up create index
Browse files Browse the repository at this point in the history
Signed-off-by: Xin Li <xin.li@hedera.com>
  • Loading branch information
xin-hedera committed Jan 27, 2022
1 parent 56aaf0a commit 97321be
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/database.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,16 @@ The following configuration needs to be applied to the database instance to impr

```
checkpoint_timeout = 30m
maintenance_work_mem = 2GB
max_parallel_maintenance_workers = 4
max_wal_size = 512GB
temp_file_limit = 2147483647kB
```

Note: once the data is restored, revert the values back for normal operation.
Note:
- Not all flags are available in managed database services. For example, `max_parallel_maintenance_workers` is not
available in Google Cloud SQL.
- Once the data is restored, revert the values back for normal operation.

### Restore

Expand Down

0 comments on commit 97321be

Please sign in to comment.