start time: Tue Sep 17 12:00:01 MSK 2013 monetdbd is running spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql> sql>\q times: 1 query: SELECT count(*) FROM hits_100m; spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql>SELECT count(*) FROM hits_100m; +-----------+ +===========+ +-----------+ 1 tuple (28.886ms) sql>\q monetdbd is running spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql> sql>\q times: 2 query: SELECT count(*) FROM hits_100m; spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql>SELECT count(*) FROM hits_100m; +-----------+ +===========+ +-----------+ 1 tuple (3.581ms) sql>\q monetdbd is running spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql> sql>\q times: 3 query: SELECT count(*) FROM hits_100m; spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql>SELECT count(*) FROM hits_100m; +-----------+ +===========+ +-----------+ 1 tuple (3.829ms) sql>\q monetdbd is running spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql> sql>\q times: 1 query: SELECT count(*) FROM hits_100m WHERE AdvEngineID <> 0; spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql>SELECT count(*) FROM hits_100m WHERE AdvEngineID <> 0; +--------+ +========+ +--------+ 1 tuple (2.7s) sql>\q monetdbd is running spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql> sql>\q times: 2 query: SELECT count(*) FROM hits_100m WHERE AdvEngineID <> 0; spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql>SELECT count(*) FROM hits_100m WHERE AdvEngineID <> 0; +--------+ +========+ +--------+ 1 tuple (139.637ms) sql>\q monetdbd is running spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql> sql>\q times: 3 query: SELECT count(*) FROM hits_100m WHERE AdvEngineID <> 0; spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql>SELECT count(*) FROM hits_100m WHERE AdvEngineID <> 0; +--------+ +========+ +--------+ 1 tuple (60.264ms) sql>\q monetdbd is running spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql> sql>\q times: 1 query: SELECT sum(AdvEngineID), count(*), avg(ResolutionWidth) FROM hits_100m; spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql>SELECT sum(AdvEngineID), count(*), avg(ResolutionWidth) FROM hits_100m; +---------+-----------+--------------------------+ +=========+===========+==========================+ +---------+-----------+--------------------------+ 1 tuple (1.1s) sql>\q monetdbd is running spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql> sql>\q times: 2 query: SELECT sum(AdvEngineID), count(*), avg(ResolutionWidth) FROM hits_100m; spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql>SELECT sum(AdvEngineID), count(*), avg(ResolutionWidth) FROM hits_100m; +---------+-----------+--------------------------+ +=========+===========+==========================+ +---------+-----------+--------------------------+ 1 tuple (146.556ms) sql>\q monetdbd is running spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql> sql>\q times: 3 query: SELECT sum(AdvEngineID), count(*), avg(ResolutionWidth) FROM hits_100m; spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql>SELECT sum(AdvEngineID), count(*), avg(ResolutionWidth) FROM hits_100m; +---------+-----------+--------------------------+ +=========+===========+==========================+ +---------+-----------+--------------------------+ 1 tuple (146.063ms) sql>\q monetdbd is running spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql> sql>\q times: 1 query: SELECT sum(UserID) FROM hits_100m; spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql>SELECT sum(UserID) FROM hits_100m; overflow in calculation. sql>\q monetdbd is running spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql> sql>\q times: 2 query: SELECT sum(UserID) FROM hits_100m; spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql>SELECT sum(UserID) FROM hits_100m; overflow in calculation. sql>\q monetdbd is running spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql> sql>\q times: 3 query: SELECT sum(UserID) FROM hits_100m; spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql>SELECT sum(UserID) FROM hits_100m; overflow in calculation. sql>\q monetdbd is running spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql> sql>\q times: 1 query: SELECT count(DISTINCT UserID) FROM hits_100m; spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql>SELECT count(DISTINCT UserID) FROM hits_100m; +----------+ +==========+ +----------+ 1 tuple (7.5s) sql>\q monetdbd is running spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql> sql>\q times: 2 query: SELECT count(DISTINCT UserID) FROM hits_100m; spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql>SELECT count(DISTINCT UserID) FROM hits_100m; +----------+ +==========+ +----------+ 1 tuple (5.6s) sql>\q monetdbd is running spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql> sql>\q times: 3 query: SELECT count(DISTINCT UserID) FROM hits_100m; spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql>SELECT count(DISTINCT UserID) FROM hits_100m; +----------+ +==========+ +----------+ 1 tuple (5.4s) sql>\q monetdbd is running spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql> sql>\q times: 1 query: SELECT count(DISTINCT SearchPhrase) FROM hits_100m; spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql>SELECT count(DISTINCT SearchPhrase) FROM hits_100m; +---------+ +=========+ +---------+ 1 tuple (15.5s) sql>\q monetdbd is running spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql> sql>\q times: 2 query: SELECT count(DISTINCT SearchPhrase) FROM hits_100m; spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql>SELECT count(DISTINCT SearchPhrase) FROM hits_100m; +---------+ +=========+ +---------+ 1 tuple (12.7s) sql>\q monetdbd is running spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql> sql>\q times: 3 query: SELECT count(DISTINCT SearchPhrase) FROM hits_100m; spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql>SELECT count(DISTINCT SearchPhrase) FROM hits_100m; +---------+ +=========+ +---------+ 1 tuple (11.5s) sql>\q monetdbd is running spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql> sql>\q times: 1 query: SELECT min(EventDate), max(EventDate) FROM hits_100m; spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql>SELECT min(EventDate), max(EventDate) FROM hits_100m; +------------+------------+ +============+============+ +------------+------------+ 1 tuple (1.0s) sql>\q monetdbd is running spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql> sql>\q times: 2 query: SELECT min(EventDate), max(EventDate) FROM hits_100m; spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql>SELECT min(EventDate), max(EventDate) FROM hits_100m; +------------+------------+ +============+============+ +------------+------------+ 1 tuple (38.566ms) sql>\q monetdbd is running spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql> sql>\q times: 3 query: SELECT min(EventDate), max(EventDate) FROM hits_100m; spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql>SELECT min(EventDate), max(EventDate) FROM hits_100m; +------------+------------+ +============+============+ +------------+------------+ 1 tuple (36.837ms) sql>\q monetdbd is running spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql> sql>\q times: 1 query: SELECT AdvEngineID, count(*) FROM hits_100m WHERE AdvEngineID <> 0 GROUP BY AdvEngineID ORDER BY count(*) DESC; spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql>SELECT AdvEngineID, count(*) FROM hits_100m WHERE AdvEngineID <> 0 GROUP 0 GROUP B Y AdvEngineID ORDER BY co < AdvEngineID <> 0 GROUP BY AdvEngineID ORDER BY cou nt(*) DESC; +-------------+--------+ +=============+========+ +-------------+--------+ 18 tuples (687.604ms) sql>\q monetdbd is running spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql> sql>\q times: 2 query: SELECT AdvEngineID, count(*) FROM hits_100m WHERE AdvEngineID <> 0 GROUP BY AdvEngineID ORDER BY count(*) DESC; spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql>SELECT AdvEngineID, count(*) FROM hits_100m WHERE AdvEngineID <> 0 GROUP 0 GROUP B Y AdvEngineID ORDER BY co < AdvEngineID <> 0 GROUP BY AdvEngineID ORDER BY cou nt(*) DESC; +-------------+--------+ +=============+========+ +-------------+--------+ 18 tuples (26.271ms) sql>\q monetdbd is running spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql> sql>\q times: 3 query: SELECT AdvEngineID, count(*) FROM hits_100m WHERE AdvEngineID <> 0 GROUP BY AdvEngineID ORDER BY count(*) DESC; spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql>SELECT AdvEngineID, count(*) FROM hits_100m WHERE AdvEngineID <> 0 GROUP 0 GROUP B Y AdvEngineID ORDER BY co < AdvEngineID <> 0 GROUP BY AdvEngineID ORDER BY cou nt(*) DESC; +-------------+--------+ +=============+========+ +-------------+--------+ 18 tuples (30.261ms) sql>\q -- мощная фильтрация. После фильтрации почти ничего не остаётся, но делаем ещё агрегацию.; monetdbd is running spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql> sql>\q times: 1 query: SELECT RegionID, count(DISTINCT UserID) AS u FROM hits_100m GROUP BY RegionID ORDER BY u DESC LIMIT 10; spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql>SELECT RegionID, count(DISTINCT UserID) AS u FROM hits_100m GROUP BY Regi \q monetdbd is running spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql> sql>\q times: 2 query: SELECT RegionID, count(DISTINCT UserID) AS u FROM hits_100m GROUP BY RegionID ORDER BY u DESC LIMIT 10; spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql>SELECT RegionID, count(DISTINCT UserID) AS u FROM hits_100m GROUP BY Regi \q monetdbd is running spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql> sql>\q times: 3 query: SELECT RegionID, count(DISTINCT UserID) AS u FROM hits_100m GROUP BY RegionID ORDER BY u DESC LIMIT 10; spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql>SELECT RegionID, count(DISTINCT UserID) AS u FROM hits_100m GROUP BY Regi \q -- агрегация, среднее количество ключей.; monetdbd is running spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql> sql>\q times: 1 query: SELECT RegionID, sum(AdvEngineID), count(*) AS c, avg(ResolutionWidth), count(DISTINCT UserID) FROM hits_100m GROUP BY RegionID ORDER BY count(*) DESC LIMIT 10; spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql>SELECT RegionID, sum(AdvEngineID), count(*) AS c, avg(ResolutionWidth), c \q monetdbd is running spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql> sql>\q times: 2 query: SELECT RegionID, sum(AdvEngineID), count(*) AS c, avg(ResolutionWidth), count(DISTINCT UserID) FROM hits_100m GROUP BY RegionID ORDER BY count(*) DESC LIMIT 10; spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql>SELECT RegionID, sum(AdvEngineID), count(*) AS c, avg(ResolutionWidth), c \q monetdbd is running spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql> sql>\q times: 3 query: SELECT RegionID, sum(AdvEngineID), count(*) AS c, avg(ResolutionWidth), count(DISTINCT UserID) FROM hits_100m GROUP BY RegionID ORDER BY count(*) DESC LIMIT 10; spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql>SELECT RegionID, sum(AdvEngineID), count(*) AS c, avg(ResolutionWidth), c \q -- агрегация, среднее количество ключей, несколько агрегатных функций.; monetdbd is running spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql> sql>\q times: 1 query: SELECT MobilePhoneModel, count(DISTINCT UserID) AS u FROM hits_100m WHERE MobilePhoneModel <> '' GROUP BY MobilePhoneModel ORDER BY u DESC LIMIT 10; spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql>SELECT MobilePhoneModel, count(DISTINCT UserID) AS u FROM hits_100m WHERE <, count(DISTINCT UserID) AS u FROM hits_100m WHERE MobilePhoneModel <> '' GR '' GRO UP BY MobilePhoneModel OR '' GROUP BY MobilePhoneModel ORD ER BY u DESC LIMIT 10; +------------------+--------+ +==================+========+ +------------------+--------+ 10 tuples (22.9s) sql>\q monetdbd is running spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql> sql>\q times: 2 query: SELECT MobilePhoneModel, count(DISTINCT UserID) AS u FROM hits_100m WHERE MobilePhoneModel <> '' GROUP BY MobilePhoneModel ORDER BY u DESC LIMIT 10; spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql>SELECT MobilePhoneModel, count(DISTINCT UserID) AS u FROM hits_100m WHERE <, count(DISTINCT UserID) AS u FROM hits_100m WHERE MobilePhoneModel <> '' GR '' GRO UP BY MobilePhoneModel OR '' GROUP BY MobilePhoneModel ORD ER BY u DESC LIMIT 10; +------------------+--------+ +==================+========+ +------------------+--------+ 10 tuples (20.0s) sql>\q monetdbd is running spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql> sql>\q times: 3 query: SELECT MobilePhoneModel, count(DISTINCT UserID) AS u FROM hits_100m WHERE MobilePhoneModel <> '' GROUP BY MobilePhoneModel ORDER BY u DESC LIMIT 10; spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql>SELECT MobilePhoneModel, count(DISTINCT UserID) AS u FROM hits_100m WHERE <, count(DISTINCT UserID) AS u FROM hits_100m WHERE MobilePhoneModel <> '' GR '' GRO UP BY MobilePhoneModel OR '' GROUP BY MobilePhoneModel ORD ER BY u DESC LIMIT 10; +------------------+--------+ +==================+========+ +------------------+--------+ 10 tuples (20.8s) sql>\q -- мощная фильтрация по строкам, затем агрегация по строкам.; monetdbd is running spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql> sql>\q times: 1 query: SELECT MobilePhone, MobilePhoneModel, count(DISTINCT UserID) AS u FROM hits_100m WHERE MobilePhoneModel <> '' GROUP BY MobilePhone, MobilePhoneModel ORDER BY u DESC LIMIT 10; spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql>SELECT MobilePhone, MobilePhoneModel, count(DISTINCT UserID) AS u FROM hi '' GROUP BY Mobile <_100m WHERE MobilePhoneModel <> '' GROUP BY MobileP hone, MobilePhoneModel OR '' GROUP BY MobilePhone, MobilePhoneModel ORD ER BY u DESC LIMIT 10; +-------------+------------------+--------+ +=============+==================+========+ +-------------+------------------+--------+ 10 tuples (20.4s) sql>\q monetdbd is running spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql> sql>\q times: 2 query: SELECT MobilePhone, MobilePhoneModel, count(DISTINCT UserID) AS u FROM hits_100m WHERE MobilePhoneModel <> '' GROUP BY MobilePhone, MobilePhoneModel ORDER BY u DESC LIMIT 10; spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql>SELECT MobilePhone, MobilePhoneModel, count(DISTINCT UserID) AS u FROM hi '' GROUP BY Mobile <_100m WHERE MobilePhoneModel <> '' GROUP BY MobileP hone, MobilePhoneModel OR '' GROUP BY MobilePhone, MobilePhoneModel ORD ER BY u DESC LIMIT 10; +-------------+------------------+--------+ +=============+==================+========+ +-------------+------------------+--------+ 10 tuples (20.8s) sql>\q monetdbd is running spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql> sql>\q times: 3 query: SELECT MobilePhone, MobilePhoneModel, count(DISTINCT UserID) AS u FROM hits_100m WHERE MobilePhoneModel <> '' GROUP BY MobilePhone, MobilePhoneModel ORDER BY u DESC LIMIT 10; spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql>SELECT MobilePhone, MobilePhoneModel, count(DISTINCT UserID) AS u FROM hi '' GROUP BY Mobile <_100m WHERE MobilePhoneModel <> '' GROUP BY MobileP hone, MobilePhoneModel OR '' GROUP BY MobilePhone, MobilePhoneModel ORD ER BY u DESC LIMIT 10; +-------------+------------------+--------+ +=============+==================+========+ +-------------+------------------+--------+ 10 tuples (23.3s) sql>\q -- мощная фильтрация по строкам, затем агрегация по паре из числа и строки.; monetdbd is running spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql> sql>\q times: 1 query: SELECT SearchPhrase, count(*) FROM hits_100m WHERE SearchPhrase <> '' GROUP BY SearchPhrase ORDER BY count(*) DESC LIMIT 10; spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql>SELECT SearchPhrase, count(*) FROM hits_100m WHERE SearchPhrase <> '' GRO '' GROU P BY SearchPhrase ORDER B '' GROUP BY SearchPhrase ORDER BY  count(*) DESC LIMIT 10; +---------------------------------+-------+ +=================================+=======+ write error sql>\q monetdbd is running spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql> sql>\q times: 2 query: SELECT SearchPhrase, count(*) FROM hits_100m WHERE SearchPhrase <> '' GROUP BY SearchPhrase ORDER BY count(*) DESC LIMIT 10; spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql>SELECT SearchPhrase, count(*) FROM hits_100m WHERE SearchPhrase <> '' GRO '' GROU P BY SearchPhrase ORDER B '' GROUP BY SearchPhrase ORDER BY  count(*) DESC LIMIT 10; +---------------------------------+-------+ +=================================+=======+ write error sql>\q monetdbd is running spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql> sql>\q times: 3 query: SELECT SearchPhrase, count(*) FROM hits_100m WHERE SearchPhrase <> '' GROUP BY SearchPhrase ORDER BY count(*) DESC LIMIT 10; spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql>SELECT SearchPhrase, count(*) FROM hits_100m WHERE SearchPhrase <> '' GRO '' GROU P BY SearchPhrase ORDER B '' GROUP BY SearchPhrase ORDER BY  count(*) DESC LIMIT 10; +---------------------------------+-------+ +=================================+=======+ write error sql>\q -- средняя фильтрация по строкам, затем агрегация по строкам, большое количество ключей.; monetdbd is running spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql> sql>\q times: 1 query: SELECT SearchPhrase, count(DISTINCT UserID) AS u FROM hits_100m WHERE SearchPhrase <> '' GROUP BY SearchPhrase ORDER BY u DESC LIMIT 10; spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql>SELECT SearchPhrase, count(DISTINCT UserID) AS u FROM hits_100m WHERE Sea '' GROUP BY S '' GROUP BY Se archPhrase ORDER BY u DES '' GROUP BY SearchPhrase ORDER BY u DESC  LIMIT 10; +---------------------------------+-------+ +=================================+=======+ write error sql>\q monetdbd is running spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql> sql>\q times: 2 query: SELECT SearchPhrase, count(DISTINCT UserID) AS u FROM hits_100m WHERE SearchPhrase <> '' GROUP BY SearchPhrase ORDER BY u DESC LIMIT 10; spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql>SELECT SearchPhrase, count(DISTINCT UserID) AS u FROM hits_100m WHERE Sea '' GROUP BY S '' GROUP BY Se archPhrase ORDER BY u DES '' GROUP BY SearchPhrase ORDER BY u DESC  LIMIT 10; +---------------------------------+-------+ +=================================+=======+ write error sql>\q monetdbd is running spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql> sql>\q times: 3 query: SELECT SearchPhrase, count(DISTINCT UserID) AS u FROM hits_100m WHERE SearchPhrase <> '' GROUP BY SearchPhrase ORDER BY u DESC LIMIT 10; spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql>SELECT SearchPhrase, count(DISTINCT UserID) AS u FROM hits_100m WHERE Sea '' GROUP BY S '' GROUP BY Se archPhrase ORDER BY u DES '' GROUP BY SearchPhrase ORDER BY u DESC  LIMIT 10; +---------------------------------+-------+ +=================================+=======+ write error sql>\q -- агрегация чуть сложнее.; monetdbd is running spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql> sql>\q times: 1 query: SELECT SearchEngineID, SearchPhrase, count(*) FROM hits_100m WHERE SearchPhrase <> '' GROUP BY SearchEngineID, SearchPhrase ORDER BY count(*) DESC LIMIT 10; spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql>SELECT SearchEngineID, SearchPhrase, count(*) FROM hits_100m WHERE Search '' GROUP BY Sear '' GROUP BY Searc hEngineID, SearchPhrase O '' GROUP BY SearchEngineID, SearchPhrase OR DER BY count(*) DESC LIMI \q monetdbd is running spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql> sql>\q times: 2 query: SELECT SearchEngineID, SearchPhrase, count(*) FROM hits_100m WHERE SearchPhrase <> '' GROUP BY SearchEngineID, SearchPhrase ORDER BY count(*) DESC LIMIT 10; spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql>SELECT SearchEngineID, SearchPhrase, count(*) FROM hits_100m WHERE Search '' GROUP BY Sear '' GROUP BY Searc hEngineID, SearchPhrase O '' GROUP BY SearchEngineID, SearchPhrase OR DER BY count(*) DESC LIMI \q monetdbd is running spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql> sql>\q times: 3 query: SELECT SearchEngineID, SearchPhrase, count(*) FROM hits_100m WHERE SearchPhrase <> '' GROUP BY SearchEngineID, SearchPhrase ORDER BY count(*) DESC LIMIT 10; spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql>SELECT SearchEngineID, SearchPhrase, count(*) FROM hits_100m WHERE Search '' GROUP BY Sear '' GROUP BY Searc hEngineID, SearchPhrase O '' GROUP BY SearchEngineID, SearchPhrase OR DER BY count(*) DESC LIMI \q -- агрегация по числу и строке, большое количество ключей.; monetdbd is running spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql> sql>\q times: 1 query: SELECT UserID, count(*) FROM hits_100m GROUP BY UserID ORDER BY count(*) DESC LIMIT 10; spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql>SELECT UserID, count(*) FROM hits_100m GROUP BY UserID ORDER BY count(*) < FROM hits_100m GROUP BY UserID ORDER BY count(*) D ESC LIMIT 10; +---------------------+-------+ +=====================+=======+ +---------------------+-------+ 10 tuples (6.8s) sql>\q monetdbd is running spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql> sql>\q times: 2 query: SELECT UserID, count(*) FROM hits_100m GROUP BY UserID ORDER BY count(*) DESC LIMIT 10; spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql>SELECT UserID, count(*) FROM hits_100m GROUP BY UserID ORDER BY count(*) < FROM hits_100m GROUP BY UserID ORDER BY count(*) D ESC LIMIT 10; +---------------------+-------+ +=====================+=======+ +---------------------+-------+ 10 tuples (6.9s) sql>\q monetdbd is running spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql> sql>\q times: 3 query: SELECT UserID, count(*) FROM hits_100m GROUP BY UserID ORDER BY count(*) DESC LIMIT 10; spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql>SELECT UserID, count(*) FROM hits_100m GROUP BY UserID ORDER BY count(*) < FROM hits_100m GROUP BY UserID ORDER BY count(*) D ESC LIMIT 10; +---------------------+-------+ +=====================+=======+ +---------------------+-------+ 10 tuples (6.7s) sql>\q -- агрегация по очень большому количеству ключей, может не хватить оперативки.; monetdbd is running spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql> sql>\q times: 1 query: SELECT UserID, SearchPhrase, count(*) FROM hits_100m GROUP BY UserID, SearchPhrase ORDER BY count(*) DESC LIMIT 10; spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql>SELECT UserID, SearchPhrase, count(*) FROM hits_100m GROUP BY UserID, Sea \q monetdbd is running spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql> sql>\q times: 2 query: SELECT UserID, SearchPhrase, count(*) FROM hits_100m GROUP BY UserID, SearchPhrase ORDER BY count(*) DESC LIMIT 10; spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql>SELECT UserID, SearchPhrase, count(*) FROM hits_100m GROUP BY UserID, Sea \q monetdbd is running spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql> sql>\q times: 3 query: SELECT UserID, SearchPhrase, count(*) FROM hits_100m GROUP BY UserID, SearchPhrase ORDER BY count(*) DESC LIMIT 10; spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql>SELECT UserID, SearchPhrase, count(*) FROM hits_100m GROUP BY UserID, Sea \q -- ещё более сложная агрегация.; monetdbd is running spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql> sql>\q times: 1 query: SELECT UserID, SearchPhrase, count(*) FROM hits_100m GROUP BY UserID, SearchPhrase LIMIT 10; spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql>SELECT UserID, SearchPhrase, count(*) FROM hits_100m GROUP BY UserID, Sea \q monetdbd is running spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql> sql>\q times: 2 query: SELECT UserID, SearchPhrase, count(*) FROM hits_100m GROUP BY UserID, SearchPhrase LIMIT 10; spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql>SELECT UserID, SearchPhrase, count(*) FROM hits_100m GROUP BY UserID, Sea \q monetdbd is running spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql> sql>\q times: 3 query: SELECT UserID, SearchPhrase, count(*) FROM hits_100m GROUP BY UserID, SearchPhrase LIMIT 10; spawn mclient -u monetdb -d hits password: Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3) Database: MonetDB v11.15.11 (Feb2013-SP3), 'mapi:monetdb://mturlrep13:50000/hits' Type \q to quit, \? for a list of available commands auto commit mode: on sql>SELECT UserID, SearchPhrase, count(*) FROM hits_100m GROUP BY UserID, Sea