Today our site started giving fatal error(DB Error: unknown error) screen when trying to view contact. Nothing recorded in php or apache log, but found below error in my CiviCRM logs
[nativecode=1116 ** Too many tables; MariaDB can only use 61 tables in a join]
Found a relevant issue/blog for this but none of them have provided any solutions. Is it a known issue in CiviCRM?
CiviCRM version: 5.15.2
CMS - Drupal
CiviCRM logging - OFF
Backtrace : https://pastebin.com/6vV59YDM
Any help or pointers would be appreciated.