Skip to content

Add database indexing in tables #45

@rkritika1508

Description

@rkritika1508

Describe the bug
Neither request_log nor validator_log tables have any indexes beyond the primary key. As data grows, queries filtering by request_id, status, or inserted_at will degrade. Add indexing in both the request_log and validator_log tables.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions