进程“mysqld”被终止,因为wordpress中的系统内存不足?

时间:2016-02-03 11:38:24

标签: mysql regex wordpress

我收到错误 - :

  

由于系统处于低位,因此“mysqld”进程终止   存储器

我的托管服务提供商说这可能是因为执行了以下类型的查询 -

SELECT  wprb_posts.ID
    FROM  wprb_posts
    INNER JOIN  wprb_postmeta ON ( wprb_posts.ID = wprb_postmeta.post_id )
    INNER JOIN  wprb_postmeta as ywmk ON ( wprb_posts.ID = ywmk.post_id )
    WHERE  1=1
      AND  ( ( wprb_postmeta.meta_key = '_visibility'
                      AND  CAST(wprb_postmeta.meta_value AS CHAR) IN ('search',
                               'visible') ) 
           )
      AND  wprb_posts.post_type = 'product'
      AND  ((wprb_posts.post_status = 'publish'))
      AND  ( ywmk.meta_key = '_visibility'
              AND  CAST( ywmk.meta_value AS CHAR) IN ('search','visible') 
           )
      AND  ( (wprb_posts.post_title REGEXP 'Global?(.*)Arthroscopes?(.*)Industry?(.*)Report?(.*)2016') )
    GROUP BY  wprb_posts.ID
    ORDER BY  (CASE
WHEN wprb_posts.post_title LIKE '%Global Arthroscopes Industry Report 2016%' THEN 1
WHEN wprb_posts.post_title LIKE '%Global%'
              AND  wprb_posts.post_title LIKE '%Arthroscopes%'
              AND  wprb_posts.post_title LIKE '%Industry%'
              AND  wprb_posts.post_title LIKE '%Report%'
              AND  wprb_posts.post_title LIKE '%2016%' THEN 2
WHEN wprb_posts.post_title LIKE '%Global%'
              OR  wprb_posts.post_title LIKE '%Arthroscopes%'
              OR  wprb_posts.post_title LIKE '%Industry%'
              OR  wprb_posts.post_title LIKE '%Report%'
              OR  wprb_posts.post_title LIKE '%2016%' THEN 3
WHEN wprb_posts.post_content LIKE '%Global Arthroscopes Industry Report 2016%' THEN 4
ELSE 5 END )
    LIMIT  0, 11

以及

SELECT  wprb_posts.ID
    FROM  wprb_posts
    INNER JOIN  wprb_postmeta ON ( wprb_posts.ID = wprb_postmeta.post_id )
    INNER JOIN  wprb_postmeta as ywmk ON ( wprb_posts.ID = ywmk.post_id )
    WHERE  1=1
      AND  ( ( wprb_postmeta.meta_key = '_visibility'
                      AND  CAST(wprb_postmeta.meta_value AS CHAR) IN ('search',
                               'visible') ) 
           )
      AND  wprb_posts.post_type = 'product'
      AND  ((wprb_posts.post_status = 'publish'))
      AND  ( ywmk.meta_key = '_visibility'
              AND  CAST( ywmk.meta_value AS CHAR) IN ('search','visible') 
           )
      AND  ( (wprb_posts.post_title REGEXP 'Global?(.*)Arthrodesis?(.*)Plates?(.*)Industry?(.*)Report?(.*)2016') )
    GROUP BY  wprb_posts.ID
    ORDER BY  (CASE
WHEN wprb_posts.post_title LIKE '%Global Arthrodesis Plates Industry Report 2016%' THEN 1
WHEN wprb_posts.post_title LIKE '%Global%'
              AND  wprb_posts.post_title LIKE '%Arthrodesis%'
              AND  wprb_posts.post_title LIKE '%Plates%'
              AND  wprb_posts.post_title LIKE '%Industry%'
              AND  wprb_posts.post_title LIKE '%Report%'
              AND  wprb_posts.post_title LIKE '%2016%' THEN 2
WHEN wprb_posts.post_title LIKE '%Global%'
              OR  wprb_posts.post_title LIKE '%Arthrodesis%'
              OR  wprb_posts.post_title LIKE '%Plates%'
              OR  wprb_posts.post_title LIKE '%Industry%'
              OR  wprb_posts.post_title LIKE '%Report%'
              OR  wprb_posts.post_title LIKE '%2016%' THEN 3
WHEN wprb_posts.post_content LIKE '%Global Arthrodesis Plates Industry Report 2016%' THEN 4
ELSE 5 END )
    LIMIT  0, 11 

有人可以帮帮我吗?

0 个答案:

没有答案