Is your feature request related to a problem? Please describe.
Currently, in the indexer_CompanyList batch process, SELECT query is issued for each obtained CompanyList using session.merge().
As the number of CompanyList increases, this results in a large number of queries being sent to the database, leading to high load.
It is preferable to reduce the number of these queries.
Describe the solution you'd like
Reduce the number of DB loads on batch indexer_CompanyList not to call SQL if there are no difference between ComapnyList json fetched in current cycle and one fetched in before cycle.
Is your feature request related to a problem? Please describe.
indexer_CompanyList
batch process,SELECT
query is issued for each obtainedCompanyList
usingsession.merge()
.CompanyList
increases, this results in a large number of queries being sent to the database, leading to high load.Describe the solution you'd like
indexer_CompanyList
not to call SQL if there are no difference between ComapnyList json fetched in current cycle and one fetched in before cycle.