A
Ash
Hello,
I am running a 2 gig database has about 10 Million records that I am
trying to sum up into about 60000 records. I have about five group by
clauses ( size/region/years/type/business). Of this I have two sizes,
five regions, 18 years, 50 types and 64 businesses. should my group by
clause say group by size, region, years, type business or should it be
the other way around -- group by business, type, years ... for better
results.
Also I tweaked the registry of my laptop to optimize swap file
performance and the above query that used to take 2 hrs now takes 18+
hrs and still does not execute. (i did not take a backup of the
registry and am struggling to remember what key i modified to have this
huge reduction in performance).
Also, is 2-3 hrs normal for this kind of summing up ? how many indexes
must i create in this query -- all/none/ ?
thanks in advance.
I am running a 2 gig database has about 10 Million records that I am
trying to sum up into about 60000 records. I have about five group by
clauses ( size/region/years/type/business). Of this I have two sizes,
five regions, 18 years, 50 types and 64 businesses. should my group by
clause say group by size, region, years, type business or should it be
the other way around -- group by business, type, years ... for better
results.
Also I tweaked the registry of my laptop to optimize swap file
performance and the above query that used to take 2 hrs now takes 18+
hrs and still does not execute. (i did not take a backup of the
registry and am struggling to remember what key i modified to have this
huge reduction in performance).
Also, is 2-3 hrs normal for this kind of summing up ? how many indexes
must i create in this query -- all/none/ ?
thanks in advance.