Re: Direct I/O

Поиск
Список
Период
Сортировка
Искать
От
Thomas Munro
Тема
Re: Direct I/O
Дата
Msg-id
CA+hUKG+x_vkYChOrJMdEvBjqoOe+=k8Y-hWkLAkEuidhjL7j4Q@mail.gmail.com
Ответ на
Re: Direct I/O (Thomas Munro)
Список
Дерево обсуждения
Direct I/O Thomas Munro <thomas.munro@gmail.com>
Re: Direct I/O Justin Pryzby <pryzby@telsasoft.com>
Re: Direct I/O Thomas Munro <thomas.munro@gmail.com>
Re: Direct I/O Andres Freund <andres@anarazel.de>
Re: Direct I/O Andres Freund <andres@anarazel.de>
Re: Direct I/O Thomas Munro <thomas.munro@gmail.com>
Re: Direct I/O Thomas Munro <thomas.munro@gmail.com>
Re: Direct I/O Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Direct I/O Thomas Munro <thomas.munro@gmail.com>
Re: Direct I/O Thomas Munro <thomas.munro@gmail.com>
Re: Direct I/O Tom Lane <tgl@sss.pgh.pa.us>
Re: Direct I/O Thomas Munro <thomas.munro@gmail.com>
Re: Direct I/O Andres Freund <andres@anarazel.de>
Re: Direct I/O Andres Freund <andres@anarazel.de>
Re: Direct I/O Andres Freund <andres@anarazel.de>
Re: Direct I/O Thomas Munro <thomas.munro@gmail.com>
Re: Direct I/O Tom Lane <tgl@sss.pgh.pa.us>
Re: Direct I/O Andres Freund <andres@anarazel.de>
Re: Direct I/O Tom Lane <tgl@sss.pgh.pa.us>
Re: Direct I/O Andres Freund <andres@anarazel.de>
Re: Direct I/O Andrew Dunstan <andrew@dunslane.net>
Re: Direct I/O Thomas Munro <thomas.munro@gmail.com>
Re: Direct I/O Tom Lane <tgl@sss.pgh.pa.us>
Re: Direct I/O Thomas Munro <thomas.munro@gmail.com>
Re: Direct I/O Andres Freund <andres@anarazel.de>
Re: Direct I/O Thomas Munro <thomas.munro@gmail.com>
Re: Direct I/O Thomas Munro <thomas.munro@gmail.com>
Re: Direct I/O Thomas Munro <thomas.munro@gmail.com>
Re: Direct I/O Andres Freund <andres@anarazel.de>
Re: Direct I/O Thomas Munro <thomas.munro@gmail.com>
Re: Direct I/O Andres Freund <andres@anarazel.de>
Re: Direct I/O Andres Freund <andres@anarazel.de>
Re: Direct I/O Thomas Munro <thomas.munro@gmail.com>
Re: Direct I/O Thomas Munro <thomas.munro@gmail.com>
Re: Direct I/O Thomas Munro <thomas.munro@gmail.com>
Re: Direct I/O Andrea Gelmini <andrea.gelmini@gmail.com>
Re: Direct I/O Tom Lane <tgl@sss.pgh.pa.us>
Re: Direct I/O Thomas Munro <thomas.munro@gmail.com>
Re: Direct I/O Tom Lane <tgl@sss.pgh.pa.us>
Re: Direct I/O Andrew Dunstan <andrew@dunslane.net>
Re: Direct I/O Thomas Munro <thomas.munro@gmail.com>
Re: Direct I/O Andrew Dunstan <andrew@dunslane.net>
Re: Direct I/O Thomas Munro <thomas.munro@gmail.com>
Re: Direct I/O Andrew Dunstan <andrew@dunslane.net>
Re: Direct I/O Andrew Dunstan <andrew@dunslane.net>
Re: Direct I/O Thomas Munro <thomas.munro@gmail.com>
Re: Direct I/O Noah Misch <noah@leadboat.com>
Re: Direct I/O Andres Freund <andres@anarazel.de>
Re: Direct I/O Noah Misch <noah@leadboat.com>
Re: Direct I/O Andres Freund <andres@anarazel.de>
Re: Direct I/O Thomas Munro <thomas.munro@gmail.com>
Re: Direct I/O Jim Nasby <nasbyj@amazon.com>
Re: Direct I/O Andres Freund <andres@anarazel.de>
Re: Direct I/O John Naylor <john.naylor@enterprisedb.com>
Re: Direct I/O Andres Freund <andres@anarazel.de>
Re: Direct I/O Christoph Berg <myon@debian.org>
Re: Direct I/O Thomas Munro <thomas.munro@gmail.com>
Re: Direct I/O Thomas Munro <thomas.munro@gmail.com>
Re: Direct I/O Andrew Dunstan <andrew@dunslane.net>
Re: Direct I/O Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Re: Direct I/O Andrew Dunstan <andrew@dunslane.net>
Re: Direct I/O Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Re: Direct I/O Andrew Dunstan <andrew@dunslane.net>
Re: Direct I/O Thomas Munro <thomas.munro@gmail.com>
Re: Direct I/O Tom Lane <tgl@sss.pgh.pa.us>
Re: Direct I/O Andres Freund <andres@anarazel.de>
Re: Direct I/O Tom Lane <tgl@sss.pgh.pa.us>
Re: Direct I/O Andres Freund <andres@anarazel.de>
Re: Direct I/O Tom Lane <tgl@sss.pgh.pa.us>
Re: Direct I/O Thomas Munro <thomas.munro@gmail.com>
Re: Direct I/O Tom Lane <tgl@sss.pgh.pa.us>
Re: Direct I/O Thomas Munro <thomas.munro@gmail.com>
Re: Direct I/O Tom Lane <tgl@sss.pgh.pa.us>
Re: Direct I/O Mikael Kjellström <mikael.kjellstrom@mksoft.nu>
Re: Direct I/O Tom Lane <tgl@sss.pgh.pa.us>
Re: Direct I/O Andrew Dunstan <andrew@dunslane.net>
Re: Direct I/O Tom Lane <tgl@sss.pgh.pa.us>
Re: Direct I/O Andrew Dunstan <andrew@dunslane.net>
Re: Direct I/O Mikael Kjellström <mikael.kjellstrom@mksoft.nu>
Re: Direct I/O Mikael Kjellström <mikael.kjellstrom@mksoft.nu>
Re: Direct I/O Mikael Kjellström <mikael.kjellstrom@mksoft.nu>
Re: Direct I/O Michael Paquier <michael@paquier.xyz>
Re: Direct I/O Robert Haas <robertmhaas@gmail.com>
Re: Direct I/O Tom Lane <tgl@sss.pgh.pa.us>
Re: Direct I/O Noah Misch <noah@leadboat.com>
Re: Direct I/O Thomas Munro <thomas.munro@gmail.com>
Re: Direct I/O Thomas Munro <thomas.munro@gmail.com>
Re: Direct I/O Justin Pryzby <pryzby@telsasoft.com>
Re: Direct I/O Tom Lane <tgl@sss.pgh.pa.us>
Re: Direct I/O Thomas Munro <thomas.munro@gmail.com>
Re: Direct I/O Noah Misch <noah@leadboat.com>
Re: Direct I/O Thomas Munro <thomas.munro@gmail.com>
Re: Direct I/O Peter Eisentraut <peter@eisentraut.org>
Re: Direct I/O Thomas Munro <thomas.munro@gmail.com>
Re: Direct I/O Thomas Munro <thomas.munro@gmail.com>
Re: Direct I/O Andres Freund <andres@anarazel.de>
Re: Direct I/O Greg Stark <stark@mit.edu>
Re: Direct I/O Andres Freund <andres@anarazel.de>
Re: Direct I/O Thomas Munro <thomas.munro@gmail.com>
Re: Direct I/O Robert Haas <robertmhaas@gmail.com>
Re: Direct I/O Andres Freund <andres@anarazel.de>
Re: Direct I/O Robert Haas <robertmhaas@gmail.com>
Re: Direct I/O Andres Freund <andres@anarazel.de>
Re: Direct I/O Peter Geoghegan <pg@bowt.ie>
Re: Direct I/O Joe Conway <mail@joeconway.com>
Re: Direct I/O Justin Pryzby <pryzby@telsasoft.com>
Re: Direct I/O Mikael Kjellström <mikael.kjellstrom@gmail.com>
Re: Direct I/O Thomas Munro <thomas.munro@gmail.com>
Re: Direct I/O Tom Lane <tgl@sss.pgh.pa.us>
Re: Direct I/O Mikael Kjellström <mikael.kjellstrom@mksoft.nu>
Re: Direct I/O Christoph Berg <myon@debian.org>
Re: Direct I/O Thomas Munro <thomas.munro@gmail.com>
On Sun, Apr 30, 2023 at 6:35 PM Thomas Munro  wrote:
> On Sun, Apr 30, 2023 at 4:11 PM Noah Misch  wrote:
> > Speaking of the developer-only status, I find the io_direct name more enticing
> > than force_parallel_mode, which PostgreSQL renamed due to overuse from people
> > expecting non-developer benefits.  Should this have a name starting with
> > debug_?
>
> Hmm, yeah I think people coming from other databases would be tempted
> by it.  But, unlike the
> please-jam-a-gather-node-on-top-of-the-plan-so-I-can-debug-the-parallel-executor
> switch, I think of this thing more like an experimental feature that
> is just waiting for more features to make it useful.  What about a
> warning message about that at startup if it's on?

Something like this?  Better words welcome.

$ ~/install//bin/postgres -D pgdata -c io_direct=data
2023-05-01 09:44:37.460 NZST [99675] LOG:  starting PostgreSQL 16devel
on x86_64-unknown-freebsd13.2, compiled by FreeBSD clang version
14.0.5 (https://github.com/llvm/llvm-project.git
llvmorg-14.0.5-0-gc12386ae247c), 64-bit
2023-05-01 09:44:37.460 NZST [99675] LOG:  listening on IPv6 address
"::1", port 5432
2023-05-01 09:44:37.460 NZST [99675] LOG:  listening on IPv4 address
"127.0.0.1", port 5432
2023-05-01 09:44:37.461 NZST [99675] LOG:  listening on Unix socket
"/tmp/.s.PGSQL.5432"
2023-05-01 09:44:37.463 NZST [99675] WARNING:  io_direct is an
experimental setting for developer testing only
2023-05-01 09:44:37.463 NZST [99675] HINT:  File I/O may be
inefficient or not work on some file systems.
2023-05-01 09:44:37.465 NZST [99678] LOG:  database system was shut
down at 2023-05-01 09:43:51 NZST
2023-05-01 09:44:37.468 NZST [99675] LOG:  database system is ready to
accept connections
В списке pgsql-hackers по дате отправления
От: Peter Geoghegan
Дата:
От: Justin Pryzby
Дата:
Сообщение: Re: Direct I/O
FAQ