Duration of stored procedure in SQLTest is much higher than SSMS
17 views
Skip to first unread message
Yoni Sade
unread,
Jun 7, 2023, 2:23:38 PM6/7/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to SQLTest
Hi
I'm running a stored procedure in SSMS and it finishes in 6 seconds after fetching 50,000 rows while in SQLTest it finishes in 17 seconds.
"Workload Statistics" + "Detailed Statistics " + "Show results" are all turned off (when "Show results" is on the displayed results takes forever to be written on screen)
Ramesh Meyyappan
unread,
Jun 12, 2023, 6:15:15 AM6/12/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to SQLTest, yonis...@gmail.com
Could it be plan drift? you can verify that by setting ARITHABORT to ON/OFF.
SQLTest used SQLClient, the ARITHABORT default is different from SSMS