From: | Vadim Mikheev <vadim(at)krs(dot)ru> |
---|---|
To: | Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp> |
Cc: | pgsql-hackers <pgsql-hackers(at)postgreSQL(dot)org> |
Subject: | Re: [HACKERS] Questions about bufmgr |
Date: | 1999-10-05 09:39:50 |
Message-ID: | 37F9C766.1F753DC7@krs.ru |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hiroshi Inoue wrote:
>
> I'm trying to fix a TODO item
> * spinlock stuck problem when elog(FATAL) and elog(ERROR) inside bufmgr
...
> And I have other questions which are irrevalent to the TODO item.
>
> 1. Why does BufferReplace() call smgrflush()(not smgrwrite()) ?
> Are there any reasons that we couldn't postpone fsync() until
> commit ?
>
> 2. Why does FlushRelationBuffers() call FlushBuffer() ?
> Isn't it a overhead to call fsync() per page ?
Pleeease don't touch bufmgr for the moment - it will be
changed due to WAL implementation. Currently I do data
base startup/shutdown stuff but will switch to bufmgr
in 1-2 days.
Vadim
From | Date | Subject | |
---|---|---|---|
Next Message | Jan Wieck | 1999-10-05 09:43:25 | Re: [HACKERS] Planner drops unreferenced tables --- bug, no? |
Previous Message | Hiroshi Inoue | 1999-10-05 09:32:44 | Questions about bufmgr |