I recognized that my confluence instance has some hundreds of stale drafts and I tried to remove them following this knowledge base articel:
https://confluence.atlassian.com/confkb/how-to-manually-remove-stale-drafts-from-confluence-database-951392345.html
Unfortunately the DELETE FROM CONTENT raises the following error:
Msg 547, Level 16, State 0, Line 1
The DELETE statement conflicted with the SAME TABLE REFERENCE constraint "FKwjyn6091q3l1gl7bh143ma2a". The conflict occurred in database "confluence", table "dbo.CONTENT", column 'PAGEID'.
The statement has been terminated.
Completion time: 2022-01-30T16:17:40.9020249+01:00
Anybody who came over this issue?