Re: Embedded SQL inherently faster than others?

Поиск
Список
Период
Сортировка
От Dann Corbit
Тема Re: Embedded SQL inherently faster than others?
Дата
Msg-id D90A5A6C612A39408103E6ECDD77B8299CAA6F@voyager.corporate.connx.com
обсуждение исходный текст
Ответ на Embedded SQL inherently faster than others?  (leinfidel@netscape.net (Kevin))
Список pgsql-general
> -----Original Message-----
> From: Rob [mailto:pgadmin@itsbeen.sent.com]
> Sent: Wednesday, May 05, 2004 12:25 PM
> To: pgsql-general@postgresql.org
> Subject: Re: [GENERAL] Embedded SQL inherently faster than others?
>
>
> Dann Corbit snip:
> >>-----Original Message-----
> >>From: Kevin [mailto:leinfidel@netscape.net]
> >>Sent: Tuesday, May 04, 2004 10:18 AM
> >>To: pgsql-general@postgresql.org
> >>Subject: [GENERAL] Embedded SQL inherently faster than others?
> >>
> >>
> >>Hello,
> >>
> >
> >>I'm looking for absolute maximum database result speed and if
> >>that means writing something in C and embedded SQL, versus
> >>Perl using DBI or whatever...that's fine.
> >
> >
> > Benchmark your application.  90% of the time will be in ten percent
> > of...
>
> And if you don't have a method for reusing connections or
> doing some connection pooling then for short running sql,
> much of the time will be spent on establishing a connection.

Connection time is never a problem for me.  So (as usual) YMMV.

Besides connection pooling, other obvious answers would include reusing
the existing connections for queries.

Consider a web server.  If the people who are attaching do not need
special rights to data (e.g. all users of the application are at the
same level) then the web server can launch a collection of database
engines and maintain a thread pool for attaching users that compete for
those resources.

There is always a way around performance problems.  And why all the
sudden concern about connection times?  Are lots of people actually
having a problem with it or is it some angels dancing on the heads of
pins kind of a thing?

В списке pgsql-general по дате отправления:

Предыдущее
От: Kris Jurka
Дата:
Сообщение: Re: Using Postgres from WSAD
Следующее
От: Andrew Sullivan
Дата:
Сообщение: Re: postgres mirroring (real-time)