Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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
Replies are listed 'Best First'.
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 contemplating the Monastery: (11)
As of 2015-07-31 10:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (276 votes), past polls