Re: FW: [HACKERS] Allow replacement of bloated primary key indexes without foreign key rebuilds

2012-07-12 Thread Amit Kapila
> From: Gurjeet Singh [mailto:singh.gurj...@gmail.com] > Sent: Friday, July 13, 2012 4:24 AM >>On Tue, Jul 10, 2012 at 2:40 AM, Amit Kapila wrote: >>> Having to drop foreign key constraints before this command, and recreate them afterwards makes this command useless to most database setups. I

Re: FW: [HACKERS] Allow replacement of bloated primary key indexes without foreign key rebuilds

2012-07-12 Thread Gurjeet Singh
On Tue, Jul 10, 2012 at 2:40 AM, Amit Kapila wrote: > > Today I learnt [1,2,3] that the feature ALTER TABLE .. ADD CONSTRAINT > ... USING INDEX we added back in the day is not so useful in the field. ** > ** > > > Having to drop foreign key constraints before this command, and > recreate them af

FW: [HACKERS] Allow replacement of bloated primary key indexes without foreign key rebuilds

2012-07-09 Thread Amit Kapila
Sorry by mistake for below mail, I have not kept hackers in loop. From: Amit Kapila [mailto:amit.kap...@huawei.com] Sent: Tuesday, July 10, 2012 12:07 PM To: 'Gurjeet Singh' Subject: RE: [HACKERS] Allow replacement of bloated primary key indexes without foreign key rebuilds F

[HACKERS] Allow replacement of bloated primary key indexes without foreign key rebuilds

2012-07-06 Thread Gurjeet Singh
Today I learnt [1,2,3] that the feature ALTER TABLE .. ADD CONSTRAINT ... USING INDEX we added back in the day is not so useful in the field. Having to drop foreign key constraints before this command, and recreate them afterwards makes this command useless to most database setups. I feel sorry tha