From tlumley at u.washington.edu  Wed Oct 24 01:09:23 2007
From: tlumley at u.washington.edu (Thomas Lumley)
Date: Tue, 23 Oct 2007 16:09:23 -0700 (PDT)
Subject: [Rd] RSQLite indexing: summary
Message-ID: <Pine.LNX.4.43.0710231609230.4220@hymn14.u.washington.edu>


I asked about slow indexing in RSQLite for a genetic database.  Seth Falcon's suggestion of making sure that the identifiers were stored as integer rather than string made a big difference.  SNPs come from the factory as "rs100092" and stripping the "rs" off the front is easy.

Other advice about larger or smaller SQLite cache size didn't seem to have much impact in my setting, and I didn't try the advice about getting a different database.

Despite it's many other virtues, SQLite is still slow at indexing.

Thanks to all.

     -thomas=

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



[Rd] RSQLite indexing: summary
Thomas Lumley