Skip to content

1040 Too many connections error while fetching related data #6

@DawoonC

Description

@DawoonC

Hi,

I'm trying to fetch related data from my DB as described in here, http://blog.dreamfactory.com/sql-and-rest-working-with-related-data.
So far, I was able to fetch related data from multiple tables with small set of data by limiting number of results (LIMIT).
However, when I removed LIMIT statement and try to fetch related data, the DSP service responded with 1040 too many connections error.
My DB is hosted on Amazon RDS service with mySQL and it has max connection limit of 60.
The table I'm trying to fetch has 62 rows, and it has foreign keys belong to other tables which have 430 rows and 43 rows.
Despite there are so few rows in all three tables, getting too many connection error seems really strange to me.
Could you explain how DSP is making related data joined under the hood, and maybe a possible solution to solve this issue?

Thank you

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions