I\'m trying to speed up a query which I currently have as: SELECT * FROM `events` WHERE (field1 = \'some string\' or field1 = \'some string\')
This is more of a preference but I was wondering what people think would be the optimal option to perform. I have a Question, Answer, and Point (because I need to track which user made the point)
I am trying to build a web log analyzer based on the tomcat log. And I first push the log to the database, then do some Statistics.
Ok so I have three tables like so Students NameStudendId ---------------------- John1 Jane2 Bob3 Betty4 Class
I have开发者_开发百科 a large database (180k+ rows and growing fast) of location data and am plotting them on a google map.For a given view port, I just want to serve up a sample of 100 applicable poi
Hey there, I\'m kinda stuck trying to optimise a query which has a NOT EXISTS clause on a nested SELECT. I\'ve been rewriting my queries containing nested selects, changing them to joins, but on this
How can I compare two queries X and Y and say that X is better than Y, when they both take almost the same time in small cases scenarios?
I have a Table foo which records the sightings of bird species. foo_id is its PK, other concerned columns are s_date, latitude and longitude. species_id is its FK. I have indexes on s_date, latitude a
I have a complex SQL query with nested \'subqueries\' that I want to optimize SELECT \'likes\' `type`, entry_date item_date,
I\'ve been trying to perform a join on two tables in MySQL, and the query will run for a minute or two before I run out of memory without getting results.I\'m far from a database expert, so I\'m not s