Viewing 15 posts - 31 through 45 (of 388 total)
Sergiy (10/26/2016)
yakko_Warner (10/26/2016)
I was trying to figure...
October 27, 2016 at 8:08 am
Is the proc running inside a transaction issued from the application?
October 26, 2016 at 8:50 pm
Deletes and updates should be avoided.
Use partitions for your fact tables and apply partition switching instead of deleting data.
Then you can consider creating a clustered columnstore index cos I think...
October 26, 2016 at 9:54 am
kesavan.rv (10/26/2016)
thanks for the reply friends..there is an another view which i got is 'virtual memory ballooning ' an option in VMware..
If the data is being paged out of physical...
October 26, 2016 at 8:50 am
Thanks both for the references.
Must say, this was a great day learning about this.(MS Dev's really earning their pay with this grand feature.)
Should be required reading.
Just thinking about the problems...
October 25, 2016 at 10:04 am
If you willing to go the CLR route, and the LOB is compressible, you can use compression functionality from System.IO.Compression to compress into a staging table locally, push smaller staging...
October 25, 2016 at 7:41 am
How many tempdb data files do you have?
Do you have snapshot isolation?
October 21, 2016 at 5:28 am
Let us have a look at the transaction.
Difficult to speak hypothetically.
Not sure if you want the readers to block updates or not to block updates or if you want incrased...
October 21, 2016 at 5:15 am
Its a serial plan caused by Scalar function and is impossible to parallelise with the current versions of SQLServer up to 2016.
This used to be the reason why partitioning with...
October 21, 2016 at 4:47 am
Scalar functions are a black-box from a cardinality estimation perspective.
If you're encountering plan quality issues due to them, consider inline table functions as an alternative – or even pulling...
October 20, 2016 at 3:21 am
Sqlsavy (10/19/2016)
I've attached query plan with resrticated and unlimitted memory please have a look.
Thanks
query:
UPDATE dbo.table1
SET table1.field = somevalue
FROM dbo.table1 AS ABC
INNER JOIN dbo.table2 AS xyz...
October 19, 2016 at 10:27 am
Here is a previous post where Gail suggested running checkdb.
http://www.sqlservercentral.com/Forums/Topic1682406-2799-1.aspx
Also, here is Microsoft topic where they suggest patching to latest SP or CU.
October 19, 2016 at 10:13 am
Key lookups can cause deadlocks. An execution plan, and some table and index definitions would be good.
October 19, 2016 at 3:15 am
Will be hard unless we can see the code that is resulting in the error.
September 28, 2016 at 2:34 am
;WITH SumCount
AS (
SELECT NF.NAME
,NF.[Role]
,RRL.PriorityRank
,sum([Count]) AS SumOfCount
FROM NameFrequency NF inner join RoleRankLookup RRL on RRL.[role]=NF.Role
GROUP BY NAME
,[Role]
,PriorityRank
)
,MaxCount
AS (
SELECT *
,ROW_NUMBER() OVER (
PARTITION BY NAME ORDER BY SumOfCount DESC,PriorityRank asc
) RN
FROM SumCount
)
SELECT NAME
,[Role]
,SumOfCount
FROM...
September 27, 2016 at 9:01 am
Viewing 15 posts - 31 through 45 (of 388 total)