-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
There are a lot of logs as CREATE TABLE IF NOT EXISTS "_SCHEMA" #7021
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
And it was caused when traffic increased. I will check the logs what is calling |
_ensureSchemaCollectionExists Is called for every request to Postgres for some reason. I’m working on schema improvements right now. I can look into this |
8 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
New Issue Checklist
Issue Description
There are a lot of log as
CREATE TABLE IF NOT EXISTS "_SCHEMA" ( "className" varChar(120), "schema" jsonb, "isParseClass" bool, PRIMARY KEY ("className") )
And My DB connection pool is higher at the time.
I am not sure it makes some problem to the DB
or
the logs are made a lot when DB connection has a problem.
I found some related query in PostgreAdopter:
parse-server/src/Adapters/Storage/Postgres/PostgresStorageAdapter.js
Lines 875 to 892 in bbae55d
Steps to reproduce
Checking postgreSQL logs on the RDS.
The log is shown around every 30 secs
But sometimes there are too many logs when backend server requests a lot.
Actual Outcome
Expected Outcome
Environment
This is my Parse config.
Server
4.4.0
FILL_THIS_OUT
AWS
scalable server (EC2)Database
Postgres
11+
AWS Aurora postgres
Client
iOS, Android
FILL_THIS_OUT
Logs
The text was updated successfully, but these errors were encountered: