Database estate management
It’s hard to look after databases you don’t know about. Here’s how to get a clear picture of your estate, whichever engines are in it.
The problem
Over time, an estate ends up in spreadsheets and people’s heads. Nobody’s quite sure which version each server runs, who owns a database or whether that old instance is still in use.
Recognise the symptoms
- An inventory spreadsheet that’s always out of date
- Unknown owners for some databases
- Surprises about which versions are still running
- Several engines tracked in several places
A practical approach
Register what you have
Add each instance and database, whichever engine it runs, to one list.
Record versions and reachability
Know what each one runs and whether you can currently connect to it.
Agree ownership
Make sure each database has a named owner, and that the information can’t quietly go stale.
Review it regularly
Use the inventory to plan upgrades and retire what nobody needs.
Database estate management by technology
SQL Server
Available: Reachability and health, database counts and state, with SQL Server’s monitoring alongside.
SQL Server’s own server and database catalogue views.
PostgreSQL
Available: Version, endpoint, connection counts, Object Search status, allocation, sessions and latency in Estate Overview.
pg_database and version().
MySQL
Available: Version, endpoint, connection counts, Object Search status, allocation, sessions and latency in Estate Overview.
information_schema.SCHEMATA and VERSION().
MariaDB
Available: Version, endpoint, connection counts, Object Search status, allocation, sessions and latency in Estate Overview.
information_schema.SCHEMATA and VERSION().
Oracle
Available: Version, endpoint, connection counts, Object Search status, allocation, sessions and latency in Estate Overview.
PRODUCT_COMPONENT_VERSION and your container’s service details.
SQLite
Available: Version, the file’s path on the Agent, Object Search status and file size in Estate Overview.
sqlite_version() and your own record of where files live.
What success looks like
One shared list of what you run, so that upgrades and audits start with facts.
The inventory only covers instances you’ve registered, through an agent that can reach them, so it won’t discover servers you don’t know about.