Re: [PERFORM] adding foreign key constraint locks up table

2011-01-13 Thread kakarukeys
On Jan 9, 11:34 am, robertmh...@gmail.com (Robert Haas) wrote: > On Wed, Jan 5, 2011 at 2:09 AM, kakarukeys wrote: > > As requested, here are some output of the investigative queries, run > > when the problem occurred. I could see some locks there, but I don't > >

Re: [PERFORM] adding foreign key constraint locks up table

2011-01-07 Thread kakarukeys
On Dec 28 2010, 9:55 pm, kakarukeys wrote: > On Dec 28, 9:37 pm, singh.gurj...@gmail.com (Gurjeet Singh) wrote: > > > > > On Tue, Dec 28, 2010 at 2:08 AM, kakarukeys wrote: > > > I have a table "aaa" which is not very big. It has less than 10'000 > &g

Re: [PERFORM] adding foreign key constraint locks up table

2010-12-28 Thread kakarukeys
On Dec 28, 9:37 pm, singh.gurj...@gmail.com (Gurjeet Singh) wrote: > On Tue, Dec 28, 2010 at 2:08 AM, kakarukeys wrote: > > I have a table "aaa" which is not very big. It has less than 10'000 > > rows. However read operations on this table is very frequent. > &

[PERFORM] adding foreign key constraint locks up table

2010-12-27 Thread kakarukeys
I have a table "aaa" which is not very big. It has less than 10'000 rows. However read operations on this table is very frequent. Whenever I try to create a new table "bbb" with foreign key pointing to "aaa". The operation locks, and reading "aaa" is not possible. The query also never seems to fin