BaseGateway isDeployed performance issue

Description

Current check uses COUNT against the table name which can result in too much i/o, need to avoid this

Environment

None
Fixed

Assignee

Unassigned

Reporter

Justin Carter

Labels

None

Fix versions

Affects versions

Priority

Major