Re: schema help
Date: Tue, 25 Dec 2007 14:40:08 -0800 (PST)
Message-ID: <ba921ddc-2823-46a4-a98b-32243501d565_at_a35g2000prf.googlegroups.com>
On Dec 25, 12:37 pm, magawake <magaw..._at_gmail.com> wrote:
> Hello:
> I am trying to learn SQL and RDBMS theories. To acheive this, I
> decided to assign myself a project.
>
> My project is basically, account for my NFS mounts, and keep track of
> them. I want to see which filesystems are growing, and which
> filesystems are staying the same. I will get an inventory daily. I
> will grab the data and place it into a database, using PERL or AWK.
>
[some illustrative data]
>
> So my intentention is, to show do stats on these filesystems, and see
> when it grows and when it stays the same. I will get these stats
> daily, and hopefully in a month, I can see what is growing, shrinking,
> and staying the same.
>
> Any ideas on the schema? do I really need a RDBMS for this?
>
> TIA
A fascinating question I've long pondered. Since I am interested in
the general question, I'll take the liberty to restate it, accurately
I hope:
Since a relational database represents the model state of a known universe, is it possible to ask/answer the question: How has the database changed over time?
Would it not be better to utilize the OP's data capture approach by
periodically evaluating a query, saving the query response externally
and computing "deltas" between query responses (extensions) over
time?? (This is fundamentally the data warehouse approach in which a
relational database is used to capture periodic snapshots.)
What do other people think about this? Is it better to implement a
Rob Received on Tue Dec 25 2007 - 23:40:08 CET
