tupui / soroban-versioning

Tansu - Soroban Versioning
https://tansu.dev
Other
4 stars 3 forks source link

Refactor DB schema to use indexes #8

Closed tupui closed 3 months ago

tupui commented 4 months ago

Indexing a JSON table is not optimal, hence change the schema to have multiple columns and have an index.

See here for considerations https://www.postgresql.org/docs/current/indexes-bitmap-scans.html

tupui commented 4 months ago

Also update guide in the Stellar-doc to reflect that.

Double check that the order of topics is guaranteed

tupui commented 3 months ago

Done in 80c55cf1197d162832aa768679432bf8aeb2e9b3