D
D
Dmitry2022-04-07 00:36:45
1C-Bitrix
Dmitry, 2022-04-07 00:36:45

How to write a huge number of records to Highload blocks at a time?

There is a third-party api that sends transaction logs for the last 3 months. The number of lines is about 50,000 lines. Every day it is necessary to receive this data by cron and write it to highload blocks. The incoming data element has a unique ID. Is it possible to somehow immediately record an element as a new one or update the old one in highload blocks without unloading all the elements and comparing in cycles? Is it possible to manually set the ID when creating the highload element of the block so that they are the same (for the api and for the highload block)? And then it’s easy to update using this ID

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question