GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Notices by Stefan Marr (smarr@mastodon.acm.org)

  1. Embed this notice
    Stefan Marr (smarr@mastodon.acm.org)'s status on Tuesday, 12-Mar-2024 13:16:31 JST Stefan Marr Stefan Marr
    in reply to
    • 🎓 Doc Freemo :jpf: 🇳🇱

    @freemo the full schema is here:

    https://github.com/smarr/ReBenchDB/blob/2414426bb93a9c170004a97207593217f02f622b/src%2Fbackend%2Fdb%2Fdb.sql#L152

    In conversation about a year ago from mastodon.acm.org permalink
  2. Embed this notice
    Stefan Marr (smarr@mastodon.acm.org)'s status on Tuesday, 12-Mar-2024 07:12:03 JST Stefan Marr Stefan Marr
    in reply to
    • 🎓 Doc Freemo :jpf: 🇳🇱

    @freemo 1) yes. there's an index. And the explain shows it's used with the index scan.

    2) The group by is needed to get the iteration data together from which the array is created.

    The long story is given here: https://stackoverflow.com/q/78130781/916546 with examples how the data looks like.

    In conversation about a year ago from mastodon.acm.org permalink

    Attachments


  3. Embed this notice
    Stefan Marr (smarr@mastodon.acm.org)'s status on Monday, 11-Mar-2024 23:48:48 JST Stefan Marr Stefan Marr

    I ended up with a PostgreSQL query that takes 1.5h to transform a data set of 6GB.🤨

    Feels like an eternity. 🤔
    https://gist.github.com/smarr/5a30c34cc38e274f634b151d9763f93c

    https://mastodon.acm.org/@smarr/112062771665024203

    In conversation about a year ago from mastodon.acm.org permalink

    Attachments


  4. Embed this notice
    Stefan Marr (smarr@mastodon.acm.org)'s status on Monday, 11-Mar-2024 23:48:47 JST Stefan Marr Stefan Marr
    in reply to
    • Jeffrey Phillips Freeman

    @freemo hm, I would assume there's an index on the primary key:
    https://github.com/smarr/ReBenchDB/blob/2414426bb93a9c170004a97207593217f02f622b/src/backend/db/db.sql#L152

    Would you have a suggestion what other indexes might be helpful here? Thanks.

    In conversation about a year ago from mastodon.acm.org permalink

    Attachments

    1. No result found on File_thumbnail lookup.
      https://github.com/smarr/ReBenchDB/blob/2414426bb93a9c170004a97207593217f02f622b/src/backend/db/db.sql
  5. Embed this notice
    Stefan Marr (smarr@mastodon.acm.org)'s status on Monday, 11-Mar-2024 23:48:45 JST Stefan Marr Stefan Marr
    in reply to
    • 🎓 Doc Freemo :jpf: 🇳🇱
    • Jeffrey Phillips Freeman

    @freemo @freemo@qoto.org

    The concrete query is in the Gist here: https://gist.github.com/smarr/5a30c34cc38e274f634b151d9763f93c

    On the partial table, an index on (runId, trialId, criterion, invocation) helps. Though, since this converts the full table, adding that index doesn't make any performance difference for the full conversion.

    I added a comment on the Gist with the `EXPLAIN ANALYZE` output. It's the first time doing performance work on this type of stuff, so, many unknowns on my end....

    In conversation about a year ago from mastodon.acm.org permalink

    Attachments


User actions

    Stefan Marr

    Stefan Marr

    Researcher, Royal Society Industry Fellow, Senior Lecturer. Working on interpreters, compilation, concurrency, and debugging tools.

    Tags
    • (None)

    Following 0

      Followers 0

        Groups 0

          Statistics

          User ID
          248531
          Member since
          11 Mar 2024
          Notices
          5
          Daily average
          0

          Feeds

          • Atom
          • Help
          • About
          • FAQ
          • TOS
          • Privacy
          • Source
          • Version
          • Contact

          GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

          Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.