Viewing 15 posts - 181 through 195 (of 497 total)
SJTerrill (11/23/2009)
--SJT--
P.S. This...
November 23, 2009 at 11:00 pm
Garadin (11/23/2009)
November 23, 2009 at 10:49 pm
SJTerrill (11/23/2009)
November 23, 2009 at 10:47 pm
DECLARE @dblist TABLE (dbname NVARCHAR(100))
INSERT INTO @dblist (dbname)
SELECT sd.name FROM MASTER.dbo.sysdatabases sd (NOLOCK)
WHERE sd.NAME LIKE 'HotDog__XYZ'
IF EXISTS (
SELECT [CountryCode]
FROM DBUtilities.dbo.Country...
November 23, 2009 at 10:45 pm
Paul White (11/16/2009)
Roust_m (11/12/2009)
Ian Scarlett (11/12/2009)
4. Part of the table has been allocated in a mixed extent.
as for the fourth, the size of the row is under 1000 bytes,...
November 16, 2009 at 5:45 pm
Ok, the fragmentation I am talking about can be taken out of this query:
SELECT avg_fragmentation_in_percent
FROM sys.dm_db_index_physical_stats (DB_ID(), OBJECT_ID(N'dbo.Company'),
NULL, NULL, 'LIMITED') AS s
...
November 16, 2009 at 3:55 pm
Jeff Moden (11/12/2009)
There's no guarantee that you're inserting into contiguous extents or pages.
If I am NOT using "set identity insert on", why this would happen?
November 13, 2009 at 12:07 am
CirquedeSQLeil (11/12/2009)
Do you have BLOB data in the table?
No, this is the script for the table:
CREATE TABLE [dbo].[Company](
[CompanyID] [int] IDENTITY(1,1) NOT NULL,
[Col2] [nvarchar](100) NOT NULL,
[Col3] [nvarchar](100) NOT NULL,
[Col4] [nvarchar](150) NULL,
[Col5]...
November 12, 2009 at 10:00 pm
Ian Scarlett (11/12/2009)
Deletes leaving a gap where the row was.
Updates that change the size of the row, forcing the page to split
Inserts into the table that rollback before...
November 12, 2009 at 9:55 pm
GilaMonster (11/12/2009)
Are you shrinking the DB? Maintenance plan or auto_shrink? That'll fragment anything.
No, not at all.
November 12, 2009 at 4:29 pm
villersk (10/23/2009)
October 26, 2009 at 12:39 am
ALZDBA (10/23/2009)
And off course...
October 25, 2009 at 6:52 pm
Jeff Moden (10/22/2009)
It all depends on how you load the data (ie: IDENTITY_INSERT) and whether or not an IDENTITY column is even needed. I don't see an...
October 22, 2009 at 11:07 pm
Roust_m (10/22/2009)
Elaine Reeves (10/22/2009)
October 22, 2009 at 8:26 pm
Elaine Reeves (10/22/2009)
October 22, 2009 at 5:16 pm
Viewing 15 posts - 181 through 195 (of 497 total)