Skip to content

Optimize DB Indexes for Claims #43

@dDevAhmed

Description

@dDevAhmed

📚 Overview

Improve database performance with proper indexing.


🎯 Objectives

  • Optimize claim queries
  • Improve leaderboard queries
  • Reduce scan time

🧠 Scope

Indexes to consider:

  • claims(created_at)
  • claims(author_wallet)
  • stakes(claim_id)
  • evidence(claim_id)

Benchmark before and after optimization.


✅ Acceptance Criteria

  • Query time improved
  • Index migration included
  • Benchmarks documented

⏳ Complexity

Medium

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions