Re: What language is faster, C or PL/PgSQL?

From: Ovnicraft <ovnicraft(at)gmail(dot)com>
To: kescobar(at)estudiantes(dot)uci(dot)cu
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: What language is faster, C or PL/PgSQL?
Date: 2013-02-02 17:04:46
Message-ID: CA+16coPKKCKDe4jsWmtrX4xmJTFkqG1KJdq+roVtjbZ-e8fAMw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sat, Feb 2, 2013 at 10:42 AM, Karel Riverón Escobar <
kescobar(at)estudiantes(dot)uci(dot)cu> wrote:

> Hi people,
>
> I need to write an algorithm for processing large amounts of data. I want
> to write a function on PgAdmin 3 to solve my problem. I need to know what
> language should be used, C or PL/PgSQL?
>
> Needless to say, what I need is quickly. What language is faster, C or
> PL/PgSQL?
>

Hello, performance processing data is not 100% related to language, IMO is
more related with algorithm.
You need to check your algorithm and order.

Answering your question i suggest you C could be some ugly but will be
faster, in this point could be good read an opinion from any PG hacker.

Regards,

>
> Greetings, Karel Riverón
> University of Informatics Science
>
>
>

--
Cristian Salamea
@ovnicraft

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Carlo Stonebanks 2013-02-02 17:36:04 Re: What language is faster, C or PL/PgSQL?
Previous Message Karel Riverón Escobar 2013-02-02 15:42:04 What language is faster, C or PL/PgSQL?