K
K
kdeit2018-05-29 16:34:45
1C-Bitrix
kdeit, 2018-05-29 16:34:45

How to store properties in highload blocks?

There is a shop. After importing from 1C to IB, the catalog has more than 2000 properties and 1M of goods. Admin works through time.
I dug around and found out that the solution could be to store properties in highload blocks. But the implementation is problematic.
The OnBeforeIBlockPropertyAdd handler managed to transfer properties to hiqhload. They are not created in the catalog IB and are created in highload.
BUT how now to take values ​​of properties of the goods?
There is no property value in $arParams OnStartIBlockElementAdd and OnStartIBlockElementUpdate (since properties are not created).
Maybe someone faced a similar problem? How did you decide?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Savrasov, 2018-05-30
@alcorn

With such a volume, it is necessary to implement the storage of properties in separate tables. This option is available in the infoblock settings.
highload directories are needed to store large properties of the list type.
By moving to highload, you did NOT solve the problem of a large number of properties, but only transferred the value options to a separate table. Those. the properties themselves all exactly need to be created.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question