On Thu, 2004-11-18 at 22:12, Tom Lane wrote:
> Josh Berkus <josh(at)agliodbs(dot)com> writes:
> > Aside from foriegn keys, though, is there any way in which INSERT page locks
> > could block other inserts?
>
> Not for longer than the time needed to physically add a tuple to a page.
The main problem on INSERTs is that it is usually the same few pages:
the lead data block and the lead index block. There are ways of
spreading the load out across an index, but I'm not sure what happens on
the leading edge of the data relation, but I think it hits the same
block each time.
Only an issue if you have more than one CPU...
--
Best Regards, Simon Riggs