Оптимизация нагрузки на сервер / базу данных
Проблема в чрезмерном потреблении ресурсов выделенного хостинга, и провайдер постоянно блокирует наш сайт.
Интересует оптимизация нагрузки, чтобы не возникали подобные проблемы.
Наш сайт www.carnitec.com
Вот последнее сообщение от хостинга:
We detected that your website carnitec.com continuously consumes a higher than the reasonable percentage of the shared resources of the server it is hosted on. As a result, we had to temporarily put an upper limit to the shared server resources your account can use in order to maintain the stability of the server.
CAUSE OF HIGH RESOURCE CONSUMPTION:
We have conducted a detailed investigation and it turned out that WordPress executes slow queries towards its database, which eventually hogs the server. The server tries to execute your slow queries while putting other processes in the queue until some memory is freed. While they are waiting however, they stack up and cause further problems. There can be many reasons for slow database queries, but the following 3 are the most common ones:
1. Large database
2. Not well written scripts
3. Large number of internal links that query the database directly.
Here are some of the database queries that are slow and consume a lot of server resources:
Executed: 171 time for minumum: 1.746560 sec, maximum: 960.514011 sec
SELECT DISTINCT s.id, s.name, s.context, st.status, s.gettext_context, st.value AS tra, st.mo_string AS mo_string, s.value AS orig FROM car_icl_string_pages sp INNER JOIN car_icl_string_urls su ON su.id = sp.url_id INNER JOIN car_icl_strings s ON s.id = sp.string_id LEFT JOIN car_icl_string_translations st ON s.id=st.string_id AND st.language=su.language AND s.language!=su.language WHERE (su.language='en' and su.url='products/([^/] )(?:/([0-9] ))?/?$') or (su.language='en' and su.url IS NULL);
-------------------------------------------------------------------------------------------------------------------
=== Databases Info =======================================================================
Database Label Tables Views InnoDB MyISAM Slow Queries Slowest Query DB Size
------------------- ----- ------ ----- ------ ------ ------------ ------------- --------
carnitec_carnew 115 0 114 1 23 901.197 274.8 MB
From the queries above we can conclude that your issue is caused by the database carnitec_carnew.
RECOMMENDED SOLUTIONS:
----- START OF CASE SELECTION -----
1. Optimize or remove the problematic script
Having not well written scripts is a quite complex problem. It may be caused by an additionally installed extension/module that is not working properly, or it may be in the application itself.
If the reason is in an extension/module, the easiest solution would be to disable/remove it. This can usually be done from the application's admin area.
If the problem is in the application itself, solving it may take much more time and effort and will probably require advanced programming skills. In such cases it would be best to contact the application's developers and ask for further assistance. They should be able to examine the issue and offer a suitable solution for it.
Aktualne zlecenia dla freelancerów w kategorii Bazy danych i SQL
Należy sprawdzić skrypty i zaktualizować dane w bazie danych postgres.Konieczne jest poprawienie skryptów SQL dla bazy Postgres. Należy sprawdzić skrypty i zaktualizować dane z zewnętrznych tabel Excel oraz między dwoma bazami (różne serwery) Postgres. Uruchamianie skryptów przez program AnyDesk Navicat. Lista danych do sprawdzenia i korekty: 1.… Bazy danych i SQL ∙ 15 godzin 54 minuty temu ∙ 18 ofert |
Potrzebny architekt Airtable do zbudowania schematu relacyjnego i nowej czystej bazy AirtablePotrzebna pomoc w przemyśleniu i zbudowaniu czystiej schemy relacyjnej dla wewnętrznego systemu operacyjnego w Airtable. Obecna baza jest już używana przez zespół, ale rozwinęła się organicznie: struktura jest częściowo płaska, część tabel/widoków jest używana aktywnie, część… Bazy danych i SQL, Aplikacje desktopowe ∙ 1 dzień 9 godzin temu ∙ 9 ofert |
Platforma edukacyjna dla trenerów koszykówki + niestandardowy CMSPlatforma edukacyjna dla trenerów koszykówki + Custom CMSPrzegląd projektu Poszukujemy doświadczonego zespołu deweloperskiego lub programisty full-stack do zbudowania nowoczesnej platformy edukacyjnej dla trenerów koszykówki. Strona internetowa zapewni trenerom koszykówki dostęp… Bazy danych i SQL, Programowanie stron internetowych ∙ 2 dni 2 godziny temu ∙ 86 ofert |
Integracja Viber w 8.3
843 PLN
Potrzebna integracja Viber w własnym CRM (1C 8.3)O firmieFirma "Domofon System" zajmuje się instalacją i serwisowaniem systemów domofonowych.Baza ponad 40 000 abonentów.Pracujemy na własnym dopracowanym systemie opartym na 1C 8.3.Szukamy specjalisty lub zespołu do… Bazy danych i SQL, Tworzenie chatbota ∙ 2 dni 6 godzin temu ∙ 16 ofert |
Dopracowanie 1C UT 11 dla TSD Zebra (RDP): różne sygnały dźwiękowe podczas skanowania
84 PLN
Konfiguracja: 1C UT 11 Adresowy magazyn Terminal Zebra TC26 Praca przez RDP Skanowanie towarów odbywa się w dokumentach przyjęcia, umiejscowienia, selekcji oraz innych operacjach magazynowych. Aktualny problem: Magazynierzy pracują przez terminal Zebra. Podczas skanowania nie… C#, Bazy danych i SQL ∙ 4 dni 3 godziny temu ∙ 6 ofert |