Re: Parallel copy - Mailing list pgsql-hackers

From Amit Kapila
Subject Re: Parallel copy
Date
Msg-id CAA4eK1KqQ_NnUvv9n=pM_b-zQPei4p=S5FWoPoZoxn-N7tkkhg@mail.gmail.com
Whole thread Raw
In response to Re: Parallel copy  (David Fetter <david@fetter.org>)
Responses Re: Parallel copy
List pgsql-hackers
On Thu, Feb 20, 2020 at 5:12 AM David Fetter <david@fetter.org> wrote:
>
> On Fri, Feb 14, 2020 at 01:41:54PM +0530, Amit Kapila wrote:
> > This work is to parallelize the copy command and in particular "Copy
> > <table_name> from 'filename' Where <condition>;" command.
>
> Apropos of the initial parsing issue generally, there's an interesting
> approach taken here: https://github.com/robertdavidgraham/wc2
>

Thanks for sharing.  I might be missing something, but I can't figure
out how this can help here.  Does this in some way help to allow
multiple workers to read and tokenize the chunks?

-- 
With Regards,
Amit Kapila.
EnterpriseDB: http://www.enterprisedb.com



pgsql-hackers by date:

Previous
From: Dmitry Dolgov
Date:
Subject: Re: Experimenting with transactional memory for SERIALIZABLE
Next
From: Daniel Gustafsson
Date:
Subject: Re: Add PostgreSQL home page to --help output