Project

General

Profile

Bug #21034 » slow_query.log

Boone Gorges, 2024-09-24 04:59 PM

 
1
/usr/sbin/mysqld, Version: 5.6.51-91.0-56-log (Percona XtraDB Cluster (GPL), Release rel91.0, Revision c714694, WSREP version 28.46, wsrep_28.46). started with:
2
Tcp port: 3306  Unix socket: /var/lib/mysql/mysql.sock
3
Time                 Id Command    Argument
4
# Time: 240922 12:02:30
5
# User@Host: commons_admin[commons_admin] @  [146.96.128.221]  Id: 1771525
6
# Schema: commons_wp  Last_errno: 0  Killed: 0
7
# Query_time: 26.144772  Lock_time: 0.000055  Rows_sent: 527  Rows_examined: 527  Rows_affected: 0
8
# Bytes_sent: 1399658
9
use commons_wp;
10
SET timestamp=1727020950;
11
SELECT option_name, option_value FROM wp_1_options WHERE autoload = 'yes';
12
# Time: 240922 12:03:05
13
# User@Host: commons_admin[commons_admin] @  [146.96.128.221]  Id: 1771897
14
# Schema: commons_wp  Last_errno: 0  Killed: 0
15
# Query_time: 27.308047  Lock_time: 0.000084  Rows_sent: 527  Rows_examined: 527  Rows_affected: 0
16
# Bytes_sent: 1399658
17
SET timestamp=1727020985;
18
SELECT option_name, option_value FROM wp_1_options WHERE autoload = 'yes';
19
# Time: 240922 12:03:21
20
# User@Host: commons_admin[commons_admin] @  [146.96.128.221]  Id: 1772278
21
# Schema: commons_wp  Last_errno: 0  Killed: 0
22
# Query_time: 11.389739  Lock_time: 0.000908  Rows_sent: 4  Rows_examined: 4  Rows_affected: 0
23
# Bytes_sent: 129548
24
SET timestamp=1727021001;
25
SELECT wp_1515_posts.* FROM wp_1515_posts WHERE ID IN (1303,1523,464,5);
26
# Time: 240922 19:32:22
27
# User@Host: commons_admin[commons_admin] @  [146.96.128.221]  Id: 2121308
28
# Schema: commons_wp  Last_errno: 0  Killed: 0
29
# Query_time: 12.805216  Lock_time: 0.000069  Rows_sent: 0  Rows_examined: 1  Rows_affected: 1
30
# Bytes_sent: 11
31
SET timestamp=1727047942;
32
DELETE FROM `wp_31275_options` WHERE `option_name` = 'jetpack_site_products';
33
# User@Host: commons_admin[commons_admin] @  [146.96.128.221]  Id: 2121424
34
# Schema: commons_wp  Last_errno: 0  Killed: 0
35
# Query_time: 12.677403  Lock_time: 0.000073  Rows_sent: 0  Rows_examined: 0  Rows_affected: 1
36
# Bytes_sent: 13
37
SET timestamp=1727047942;
38
INSERT INTO `wp_bp_invitations` (`user_id`, `inviter_id`, `invitee_email`, `class`, `item_id`, `secondary_item_id`, `type`, `content`, `date_modified`, `invite_sent`, `accepted`) VALUES (53210, 0, '', 'bp_groups_invitation_manager', 3306, 0, 'request', '', '2024-09-22 23:32:09', 0, 0);
39
# User@Host: commons_admin[commons_admin] @  [146.96.128.221]  Id: 2121397
40
# Schema: commons_wp  Last_errno: 0  Killed: 0
41
# Query_time: 11.913201  Lock_time: 0.001221  Rows_sent: 0  Rows_examined: 1  Rows_affected: 1
42
# Bytes_sent: 52
43
SET timestamp=1727047942;
44
UPDATE `wp_1013_options` SET `option_value` = '1727047930' WHERE `option_name` = 'wysija_last_php_cron_call';
45
# User@Host: commons_admin[commons_admin] @  [146.96.128.221]  Id: 2121419
46
# Schema: commons_wp  Last_errno: 0  Killed: 0
47
# Query_time: 10.980756  Lock_time: 0.000160  Rows_sent: 0  Rows_examined: 1  Rows_affected: 1
48
# Bytes_sent: 52
49
SET timestamp=1727047942;
50
UPDATE `wp_10500_options` SET `option_value` = 'a:3:{s:7:\"version\";s:16:\"6.3.2:1533060716\";s:11:\"old_version\";s:16:\"6.3.2:1533060716\";s:14:\"last_heartbeat\";i:1727047931;}' WHERE `option_name` = 'jetpack_options';
51
# User@Host: commons_admin[commons_admin] @  [146.96.128.221]  Id: 2121450
52
# Schema: commons_wp  Last_errno: 0  Killed: 0
53
# Query_time: 10.611752  Lock_time: 0.000095  Rows_sent: 0  Rows_examined: 2  Rows_affected: 1
54
# Bytes_sent: 52
55
SET timestamp=1727047942;
56
UPDATE `wp_34790_postmeta` SET `meta_value` = '1727047931:52607' WHERE `post_id` = 1029 AND `meta_key` = '_edit_lock';
57
# User@Host: commons_admin[commons_admin] @  [146.96.128.221]  Id: 2121452
58
# Schema: commons_wp  Last_errno: 0  Killed: 0
59
# Query_time: 10.565941  Lock_time: 0.000053  Rows_sent: 0  Rows_examined: 1  Rows_affected: 1
60
# Bytes_sent: 52
61
SET timestamp=1727047942;
62
UPDATE `wp_usermeta` SET `meta_value` = '1727047931' WHERE `user_id` = 52743 AND `meta_key` = 'wp_34828_user-settings-time';
63
# Time: 240922 19:32:40
64
# User@Host: commons_admin[commons_admin] @  [146.96.128.221]  Id: 2121502
65
# Schema: commons_wp  Last_errno: 0  Killed: 0
66
# Query_time: 22.338631  Lock_time: 4.425414  Rows_sent: 0  Rows_examined: 1  Rows_affected: 1
67
# Bytes_sent: 52
68
SET timestamp=1727047960;
69
UPDATE `wp_usermeta` SET `meta_value` = '1727047937' WHERE `user_id` = 52743 AND `meta_key` = 'wp_34828_user-settings-time';
70
# User@Host: commons_admin[commons_admin] @  [146.96.128.221]  Id: 2121308
71
# Schema: commons_wp  Last_errno: 0  Killed: 0
72
# Query_time: 17.910073  Lock_time: 0.000124  Rows_sent: 0  Rows_examined: 0  Rows_affected: 1
73
# Bytes_sent: 13
74
SET timestamp=1727047960;
75
INSERT INTO `wp_31275_options` (`option_name`, `option_value`, `autoload`) VALUES ('jetpack_site_products', 'a:0:{}', 'yes') ON DUPLICATE KEY UPDATE `option_name` = VALUES(`option_name`), `option_value` = VALUES(`option_value`), `autoload` = VALUES(`autoload`);
76
# User@Host: commons_admin[commons_admin] @  [146.96.128.221]  Id: 2121538
77
# Schema: commons_yourls  Last_errno: 0  Killed: 0
78
# Query_time: 17.908355  Lock_time: 0.000156  Rows_sent: 0  Rows_examined: 0  Rows_affected: 1
79
# Bytes_sent: 14
80
use commons_yourls;
81
SET timestamp=1727047960;
82
INSERT INTO `yourls_log` (click_time, shorturl, referrer, user_agent, ip_address, country_code) VALUES ('2024-09-22 23:32:22', 'wli0142', 'direct', 'Mozilla/5.0 (Linux; Android 5.0) AppleWebKit/537.36 (KHTML, like Gecko) Mobile Safari/537.36 (compatible; Bytespider; spider-feedback@bytedance.com)', '47.128.96.202', 'CA');
83
# User@Host: commons_admin[commons_admin] @  [146.96.128.221]  Id: 2121424
84
# Schema: commons_wp  Last_errno: 0  Killed: 0
85
# Query_time: 17.821663  Lock_time: 0.000054  Rows_sent: 0  Rows_examined: 0  Rows_affected: 1
86
# Bytes_sent: 14
87
use commons_wp;
88
SET timestamp=1727047960;
89
INSERT INTO `wp_bp_notifications` (`user_id`, `item_id`, `secondary_item_id`, `component_name`, `component_action`, `date_notified`, `is_new`) VALUES (9781, 3306, 53210, 'groups', 'new_membership_request', '2024-09-22 23:32:22', 1);
90
# User@Host: commons_admin[commons_admin] @  [146.96.128.221]  Id:    97
91
# Schema: commons_wp  Last_errno: 0  Killed: 0
92
# Query_time: 17.567096  Lock_time: 0.000064  Rows_sent: 0  Rows_examined: 1  Rows_affected: 1
93
# Bytes_sent: 52
94
SET timestamp=1727047960;
95
UPDATE wp_cavalcade_jobs SET status = 'waiting', nextrun = '2024-09-23 23:32:07' WHERE id = '3334438';
96
# Time: 240923 15:21:24
97
# User@Host: commons_admin[commons_admin] @  [146.96.128.221]  Id: 3086325
98
# Schema: commons_openlabdev  Last_errno: 0  Killed: 0
99
# Query_time: 31.991515  Lock_time: 0.000179  Rows_sent: 296  Rows_examined: 296  Rows_affected: 0
100
# Bytes_sent: 107359
101
use commons_openlabdev;
102
SET timestamp=1727119284;
103
SELECT option_name, option_value FROM wp_options WHERE autoload = 'yes';
104
# Time: 240924 11:58:06
105
# User@Host: commons_admin[commons_admin] @  [146.96.128.221]  Id: 4095991
106
# Schema: commons_wp  Last_errno: 0  Killed: 0
107
# Query_time: 13.110795  Lock_time: 0.000069  Rows_sent: 527  Rows_examined: 527  Rows_affected: 0
108
# Bytes_sent: 1399658
109
use commons_wp;
110
SET timestamp=1727193486;
111
SELECT option_name, option_value FROM wp_1_options WHERE autoload = 'yes';
112
/usr/sbin/mysqld, Version: 5.6.51-91.0-56-log (Percona XtraDB Cluster (GPL), Release rel91.0, Revision c714694, WSREP version 28.46, wsrep_28.46). started with:
113
Tcp port: 3306  Unix socket: /var/lib/mysql/mysql.sock
114
Time                 Id Command    Argument
115
# Time: 240924 13:56:15
116
# User@Host: commons_admin[commons_admin] @  [146.96.128.221]  Id:   662
117
# Schema: commons_wp  Last_errno: 0  Killed: 0
118
# Query_time: 14.143203  Lock_time: 0.000139  Rows_sent: 2  Rows_examined: 621876  Rows_affected: 0
119
# Bytes_sent: 100
120
use commons_wp;
121
SET timestamp=1727200575;
122
SELECT DISTINCT a.id  FROM wp_bp_activity a  WHERE  
123
( 
124
	( 
125
		( 
126
			a.user_id = '22407' 
127
			AND 
128
			a.hide_sitewide = 0
129
		)
130
 
131
		OR 
132
		( 
133
			a.component = 'friends' 
134
			AND 
135
			a.secondary_item_id = '22407'
136
		)
137

    
138
	)
139

    
140
)
141

    
142
 AND a.is_spam = 0 AND a.type NOT IN ('last_activity') AND a.date_recorded <= '2024-09-24 17:56:01' ORDER BY a.date_recorded DESC, a.id DESC LIMIT 0, 21;
(1-1/2)