CODEX_ADK/BACKEND/Codex.Dal
Svrnty a24f87a0d3 perf: Add database indexes and optimize queries for MVP
Performance improvements for local development:
- Add indexes: Agents.Name, Conversations.Title, AgentExecutions.CompletedAt, ConversationMessages.CreatedAt
- Remove redundant ConversationMessages index (covered by composite)
- Add .Take() limit to SendMessage context query to prevent fetching excessive history
- Downgrade Microsoft.Extensions.Http from 9.0.10 to 8.0.1 for .NET 8 compatibility

All query handlers already had .AsNoTracking() for read operations.

Impact: Faster search/filter operations even with 10-20 agents, prevents N+1 on long conversations.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-26 23:30:53 -04:00
..
Entities Initial commit: CODEX_ADK monorepo 2025-10-26 23:12:32 -04:00
Enums Initial commit: CODEX_ADK monorepo 2025-10-26 23:12:32 -04:00
Migrations perf: Add database indexes and optimize queries for MVP 2025-10-26 23:30:53 -04:00
QueryProviders Initial commit: CODEX_ADK monorepo 2025-10-26 23:12:32 -04:00
Services Initial commit: CODEX_ADK monorepo 2025-10-26 23:12:32 -04:00
Codex.Dal.csproj perf: Add database indexes and optimize queries for MVP 2025-10-26 23:30:53 -04:00
CodexDbContext.cs perf: Add database indexes and optimize queries for MVP 2025-10-26 23:30:53 -04:00
DalModule.cs Initial commit: CODEX_ADK monorepo 2025-10-26 23:12:32 -04:00
DefaultQueryableProvider.cs Initial commit: CODEX_ADK monorepo 2025-10-26 23:12:32 -04:00
DesignTimeDbContextFactory.cs Initial commit: CODEX_ADK monorepo 2025-10-26 23:12:32 -04:00
InMemoryQueryableHandlerService.cs Initial commit: CODEX_ADK monorepo 2025-10-26 23:12:32 -04:00
IQueryableProviderOverride.cs Initial commit: CODEX_ADK monorepo 2025-10-26 23:12:32 -04:00
ServiceCollectionExtensions.cs Initial commit: CODEX_ADK monorepo 2025-10-26 23:12:32 -04:00