lnd/sqldb/sqlc/queries
Andras Banki-Horvath 94e2724a34
sqldb+invoices: Optimize invoice fetching when the reference is only a hash
The current sqlc GetInvoice query experiences incremental slowdowns during
the migration of large invoice databases, primarily due to its complex
predicate set. For this specific use case, a streamlined GetInvoiceByHash
function provides a more efficient solution, maintaining near-constant
lookup times even with extensive table sizes.
2025-01-23 09:11:01 +01:00
..
amp_invoices.sql multi: add call to directly insert an AMP sub-invoice 2025-01-23 09:10:59 +01:00
invoice_events.sql sqldb: simplify and fixup the existing invoice store schema and queries 2024-03-01 10:08:07 +01:00
invoices.sql sqldb+invoices: Optimize invoice fetching when the reference is only a hash 2025-01-23 09:11:01 +01:00
migration.sql sqldb: add table to track custom SQL migrations 2025-01-23 09:10:59 +01:00