Database Support
Keep your databases running at their maximum potential and protect them to ensure your business continuity. We like to use C# to automate the maintenance and monitoring of SQL Server, MySQL, and Oracle databases.
SQL Server
MySQL
Oracle
C#
Backups
Indices
Jobs
Long Queries
Backups
Hardware failures happen; Imagine a faulty disk that leaves the database files corrupted. Human errors happen; Imagine forgetting a WHERE clause and updating or deleting all the records in a table. Using C# helps us automate the process of monitoring backups and identifying disks that are running low on free space to minimize data loss and downtime.
Indices
Using indices incorrectly can be counter-productive and result in degraded performance. Additionally, over time, they may become fragmented and increasingly inefficient. Using C# helps us automate the process of identifying indices that are negatively impacting performance and indices that would benefit from defragmentation.
Jobs
Jobs allow us to automate the execution of repetitive tasks such as checking database integrity, running a query, or shrinking database files, and perform those tasks on a schedule. Using C# helps us automate the process of monitoring jobs and sending notifications when there are issues or sending notifications about their status (running, stopped, etc.).
Long-Running Queries
In our experience, databases support a small, finite number of connections. These connections must be treated as precious resources that are protected from accidental misuse. Using C# helps us automate the process of monitoring for long-running queries that should be optimized to ensure database availability and scalability.
Example of a C# Worker Service
This worker service connects to SQL Server and Azure SQL databases to retrieve information about index fragmentation.
If the fragmentation is >= 30% and the index is partitioned...
If the fragmentation is >= 30% and the index is not partitioned...
If the fragmentation is >= 10% and the index is partitioned...
If the fragmentation is >= 10% and the index is not partitioned...
Let's Talk
Contact us today to discuss the database support you need.