Оптимизация MYSQL - только профи.
67 USDЕсть таблицы mysql (mariadb 10.5) с количеством записей от 10000 до 150000.
Количество полей в структуре таблицы 60+ Помимо этого есть несколько JOIN в запросах к другим таблицам.
Пример запроса во вложении.
На разных страницах беруться данные с разным условием WHERE и с разным количеством выделяемых столбцов из структуры. Каждый посетитель получает эти данные в СЛУЧАЙНОМ порядке RAND($seed). Всё работает быстро, НО создается очень много временных таблиц. При ДДОС даже очень мощный сервер на 24 ядра уходит в потолок процессора.
Ищу решение по оптимизации запроса выше с сохранение сортировки в случайном порядке для каждого посетителя.
Данные в таблицах постоянно обновляются пользователями. В связи с этим кеширование не используется.
На выходе скорость выполнения запросов должна быть не меньше чем была.
Готов на кардинальные решения, но в рамках Maridb+PHP.
Доступ к проекту не предоставляю! Если требуется сделаю тестовую выгрузку структуры.
Оплата либо по факту либо через безопасную сделку. Никаких предоплат так как задача не стандартная.
Ссылка на файл с запросом https://fex.net/ru/s/tvpksp1
Бюджет готов увеличить в случаи реально глобальной помощи требующей большего времени.
-
я бы попробовал вот так, но сложно без данных. https://pastebin.com/543Ua6sG
-
Добрый день, файл удален. Можете обновить?
-
Current freelance projects in the category Databases & SQL
Work with BAS CORPHello! Currently, the following tasks need to be completed: Adjustment of the printed form in BAS KORP according to the client's parameters. Specifically, the task is not to display certain fields. Updating the classifier of professions in BAS KORP for a number of… Payment Systems Integration, Databases & SQL ∙ 5 hours 49 minutes back ∙ 6 proposals |
Need a 1C specialist for refinements and development.I am looking for a 1C specialist for freelance collaboration. I am currently working with a contractor who provides support and maintenance for the 1C system. However, due to the contractor's workload, there is a need for prompt execution of additional tasks, improvements, and… Databases & SQL ∙ 1 day 12 hours back ∙ 10 proposals |
Restoring Instagram after a banOn March 3, 2026, my Instagram was blocked due to a violation of rules. I believe there has been some mistake, as the page was personal with photos and videos of my personal trips. I did not post any comments anywhere. I have sent several appeals. I cannot download my files… Databases & SQL, Web Programming ∙ 1 day 23 hours back ∙ 4 proposals |
Eliminate the issue of incomplete data import from Excel files of Nova Poshta specifications into 1C:
45 USD
Goal: There is a processing in 1C for uploading the specifications of Nova Poshta. For unclear reasons, it has stopped loading some tabular data. We need to find the reason and eliminate the problem of incomplete data import from Excel files of Nova Poshta specifications into… System & Network Administration, Databases & SQL ∙ 5 days 6 hours back ∙ 16 proposals |
Accounting, planning, and sales system for a mushroom farm
603 USD
Here is the complete, final text of the Technical Assignment (TA). It combines all your requirements: 16 chambers, 20 contractors, a schedule by days, accounting for containers, profitability calculation, and a mandatory division into three grades of mushrooms. You can fully… Databases & SQL, Client Management & CRM ∙ 7 days 10 hours back ∙ 59 proposals |