> > > Do not add TID to key but store key anywhere in duplicate > > > chain and just read lefter child page while positioning index scan, > > > as we do right now for partial keys? > > > > > This will result in additional reads but I like it much more than > > > current "logic"... > > > > What about unique key insertions ? We'll have to find leftmost key in this case and do what we do now. Vadim
> -----Original Message----- > From: Mikheev, Vadim > > > > > Do not add TID to key but store key anywhere in duplicate > > > > chain and just read lefter child page while positioning index scan, > > > > as we do right now for partial keys? > > > > > > > This will result in additional reads but I like it much more than > > > > current "logic"... > > > > > > > What about unique key insertions ? > > We'll have to find leftmost key in this case and do what we do now. > Currently the page contains the leftmost key is the target page of insertion and is locked exclusively but it may be different in extra TID implementation. There may be a very rare deadlock possibility. Hiroshi Inoue Inoue@tpf.co.jp
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера