Re: [sqlite] Disable index?

2006-02-20 Thread drh
Jim Dodgen <[EMAIL PROTECTED]> wrote: > one simple trick I first started using with oracle and also use with > sqlite is to do the following on the where clause > for numerics > where filda = fldb+0 > > for strings > > where flda = fldb||"" > > this would cause a index on fldb to be ignored

Re: [sqlite] Disable index?

2006-02-19 Thread Jim Dodgen
one simple trick I first started using with oracle and also use with sqlite is to do the following on the where clause for numerics where filda = fldb+0 for strings where flda = fldb||"" this would cause a index on fldb to be ignored during optimization Jim Dennis Cote wrote: On 2/18/06,

Re: [sqlite] Disable index?

2006-02-19 Thread Bert Verhees
Op zondag 19 februari 2006 13:23, schreef Nemanja Corlija: > On 2/19/06, SanjayK <[EMAIL PROTECTED]> wrote: > > I am using a virtual tree control to display columns dynamically when > > needed from the sqlite database. While it works ok for display purposes, > > in certain other operations, I need

Re: [sqlite] Disable index?

2006-02-19 Thread Nemanja Corlija
On 2/19/06, SanjayK <[EMAIL PROTECTED]> wrote: > > I am using a virtual tree control to display columns dynamically when needed > from the sqlite database. While it works ok for display purposes, in certain > other operations, I need to improve the speed. I found that the new sqlite > random

Re: [sqlite] Disable index?

2006-02-18 Thread Dennis Cote
On 2/18/06, SanjayK <[EMAIL PROTECTED]> wrote: > > > I am using a virtual tree control to display columns dynamically when > needed > from the sqlite database. While it works ok for display purposes, in > certain > other operations, I need to improve the speed. I found that the new sqlite > random

[sqlite] Disable index?

2006-02-18 Thread SanjayK
I am using a virtual tree control to display columns dynamically when needed from the sqlite database. While it works ok for display purposes, in certain other operations, I need to improve the speed. I found that the new sqlite random access (even with prepared/transaction) approach is about 15