drupal-8drupal-modulesdrupal-database

Flag module causes excessive rows (more than 1million) in database


We are using the flag module in Drupal 8 for a community website. The views are joined with the flag table and the flagging table has grown to more than 1M rows, causing database issue while making the website slow to load. Has anyone encountered the database issue with flag module? Any suggestions? Thanks in advance.


Solution

  • Did you check the issues for flag?

    I see these reports that seem relevant: