mysql - Options for speeding up slow SQL queries -


we're having issues few queries - relatively simple queries - take long processing. 3 000ms 30 000ms. using php 5.5 , mysql 5.5.28-29.1.

we have few options, posting here see if has experience on each of them:

  1. currently accessing views our data, done move processing load php mysql. accessing tables directly improve query processing speed? i'm thinking not, cause lead lot more queries, due fact views collations of data.
  2. if install cache db, such sqlite3, cache locally, sync rdbms, how that? , speed improve?
  3. thinking nodejs version well, using node webkit. far can understand there npm packages out there can act cache or db connection, rule out need php. how speed?
  4. another option set dedicated server environment (we're using virtual server environment moment). speed parts of up. if mysql still slow on server - it's kind of wasted.

these alternatives can think of @ moment. suggestions appreciated.

(i can post slow sql queries if need be, see if has our options first)


Comments

Popular posts from this blog

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -

YouTubePlayerFragment cannot be cast to android.support.v4.app.Fragment -