Re: OK, it's the matter of database structure rather
- From: Cesar Rabak <csrabak@xxxxxxxxxxxx>
- Date: Sun, 16 Sep 2007 22:52:19 -0300
ZB escreveu:
Dnia 16.09.2007 Cesar Rabak <csrabak@xxxxxxxxxxxx> napisał/a:
Once you go the database engine, you've to employ a db schema apropriate to the db you choose.
I'm not sure, what you mean. Of course, the schema (structures) must be in
some way be taken into consideration by the script. So...?
Once you decide to use the db engine, you'll design the schema and use the Tcl interface to fetch or add/update data in the db.
Or you still insist in getting a lot of data, cache it in structures coded in Tcl to manipulate them?
Only in the last case your phrase '...must be in some way be take into consideration..." would make sense (at least to me :-).
So the discussion on arrays, etc. in Tcl becomes moot.
Well, usually discussions are led because of moots. And there are some
interesting conclusions.
For the sake of the discussion, sure! For the sake of coming with the finished job, it depends!
But reading the paper...
http://www.tcl.tk/community/tcl2004/Papers/D.RichardHipp/drh.html
...I'm wondering - after all this discussion - whether can be possible
action (almost) directly on the database contents. Although up to now I was
always fetching the data from SQL-server into some structure, the tight
integration of SQLite with Tcl perhaps allows to omit such step? I'm not
sure about influence on performance - even using :memory: there must be
some influence - but maybe it'll be fast enough anyway?
Without knowing a little bit about your data and the volume of it, answering this would be guessing.
.
- Follow-Ups:
- References:
- Still no records
- From: ZB
- Re: Still no records
- From: Larry W. Virden
- Re: Still no records
- From: ZB
- Re: Still no records
- From: Michael Schlenker
- Re: Still no records
- From: Bruce
- Re: Still no records
- From: tom.rmadilo
- Re: Still no records
- From: ZB
- Re: Still no records
- From: Donal K. Fellows
- Re: Still no records
- From: ZB
- OK, it's the matter of database structure rather
- From: ZB
- Re: OK, it's the matter of database structure rather
- From: Donal K. Fellows
- Re: OK, it's the matter of database structure rather
- From: ZB
- Re: OK, it's the matter of database structure rather
- From: Cesar Rabak
- Re: OK, it's the matter of database structure rather
- From: ZB
- Still no records
- Prev by Date: Re: OK, it's the matter of database structure rather
- Next by Date: Re: OK, it's the matter of database structure rather
- Previous by thread: Re: OK, it's the matter of database structure rather
- Next by thread: Re: OK, it's the matter of database structure rather
- Index(es):
Relevant Pages
|