﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
29626	Implement an optimized version of delete_many() for the db cache backend	oliver	nobody	"Now delete_many() in core.backends.base.BaseCache is as follows.

{{{
    def delete_many(self, keys, version=None):
        """"""
        Delete a bunch of values in the cache at once. For certain backends
        (memcached), this is much more efficient than calling delete() multiple
        times.
        """"""
        for key in keys:
            self.delete(key, version=version)
}}}

And cache.backends.db does not implement delete_many()
So if i retrieve 100 entries from the db cache, 100 queries are executed instead of just one
It should be fixed

This ticket is similar to https://code.djangoproject.com/ticket/29584"	Cleanup/optimization	closed	Core (Cache system)	dev	Normal	fixed			Ready for checkin	1	0	0	0	0	0
