Re: How to force PostgreSQL to use multiple cores within one connection?

From: David Fetter <david(at)fetter(dot)org>
To: "Sergey A(dot)" <n39052(at)gmail(dot)com>
Cc: PostgreSQL General <pgsql-general(at)postgresql(dot)org>
Subject: Re: How to force PostgreSQL to use multiple cores within one connection?
Date: 2008-10-01 12:17:19
Message-ID: 20081001121719.GB23422@fetter.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Oct 01, 2008 at 05:13:59AM -0700, Sergey A. wrote:
> Hello.
>
> > Are you using COPY? If not, start there :)
>
> I'm new to PostgreSQL. No, I'm not using COPY =) Are you about
> http://www.postgresql.org/docs/8.3/interactive/sql-copy.html (COPY --
> copy data between a file and a table)?

You can use it for whatever you're generating.

> Sorry, I don't understand how COPY can help me to force PostgreSQL
> to use multiple cores when processing my queries.

Multiple cores are not the solution to your problem here, but COPY
almost certainly is :)

Cheers,
David.
> --
> Sergey
>
> P.S. My application and DB can be placed on diferent hosts.

--
David Fetter <david(at)fetter(dot)org> http://fetter.org/
Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter
Skype: davidfetter XMPP: david(dot)fetter(at)gmail(dot)com

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Sergey A. 2008-10-01 12:58:25 Re: How to force PostgreSQL to use multiple cores within one connection?
Previous Message David Fetter 2008-10-01 12:00:17 Re: How to force PostgreSQL to use multiple cores within one connection?