Оптимизация нагрузки на сервер / базу данных
Проблема в чрезмерном потреблении ресурсов выделенного хостинга, и провайдер постоянно блокирует наш сайт.
Интересует оптимизация нагрузки, чтобы не возникали подобные проблемы.
Наш сайт 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.
Current freelance projects in the category Databases & SQL
Integration of Viber into 1C 8.3
223 USD
Project Meta Implement Viber integration without using third-party CRM systems. All work with messages should be done directly in our internal CRM based on BAS / 1C 8.3.Current System BAS / 1C 8.3 Custom configuration "Customer Service" Database of over 40,000… Databases & SQL, Web Programming ∙ 1 minute back |
A Senior Flutter + Backend developer is required to create an MVP for a startup (similar to Uber for household services).
223 USD
Looking for an experienced developer (or a small team) to create an MVP mobile application — a service for urgent calls to specialists similar to Uber, Uklon. Development needed: • mobile application for iOS and Android (Flutter); • server part (REST API); • admin panel; •… Databases & SQL, Hybrid Mobile Apps ∙ 15 hours 52 minutes back ∙ 33 proposals |
It is necessary to check the scripts and update the data in the Postgres database.It is necessary to correct the SQL scripts for the Postgres database. It is required to check the scripts and update data from external Excel tables and between two Postgres databases (different servers). Scripts will be run through AnyDesk using Navicat. List of data for… Databases & SQL ∙ 5 days back ∙ 18 proposals |
Need an Airtable architect to build a relational schema and a new clean Airtable base.Need help rethinking and building a clean relational schema for an internal operational system on Airtable. The current database is already in use by the team, but it has grown organically: the structure is partially flat, some tables/views are actively used, while others are… Databases & SQL, Desktop Apps ∙ 5 days 18 hours back ∙ 10 proposals |
Basketball Coaching Education Platform + Custom CMSBasketball Coaching Education Platform + Custom CMSProject Overview We are looking for an experienced web development team or full-stack developer to build a modern basketball coaching education platform. The website will provide basketball coaches with access to educational… Databases & SQL, Web Programming ∙ 6 days 11 hours back ∙ 93 proposals |