Beefy Boxes and Bandwidth Generously Provided by pair Networks kudra
P is for Practical
 
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 lurking in the Monastery: (9)
As of 2014-04-24 11:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (565 votes), past polls