Viewing 15 posts - 331 through 345 (of 1,193 total)
The plan does show the cardinality of the table to be the same.
It's the actual rows coming out of the scan that are so wildly different.
From a quick glance it...
November 22, 2016 at 12:03 pm
I thought it was stated that client_id in the client table was varchar? In that case the LIKE '%.%' isn't an issue.
The bit pointed out by Chris is the main...
November 18, 2016 at 2:42 pm
There are few considerations here, and I think some of them are running together in the conversation.
1) Assuming the same CPU architecture, sure, 4 logical cores backed by 4 physical...
November 18, 2016 at 10:05 am
Lynn Pettis (11/17/2016)
Jacob Wilkins (11/17/2016)
Lynn Pettis (11/17/2016)
Jacob Wilkins (11/17/2016)
You'll see there are several syntax errors.
One of the main...
November 17, 2016 at 1:39 pm
Lynn Pettis (11/17/2016)
Jacob Wilkins (11/17/2016)
You'll see there are several syntax errors.
One of the main ones is that you're...
November 17, 2016 at 1:09 pm
Also, print out the value of @sql instead of trying to execute it.
You'll see there are several syntax errors.
One of the main ones is that you're trying to use COUNT(*)...
November 17, 2016 at 12:36 pm
It means somebody wanted to make sure that the createid stayed the original and that the updateid was the last person to update it.
That's fairly reasonable, and there could be...
October 26, 2016 at 2:48 pm
Most likely an update trigger on the table. I'd check that first.
Cheers!
October 26, 2016 at 2:06 pm
Ed Wagner (10/26/2016)
...Taking regular log backups will cause the backed up portion of the log to be available for re-use, which will negate the goal of the exercise...
Well, you could...
October 26, 2016 at 12:09 pm
Here's another method:
SELECT CaseID,
min_date=COALESCE(CASE WHEN MTDThresholdDate<YTDThresholdDate
...
October 26, 2016 at 9:21 am
For mirroring there's a perfmon counter, "Log Bytes Sent/sec" that exists for each database. Despite the "/sec", it's a cumulative counter (Perfmon just automatically does the calculations for you).
You...
October 26, 2016 at 8:27 am
Is SCCOE_Order_Progression the database you're running all this in? Wondering if there's a trigger on that table inserting into a table of the same name in another DB.
Far-fetched, but so...
October 25, 2016 at 3:32 pm
CREATE TABLE [dbo].[data_load]
(
[ID] [INT] NOT NULL,
[PC] [INT] NOT NULL,
[AM_System_Type] [VARCHAR](50) NOT NULL,
[PeriodKey] [VARCHAR](50) NOT NULL,
[File_Path] [VARCHAR](4000) NOT NULL,
[Fale_Name] [VARCHAR](255) NOT NULL,
[File_Type] [VARCHAR](50) NOT NULL,
[Status] [VARCHAR](255) NULL,
[PlaceHolder1] [VARCHAR](4000) NULL,
[PlaceHolder2] [VARCHAR](4000) NULL,
[SysStartTime]...
October 25, 2016 at 12:57 pm
For a little bit about what determines if a plan stays in cache, you could take a look at https://technet.microsoft.com/en-us/library/ms181055(v=sql.105).aspx#Anchor_0.
I definitely wouldn't just assume that you're neither pushing plans out...
October 25, 2016 at 9:48 am
Here's another 2008-friendly way that only accesses the table once. That comes at the cost of a couple extra sorts, and whether the extra IO or the extra sorting is...
October 25, 2016 at 9:18 am
Viewing 15 posts - 331 through 345 (of 1,193 total)