Rebol Talk Forum  |  REBOL Discussions  |  REBOL Sand Box  |  RebDB  |  Topic: A general question on technique ...
Pages: [1] Print
Author Topic: A general question on technique ...  (Read 2184 times)
jfdutcher
Jr. Member
**
Offline Offline

Posts: 95


View Profile
A general question on technique ...
« on: April 28, 2006, 01:01:44 PM »

I am converting a fixed record, fixed file size app and have started out by building a large nested block much like the db described in "Rebol, The Offical Guide".  RebDB sounds much more appealing ....but while I have a 'maximum' of (300) rows...they would either have 120 odd columns or columns of 'blocks' which would reduce the # of rows considerably. Using your 'row-id' I believe I could add - delete indefinitely without a need to sort the table...I have a key field  value I have to use for each. In the old system I pick the records and keep their physical record # with them , sort them,  and then get the rest of the data using record # (or in RebDB, row-id).  Over half the file is spaces - it's repeating data that either is, or is not,  present.
I wonder if more than (1) RebDB table can be open at once..even though everything has been in one file in the old system I realize the
DB architect types  would want to split the repeating values into
'related' tables....but if I can store blocks, even 'empty' blocks as a
column...maybe just as well. The current file occupys 789 kb on a
Windows system.   
Logged
Ashley
Newbie
*
Offline Offline

Posts: 37


View Profile
Re: A general question on technique ...
« Reply #1 on: April 28, 2006, 08:43:36 PM »

RebDB supports blocks (and lists / hashs) as column values, and note that columns are not "type cast" so you can quite happily store different REBOL types within the same column.

RebDB allows you to have multiple tables open at the same time, but currently doesn't support JOIN type operations (allowing a single statement to access multiple tables at the same time).
Logged
Pages: [1] Print 
Rebol Talk Forum  |  REBOL Discussions  |  REBOL Sand Box  |  RebDB  |  Topic: A general question on technique ...
Jump to:  

  
Quick Search...

Advanced search
  
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 17, 2008, 05:54:23 PM
Username: Password: Session Length:
  

News: 01-09-08

Alpha version of REBOL 3 has been released!


  
2169 Posts in 562 Topics by 1224 Members
Latest Member: thyptoste

  Rebol Talk Forum | Powered by SMF 1.0.9.
© 2001-2005, Lewis Media. All Rights Reserved.

RT design by Defiant Pc