Skip to content

Make account lookup with auth-addr filter instant. #1628

@urtho

Description

@urtho

Problem

Queries for accounts with auth-addr are slow1.

Solution

  • Add optional partial index that speeds up the query for accounts with auth-addr
  • Modify the auth-addr filer query to make sure it includes the partial index for Postgres & CockroachDB (if enabled)

Footnotes

  1. This is a placeholder issue - Nodely is going to do PR for that soon, following tests on light-indexer and fnet

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions