-
Notifications
You must be signed in to change notification settings - Fork 0
Add database indexing best practices guide #22
Copy link
Copy link
Open
Labels
area: databaseDatabase and ORMDatabase and ORMarea: docsDocumentationDocumentationdocumentationImprovements or additions to documentationImprovements or additions to documentationpriority: mediumShould haveShould havesize: mediumHalf day effortHalf day effort
Milestone
Metadata
Metadata
Assignees
Labels
area: databaseDatabase and ORMDatabase and ORMarea: docsDocumentationDocumentationdocumentationImprovements or additions to documentationImprovements or additions to documentationpriority: mediumShould haveShould havesize: mediumHalf day effortHalf day effort
Type
Fields
Give feedbackNo fields configured for issues without a type.
Description
Create a guide covering database indexing best practices within the Nerva/Drizzle ecosystem. Index design is one of the most impactful performance decisions in any API, and the framework should guide users toward good defaults.
Why
The pipeline generates Drizzle schemas with basic indexes, but users need guidance on when and how to add composite indexes, partial indexes, and covering indexes. Poor indexing is the #1 cause of slow APIs in production.
Acceptance Criteria