Hello I tracked down the problem of slow database reloading in 3.1.x series. The problem was introduced with the pending_insert_to_queue() and
Message
slow reloading of the database: the problem explained
2007-01-09 by Emmanuel Dreyfus
Yahoo Groups archive
Message
2007-01-09 by Emmanuel Dreyfus