T
T
tgarl2021-12-08 11:02:45
1C-Bitrix
tgarl, 2021-12-08 11:02:45

How to optimize work with a large directory?

I am doing the functionality of unloading goods on the ozone.
Faced such a problem that you need to store directories of mandatory characteristics on your side.
I decided to approach storage in this way - I create an infoblock element where the name is the section id in ozone, in the detailed json description of all directories.
It seems to have worked out.
But then I encountered:
1. if several directories are huge, then a property overflow error occurs and nothing is saved.
2. if they are saved, then it is very difficult to select a value; the browser just freezes from the volume of this; I make a list of products that need to be filled with values, I thought I could use jquery autocomplete instead, but it got even worse

I realized that I approached storage and output incorrectly, but I don’t understand how to organize it myself, help with advice.
For example, a directory of ozone brands ~ 50000 values

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Eugene, 2021-12-08
@udjin123

Store not raw json, but in a table in the database

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question