Re: How to monitor insert?
From: Frank Hickman (fhickman_nosp_at_m_noblesoft.com)
Date: 05/21/04
- Next message: Pradeep: "ADO error 0x800a0bb9 using ATL OLE DB template"
- Previous message: Susak: "CreateParameter changed (incompatibly) with MDAC 9 ?"
- In reply to: Microsoft Newsgroups: "How to monitor insert?"
- Next in thread: Jerry Pisk: "Re: How to monitor insert?"
- Reply: Jerry Pisk: "Re: How to monitor insert?"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 21 May 2004 14:25:34 -0400
I'd say your biggest problem is the number of fields you have specified in
your clustered index not to mention the mixing of the data types. SQL has
to convert all of the fields to a common type then sort through the current
data and move records as needed to insert the new record. The fill factor
does make a difference but with all you have going on in there I don't think
it would make that much of a difference. If you need the records in that
order I'd suggest creating a non-clustered index and using the clustered
index only on the fields that uniquely identify a row in the table such as
an identity column.
-- Frank "Microsoft Newsgroups" <scot.no.spam.curry@btopenworld.com> wrote in message news:OcahcH0PEHA.252@TK2MSFTNGP10.phx.gbl... > When I am performing an Insert into a table using Query Analyzer, it is > taking 2 minutes 30 seconds. The table has 1,170,548 rows. > > There is a clustered Index that scripts out to > > CREATE CLUSTERED INDEX [IX_1_39_varcharIndex] ON BusinessDate, ContentType, > CTMapID, BZMapID, IndexMapID, Value, COMapID, COVID, DocID, Page ON > [Primary} > > We have a CONSTRAINT on: > BusinessDate, CoMapID, COVID, DocID, Page, PageOffset, Value > > I cannot seem to figure out how to determine what is happening during the > insert. I am guessing that is has something to do with FILLFACTOR, but I am > not sure how to find information in Performance Monitor or SQL Profiler. > Could someone please point me in the right direction? > > Thanks in advance for your help. > >
- Next message: Pradeep: "ADO error 0x800a0bb9 using ATL OLE DB template"
- Previous message: Susak: "CreateParameter changed (incompatibly) with MDAC 9 ?"
- In reply to: Microsoft Newsgroups: "How to monitor insert?"
- Next in thread: Jerry Pisk: "Re: How to monitor insert?"
- Reply: Jerry Pisk: "Re: How to monitor insert?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|