Skip to content
Prev 26474 / 63424 Next

RSQLite indexing

On Mon, 22 Oct 2007, hadley wickham wrote:

            
350000x100 entries on 12 variables
Mainly that it would be nice if it did.  Preordering might help more for the larger number of levels because the smaller number of levels gives more valid places to insert a record into the index.  I could just experiment, but since it takes so long I thought it was worth asking if anyone had actual knowledge.
Yes. The reason I thought it might not be in this case is that the indexing operation uses remarkably little CPU (and doesn't use anywhere near the disk bandwidth) so I hoped there might be some saving in doing both at once.
Yes. But it has never had anything deleted from it, so it's not surprising that it didn't help.
No, indexing will be on one or the other column, not on both at once.

      -thomas

Thomas Lumley			Assoc. Professor, Biostatistics
tlumley at u.washington.edu	University of Washington, Seattle