[MCOL-846] limit 0,1000 sql result is diffrent Created: 2017-08-01  Updated: 2017-08-02  Resolved: 2017-08-01

Status: Closed
Project: MariaDB ColumnStore
Component/s: ExeMgr
Affects Version/s: 1.0.9
Fix Version/s: Icebox

Type: Bug Priority: Major
Reporter: jerry ma Assignee: Unassigned
Resolution: Not a Bug Votes: 0
Labels: None
Environment:

centos6.8



 Description   

first time:
MariaDB [saas]> select xiaoshuA,mingziA,date_format(riqiA, '%Y-%m-%d %H:%i:%s') riqiA,zhengshuA from saas.u1_default_wooieuqbgs_8 limit 0, 1000;
.....

2.040000000000000 7 0000-00-00 00:00:00 607
2.860000000000000 1 2016-10-30 00:00:00 322
2.070000000000000 2 0000-00-00 00:00:00 583
2.810000000000000 3 0000-00-00 00:00:00 202
2.010000000000000 4 0000-00-00 00:00:00 274
2.560000000000000 5 0000-00-00 00:00:00 705
2.250000000000000 6 0000-00-00 00:00:00 618

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

second time:
MariaDB [saas]> select xiaoshuA,mingziA,date_format(riqiA, '%Y-%m-%d %H:%i:%s') riqiA,zhengshuA from saas.u1_default_wooieuqbgs_8 limit 0, 1000;
....

2.400000000000000 48 0000-00-00 00:00:00 762
2.550000000000000 49 0000-00-00 00:00:00 707
2.130000000000000 50 0000-00-00 00:00:00 816
2.620000000000000 52 2013-10-22 00:00:00 791
2.100000000000000 54 0000-00-00 00:00:00 234
2.100000000000000 54 2014-10-31 00:00:00 442

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

third time:
.....

2.040000000000000 7 0000-00-00 00:00:00 607
2.860000000000000 1 2016-10-30 00:00:00 322
2.070000000000000 2 0000-00-00 00:00:00 583
2.810000000000000 3 0000-00-00 00:00:00 202
2.010000000000000 4 0000-00-00 00:00:00 274
2.560000000000000 5 0000-00-00 00:00:00 705
2.250000000000000 6 0000-00-00 00:00:00 618

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

why the result is diffrent when I execute the same sql too many times ?
bty, sometimes,the result is the same.sometimes,result is diffrent.



 Comments   
Comment by David Thompson (Inactive) [ 2017-08-01 ]

There is no guarantee of results order in SQL without an order by. With columnstore and multiple pms / multi threading results may come back in any order.

Comment by jerry ma [ 2017-08-01 ]

get it,really appreciate your help.

Comment by David Thompson (Inactive) [ 2017-08-01 ]

no problem, happy to help.

Comment by jerry ma [ 2017-08-01 ]

I want to know,which mcs version can be storaged by hadoop?

Comment by David Thompson (Inactive) [ 2017-08-01 ]

This is something that was supported by infinidb and the code still exists but is not something we are emphasizing or testing internally as in some ways we see ourselves as the easier to use alternative. Is this just curiosity or do you have a use case in mind?

Comment by jerry ma [ 2017-08-02 ]

Thank you for your patience.
em,I am a Big data ecosphere devops,so I always tend to use hadoop storage.
Now,in my production,I set up 2um and 2pms with Separate storage. I have made a backup everyday to my mcs environment.
except shared storage(example nfs),does mcs support hot Active-Standby mode ?(Waste storage and machine) if so, how to do it?
what I want to know is except shared storage mode,is there others mode? just like presto ,it can use haooop storage ,mysql storage and so on.

Generated at Thu Feb 08 02:24:15 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.