Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add identifier and owner columns indexes #130

Merged
merged 2 commits into from
May 9, 2024
Merged

Conversation

pshenmic
Copy link
Owner

@pshenmic pshenmic commented May 9, 2024

Issue

Platform explorer experience some perfomance issue after heavy load in the network. After investigating the queries, missing indexes on owner and identifier fields are missing in some tables.

Things done

  • Added identifier column SQL index on identities table
  • Added identifier column SQL index on documents table
  • Added owner column SQL index on state_transitions table
  • Added owner column SQL index on data_contracts table
  • Added owner column SQL index on documents table

Copy link

vercel bot commented May 9, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
platform-explorer-zham ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 9, 2024 0:42am

@pshenmic pshenmic merged commit 648996d into master May 9, 2024
6 checks passed
@pshenmic pshenmic deleted the fix/sql-indexes branch May 9, 2024 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant