Re: mini database - educational project
Date: 29 Aug 2003 05:55:16 -0700
Message-ID: <bcb8c360.0308290455.88647a7_at_posting.google.com>
"Matias Woloski" <woloski_at_sion.com> wrote in message news:<bilgpt$an6u8$1_at_ID-148083.news.uni-berlin.de>...
> We must do it in c or c++.
>
Oh dear...
> > Are you only having to use basic domains for attributes
> > (integers,strings,etc.) ?
>
> Yes, we should to provide CHAR(XXX), INT, LONG, FLOAT, DOUBLE, TIME, DATE.
>
I suppose my use of the word "basic" was incorrect; I should have said
"predefined only". In either case, it makes things easier.
> yes, that will be interesting...
>
Indeedy.
> I think I will go for the file based approach. Creating temporary files for
> each query. What file organization schema do you recommend? Direct or
> Indexed?
>
I'd have to say your lecturer, or whoever is setting the task, seems
hell-bent on giving you a hard time ! The "interesting" bit is really
the relational operators, and how they work. But it seems like you
might have to get interested in a whole pile of side issues (like,
"how do I get things on and off disk quickly ?") To make this
achievable, I think you'll have to find some "canned libraries" for
the basic file access parts, simply so you can focus on the useful
bits of the project, and for that I'm afraid I can't offer any useful
input. Sorry I couldn't be of more assistance on this.
- Tony
