What does a SQL Server consultant do?
A SQL Server consultant diagnoses and fixes the database your applications and reports run on: slow queries, high CPU, blocking and deadlocks, tempdb and log growth, availability groups and backups. They also plan version upgrades, review licensing, and move SQL Server to Azure, AWS or PostgreSQL. DharmOps also stays on to support the database after the work is done.
How long is a SQL Server version supported?
Microsoft supports each SQL Server version for about ten years: around five years of mainstream support with cumulative updates, then about five years of extended support with security fixes only. After extended support ends, security updates are only available through paid Extended Security Updates. The exact dates for each version are on Microsoft's lifecycle pages.
What are SQL Server Extended Security Updates?
Extended Security Updates (ESU) are paid critical security fixes for a SQL Server version after its extended support has ended. They are bought for a year at a time, priced per core, and the price rises each year. They contain security fixes only, no bug fixes or new features. ESUs are included at no extra charge for SQL Server running on Azure virtual machines.
Why are queries slower after a SQL Server upgrade?
Usually because the database compatibility level was raised, which turns on a newer query optimizer and cardinality estimator. Most queries improve, but some pick worse plans. Microsoft's documented approach is to upgrade, keep the old compatibility level, capture a Query Store baseline, then raise the level and force the last good plan for any query that regresses.
How is SQL Server licensed?
Enterprise is licensed per core. Standard can be licensed per core or per server plus a client access licence (CAL) for each user or device. Core licences are sold in 2-core packs, with a minimum of four cores per physical processor or per virtual machine. Developer edition is free for development and test, and Express is free with limits on size and resources.
What is the difference between SQL Server Enterprise and Standard?
Enterprise costs several times more per core than Standard. Standard caps how many cores and how much memory SQL Server will use, and its Basic Availability Groups allow one database per group and two replicas. Enterprise removes those limits and adds features such as online index operations and readable secondary replicas. Many servers run Enterprise without using any of them.
How can we reduce SQL Server licensing costs?
Check which Enterprise features each server actually uses and move the rest to Standard. Match core counts to measured load after tuning, since every core removed is a licence saved. Run development and test on the free Developer edition. In the cloud, compare licence-included pricing with bringing your own licences. Consolidating instances only saves money if the new host doesn't need more cores.
What is parameter sniffing in SQL Server?
SQL Server builds an execution plan using the parameter values from the first call of a query or stored procedure, then reuses it. If those values were unusual, the cached plan can be very slow for everyone else. Fixes range from better indexes and query hints such as OPTIMIZE FOR or RECOMPILE to forcing a known good plan with Query Store. The right one depends on how often the query runs.
Why does the SQL Server transaction log keep growing?
The most common cause is a database in the full recovery model with no regular log backups, so the log can never be reused. Other causes are long-running or open transactions, an availability group replica or replication that has fallen behind, and large index rebuilds. Shrinking the file only treats the symptom. Finding what holds the log, shown in sys.databases as log_reuse_wait_desc, fixes it.
Should we move SQL Server to Azure SQL Managed Instance, Azure SQL Database or AWS?
Azure SQL Managed Instance keeps most instance-level features, such as SQL Agent and cross-database queries, so it suits lift-and-shift. Azure SQL Database is a single managed database and suits applications that don't depend on instance features. Amazon RDS for SQL Server is managed with some feature limits, and SQL Server on a VM in either cloud keeps full control. The diagnostic checks which features your databases depend on before you choose.
Should we migrate from SQL Server to PostgreSQL?
Sometimes. Licence savings are real, but most of the work is in what depends on the database: T-SQL stored procedures, SQL Agent jobs, SSIS packages, linked servers, reports, data type and collation differences, and rebuilt monitoring, backup and failover. We inventory those first, so the migration budget is set against the licence savings before you decide.
Can SQL Server be used for vector search?
Yes. Recent versions of SQL Server and Azure SQL include a native vector data type and functions such as VECTOR_DISTANCE, so embeddings can be stored and searched next to the rows they describe, with the same backups and security. Large vector workloads need planning for indexes, memory and the load they put on the primary.
How is SQL Server consulting priced?
Scope is quoted after the diagnostic, once we have looked at your instances, and before you commit. Cost depends on the number of instances and databases, data size, the version gap for upgrades, availability groups and hosting, whether a licensing review is included, compliance requirements and whether support continues afterward.
What happens after the work is done?
The same engineers stay on. They fix breaks, run planned cumulative updates and version upgrades, plan capacity and licences as load grows, and review queries and schema changes for new features. The runbooks and documentation stay current, so your database doesn't depend on one person.