Giter Club home page Giter Club logo

Comments (10)

racke avatar racke commented on June 22, 2024

@godzone, which SQL database are you using?. Also please post the query as code, so I can copy it from here easily.

from sympa.

 avatar commented on June 22, 2024

Sorry, I cut and pasted from pg_stat_activity.
DB is PostgreSQL 9.5.6 on x86_64-redhat-linux-gnu

from sympa.

 avatar commented on June 22, 2024

SELECT bounce_subscriber AS "bounce", bounce_address_subscriber AS "bounce_address", bounce_score_subscriber AS "bounce_score", custom_attribute_subscriber AS "custom_attribute", date_part('epoch',date_subscriber) AS "date", user_subscriber AS "email", suspend_end_date_subscriber AS "enddate", comment_subscriber AS "gecos", include_sources_subscriber AS "id", included_subscriber AS "included", number_messages_subscriber AS "number_messages", reception_subscriber AS "reception", suspend_start_date_subscriber AS "startdate", subscribed_subscriber AS "subscribed" suspend_subscriber AS "suspend", topics_subscriber AS "topics", date_part('epoch',update_subscriber) AS "update_date", visibility_subscriber AS "visibility" FROM subscriber_table WHERE list_subscriber = 'list-owners' AND robot_subscriber = 'godzone.net.nz' ORDER BY email

from sympa.

 avatar commented on June 22, 2024

This isn't the only query but seems to be the last that most of the sessions executed.

from sympa.

 avatar commented on June 22, 2024

Its late here so will leave this until tomorrow.

from sympa.

ikedas avatar ikedas commented on June 22, 2024

@godzone, can you try ---

  • checking query_start columns repeatedly.
    For example, if values of the column stick to the same times, queries may keep running or waiting. Otherwise, if new time values appear one after another while number of queries do not decrease much, simply many queries are issued.
  • checking log.
    If it is possible that queries are kept, please check Sympa log, pick the entries at the times queries started and show them us (encrypted passwords and parsonal e-mails would be masked).

And, I want to know what version of Sympa you have upgraded from.

from sympa.

 avatar commented on June 22, 2024

from sympa.

ikedas avatar ikedas commented on June 22, 2024

Stagnant issue. Closed for the present.

from sympa.

 avatar commented on June 22, 2024

from sympa.

ikedas avatar ikedas commented on June 22, 2024

@godzone, can you find out what function (not SQL statement) Sympa was executing when PostgreSQL executed DEALLOCATE? If possible, please show the log of Sympa around that time.

from sympa.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.