The Daily Static
  The Daily Static
UF Archives
Register
UF Membership
Ad Free Site
Postcards
Community

Geekfinder
UFie Gear
Advertise on UF

Forum Rules
& FAQ


Username

Password


Create a New Account

 
 

Back to UserFriendly Strip Comments Index

SQL Optimization: indices by dennismv2007-07-09 19:12:11
  The former. by Arachnid2007-07-09 19:31:04
    thank you ! by dennismv 2007-07-09 19:42:05
after some testing I see that it is the case.

i.e. simple select queries I tried on partial index seem to work fine, but more complex like GROUP BY required a table scan, which surprized me..., even if I grouped by the partial keys.

also when I was selecting a particular field directly, I had type const (direct index lookup) in Unique and ref (multiple key lookup), which makes sense;
[ Reply ]

 

[Todays Cartoon Discussion] [News Index]

Come get yer ARS (Account Registration System) Source Code here!
All images, characters, content and text are copyrighted and trademarks of J.D. Frazer except where other ownership applies. Don't do bad things, we have lawyers.
UserFriendly.Org and its operators are not liable for comments or content posted by its visitors, and will cheerfully assist the lawful authorities in hunting down script-kiddies, spammers and other net scum. And if you're really bad, we'll call your mom. (We're not kidding, we've done it before.)