I have devel query log / page execution time enabled on my site and most of the queries which are slowing down my site are related to DrupalDatebaseCache.
DrupalDatabaseCache::set
Sample Query :
UPDATE cache SET serialized=:db_update_placeholder_0, created=:db_update_placeholder_1, expire=:db_update_placeholder_2, data=:db_update_placeholder_3 WHERE ( (cid = :db_condition_placeholder_0) )
INSERT INTO cache_menu (cid, serialized, created, expire, data) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4)
Any clue what drupal is doing with caching and how to minimize it . thanks
####Update####
I installed Memcache but still DrupalDatabaseCache calls are being made which is making the site slow .
cache_form
bin, get it from the database, not from the default which is set as memcache". You can try removing that line so cache_form is stored in memory, but the form cache is slightly different than the other bins, and general advice is to keep it in the database, or user's form submission experiences might be volatile. You can probably get away with it in memory on a dev site, but definitely don't do it on prod