You are here: Re: DTS that does HouseHolding with Millions of records « MsSQL Server « IT news, forums, messages
Re: DTS that does HouseHolding with Millions of records

Posted by John Bell on 09/03/06 20:50

Hi

I assume there is an index on this column (or a covering index on the ones
you are using)? Have you checked the query plan to see if other indexing is
needed, or have passed it through the index tuning wizard?

John


<rperetz@gmail.com> wrote in message
news:1157148982.155829.212030@p79g2000cwp.googlegroups.com...
> Hi all,
> I was given a task to create a houseHolding logic under a table that
> have millions records.
> first let me explain what is a house holding:
>
> let's say I have 2 records that have the same phone number, that mean
> that both records are under the same household, but this can get more
> complicated
> this article explain it
> http://www.teradata.com/t/page/115924/index.html
>
> if anyone worked with household he knows that you need to scan the
> table many time to get all the house holds, I used a dts to do it.
>
> I tested the dts on 11 records like the article did and that work
> great, but once I went to million records each loop is taking me 2 hour
> or so....a and I have no idea how how many loops I will have to do.
>
> if anyone out there worked with household queries and used sql, your
> imput would help me allot
>
> thanks.
>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация