Re: DB access speeds, App(linux)<->PG(linux) vs App(linux) <->MSSql(Windows)

From: Andy Colson <andy(at)squeakycode(dot)net>
To: "Gauthier, Dave" <dave(dot)gauthier(at)intel(dot)com>, Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: Re: DB access speeds, App(linux)<->PG(linux) vs App(linux) <->MSSql(Windows)
Date: 2015-06-24 14:09:33
Message-ID: 558ABA1D.7020803@squeakycode.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 6/24/2015 8:44 AM, Gauthier, Dave wrote:
> Hi: I'm trying to get a 10,000 ft understanding of the difference in DB
> access speeds for two different scenarios...
>
> Scenario 1: Apps are on linux. PG DB is on linux (different server
> than apps)
>
> Scenario 2: Apps are on linux. MSSql DB is on Windows (obviously a
> different server)
>
> The apps are typically perl scripts using Perl DBI.
>
> I'm thinking that since perl has a DBD driver for PG, that would be
> faster than going through ODBC to get to the MsSQL DB, but I'm not sure
> about that.
>
> Any insights/guesses ?
>
> Thanks in Advance.
>

I think it'll depend on your usage.

If you fire off one really big analytic sql that chews on a huge table
and does stats and counts, then odbc vs native will make no difference.

If you fire off lots and lots of small querys that hit an index and
return very fast, then native is the way to go.

-Andy

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message John Bleichert 2015-06-24 14:20:32 Re: mirroring a server and/or hot standby
Previous Message Holger.Friedrich-Fa-Trivadis 2015-06-24 14:04:13 Re: mirroring a server and/or hot standby