Re: Nested set model with large gaps and spreads in the numbering

From: --CELKO-- <71062.1056_at_compuserve.com>
Date: 23 Sep 2002 17:18:32 -0700
Message-ID: <c0d87ec0.0209231618.3f5ec72_at_posting.google.com>


>> ... how can you choose when you should perform the compacting? I'm
thinking of a threaded newsgroup application, one that's very, very busy (lots of posts).<<

Well, I start with a DECIMAL (38,0) -- the Oracle max -- for the (lft,rgt) numbering and steps of 100 per level -- and prayer. Very few threads go pass 500 messages. Most of the additions are made on the end of the last post. So a reorg woudl be a once every few months task.

I wish I had a magic answer of eternal expansion within the bounds of finite storage. Received on Tue Sep 24 2002 - 02:18:32 CEST

Original text of this message