Skip to main content
replaced http://dba.stackexchange.com/ with https://dba.stackexchange.com/
Source Link

How does the optimizer decide whether or not to use parallelism when the parallelism threshold is specified in seconds (on specific hardware, see below) but the estimated CPU costs are supposedly unit-less? Is the estimate treated as if it were seconds or is there a conversion happening internally based on some hardware metrics?

From MS: cost threshold for parallelism Option

The cost refers to an estimated elapsed time in seconds required to run the serial plan on a specific hardware configuration

how-do-i-read-query-cost-and-is-it-always-a-percentagehow-do-i-read-query-cost-and-is-it-always-a-percentage

sql-server-execution-plan-estimated-io-cost-estimated-cpu-cost-no-unit

How does the optimizer decide whether or not to use parallelism when the parallelism threshold is specified in seconds (on specific hardware, see below) but the estimated CPU costs are supposedly unit-less? Is the estimate treated as if it were seconds or is there a conversion happening internally based on some hardware metrics?

From MS: cost threshold for parallelism Option

The cost refers to an estimated elapsed time in seconds required to run the serial plan on a specific hardware configuration

how-do-i-read-query-cost-and-is-it-always-a-percentage

sql-server-execution-plan-estimated-io-cost-estimated-cpu-cost-no-unit

How does the optimizer decide whether or not to use parallelism when the parallelism threshold is specified in seconds (on specific hardware, see below) but the estimated CPU costs are supposedly unit-less? Is the estimate treated as if it were seconds or is there a conversion happening internally based on some hardware metrics?

From MS: cost threshold for parallelism Option

The cost refers to an estimated elapsed time in seconds required to run the serial plan on a specific hardware configuration

how-do-i-read-query-cost-and-is-it-always-a-percentage

sql-server-execution-plan-estimated-io-cost-estimated-cpu-cost-no-unit

Source Link
crokusek
  • 2.1k
  • 4
  • 24
  • 33

How is parallelism threshold (seconds) used if query CPU cost is actually unitless

How does the optimizer decide whether or not to use parallelism when the parallelism threshold is specified in seconds (on specific hardware, see below) but the estimated CPU costs are supposedly unit-less? Is the estimate treated as if it were seconds or is there a conversion happening internally based on some hardware metrics?

From MS: cost threshold for parallelism Option

The cost refers to an estimated elapsed time in seconds required to run the serial plan on a specific hardware configuration

how-do-i-read-query-cost-and-is-it-always-a-percentage

sql-server-execution-plan-estimated-io-cost-estimated-cpu-cost-no-unit