Skip to content

Commit a76f22d

Browse files
authored
Merge pull request #10419 from AbelLykens/patch-2
[docs] Document use-native-sql=true for SQL migration step 2
2 parents 2047348 + f811805 commit a76f22d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/db_migration_guide.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,9 @@ This will mitigate the poor Postgres performance on kvdb.
127127

128128
This stage unlocks true SQL performance by restructuring data into relational tables. Migration is **per-subsystem** and **incremental**.
129129

130+
The migration steps are automatically applied when LND is restarted after step 1 was successfully completed and the config value db.use-native-sql=true is set.
131+
You will see log lines from the `SQLD` subsystem about the migration, such as `Starting migration of invoices from KV to SQL`.
132+
130133
### Subsystem Readiness
131134

132135
| Subsystem | Relational Backend | Migration Script | Status |

0 commit comments

Comments
 (0)