Viewing 15 posts - 1,366 through 1,380 (of 22,184 total)
Hmmm...
I'm not sure. Check your SSMS. Make sure you're on the latest version. Then, it may be simply that the load on your system is such that querying Query Store...
March 10, 2021 at 12:41 pm
Then you may need to create a temporary storage between the two. Load a table somewhere, then call the other query.
March 9, 2021 at 1:48 pm
Also test whether doing an outer join to the approved table and looking for nulls might be faster than the NOT IN.
March 9, 2021 at 1:43 pm
To tell you where the row estimates are coming from, I need to see the execution plan, query and statistics. However, in general, the row counts come from the statistics....
March 9, 2021 at 1:39 pm
Piling on just a little. It could break things. It completely depends on how you do deployments of changes to the structures in your database. A schema bound view means...
March 9, 2021 at 1:36 pm
There are a number of things that can cause different execution plans. First up, and usually the most common, is parameter sniffing. A value is passed to a stored procedure....
March 9, 2021 at 1:33 pm
I'm a little confused as to why this is a problem. If you have a way to tell SQL Server, hold all the data on this query, then, you have...
March 9, 2021 at 1:28 pm
Try running a query or three to see what happens. The system tables are pretty straight forward to use. Let's figure out if it's Query Store itself that's a problem...
March 8, 2021 at 2:03 pm
The reports are pretty chatty. Have you tried just running a query directly?
March 8, 2021 at 1:22 pm
What about using TOP 1 and order by the 'Last touch date'?
March 8, 2021 at 1:21 pm
I read The Fort. I've also read Cornwall's books about the battle of Agincourt. And the Last Kingdom. He's got some great stuff.
March 8, 2021 at 12:41 pm
BTW, you'll get a lot more attention by posting your stuff to a new question. The only people likely to respond to this are those of us who are following...
March 5, 2021 at 7:56 pm
You may have kind of outlined the issue. You truncated the data, which will empty the statistics automatically. The SELECT query runs after the truncate, but before the data load...
March 5, 2021 at 7:55 pm
You're past the edge of what Express is used for. I'd strongly advise you to upgrade to a paid version of SQL Server. You can take advantage of more and...
March 5, 2021 at 12:34 pm
Viewing 15 posts - 1,366 through 1,380 (of 22,184 total)