At 22:25 2002-11-21 +0100, you wrote:
On Thu, 21 Nov 2002 10:41:48 -0600That doesn't help the initial HotSync... Just copying a DB with 30000 records to the device is an ordeal, as the device has to do 30,000 separate memory allocations, plus 30,000 record index reallocations. It can get really, really painful.
Ben Combee <[EMAIL PROTECTED]> wrote:
> At 17:14 2002-11-21 +0100, you wrote:
> > i need to store 30000 records in a pdb. Each record has an unique 15
> > chars id,
> > which is also used as the sorting key.
> >
> > Can i store it in a single pdb or it's better to split it?
>
> You can use a single PDB, but it would be a very good idea to combine
> multiple records into a single Palm OS record. If you don't, then your
> HotSync times will be outrageous.
That's true. i think i'll keep track on the modified records on the host machine
and only transfer those who had been modified since the last sync.
By combining multiple records into one and doing your own indexing. Remember that the Palm OS DB format was designed for things like to-do lists and address books that have a few hundred records at most.Luckly the Palm doesn't need to alter them.30000 records is quite near to 2^15 or Int16, which is the limit on the lists, AFAIK. How am i supposed to break the barrier?
--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com
--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
