w43L / blog: General Index Strategies

I’m reading Pro MySQL, and just found those guidelines on indexing which look so helpful

  • Analyze WHERE, ON, GROUP BY, and ORDER BY clauses
  • Minimize the size of indexed fields
  • Pick fields with high data selectivity
  • Clustering key choice is important
  • Consider indexing multiple fields if a covering index would occur
  • Make sure column types match on join conditions
  • Ensure an index can be used
  • Keep index statistics current with the ANALYZE TABLE command
  • Profile your queries

i know each one of these guidlines is a big subject on its own, but i think thats your job to search about it ;)

w43L / blog: my new secret project

im so excited right now, because soon i’ll be working on something new, it is a free-time project, but it is intersting and i never did something like this before. all i can say is that it uses python , php & mysql

update: stopped for a while



all posts



2010
April
26Search flickr for Creative Commons content only
13Technologia
March
28Developing the web
17Now with youtu.be URLs
February
14FBps: no more proxies
January
29Be civil to all …
16Open source and politics
8All the systems suck


2009
December
30Get your old retweets back
23Enabling twitter integrated search in syria
November
22Announcing @mutweeps
September
10No more google reader
August
22Ramadan Kareem
March
26MySQL Workbench OSS 5.1.9
26General Index Strategies
February
22Automating FTP Logins
9Kaspersky Customer Database Exposed


2008
December
22Life…
October
10my new secret project
6The New look
June
29The Art of Blocking
21google 404 or 403
19just another reason to move to python
19Charging Lines
3my first python script
May
28Get Your IQ Rank
12Time to Change !
April
9Network
1Star Wars via telnet
1Revolution OS
February
6good code & bad code
6Microsoft & Yahoo!
January
23Microsoft knows better

subscribe