firebird icon indicating copy to clipboard operation
firebird copied to clipboard

Make FOREIGN KEY constraint to use any suitable index

Open hvlad opened this issue 1 year ago • 4 comments

Ability to automatically choose existing index to check FK constraint allows to lower number of indices and consume less disk and CPU resources.

hvlad avatar Jan 16 '24 21:01 hvlad

#7258 ?

dyemanov avatar Jan 17 '24 17:01 dyemanov

This ticket a bit more wide than #7258 - it is about automatically choose existing index (no user interaction) vs explicitly set index to use by user. But, details is not fixed yet, so it could be discussed if necessary.

hvlad avatar Jan 17 '24 18:01 hvlad

Well, I read #7258 exactly as the engine should track other indices and use any suitable one automagically. But I don't mind if we also offer some manual way. Let's get back to it after the automatic solution is implemented.

dyemanov avatar Jan 22 '24 15:01 dyemanov