public inbox for [email protected]
help / color / mirror / Atom feedFrom: Дмитрий Питаков <[email protected]>
To: [email protected]
Date: Mon, 17 Jun 2024 21:46:51 +0300
Message-ID: <CAN9_0q6NuQ7ZdqU37WYC43VA4v0GDkH+N9MJcAreGwNYX7F-mw@mail.gmail.com> (raw)
In libpq, in the code of the lo_import function, for each piece of a file
of 8KB in size, lo_write is called, which greatly slows down the work of
lo_import because lo_write sends a request and waits for a response. The
size of 8KB is specified in define LO_BUFSIZE which changed from 1KB to 8KB
24 years ago.
Why not increase the buffer size?
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected]
Subject: Re:
In-Reply-To: <CAN9_0q6NuQ7ZdqU37WYC43VA4v0GDkH+N9MJcAreGwNYX7F-mw@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox