Viewing 11 posts - 1 through 11 (of 11 total)
Outcome from the ideas - thanks.
Stage 1 was to select directly against the heavily indexed FactPV table. This reduced the processing from 6:14 to 3:24
I then created a summary table...
July 12, 2006 at 9:36 pm
Cute, but I agree with Ian, if you are using a table why not maintain the correct dates in the table, it is MUCH easier to work with.
I did not...
November 3, 2005 at 3:22 am
Thanks Mike
For some reason SourceSafe was not showing the differences between the 2 files (or I was not saving them correctly) and I could not locate the Row Delimiter line,...
October 3, 2005 at 6:20 pm
~nano
I'm glad you got into this one first - completely contradicts the madness article a few months ago. Having been down both tracks (as have we all) I'm still in...
September 27, 2005 at 2:34 am
I was only after a general rule, most developers will use varchar because it is easier to handle in UI and business layers, but if it is going to give me...
July 31, 2005 at 10:50 pm
Remi
The index was not unique, only clustered. I have since removed the index and replaced it with the following clustered index
Datadate DESC, PortfolioID
These being the 2 most used fields for reporting...
July 31, 2005 at 9:40 pm
Remi
DDL - thanks
CREATE TABLE [dbo].[FactSensi] (
[FileMapID] [numeric](10, 0) NOT NULL ,
[SourceID] [numeric](10, 0) NOT NULL ,
[ProductFamily] [varchar] (5) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL ,
[RiskType] [varchar] (10) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL ,
[ProcessDate]...
July 29, 2005 at 12:31 am
Sorry Remi, I deleted the clustered index so I have no data on the size. And yes there were a number of additional indexes but they were not related to...
July 28, 2005 at 9:53 pm
As the DB is in UAT we can guage the report requirements so the indexes were based in the queries.
I intend to defrag and reindex all the tables and see...
July 28, 2005 at 9:49 pm
Brian
Thanks for the response.
I am trying to understand why my server suddenly died and the most likely culprit is the clustered indexes I added recently. I have removed them, restarted...
July 28, 2005 at 9:38 pm
AJ
What is the difference between a 4 column primary key (what I call a complex PK) and a CLUSTERED UNIQUE INDEX of 4 columns?
July 26, 2005 at 9:08 am
Viewing 11 posts - 1 through 11 (of 11 total)