agora inbox for pgsql-sql@postgresql.org
help / color / mirror / Atom feedFrom: Sonnenberg-Carstens, Stefan <ssonnenberg@ophardt.com>
To: Mark Teper <mark.teper@gmail.com>
To: pgsql-sql@lists.postgresql.org <pgsql-sql@lists.postgresql.org>
Subject: AW: plpython transforms vs. arrays
Date: Mon, 6 May 2019 09:34:08 +0000
Message-ID: <18e2584b905d47409a46b385a9b91157@OPHT402P.ophardt.com> (raw)
In-Reply-To: <CAMwSyGq7rke2+32j9ZUOxx+vEa-1m3QBOXckpOi0Ry8JxSVxPg@mail.gmail.com>
References: <CAMwSyGq7rke2+32j9ZUOxx+vEa-1m3QBOXckpOi0Ry8JxSVxPg@mail.gmail.com>
Understood, a great example what is possible if the toolset is open ;-)
Mit freundlichen Grüßen
Stefan Sonnenberg-Carstens
Teamleiter Softwareentwicklung WECO / DevOps Engineer
B.Sc. Wirtschaftsinformatik
[Signatur_50-Jahre-ingo-man]
OPHARDT HYGIENE-TECHNIK GmbH + Co. KG
Lindenau 27
D - 47661 Issum
Tel: +49 2835 18-492
Fax: +49 2835 18-28492
Mail: ssonnenberg@ophardt.com<mailto:ssonnenberg@ophardt.com>
www.OPHARDT.com<http://www.ophardt.com/;
Handelsregistereintrag beim Amtsgericht Kleve:
Kommanditgesellschaft HRA 1681, Komplementärin:
OPHARDT HYGIENE-TECHNIK VerwaltungsGmbH HRB 3910
Geschäftsführer: Thomas Houcken
USt.-Identifikations-Nr.: DE813067257
CONFIDENTIALITY NOTICE:
This e-mail communication and any attachments may contain confidential and privileged information for the use
of the designated recipients named above. Any unauthorized review, use, disclosure or distribution is prohibited.
If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies
of the original message.
Von: Mark Teper [mailto:mark.teper@gmail.com]
Gesendet: Montag, 6. Mai 2019 11:33
An: Sonnenberg-Carstens, Stefan; pgsql-sql@lists.postgresql.org
Betreff: Re: plpython transforms vs. arrays
Hi Stefan,
> is the Python code running inside the PostgreSQL instance?
Yes, it is using the PL Python language so it runs in the PostgreSQL instance. With some help from Tom, I've been able to make the change needed to allow this transform.
I need to do some more testing, but my preliminary results for the arrays I'm interested in show transforming Postgres to Numpy is about 5x faster and transforming Numpy back to Postgres about 2x faster.
Regards,
Mark
Attachments:
[image/png] image001.png (9.2K, ../18e2584b905d47409a46b385a9b91157@OPHT402P.ophardt.com/3-image001.png)
download | view image
Message-ID: <18e2584b905d47409a46b385a9b91157@OPHT402P.ophardt.com>
Permalink: ../18e2584b905d47409a46b385a9b91157@OPHT402P.ophardt.com/
Also on: postgresql.org/message-id/18e2584b905d47409a46b385a9b91157@OPHT402P.ophardt.com
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: ssonnenberg@ophardt.com, mark.teper@gmail.com, pgsql-sql@lists.postgresql.org
Subject: Re: AW: plpython transforms vs. arrays
In-Reply-To: <18e2584b905d47409a46b385a9b91157@OPHT402P.ophardt.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox