Skip to main content
added [query-performance] to 2412 questions - Shog9 (Id=1924)
Link
replaced http://dba.stackexchange.com/ with https://dba.stackexchange.com/
Source Link

This stored procedure runs every 2 seconds using the trick I learned from this dba.stackexchange.com postthis dba.stackexchange.com post.

This stored procedure runs every 2 seconds using the trick I learned from this dba.stackexchange.com post.

This stored procedure runs every 2 seconds using the trick I learned from this dba.stackexchange.com post.

added execution plan
Source Link
Brandon
  • 618
  • 2
  • 7
  • 17

I have taken an execution plan that I've attached below. This execution plan is one iteration of a staging table -- 100k records. The execution of the query was fairly quick, around 2 seconds, but keep in mind that this is without indexes on the SignalValues table and the SignalValues table, the target of the INSERT, has no records in it.

Execution plan

I have taken an execution plan that I've attached below. This execution plan is one iteration of a staging table -- 100k records. The execution of the query was fairly quick, around 2 seconds, but keep in mind that this is without indexes on the SignalValues table and the SignalValues table, the target of the INSERT, has no records in it.

Execution plan

Incorporated clarifications from comments; updated tags
Source Link
Paul White
  • 90.3k
  • 30
  • 424
  • 663
Loading
added 944 characters in body
Source Link
Brandon
  • 618
  • 2
  • 7
  • 17
Loading
Tweeted twitter.com/StackDBAs/status/675102464643870721
Source Link
Brandon
  • 618
  • 2
  • 7
  • 17
Loading