A
A
Alexander Ivanov2017-08-19 09:56:08
MySQL
Alexander Ivanov, 2017-08-19 09:56:08

How to solve the problem of exceeding the maximum number of JOINs?


too many tables; MySQL can only use 61 tables in a join

https://dev.1c-bitrix.ru/community/webdev/user/948... - here the guy asked, but he was not answered.
I faced the same problem.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
L
longclaps, 2017-08-19
@cimonlebedev

There are two solutions - good and correct.
The good thing is not to make such cumbersome queries.
And the right thing is to refrain from working with the database at all.

P
Prince of Denmark, 2017-08-19
@pezdatskiy

You may need to use virtual tables and views.
Here is a link to habré https://m.habrahabr.ru/post/47031/

I
Ilya Beloborodov, 2017-08-19
@kowap

Maybe where possible, use nested queries and union?

O
olgslnk, 2021-09-14
@olgslnk

Store properties in a separate table, not in a shared one

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question