Viewing 8 posts - 1 through 8 (of 8 total)
This is one of the procs, which having issues:
/****** Object: UserDefinedTableType [dbo].[Identifier_type]******/
CREATE TYPE [dbo].[Identifier_type] AS TABLE(
[id] [BIGINT] NOT NULL
)
GO
CREATE PROCEDURE [dbo].[WorkerABC_prc]
(@workerIds Identifier_type READONLY)
AS
BEGIN
SELECT swm.SyncWorkerId
FROM SyncWorkerMap swm
INNER JOIN @workerIds w
ON swm.SyncWorkerId...
October 6, 2022 at 3:04 pm
I collect the actual execution plan from sp_whoisactive @get_plans=1 during execution.
October 4, 2022 at 5:24 pm
Additionally, I used sp_whoisactive @get_plans=1 to compare plans as well
October 4, 2022 at 2:10 pm
I tested with SET SHOWPLAN_ALL ON/OFF.
All SPs have Parameters, 5 have User Define Table Type, and 1 with just Varchar.
I tried using OPTION (OPTIMIZE FOR UNKNOWN), and the same result
October 4, 2022 at 2:04 pm
I do not restart the SQL server in between compatibility level changes. There are no server-level flags.
Additionally, I tested restore DB on a different SQL server with most of the...
October 4, 2022 at 12:43 am
I am on CU16
the threshold for parallelism =50
October 3, 2022 at 3:46 pm
It is run fine as soon as change back to 120
October 3, 2022 at 3:02 pm
First time after a change to 150
October 3, 2022 at 3:01 pm
Viewing 8 posts - 1 through 8 (of 8 total)