[no subject]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2025-04-08 21:32:40.510 GMT [7073] LOG:  duration: 267423.928 ms  plan:
        Query Text: SELECT bounceevent.id AS bounceevent_id, bounceevent.list_id AS bounceevent_
list_id, bounceevent.email AS bounceevent_email, bounceevent.timestamp AS bounceevent_timestamp,
 bounceevent.message_id AS bounceevent_message_id, bounceevent.context AS bounceevent_context, b
ounceevent.processed AS bounceevent_processed 
        FROM bounceevent 
        WHERE bounceevent.processed = false
        Gather  (cost=1000.00..7441540.83 rows=1 width=137)
          Workers Planned: 2
          ->  Parallel Seq Scan on bounceevent  (cost=0.00..7440540.73 rows=1 width=137)
                Filter: (NOT processed)

Yes, thats 267seconds to process that query, all the time hammering I/O
because the table is too large to cache well.

This all pointed me to find this 7 year old bug report:
https://gitlab.com/mailman/mailman/-/issues/343
Hopefully abompard finds it a fun blast from the past. :)

Anyhow, a quick fix I think would be:

* Save a copy of the latest database dump that should have that table
backed up.
* 'truncate bounceevent' to wipe it

Thoughts? +1s? counter proposals?

I'd like to do this so the other db01 users stop having problems.

kevin
-- 
_______________________________________________
infrastructure mailing list -- infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to infrastructure-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux