Re: Database Statistics... Best way to maintain stats???
- From: "Bruce Barker" <brubar_nospamplease_@xxxxxxxxxx>
- Date: Fri, 26 Aug 2005 17:24:10 -0700
you might look at using cubes for rollups. if you need realtime adhoc stats
(with slice and dice), then you want to use a snowflake or star schema.
since you are only doing 100k rows a day (pretty small actually), a simple
star schema should doit (with so rollups). with this low of volume, i'd
update the rollup tables in real time (simple trigger). i'd expect no query
to take over a second or two (unless it was years of detail).
-- bruce (sqlwork.com)
"Lucas Tam" <REMOVEnntp@xxxxxxxxxx> wrote in message
news:Xns96BEAE215B4C4nntprogerscom@xxxxxxxxxxxx
> Hi all,
>
>
> I have an application which logs a considerable amount of data. Each day,
> we log about 50,000 to 100,000 rows of data.
>
> We like to report on this data... currently I'm using a stored procedure
> to
> calculate the statistics, however since this is an ad hoc, reports take a
> while to generate.
>
> So how do you guys handle large amounts of data? Is there a good way to
> precalculate a a set of statistics to handle ad hoc queries (i.e. By Hour,
> By Day, By Week, By Month). Our application also provides near realtime
> statistics... so precalculation has to be done on a continual basis. Does
> .NET have any statistics classes that might help out with this sort of
> thing? I don't think Performance counters will work since they don't log
> persistent data.
>
> Any ideas?
>
> Thanks!
>
> --
> Lucas Tam (REMOVEnntp@xxxxxxxxxx)
> Please delete "REMOVE" from the e-mail address when replying.
> http://members.ebay.com/aboutme/coolspot18/
.
- Follow-Ups:
- Re: Database Statistics... Best way to maintain stats???
- From: John Rivers
- Re: Database Statistics... Best way to maintain stats???
- References:
- Database Statistics... Best way to maintain stats???
- From: Lucas Tam
- Database Statistics... Best way to maintain stats???
- Prev by Date: Re: This is brilliant! Just look how long it is! Ha ha ha ha ha ha
- Next by Date: Re: Creating a custom class/Namespace
- Previous by thread: Database Statistics... Best way to maintain stats???
- Next by thread: Re: Database Statistics... Best way to maintain stats???
- Index(es):