Skip to content

Expand Lite database config to 28 sys.databases columns#163

Merged
erikdarlingdata merged 1 commit intodevfrom
feature/database-config-columns
Feb 19, 2026
Merged

Expand Lite database config to 28 sys.databases columns#163
erikdarlingdata merged 1 commit intodevfrom
feature/database-config-columns

Conversation

@erikdarlingdata
Copy link
Owner

Summary

  • Expands the database_config collector from 9 to 28 sys.databases columns (Lite: Database configuration tab missing many useful sys.databases columns #142)
  • Dynamic SQL builds the SELECT list based on SQL Server version — three columns are version-gated: is_accelerated_database_recovery_on (2019+), is_memory_optimized_enabled (2019+), is_optimized_locking_on (2025+)
  • Azure SQL DB always gets 2019+ columns (engine edition check)
  • Schema version bumped to v11 (drop/recreate database_config table)

Test plan

  • dotnet build -c Debug — 0 warnings, 0 errors
  • Launched Lite, connected to sql2022 — database_config => 11 rows in 147ms
  • Verified all 28 columns populate in the Server Config DataGrid
  • Test against sql2016/sql2017 (pre-2019 servers should get NULL for ADR/memory optimized columns)
  • Test against sql2025 (should include optimized locking column)

Closes #142

🤖 Generated with Claude Code

Collector now reports state, collation, RCSI, snapshot isolation, stats settings,
encryption, security, CDC, broker, and three version-gated columns (ADR 2019+,
memory optimized 2019+, optimized locking 2025+). Dynamic SQL builds the SELECT
list based on SQL Server version; Azure SQL DB always gets 2019+ columns.

Schema version bumped to v11 (drop/recreate database_config table).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@erikdarlingdata erikdarlingdata merged commit e567b76 into dev Feb 19, 2026
3 checks passed
@erikdarlingdata erikdarlingdata deleted the feature/database-config-columns branch February 19, 2026 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant