One of our customers reported a performance issue related to berlindb especially for sites with large tables. This is related to SHOW TABLES... query in.
|
public function exists() { |
The proposed solution
Changed the query to below, we could see improved performance when we do this. we've forked the repo but before creating a PR we thought opening a ticket here to know if there are other things we aren't considering with the solution.
SELECT table_name FROM information_schema.tables WHERE table_name = '%s' LIMIT 1