Re: What language is faster, C or PL/PgSQL? - Mailing list pgsql-general

From Ovnicraft
Subject Re: What language is faster, C or PL/PgSQL?
Date
Msg-id CA+16coPKKCKDe4jsWmtrX4xmJTFkqG1KJdq+roVtjbZ-e8fAMw@mail.gmail.com
Whole thread Raw
In response to What language is faster, C or PL/PgSQL?  (Karel Riverón Escobar<kescobar@estudiantes.uci.cu>)
List pgsql-general
On Sat, Feb 2, 2013 at 10:42 AM, Karel River=C3=B3n Escobar <
kescobar@estudiantes.uci.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=C3=B3n
> University of Informatics Science
>
>
>


--=20
Cristian Salamea
@ovnicraft

pgsql-general by date:

Previous
From: Karel Riverón Escobar
Date:
Subject: What language is faster, C or PL/PgSQL?
Next
From: "Carlo Stonebanks"
Date:
Subject: Re: What language is faster, C or PL/PgSQL?