October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsPC HealthRecommendedCrashes, freezes, slowdowns? Check your PC nowSpot repairable issues before they interrupt work.Check PCOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
World desk6 min

Which SQL Server Database Settings Can Improve Query Performance Safely?

SQL Server performance settings are workload-dependent. Learn how to measure before changing compatibility level, MAXDOP, or parallelism thresholds.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

There is no universally safe set of SQL Server settings that makes every workload faster. Start with query and plan evidence, identify the engine version and deployment platform, and change one relevant control at a time. Compatibility level, MAXDOP and cost threshold for parallelism can influence plan selection or execution, but their scope and availability differ—and some changes invalidate cached plans.

Start with evidence, version and platform

Before changing a setting, record the SQL Server release, database compatibility level and deployment type: for example, SQL Server on premises, SQL Server on an Azure virtual machine, or Azure SQL Database. Not every control exists in every service, and defaults vary. The same setting can also behave differently across workloads such as transactional processing, reporting and batch jobs.

Use Query Store, where available, to review query and plan history and establish a baseline. Check that it is enabled and that its capture and retention configuration gives you useful coverage. SQL Server 2022 enables Query Store by default for newly created SQL Server databases, but do not assume that default applies to an existing database, another SQL Server version or an Azure service. Microsoft’s Query Store documentation describes its role in performance diagnosis.

For each candidate change, compare relevant query plans and runtime measures before and after: duration, CPU, waits, concurrency, and whether the change helps the affected queries without harming others. Define a rollback path before rollout. Some database options and scoped configurations invalidate the affected database’s plan cache, which can trigger recompilations and temporarily affect performance. Microsoft’s guidance on Query Store and compatibility-level changes recommends collecting a baseline before testing a new compatibility level.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Elebase USB to USB C Adapter for iPhone 18 Pro Max,USBC Car Charger Adapter
  • Read Before You Buy — No Video Output: These adapters support charging and USB 2.0 data transfer, but cannot transmit video signals. Except for standard USB webcams (which use USB data only), they are not compatible with HDMI/DisplayPort cables, video-capable USB-C hubs, or docking stations with video output.
  • Convert USB-A Ports to USB-C: Designed to connect USB-C earphones, cables, flash drives, card readers, and other USB-C accessories to standard USB-A ports. Plug-and-play with no drivers or software required.
  • Aluminum Alloy Housing: Built with a sturdy aluminum alloy shell that aids in heat dissipation and protects against daily wear and scratches. Designed to maintain a stable and secure connection.
  • Compact & Travel-Friendly: The ultra-compact design allows the adapter to stay plugged into your device without blocking adjacent ports or adding bulk, reducing wear and tear on your original USB ports.
  • 12-Month Warranty: Backed by a 12-month manufacturer warranty for peace of mind. Designed to meet strict quality control standards for reliable everyday performance.

Which settings should you investigate?

Control Scope and effect When to investigate Main caution
Compatibility level Database-level gate for query-processor behavior that can affect plan selection. After an engine upgrade, when evaluating newer optimizer behavior or diagnosing plan changes. A database-wide change can affect many queries; baseline and review regressions first.
MAXDOP Can be set at query, database, server or Resource Governor workload-group scope; caps processors used for parallel plan execution. When parallel execution, CPU use, waits or workload concurrency point to a parallelism question. There is no safe universal number; scope precedence and platform matter.
Cost threshold for parallelism Server-level advanced setting that influences when SQL Server considers a parallel plan based on estimated plan cost. When evidence suggests the current parallel-plan selection warrants investigation. The default 5 is a starting point, not a recommendation; unavailable to configure in Azure SQL Database.
Query Store hints Query-scoped way to influence a plan in supported scenarios, without editing application SQL. When a small number of identified queries regress and a database-wide change is unsuitable. Diagnose and test the query first; a hint is not a substitute for understanding the regression.

Compatibility level: separate the engine upgrade from optimizer changes

Upgrading the SQL Server engine does not require immediately raising a database’s compatibility level. Compatibility level controls exposure to query-processor changes, so raising it can change plans and query behavior. A safer sequence is to upgrade the engine while retaining the existing database compatibility level, gather a Query Store baseline, then test the newer level and inspect the affected plans and runtime behavior. See Microsoft’s compatibility-level upgrade workflow.

  1. Confirm the current engine version, database compatibility level and Query Store status.
  2. Capture representative workload history and identify important queries and their plans.
  3. Test the newer compatibility level in a controlled environment or rollout, then compare results across a representative business cycle.
  4. Investigate regressions query by query. If only a few queries are affected, assess targeted remediation rather than assuming the whole database must remain on the older level.

Microsoft recommends testing the application at the latest compatibility level before using Query Store hints. Where changing the database-wide level is unsuitable, supported query-level optimizer compatibility hints may help address an individual query. Consult Query Store hints documentation and the query-hints reference for applicability and syntax.

Rank #2
Anker USB-C Hub, 5-in-1 USB Hub for Laptops, 4K HDMI Multiport Adapter
  • 5-in-1 USB-C Hub: Experience comprehensive connectivity featuring a Power Delivery input, two USB-A 2.0 ports, a USB-A 3.0 port, and an HDMI port. (Note: The USB-C power delivery input port is only for connecting an external wall charger to power your laptop and cannot power peripheral devices.)
  • 90W Pass-Through Charging: Achieve optimal charging with 90W pass-through power to your laptop, supported by a total input of 100W, with the hub reserving 10W for operational efficiency. (Note: Wall charger not included.)
  • Quick Data Transfers: Accelerate your productivity with rapid data transfers using a high-speed 5Gbps USB 3.0 port and two 480Mbps USB 2.0 ports.
  • 4K HDMI Display: Enhance your visual experience with a hub capable of delivering 4K resolution at 30Hz in both mirror and extend modes. Please note that this hub is compatible with MacBook (macOS 12 and newer), Windows 10 and 11, ChromeOS, and laptops equipped with DP Alt Mode and Power Delivery. Note: This device is not compatible with Linux.
  • What You Get: Anker USB-C Hub (5-in-1, 4K HDMI), welcome guide, 18-month warranty, and our friendly customer service.

MAXDOP: choose scope before choosing a value

MAXDOP limits processors used for parallel plan execution; it does not guarantee that a query will become faster. Microsoft describes the limit as applying per task, not as a total worker limit for the query: one request can create multiple tasks. The right value depends on workload and platform, so do not copy a number without understanding the machine topology, query patterns and concurrency.

MAXDOP can be configured at query, database, server or Resource Governor workload-group scope. A database-scoped value overrides the server setting unless the database value is 0; a query hint can override the database setting, while a workload-group limit can cap the resulting setting. Check all applicable scopes before attributing behavior to a single configuration. Microsoft’s MAXDOP guidance explains these interactions.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
Sale
Anker USB C Hub, 7in1 Multi-Port USB Adapter, 4K@60Hz USBC to HDMI Splitter
  • Sleek 7-in-1 USB-C Hub: Features an HDMI port, two USB-A 3.0 ports, and a USB-C data port, each providing 5Gbps transfer speeds. It also includes a USB-C PD input port for charging up to 100W and dual SD and TF card slots, all in a compact design.
  • Flawless 4K@60Hz Video with HDMI: Delivers exceptional clarity and smoothness with its 4K@60Hz HDMI port, making it ideal for high-definition presentations and entertainment. (Note: Only the HDMI port supports video projection; the USB-C port is for data transfer only.)
  • Double Up on Efficiency: The two USB-A 3.0 ports and a USB-C port support a fast 5Gbps data rate, significantly boosting your transfer speeds and improving productivity.
  • Fast and Reliable 85W Charging: Offers high-capacity, speedy charging for laptops up to 85W, so you spend less time tethered to an outlet and more time being productive.
  • What You Get: Anker USB-C Hub (7-in-1), welcome guide, 18-month warranty, and our friendly customer service.

SQL Server 2022 includes Degree of Parallelism Feedback for supported configurations at compatibility level 160. It can adjust parallelism for repeating queries and revert adjustments if performance regresses; treat it as a version- and configuration-dependent option, not a universal replacement for measuring workload behavior. Details are in Microsoft’s Degree of Parallelism Feedback documentation.

Cost threshold for parallelism: do not tune the default by reflex

This advanced, server-level setting influences when SQL Server considers parallel plans, using estimated plan cost. That cost is a relative plan-selection measure, not a prediction of elapsed time. Microsoft’s recommendation is explicit: “The default value of 5 is a starting point, not a recommendation.” It advises experienced database professionals to raise the threshold in small increments and observe a full business cycle before making further changes. The option cannot be set in Azure SQL Database; Microsoft points to MAXDOP as the parallelism control there. Read the cost threshold configuration guidance before changing it.

Rank #4
Sale
UGREEN USB to USB C Adapter Combo 4-Pack, 10Gbps USB C Converter Space Gray
  • Dual Converters, Infinite Potential:Includes 2× USB C male to USB A female adapters and 2× USB A male to USB C female adapters. Perfect for a wide range of uses—tablets with Bluetooth keyboards, expand USB ports on macbook, and more. Two different converters for all your daily needs
  • Next-Level 10Gbps & 3A Charging: No more slow 480Mbps, this usb to usb c adapter has a transfer speed of up to 10Gbps, allowing you to do more transferring in less time. This usb adapter fits both USB A and USB C charger, supporting up to 3A fast charging
  • Upgraded Exquisite Craftsmanship: With an aluminum alloy housing and metal connector, the usbc to usb adapter is extremely durable and sturdy. Rigorously tested to withstand more than 10,000 times of plugging and unplugging, ensuring long-lasting performance
  • Broad Compatible: The usb c to usb adapter widely supports all USB C/ USB A devices like laptops, tablets, cellphones, car chargers, and phone chargers. Such as compatible with MacBook Pro/Air 2023/2022, Thunderbolt 4/3 Devices,Apple MagSafe Watch 9/8/7/SE/Ultra, iPad Pro 2022/2021, Samsung Galaxy S23/S20/S10, and iPhone 17/16/15 Pro. Plug and play
  • Please Note: To reach 10Gbps speed, keep the cable under 3.3 ft. For USB A Male to USB C adapters, try flipping the USB C connector. USB C Male to USB A adapters support bidirectional 10Gbps transfer within 3.3 ft
  • A low threshold can coincide with many CPU-light queries going parallel and parallelism-related waits. Treat that as a signal to investigate, not proof that the threshold caused the problem.
  • A high threshold can leave CPU-heavy queries serial while CPU utilization is higher than optimal. This, too, is an indicator to examine alongside plans, runtime data and workload behavior.
  • If you test a change, make a small adjustment and observe a full business cycle before deciding whether another adjustment is warranted.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Use Query Store hints for evidenced, query-specific regressions

Query Store hints can influence a specific query’s plan in supported scenarios without requiring a change to application SQL. They are most useful when evidence identifies a limited set of regressed queries and a database-wide compatibility-level change would have too broad a reach. First confirm the query and regression, test the latest compatibility level where appropriate, and then evaluate whether a hint is suitable. Microsoft describes the feature and its limitations in its Query Store hints documentation.

Do not disable parameter sniffing as a blanket fix

Parameter-sensitive behavior can lead to different performance outcomes for different parameter values, but disabling parameter sniffing across a workload is not a safe default remedy. Identify the affected query and compare its plans and runtime behavior for representative values. In SQL Server 2022 at compatibility level 160, Parameter Sensitive Plan optimization is enabled by default; for qualifying cases with nonuniform data distributions, it can support distinct plan handling. See Microsoft’s Parameter Sensitive Plan optimization documentation.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Best Value
Anker USB C Hub, 5-in-1 USBC to HDMI Splitter with 4K Display
  • 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
  • Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
  • Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
  • HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
  • What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.

A safe change-and-validation checklist

  1. Identify the environment: note engine release, compatibility level, platform and the setting’s available scope.
  2. Define the symptom: name the affected queries and the problem to improve, such as latency, CPU use or a plan regression.
  3. Establish a baseline: use Query Store or equivalent evidence to capture representative plans and runtime behavior.
  4. Check interactions: inspect query hints, database and server settings, and Resource Governor limits where relevant.
  5. Change one control: limit the blast radius, especially when a query-specific remedy can address a query-specific problem.
  6. Observe and compare: include representative workload periods and, for cost-threshold tuning, a full business cycle before further increments.
  7. Roll back if needed: use the preplanned reversal if results regress, and account for possible plan-cache invalidation and recompilation.

Further reading

For a book-length treatment of query plans and performance troubleshooting, see Grant Fritchey’s SQL Server 2022 Query Performance Tuning: Troubleshoot and Optimize Query Performance, published by Apress in 2022. It covers Query Store and execution plans; it is optional reading, not a prerequisite for changing settings.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. Shenzhen desk3 min
    HONOR Expands Beyond Smartphones With Humanoid Robot RevealHONOR said it unveiled its first humanoid robot at MWC 2026 and named shopping assistance, workplace inspections, and supportive companionship as intended uses. Later Robotics D1 claims and a reported…
  2. Cupertino desk5 min
    Apple Unveils AirPods Max 2: The Upgrade That Should Have Happened Years AgoAirPods Max 2 adds H2-powered audio features and Apple claims up to 1.5× more effective ANC, but its design, Smart Case, and 20-hour battery rating are unchanged. Wired lossless audio…
  3. Cupertino desk4 min
    Apple’s OLED Touch MacBooks Are Coming—but the Dynamic Island Is the Real GambleApple has not announced an OLED touchscreen MacBook, but reports point to high-end models arriving in late 2026 or early 2027. The reported Mac Dynamic Island could be useful, but…
Recommended PC Tool
Recommended PC Tool
PC Slower Than It Used to Be?Free scan - under a minute
Outdated Drivers Are Slowing You DownFree scan - exact matches

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.