micronaut-projects / micronaut-projects/micronaut-data

Introspect database schema and check indexes when searching

Open
#112 2 comments 1 reaction 0 assignees View on GitHub
status: under consideration type: enhancement
Dominant language
Java
Stars
482
Forks
229
Avg merge
1d 7h
Merged PRs (30d)
32

Description

Will be great if Micronaut will have information about the database indexes, and emit a warning(or maybe an error depending on configuration) in case there are some methods that do not use indexes for searching.

Or methods can have a special annotation, and only for these methods to check the indexes.

Contributor guide

Open the contributing guide

Research direction

The issue proposes database schema and index introspection, with warnings or configurable errors for methods that search without indexes, possibly limited to annotated methods. No files, tests, or entry points are named; first locate the repository’s query-generation and database metadata handling, then clarify the intended scope and completion criteria before implementing.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, sql
Domain
databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.