运行大型UNION查询时,存储引擎收到错误28

时间:2017-05-08 17:20:54

标签: mysql database

我在运行以下大型Error Code: 1030. Got error 28 from storage engine查询时遇到错误UNION,当我运行查询时,我是UNION,他们分别运行得很好......在其他{{3帖子问题似乎是Database Server because it is out of disk space/tmp文件夹空间不足..我的问题是为什么只有大UNION个查询?

   select distinct cl.change_list_id, cl.change_list, cr.change_request, compL.component_id ,
     compL.component_label_id, compL.component_label, intS.integration_status, lr.ec_job_link, 
    lr.submitted_by, lr.submission_time, lr.completion_time, lr.lookahead_run_status 
    from change_lists as cl, component_labels_change_lists as clcl, component_labels as compL, 
    component_label_details as cld, integration_status as intS, change_lists_change_requests as clcr, 
    change_requests as cr, lookahead_run_change_list as lrcl, lookahead_run as lr where cl.change_list 
    in ( 2033001 ) and clcl.change_list_id = cl.change_list_id and 
    clcl.component_label_id = compL.component_label_id and cld.component_label_id = compL.component_label_id 
    and intS.integration_status_id = cld.integration_status_id and clcr.change_list_id = cl.change_list_id 
    and cr.change_request_id = clcr.change_request_id and lrcl.change_list_id=cl.change_list_id 
    and lrcl.lookahead_run_id=lr.lookahead_run_id and lr.lookahead_run_status='complete' 


    UNION 

select distinct cl.change_list_id, cl.change_list, cr.change_request, compL.component_id , 
    compL.component_label_id, compL.component_label, intS.integration_status, lr.ec_job_link, 
    lr.submitted_by, lr.submission_time, lr.completion_time, lr.lookahead_run_status from change_lists as cl, 
    component_labels_change_lists as clcl, component_labels as compL, component_label_details as cld, 
    integration_status as intS, change_lists_change_requests as clcr, change_requests as cr, 
    lookahead_run_change_list as lrcl, lookahead_run as lr where cr.change_request in ( 2033001 ) and 
    clcr.change_request_id = cr.change_request_id and cl.change_list_id = clcr.change_list_id and 
    clcl.change_list_id = cl.change_list_id and clcl.component_label_id = compL.component_label_id and 
    cld.component_label_id = compL.component_label_id and intS.integration_status_id = cld.integration_status_id 
    and lrcl.change_list_id=cl.change_list_id and lrcl.lookahead_run_id=lr.lookahead_run_id 
    and lr.lookahead_run_status='complete'

0 个答案:

没有答案