doctrine / couchdb-odm

A Document Mapper based on CouchDB
http://www.doctrine-project.org
MIT License
150 stars 53 forks source link

Collection scan getting slower and slower #107

Open rigaux opened 9 years ago

rigaux commented 9 years ago

Hello

I have to scan a small collection from CouchDB (~150 object), apply some change and then flush the changes. Initially, it take a few seconds. When I repeat the process with other collections it takes more and more time. If I repeatedly run the scan on the same collection, it alos gets slower and slower (more than 1 mn at the end).

Cannot figure out what happens. I am using V1.Alpha2, I call a dm->clear() at the beginning. Any any where I could search for an explanation?

Thanks a lot

Philippe