BoostryJP / ibet-Wallet-API

A powerful API suite for seamlessly building ibet blockchain wallet systems 🛠
https://ibet.jp/ibet-for-fin
Apache License 2.0
9 stars 0 forks source link

[FEATURE] Avoid full deletion in Indexer_CompanyList batch process #1463

Closed purplesmoke05 closed 10 months ago

purplesmoke05 commented 10 months ago

Is your feature request related to a problem? Please describe.

Currently, Indexer_CompanyList batch process involves deleting all records in single transaction and then re-adding the fetched data. Due to large size of the rsa_publickey data in company_list, this DELETE query can take a long time to execute, especially with a large number of company_list records.

Describe the solution you'd like

Modifying batch process to only delete unnecessary records, rather than performing a full deletion.