An error occurred while fetching this tab.
ssbc: Fix slow cascading deletes
There are no commits yet
Push commits to the source branch or add previously merged commits to review them.
Created by: eseliger
This brings down a delete query on k8s from 625353s to 201ms. Foreign keys don't automatically have a reverse index to look up with.
Closes https://github.com/sourcegraph/sourcegraph/issues/36863
Tested this on k8s where I was seeing the issue.
Push commits to the source branch or add previously merged commits to review them.