1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-17 09:41:06 +03:00
Files
mariadb-columnstore-engine/mysql/queries/nightly/srvswdev11/test108/analysis/queriesBy100.sql
2016-01-06 14:08:59 -06:00

12 lines
2.1 KiB
SQL

select id, truncate((iteration-1)/100, 0) grp, min(iteration), max(iteration), count(*), timediff(max(stop), min(stop)) tm, min(start), max(PrimProcMem) PrimProc, max(ExeMgrMem) ExeMgr, max(rowsReturned) maxRows, if(max(err)=1,'yes','no') errs, if(min(correctResults)=1,'good','bad') results from test008_query where id=1 group by 1,2 order by 1;
select id, truncate((iteration-1)/100, 0) grp, min(iteration), max(iteration), count(*), timediff(max(stop), min(stop)) tm, min(start), max(PrimProcMem) PrimProc, max(ExeMgrMem) ExeMgr, max(rowsReturned) maxRows, if(max(err)=1,'yes','no') errs, if(min(correctResults)=1,'good','bad') results from test008_query where id=2 group by 1,2 order by 1;
select id, truncate((iteration-1)/100, 0) grp, min(iteration), max(iteration), count(*), timediff(max(stop), min(stop)) tm, min(start), max(PrimProcMem) PrimProc, max(ExeMgrMem) ExeMgr, max(rowsReturned) maxRows, if(max(err)=1,'yes','no') errs, if(min(correctResults)=1,'good','bad') results from test008_query where id=3 group by 1,2 order by 1;
select id, truncate((iteration-1)/100, 0) grp, min(iteration), max(iteration), count(*), timediff(max(stop), min(stop)) tm, min(start), max(PrimProcMem) PrimProc, max(ExeMgrMem) ExeMgr, max(rowsReturned) maxRows, if(max(err)=1,'yes','no') errs, if(min(correctResults)=1,'good','bad') results from test008_query where id=4 group by 1,2 order by 1;
select id, truncate((iteration-1)/100, 0) grp, min(iteration), max(iteration), count(*), timediff(max(stop), min(stop)) tm, min(start), max(PrimProcMem) PrimProc, max(ExeMgrMem) ExeMgr, max(rowsReturned) maxRows, if(max(err)=1,'yes','no') errs, if(min(correctResults)=1,'good','bad') results from test008_query where id=5 group by 1,2 order by 1;
select id, truncate((iteration-1)/100, 0) grp, min(iteration), max(iteration), count(*), timediff(max(stop), min(stop)) tm, min(start), max(PrimProcMem) PrimProc, max(ExeMgrMem) ExeMgr, max(rowsReturned) maxRows, if(max(err)=1,'yes','no') errs, if(min(correctResults)=1,'good','bad') results from test008_query where id=6 group by 1,2 order by 1;