I’m using Cakephp 3.3 and DebugKit is enabled. I have noticed that ‘some’ of the controller actions are issuing many additional SQL queries related to information_scheme like these:
SHOW FULL COLUMNS
information_schema.key_column_usage AS kcu
INNER JOIN information_schema.referential_constraints AS rc ON (
kcu.CONSTRAINT_NAME = rc.CONSTRAINT_NAME
AND kcu.CONSTRAINT_SCHEMA = rc.CONSTRAINT_SCHEMA
kcu.TABLE_SCHEMA = 'myschema’
AND kcu.TABLE_NAME = 'businesses’
AND rc.TABLE_NAME = ‘businesses’
- Why is this happening ?
- Is this there a way to stop Cakephp from doing this ?
- Is it happening because of DebugKit ?