From: my ho <mthoatbanjo@yahoo.com>
To: pgsql-performance@postgresql.org
Cc: Jan Wieck <JanWieck@Yahoo.com>
Subject: Re: postgresql performance with multimedia
Date: Tue, 24 Aug 2004 23:54:05 -0700 (PDT)
Message-ID: <20040825065405.83731.qmail@web54107.mail.yahoo.com> (raw)
In-Reply-To: <412B2DE7.6000809@Yahoo.com>
> Tom Lane answered to that question. The code in
> question does resolve
> "localhost" with getaddrinfo() and then tries to
> create and bind a UDP
> socket to all returned addresses. For some reason
> "localhost" on your
> system resolves to an address that is not available
> for bind(2).
I tried to put my_ip instead of "localhost" in
bufmng.c and it seems to work (no more complaining).
However i check the pg_statio_all_tables and dont see
any recorded statistic at all. (all the columns are
'0')
some time postmaster shut down with this err msg:
LOG: statistics collector process (<process_id>)
exited with exit code 1
i starts postmaster with this command:
postmaster -i -p $PORT -D $PGDATA -k $PGDATA -N 32 -B
64 -o -s
> > btw, what i want to ask here is does postgreSQL
> have
> > any kind of read-ahead buffer implemented? 'cos it
> > would be useful in multimedia case when we always
> scan
> > the large table for continous data.
>
> Since there is no mechanism to control that data is
> stored contiguously
> in the tables, what would that be good for?
i thought that rows in the table will be stored
contiguously? in that case, if the user is requesting
1 row, we make sure that the continue rows are ready
in the buffer pool so that when they next requested,
they wont be asked to read from disk. For multimedia
data, this is important 'cos data needs to be
presented continuously without any waiting.
thanks again for your help
MT Ho
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
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: pgsql-performance@postgresql.org
Cc: mthoatbanjo@yahoo.com, JanWieck@Yahoo.com
Subject: Re: postgresql performance with multimedia
In-Reply-To: <20040825065405.83731.qmail@web54107.mail.yahoo.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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