Viewing 15 posts - 91 through 105 (of 388 total)
If the column is never in a join or a filter then it is purely a cost on the system.
Stats only autoupdate if there is a query on it so...
April 25, 2016 at 8:49 am
If char and ascii are not supported, then there is no solution I can think of, and my CLR will have to carry on a bit longer.
Will have to think...
April 25, 2016 at 4:35 am
VastSQL (4/21/2016)
We have more than 100 Foreign Keys with no supporting index. Do we need to add index on all these Foreign Keys ?
Can someone help on fixing this...
April 25, 2016 at 4:14 am
Thanks Hugo for giving this a review.
The test you ran with the 250ms, was it on one row or the entire table?
And was it on super powerful hardware?
I reran...
April 25, 2016 at 3:48 am
dan-572483 (4/13/2016)
I am coming across more heaps (tables with no clustered or nonclustered indexes) than I would expect.
Just for clarity, a heap is a table that is not clustered.
So...
April 25, 2016 at 2:28 am
tripleAxe (4/21/2016)
April 24, 2016 at 5:50 am
Will do but only on monday.
You could find it in the adventureworks2016ctp3 db if you cant wait till then.
April 23, 2016 at 9:56 am
Jacob Wilkins (4/22/2016)
Also note that if you create such a column and insert multiple rows in the same statement, they will all have...
April 22, 2016 at 9:39 am
guessing that it should be (rand())
Will check ina bit.
April 22, 2016 at 9:38 am
The index is not sorted by itemNo.
It is sorted by date.
So you dont have an index on data sorted by itemno.
Imagine a phonebook sorted by Lastname, Then by firstname, then...
April 22, 2016 at 8:48 am
Check to see if the indexes are being used, or if they are duplicated, or if you can create better indexes, i.e. consolidate.
It would be horrible to rebuild 800GB of...
April 22, 2016 at 8:42 am
If 700K transactions are causing performance issues, then look for missing indexes or queries that are generating a lot of IO.
April 21, 2016 at 8:53 am
check the query duration stats for this proc.
This will allow you to zero in to the batch that takes the longest time.
Also, try updating values on change only.
I once fixed...
April 21, 2016 at 8:31 am
There won't be any relationships.
You have to code it in with FKeys and Pkeys.
If you have Pkeys on Identities, then use this.
http://www.sqlservercentral.com/scripts/integrity/136833/
It will give you a rough guess how...
April 21, 2016 at 1:57 am
Sergiy (4/20/2016)
MadAdmin (4/19/2016)
Select businessentityid from person.person where rtrim(lastname) like 'Smith%' --108 Reads What is happening here?
Select businessentityid from person.person where rtrim(lastname) like @var --4 Reads What is happening here?
last name...
April 20, 2016 at 4:41 pm
Viewing 15 posts - 91 through 105 (of 388 total)