How to Enable Magento 1.9.x Cache to Store in Database

cachedatabasemagento-1.9

I was searching on how to enable cache to store in database but found nothing. So, my question is:
Does magento do really has the feature to stores cache in the database?

I found out these tables – core_cache and core_cache_tag in the database. Does it meant to store Magento cache? I found that the tables is always empty even I enable cache from Magento admin panel.

Best Answer

edit the app/etc/local.xml and add this inside the <global> tag (position not important)

<cache>
    <backend>database</backend>
</cache>