unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Canan Talayhan <canan.t.talayhan@gmail.com>
To: guix-devel@gnu.org, Christopher Baines <mail@cbaines.net>
Subject: [Outreachy] [Guix Data Service]: Identify the slow parts of process
Date: Tue, 27 Apr 2021 17:10:02 +0300	[thread overview]
Message-ID: <CAAosC5JAXMKFLJHb=5M6yxw9mpjzM3QJBupUR0j8R-mkRAyODw@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 728 bytes --]

Hi Chris,

I am writing to give you an update on the progress that I have made.

I've created a temporary table named temp_package_metadata[1] and
insert a revision that already in my local database[2]. Then as you
said I've run the slow query with EXPLAIN ANALYZE. (screenshot is
attached) I may understand the slow query's working logic.

[1]CREATE TEMPORARY TABLE temp_package_metadata (LIKE package_metadata
INCLUDING ALL)

[2]INSERT INTO temp_package_metadata (home_page,
location_id,license_set_id,package_description_set_id,
package_synopsis_set_id) VALUES ('https://zlib.net/',9,9,2373,1407)

Now, I'm looking into a specific issue that arises when called
insert-missing-data-and-return-all-ids.

Thanks,
Canan Talayhan

[-- Attachment #2: query_plan.png --]
[-- Type: image/png, Size: 70041 bytes --]

             reply	other threads:[~2021-04-27 14:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-27 14:10 Canan Talayhan [this message]
2021-04-27 18:26 ` [Outreachy] [Guix Data Service]: Identify the slow parts of process Christopher Baines
2021-05-02 13:01   ` Canan Talayhan
2021-05-02 14:10     ` Christopher Baines

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAAosC5JAXMKFLJHb=5M6yxw9mpjzM3QJBupUR0j8R-mkRAyODw@mail.gmail.com' \
    --to=canan.t.talayhan@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=mail@cbaines.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).