Fix database and website issues2

Closed Posted 5 years ago Paid on delivery
Closed Paid on delivery

he memory usage/spike is a result of the slow MySQL queries for your account:

I was able to reproduce the issue and it is caused due to slow MySQL queries as my colleague previously explained. While the website is loading, there are constant running MySQL queries such as the following:

Code:

+--------+------------+-----------+------------+---------+------+--------------+------------------------------------------------------------------------------------------------------+-----------+---------------+

| Id | User | Host | db | Command | Time | State | Info | Rows_sent | Rows_examined |

+--------+------------+-----------+------------+---------+------+--------------+------------------------------------------------------------------------------------------------------+-----------+---------------+

| 328537 | rodneyw3_1 | localhost | rodneyw3_1 | Query | 17 | Sending data | SELECT post_id FROM wp3c_postmeta WHERE meta_key = '_wp_attached_file' AND meta_value = '2018/04/map | 1 | 0 |

| 328544 | rodneyw3_1 | localhost | rodneyw3_1 | Query | 2 | Sending data | SELECT post_id FROM wp3c_postmeta WHERE meta_key = '_wp_attached_file' AND meta_value = '2018/04/map | 1 | 0 |

| 328570 | rodneyw3_1 | localhost | rodneyw3_1 | Query | 8 | Sending data | SELECT [login to view URL] FROM wp3c_posts wposts, wp3c_postmeta wpostmeta WHERE [login to view URL] = wpostmeta.post_id | 0 | 0 |

| 328571 | rodneyw3_1 | localhost | rodneyw3_1 | Query | 7 | Sending data | SELECT post_id FROM wp3c_postmeta WHERE meta_key = '_wp_attached_file' AND meta_value = '2018/04/tex | 1 | 0

The website is loading slowly as each query takes too much time to access the needed data and there are multiple MySQL queries executed during a request. This cannot be resolved by adding more resources to the server, but the database will have to be reviewed and optimized. Especially the table with name wp3c_postmeta that has almost one million rows inside of it.

Slow queries cause a delay in the response time of websites and consume more CPU seconds and memory. They could also account for intermittent or sporadic 504 Gateway timeout errors. Optimizing them should reduce the CPU & Memory usage and may have a performance impact on the website.

Be advised that we are a hosting company and although we strive to provide the best support possible for you, database optimization is beyond our support scope as it requires deeper knowledge and skills of a professional MySQL developer.

Although our goals are to provide a high-quality hosting environment for WordPress websites, our Technical Support Team is specialized in providing assistance in case your script is not accessible due to a problem with your host server or a vital service running on it. Third-party application-related problems such as this are at times beyond the scope of our expertise.

You can also contact a professional developer who is familiar with the WordPress application and has the required knowledge and skill set to provide you with assistance on this issue.

Despite that I am unable to recommend such a developer, you should be able to find one from the freelance websites available online. You can also check our article on this here:

[login to view URL]

To assist you, I have placed the latest slow query logs in the file [login to view URL], located in your $HOME folder (/home/rodneyw3).

You will need optimize your databases as much as possible, to ensure better performance and to reduce server-side memory spikes.

For WordPress-based sites, we have the following optimization guides:

How to optimize a MySQL database using phpMyAdmin

How to Optimize WordPress for Better Performance

I' [login to view URL]), and based on the results your site would indeed benefit from optimizations.

Read the files as well

Read entire post below. If you can do it type "I can do this now"

Database Administration Database Programming HTML MySQL PHP

Project ID: #16735627

About the project

21 proposals Remote project Active 5 years ago

21 freelancers are bidding on average $178 for this job

AltiuseCreaton

Hello, "I can do this now" I checked your database issue with wordpress refine work in brief. I am ready to start and fix asap today itself Regards Rina

$233 USD in 1 day
(95 Reviews)
7.3
mizanbdit

Hi, I ready your full description, understood that problem is with database mainly and then in the website. I will optimize both database tables and website to speed up the site. I will clean these queries, I know h More

$250 USD in 4 days
(109 Reviews)
6.5
amitpandeyposin

Hello I can do this now As I have more than 6 years of experience in website development using PHP and have quite good hands in the database as well so I will fix the database and website issue and assure that yo More

$201 USD in 4 days
(75 Reviews)
6.4
deepakgoyal92

I can do this

$200 USD in 3 days
(44 Reviews)
5.6
adamlachut

Hi there, These are usual WP queries, but, most likely, the problem is here: "" the table with name wp3c_postmeta that has almost one million rows inside of it."" In many cases (if you don't have tens of thousands o More

$50 USD in 1 day
(54 Reviews)
5.1
awnishdubey1990

I can do this Now Dear sir, I'm very interested for this database & Mysql project, I have 4+ Year of experience in this Field & I can surely do this project, I work with My Experienced Team who always looki More

$100 USD in 3 days
(23 Reviews)
4.6
guptaranjeet

Hi there, Greeting. I have reviewed you are looking Developer for Fix database and website issue. I'm quite interested in your project. Let me explain my experience. I have 8 years strong Web Development and Front-end More

$100 USD in 2 days
(1 Review)
4.5
piasys

I can do this now Hi, I have gone through the information provided (including the links) and I see that there are other issues besides MySQL queries wrt headers and caching. Additionally, the MySQL queries are More

$250 USD in 21 days
(11 Reviews)
4.7
nubeorbsolutions

i can do this now. i can do this now. 'i can do this now. i can do this now. i can do this now. i can do this now. i can do this now. 'i can do tihs now. i can do this now. i can do this More

$155 USD in 3 days
(3 Reviews)
2.8
hungvotan

with 10 years experience in Wordpress, PHP, Woocommerce, SEO I can help you finish projects which you probose. we can communicate each other easily. we had several year 's experience in this area. set your mind More

$222 USD in 3 days
(6 Reviews)
2.7
varyavega

Hello Sir/Madam, I have gone through your post and delighted to say that I am looking forward to work with you. Having garnered years of experience and expertise in the relevant field, I am sure that I can swimmingl More

$200 USD in 3 days
(6 Reviews)
2.3
sanjayrathod885

A proposal has not yet been provided

$222 USD in 3 days
(0 Reviews)
0.0
rabiamasood

we need to transform your queries. it needs a week or two May be. if you are interested then contact me

$277 USD in 7 days
(0 Reviews)
0.0