Viewing 15 posts - 16 through 30 (of 56 total)
Updates and deletes does not necessarily acquire an exclusive lock from the start. Sometimes it might be shared locks (or update locks) competing with exclusive locks causing the problems and...
March 25, 2014 at 4:38 am
- Keeping the non-unique clustered index would be painful as SQL would have to increase the index size with its unique identifier.- Keeping the non-unique clustered index would be painful...
March 24, 2014 at 12:01 pm
Just remember that CXPacket waits are often a side effect of inefficient queries or indexes leading to unnecessary CPU usage. If you run large DW queries, it might not be...
March 24, 2014 at 11:35 am
One thing to keep in mind is fragmentation. When new ID's are increasing at the end, page splits will be far less than trying to insert a value randomly in...
May 3, 2013 at 2:29 pm
I would use transactional replication or log shipping to do this, but not mirroring.
Hi Jason,
I am curious, why don't you suggest mirroring for this?
Thanks
May 3, 2013 at 8:48 am
Row Level Locking is the default on an instance, database and the objects in the DB.
It can be disabled on an object level, and you can see if it is...
May 3, 2013 at 8:40 am
Also: "share a number of fields" let the alarm bells go off. Also not sure what you want, but your database is not normalized. SQL is pretty easy if your...
May 3, 2013 at 7:38 am
Is it then perhaps timing out when the table is created? Do you see Sch-S (schema stability) locks appearing?
April 24, 2013 at 10:10 am
Grant Fritchey (4/24/2013)
April 24, 2013 at 9:42 am
Bulk insert into a staging table and then building the clustered and other indexes afterwards will generally be faster.
This is also useful when you then want to switch the...
April 24, 2013 at 8:23 am
Agree. Simple method for a small resultset. Best performance is still a CLR based one.
April 24, 2013 at 6:28 am
One set based way of doing it:
DECLARE @Adding TABLE (ID int identity(1,1),Result int,ActualResult int)
INSERT INTO @Adding (Result) VALUES (10),(10),(10),(10),(-10),(-10),(-10),(-10)
SELECT ID, Result, (Select SUM(result) From @Adding A2 WHERE A2.Id <=...
April 24, 2013 at 5:57 am
I think you mean row compession.. Page compression will also include row compression.
April 11, 2013 at 12:30 pm
I would also use a hashbyte function. In theory there still might be some duplicates, although unlikely.
April 11, 2013 at 12:06 am
Viewing 15 posts - 16 through 30 (of 56 total)