Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: "Can't use index" with DBD::SQLite

by Anonymous Monk
on Jan 29, 2013 at 21:42 UTC ( #1015934=note: print w/ replies, xml ) Need Help??


in reply to "Cannot use index" with DBD::SQLite

You don't need to tell SQLite which indexes do or do not exist ...


Comment on Re: "Can't use index" with DBD::SQLite
Re^2: "Can't use index" with DBD::SQLite
by LonelyPilgrim (Sexton) on Jan 29, 2013 at 22:51 UTC
    Apparently you do, since such is specified in the documentation, and since without the "INDEXED BY," the query takes a good 10-20 seconds to run, so it is clearly not using the index. (Which may be yet another indication that my index was incorrectly created.)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1015934]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2014-08-23 09:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (173 votes), past polls