pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedFuture plans for raw devices ?
9+ messages / 6 participants
[nested] [flat]
* Future plans for raw devices ?
@ 2000-06-02 14:54 Norbert Meissner <norbert.meissner@str.daimler-benz.com>
2000-06-02 15:04 ` Re: Future plans for raw devices ? Bruce Momjian <pgman@candle.pha.pa.us>
0 siblings, 1 reply; 9+ messages in thread
From: Norbert Meissner @ 2000-06-02 14:54 UTC (permalink / raw)
To: Bruce Momjian <pgman@candle.pha.pa.us>; +Cc: Ohgaki Yasuo <yasuo_ohgaki@hotmail.com>; pgsql-admin
> [ Charset ISO-8859-1 unsupported, converting... ]
> > I understand OID is signed integer which go up to 2^31.
> > Almost any case it would be sufficient. (It's sufficient for me, at least)
> >
> > What I really want to know is the same as original poster.
> >
> > > > 8. Can a database be spread over more than one disk drive?
>
> Yes, by creating symbolic links for the files in data/base/dbname.
>
> > > > 9. Can a table be spread over more than one disk drive?
>
> Yes, if it gets over 1GB, it is split and a new file created. Symbolic
> links allow them to be moved.
>
Yeah ! Strong magic! BTW: are there any plans to have the database files on raw
devices in the future?
Norbert
^ permalink raw reply [nested|flat] 9+ messages in thread
* Re: Future plans for raw devices ?
2000-06-02 14:54 Future plans for raw devices ? Norbert Meissner <norbert.meissner@str.daimler-benz.com>
@ 2000-06-02 15:04 ` Bruce Momjian <pgman@candle.pha.pa.us>
2000-06-02 16:09 ` Re: Re: Future plans for raw devices ? Karel Zak <zakkr@zf.jcu.cz>
0 siblings, 1 reply; 9+ messages in thread
From: Bruce Momjian @ 2000-06-02 15:04 UTC (permalink / raw)
To: norbert.meissner@str.daimler-benz.com; +Cc: Ohgaki Yasuo <yasuo_ohgaki@hotmail.com>; pgsql-admin
> > [ Charset ISO-8859-1 unsupported, converting... ]
> > > I understand OID is signed integer which go up to 2^31.
> > > Almost any case it would be sufficient. (It's sufficient for me, at least)
> > >
> > > What I really want to know is the same as original poster.
> > >
> > > > > 8. Can a database be spread over more than one disk drive?
> >
> > Yes, by creating symbolic links for the files in data/base/dbname.
> >
> > > > > 9. Can a table be spread over more than one disk drive?
> >
> > Yes, if it gets over 1GB, it is split and a new file created. Symbolic
> > links allow them to be moved.
> >
>
> Yeah ! Strong magic! BTW: are there any plans to have the database files on raw
> devices in the future?
>
Most think that raw devices are a pain and offer little performance
improvement and lots of portability and coding problems.
--
Bruce Momjian | http://www.op.net/~candle
pgman@candle.pha.pa.us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
^ permalink raw reply [nested|flat] 9+ messages in thread
* Re: Re: Future plans for raw devices ?
2000-06-02 14:54 Future plans for raw devices ? Norbert Meissner <norbert.meissner@str.daimler-benz.com>
2000-06-02 15:04 ` Re: Future plans for raw devices ? Bruce Momjian <pgman@candle.pha.pa.us>
@ 2000-06-02 16:09 ` Karel Zak <zakkr@zf.jcu.cz>
2000-06-02 16:12 ` Re: Re: Future plans for raw devices ? Bruce Momjian <pgman@candle.pha.pa.us>
0 siblings, 1 reply; 9+ messages in thread
From: Karel Zak @ 2000-06-02 16:09 UTC (permalink / raw)
To: Bruce Momjian <pgman@candle.pha.pa.us>; +Cc: norbert.meissner@str.daimler-benz.com, Ohgaki Yasuo <yasuo_ohgaki@hotmail.com>; pgsql-admin
On Fri, 2 Jun 2000, Bruce Momjian wrote:
> > > [ Charset ISO-8859-1 unsupported, converting... ]
> > > > I understand OID is signed integer which go up to 2^31.
> > > > Almost any case it would be sufficient. (It's sufficient for me, at least)
> > > >
> > > > What I really want to know is the same as original poster.
> > > >
> > > > > > 8. Can a database be spread over more than one disk drive?
> > >
> > > Yes, by creating symbolic links for the files in data/base/dbname.
> > >
> > > > > > 9. Can a table be spread over more than one disk drive?
> > >
> > > Yes, if it gets over 1GB, it is split and a new file created. Symbolic
> > > links allow them to be moved.
> > >
> >
> > Yeah ! Strong magic! BTW: are there any plans to have the database files on raw
> > devices in the future?
> >
>
> Most think that raw devices are a pain and offer little performance
> improvement and lots of portability and coding problems.
I don't know how much it is a performance improvement (someone say 10-20%),
but Bruce is probably right, it is a huge work and with dependence on
hardware & system implementation.
We already discussed about it --- it is hacker's archive.
IMHO now is not in PG background for features like I/O raw or on-line
replication. It needs better storage layout and tablespace feature.
Karel
^ permalink raw reply [nested|flat] 9+ messages in thread
* Re: Re: Future plans for raw devices ?
2000-06-02 14:54 Future plans for raw devices ? Norbert Meissner <norbert.meissner@str.daimler-benz.com>
2000-06-02 15:04 ` Re: Future plans for raw devices ? Bruce Momjian <pgman@candle.pha.pa.us>
2000-06-02 16:09 ` Re: Re: Future plans for raw devices ? Karel Zak <zakkr@zf.jcu.cz>
@ 2000-06-02 16:12 ` Bruce Momjian <pgman@candle.pha.pa.us>
2000-06-02 16:42 ` Re: Re: Future plans for raw devices ? Karel Zak <zakkr@zf.jcu.cz>
2000-06-02 16:53 ` Re: Re: Future plans for raw devices ? Max Pyziur <pyz@panix.com>
0 siblings, 2 replies; 9+ messages in thread
From: Bruce Momjian @ 2000-06-02 16:12 UTC (permalink / raw)
To: Karel Zak <zakkr@zf.jcu.cz>; +Cc: norbert.meissner@str.daimler-benz.com, Ohgaki Yasuo <yasuo_ohgaki@hotmail.com>; pgsql-admin
> > Most think that raw devices are a pain and offer little performance
> > improvement and lots of portability and coding problems.
>
> I don't know how much it is a performance improvement (someone say 10-20%),
> but Bruce is probably right, it is a huge work and with dependence on
> hardware & system implementation.
>
> We already discussed about it --- it is hacker's archive.
One intresting issue is that commerical databases that recommended raw
spaces are moving away from them, which helps us to know that the
raw device benefit must be pretty small.
>
> IMHO now is not in PG background for features like I/O raw or on-line
> replication. It needs better storage layout and tablespace feature.
Vadim is working on storage layout for 7.2, and replication should be
done after WAL is implemented.
--
Bruce Momjian | http://www.op.net/~candle
pgman@candle.pha.pa.us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
^ permalink raw reply [nested|flat] 9+ messages in thread
* Re: Re: Future plans for raw devices ?
2000-06-02 14:54 Future plans for raw devices ? Norbert Meissner <norbert.meissner@str.daimler-benz.com>
2000-06-02 15:04 ` Re: Future plans for raw devices ? Bruce Momjian <pgman@candle.pha.pa.us>
2000-06-02 16:09 ` Re: Re: Future plans for raw devices ? Karel Zak <zakkr@zf.jcu.cz>
2000-06-02 16:12 ` Re: Re: Future plans for raw devices ? Bruce Momjian <pgman@candle.pha.pa.us>
@ 2000-06-02 16:42 ` Karel Zak <zakkr@zf.jcu.cz>
1 sibling, 0 replies; 9+ messages in thread
From: Karel Zak @ 2000-06-02 16:42 UTC (permalink / raw)
To: Bruce Momjian <pgman@candle.pha.pa.us>; +Cc: norbert.meissner@str.daimler-benz.com, Ohgaki Yasuo <yasuo_ohgaki@hotmail.com>; pgsql-admin
On Fri, 2 Jun 2000, Bruce Momjian wrote:
> > > Most think that raw devices are a pain and offer little performance
> > > improvement and lots of portability and coding problems.
> >
> > I don't know how much it is a performance improvement (someone say 10-20%),
> > but Bruce is probably right, it is a huge work and with dependence on
> > hardware & system implementation.
> >
> > We already discussed about it --- it is hacker's archive.
>
> One intresting issue is that commerical databases that recommended raw
> spaces are moving away from them, which helps us to know that the
> raw device benefit must be pretty small.
Yes. Before one year I thought that I/O raw is very good feature. Hmm, but
if I a little explore something about it, I in current time not sure.
Primaty must be good operating system. A raw is a jink only :-)
> > IMHO now is not in PG background for features like I/O raw or on-line
> > replication. It needs better storage layout and tablespace feature.
>
> Vadim is working on storage layout for 7.2, and replication should be
> done after WAL is implemented.
I know. Will possible create on-line replication via WAL? Probably not,
because it needs locking over more backend. Has this feature (on-line
replication) anywise SQL engine? Sybase?
Karel
^ permalink raw reply [nested|flat] 9+ messages in thread
* Re: Re: Future plans for raw devices ?
2000-06-02 14:54 Future plans for raw devices ? Norbert Meissner <norbert.meissner@str.daimler-benz.com>
2000-06-02 15:04 ` Re: Future plans for raw devices ? Bruce Momjian <pgman@candle.pha.pa.us>
2000-06-02 16:09 ` Re: Re: Future plans for raw devices ? Karel Zak <zakkr@zf.jcu.cz>
2000-06-02 16:12 ` Re: Re: Future plans for raw devices ? Bruce Momjian <pgman@candle.pha.pa.us>
@ 2000-06-02 16:53 ` Max Pyziur <pyz@panix.com>
2000-06-02 18:12 ` Re: Re: Future plans for raw devices ? Bruce Momjian <pgman@candle.pha.pa.us>
1 sibling, 1 reply; 9+ messages in thread
From: Max Pyziur @ 2000-06-02 16:53 UTC (permalink / raw)
To: pgsql-admin
On Fri, 2 Jun 2000, Bruce Momjian wrote:
> > > Most think that raw devices are a pain and offer little performance
> > > improvement and lots of portability and coding problems.
> >
> > I don't know how much it is a performance improvement (someone say
10-20%),
> > but Bruce is probably right, it is a huge work and with dependence on
> > hardware & system implementation.
> >
> > We already discussed about it --- it is hacker's archive.
>
> One intresting issue is that commerical databases that recommended raw
> spaces are moving away from them, which helps us to know that the
> raw device benefit must be pretty small.
I beg to differ. Informix (the system my shop uses) blazes using raw
devices; Oracle (from what I understand) does also. Sybase (a resource
hog), on the other hand, seems to prefer cooked file systems.
> >
> > IMHO now is not in PG background for features like I/O raw or on-line
> > replication. It needs better storage layout and tablespace feature.
>
> Vadim is working on storage layout for 7.2, and replication should be
> done after WAL is implemented.
>
> --
> Bruce Momjian | http://www.op.net/~candle
> pgman@candle.pha.pa.us | (610) 853-3000
> + If your life is a hard drive, | 830 Blythe Avenue
> + Christ can be your backup. | Drexel Hill, Pennsylvania
19026
>
Max Pyziur BRAMA - Gateway Ukraine
pyz@brama.com http://www.brama.com/
^ permalink raw reply [nested|flat] 9+ messages in thread
* Re: Re: Future plans for raw devices ?
2000-06-02 14:54 Future plans for raw devices ? Norbert Meissner <norbert.meissner@str.daimler-benz.com>
2000-06-02 15:04 ` Re: Future plans for raw devices ? Bruce Momjian <pgman@candle.pha.pa.us>
2000-06-02 16:09 ` Re: Re: Future plans for raw devices ? Karel Zak <zakkr@zf.jcu.cz>
2000-06-02 16:12 ` Re: Re: Future plans for raw devices ? Bruce Momjian <pgman@candle.pha.pa.us>
2000-06-02 16:53 ` Re: Re: Future plans for raw devices ? Max Pyziur <pyz@panix.com>
@ 2000-06-02 18:12 ` Bruce Momjian <pgman@candle.pha.pa.us>
2000-06-02 18:26 ` Re: Re: Future plans for raw devices ? pyz@panix.com
0 siblings, 1 reply; 9+ messages in thread
From: Bruce Momjian @ 2000-06-02 18:12 UTC (permalink / raw)
To: Max Pyziur <pyz@panix.com>; +Cc: pgsql-admin
> On Fri, 2 Jun 2000, Bruce Momjian wrote:
>
> > > > Most think that raw devices are a pain and offer little performance
> > > > improvement and lots of portability and coding problems.
> > >
> > > I don't know how much it is a performance improvement (someone say
> 10-20%),
> > > but Bruce is probably right, it is a huge work and with dependence on
> > > hardware & system implementation.
> > >
> > > We already discussed about it --- it is hacker's archive.
> >
> > One intresting issue is that commerical databases that recommended raw
> > spaces are moving away from them, which helps us to know that the
> > raw device benefit must be pretty small.
>
> I beg to differ. Informix (the system my shop uses) blazes using raw
> devices; Oracle (from what I understand) does also. Sybase (a resource
> hog), on the other hand, seems to prefer cooked file systems.
I know about Informix, but I heard Oracle was moving away from raw
devices, and the speed improvement was only a few percentage points.
--
Bruce Momjian | http://www.op.net/~candle
pgman@candle.pha.pa.us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
^ permalink raw reply [nested|flat] 9+ messages in thread
* Re: Re: Future plans for raw devices ?
2000-06-02 14:54 Future plans for raw devices ? Norbert Meissner <norbert.meissner@str.daimler-benz.com>
2000-06-02 15:04 ` Re: Future plans for raw devices ? Bruce Momjian <pgman@candle.pha.pa.us>
2000-06-02 16:09 ` Re: Re: Future plans for raw devices ? Karel Zak <zakkr@zf.jcu.cz>
2000-06-02 16:12 ` Re: Re: Future plans for raw devices ? Bruce Momjian <pgman@candle.pha.pa.us>
2000-06-02 16:53 ` Re: Re: Future plans for raw devices ? Max Pyziur <pyz@panix.com>
2000-06-02 18:12 ` Re: Re: Future plans for raw devices ? Bruce Momjian <pgman@candle.pha.pa.us>
@ 2000-06-02 18:26 ` pyz@panix.com
2000-06-02 19:57 ` Re: Re: Future plans for raw devices ? Ragnar Kjørstad <postgres@ragnark.vestdata.no>
0 siblings, 1 reply; 9+ messages in thread
From: pyz@panix.com @ 2000-06-02 18:26 UTC (permalink / raw)
To: pgsql-admin
>
> > On Fri, 2 Jun 2000, Bruce Momjian wrote:
> >
> > > > > Most think that raw devices are a pain and offer little performance
> > > > > improvement and lots of portability and coding problems.
> > > >
> > > > I don't know how much it is a performance improvement (someone say
> > 10-20%),
> > > > but Bruce is probably right, it is a huge work and with dependence on
> > > > hardware & system implementation.
> > > >
> > > > We already discussed about it --- it is hacker's archive.
> > >
> > > One intresting issue is that commerical databases that recommended raw
> > > spaces are moving away from them, which helps us to know that the
> > > raw device benefit must be pretty small.
> >
> > I beg to differ. Informix (the system my shop uses) blazes using raw
> > devices; Oracle (from what I understand) does also. Sybase (a resource
> > hog), on the other hand, seems to prefer cooked file systems.
>
> I know about Informix, but I heard Oracle was moving away from raw
> devices, and the speed improvement was only a few percentage points.
For Informix it's far more than a few percentage points; and then
when you add striping you move even faster.
> --
> Bruce Momjian | http://www.op.net/~candle
> pgman@candle.pha.pa.us | (610) 853-3000
> + If your life is a hard drive, | 830 Blythe Avenue
> + Christ can be your backup. | Drexel Hill, Pennsylvania 19026
>
Max Pyziur BRAMA - Gateway Ukraine
pyz@brama.com http://www.brama.com/
^ permalink raw reply [nested|flat] 9+ messages in thread
* Re: Re: Future plans for raw devices ?
2000-06-02 14:54 Future plans for raw devices ? Norbert Meissner <norbert.meissner@str.daimler-benz.com>
2000-06-02 15:04 ` Re: Future plans for raw devices ? Bruce Momjian <pgman@candle.pha.pa.us>
2000-06-02 16:09 ` Re: Re: Future plans for raw devices ? Karel Zak <zakkr@zf.jcu.cz>
2000-06-02 16:12 ` Re: Re: Future plans for raw devices ? Bruce Momjian <pgman@candle.pha.pa.us>
2000-06-02 16:53 ` Re: Re: Future plans for raw devices ? Max Pyziur <pyz@panix.com>
2000-06-02 18:12 ` Re: Re: Future plans for raw devices ? Bruce Momjian <pgman@candle.pha.pa.us>
2000-06-02 18:26 ` Re: Re: Future plans for raw devices ? pyz@panix.com
@ 2000-06-02 19:57 ` Ragnar Kjørstad <postgres@ragnark.vestdata.no>
0 siblings, 0 replies; 9+ messages in thread
From: Ragnar Kjørstad @ 2000-06-02 19:57 UTC (permalink / raw)
To: pyz@panix.com; +Cc: pgsql-admin
On Fri, Jun 02, 2000 at 02:26:58PM -0400, pyz@panix.com wrote:
> > I know about Informix, but I heard Oracle was moving away from raw
> > devices, and the speed improvement was only a few percentage points.
>
> For Informix it's far more than a few percentage points; and then
> when you add striping you move even faster.
There is nothing stopping you from using striping with filesystems.
The overhead of using filesystems are very small, so the only way to get
better performance is from doing better caching.
In other words, it only makes sence if using raw devices disable the
buffer-cache, and the database cache is better than the OS-cache. It
will be very different from OS to OS.
--
Ragnar Kjørstad
^ permalink raw reply [nested|flat] 9+ messages in thread
end of thread, other threads:[~2000-06-02 19:57 UTC | newest]
Thread overview: 9+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2000-06-02 14:54 Future plans for raw devices ? Norbert Meissner <norbert.meissner@str.daimler-benz.com>
2000-06-02 15:04 ` Bruce Momjian <pgman@candle.pha.pa.us>
2000-06-02 16:09 ` Karel Zak <zakkr@zf.jcu.cz>
2000-06-02 16:12 ` Bruce Momjian <pgman@candle.pha.pa.us>
2000-06-02 16:42 ` Karel Zak <zakkr@zf.jcu.cz>
2000-06-02 16:53 ` Max Pyziur <pyz@panix.com>
2000-06-02 18:12 ` Bruce Momjian <pgman@candle.pha.pa.us>
2000-06-02 18:26 ` pyz@panix.com
2000-06-02 19:57 ` Ragnar Kjørstad <postgres@ragnark.vestdata.no>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox