mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-13 02:53:38 +00:00
97f2a2213e
* Move some code outside dbms/src folder * Fix paths
1296 lines
58 KiB
Plaintext
1296 lines
58 KiB
Plaintext
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
|
||
<nt(*) FROM hits_100m WHERE AdvEngineID <> 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
|
||
<nt(*) FROM hits_100m WHERE AdvEngineID <> 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
|
||
<nt(*) FROM hits_100m WHERE AdvEngineID <> 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
|
||
<DISTINCT UserID) AS u FROM hits_100m GROUP BY Regio nID ORDER BY u DESC LIMIT
|
||
< hits_100m GROUP BY RegionID ORDER BY u DESC LIMIT 10;
|
||
+----------+---------+
|
||
+==========+=========+
|
||
+----------+---------+
|
||
10 tuples (3m 15s)
|
||
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 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
|
||
<DISTINCT UserID) AS u FROM hits_100m GROUP BY Regio nID ORDER BY u DESC LIMIT
|
||
< hits_100m GROUP BY RegionID ORDER BY u DESC LIMIT 10;
|
||
+----------+---------+
|
||
+==========+=========+
|
||
+----------+---------+
|
||
10 tuples (3m 34s)
|
||
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 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
|
||
<DISTINCT UserID) AS u FROM hits_100m GROUP BY Regio nID ORDER BY u DESC LIMIT
|
||
< hits_100m GROUP BY RegionID ORDER BY u DESC LIMIT 10;
|
||
+----------+---------+
|
||
+==========+=========+
|
||
+----------+---------+
|
||
10 tuples (3m 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: 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
|
||
<vEngineID), count(*) AS c, avg(ResolutionWidth), co unt(DISTINCT UserID) FROM
|
||
< avg(ResolutionWidth), count(DISTINCT UserID) FROM hits_100m GROUP BY Region
|
||
<nt(DISTINCT UserID) FROM hits_100m GROUP BY RegionI D ORDER BY count(*) DESC
|
||
<its_100m GROUP BY RegionID ORDER BY count(*) DESC L IMIT 10;
|
||
+----------+---------+----------+--------------------------+---------+
|
||
+==========+=========+==========+==========================+=========+
|
||
+----------+---------+----------+--------------------------+---------+
|
||
10 tuples (4m 14s)
|
||
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 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
|
||
<vEngineID), count(*) AS c, avg(ResolutionWidth), co unt(DISTINCT UserID) FROM
|
||
< avg(ResolutionWidth), count(DISTINCT UserID) FROM hits_100m GROUP BY Region
|
||
<nt(DISTINCT UserID) FROM hits_100m GROUP BY RegionI D ORDER BY count(*) DESC
|
||
<its_100m GROUP BY RegionID ORDER BY count(*) DESC L IMIT 10;
|
||
+----------+---------+----------+--------------------------+---------+
|
||
+==========+=========+==========+==========================+=========+
|
||
+----------+---------+----------+--------------------------+---------+
|
||
10 tuples (4m 27s)
|
||
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 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
|
||
<vEngineID), count(*) AS c, avg(ResolutionWidth), co unt(DISTINCT UserID) FROM
|
||
< avg(ResolutionWidth), count(DISTINCT UserID) FROM hits_100m GROUP BY Region
|
||
<nt(DISTINCT UserID) FROM hits_100m GROUP BY RegionI D ORDER BY count(*) DESC
|
||
<its_100m GROUP BY RegionID ORDER BY count(*) DESC L IMIT 10;
|
||
+----------+---------+----------+--------------------------+---------+
|
||
+==========+=========+==========+==========================+=========+
|
||
+----------+---------+----------+--------------------------+---------+
|
||
10 tuples (4m 25s)
|
||
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 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
|
||
<S u FROM hits_100m WHERE MobilePhoneModel <> '' GRO UP BY MobilePhoneModel OR
|
||
<obilePhoneModel <> '' 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
|
||
<S u FROM hits_100m WHERE MobilePhoneModel <> '' GRO UP BY MobilePhoneModel OR
|
||
<obilePhoneModel <> '' 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
|
||
<S u FROM hits_100m WHERE MobilePhoneModel <> '' GRO UP BY MobilePhoneModel OR
|
||
<obilePhoneModel <> '' 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
|
||
<ilePhoneModel, count(DISTINCT UserID) AS u FROM hit s_100m WHERE MobilePhoneM
|
||
<NCT UserID) AS u FROM hits_100m WHERE MobilePhoneMo del <> '' GROUP BY Mobile
|
||
<_100m WHERE MobilePhoneModel <> '' GROUP BY MobileP hone, MobilePhoneModel OR
|
||
<el <> '' 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
|
||
<ilePhoneModel, count(DISTINCT UserID) AS u FROM hit s_100m WHERE MobilePhoneM
|
||
<NCT UserID) AS u FROM hits_100m WHERE MobilePhoneMo del <> '' GROUP BY Mobile
|
||
<_100m WHERE MobilePhoneModel <> '' GROUP BY MobileP hone, MobilePhoneModel OR
|
||
<el <> '' 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
|
||
<ilePhoneModel, count(DISTINCT UserID) AS u FROM hit s_100m WHERE MobilePhoneM
|
||
<NCT UserID) AS u FROM hits_100m WHERE MobilePhoneMo del <> '' GROUP BY Mobile
|
||
<_100m WHERE MobilePhoneModel <> '' GROUP BY MobileP hone, MobilePhoneModel OR
|
||
<el <> '' 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
|
||
<unt(*) FROM hits_100m WHERE SearchPhrase <> '' GROU P BY SearchPhrase ORDER B
|
||
<E SearchPhrase <> '' 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
|
||
<unt(*) FROM hits_100m WHERE SearchPhrase <> '' GROU P BY SearchPhrase ORDER B
|
||
<E SearchPhrase <> '' 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
|
||
<unt(*) FROM hits_100m WHERE SearchPhrase <> '' GROU P BY SearchPhrase ORDER B
|
||
<E SearchPhrase <> '' 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
|
||
<unt(DISTINCT UserID) AS u FROM hits_100m WHERE Sear chPhrase <> '' GROUP BY S
|
||
<FROM hits_100m WHERE SearchPhrase <> '' GROUP BY Se archPhrase ORDER BY u DES
|
||
<hPhrase <> '' 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
|
||
<unt(DISTINCT UserID) AS u FROM hits_100m WHERE Sear chPhrase <> '' GROUP BY S
|
||
<FROM hits_100m WHERE SearchPhrase <> '' GROUP BY Se archPhrase ORDER BY u DES
|
||
<hPhrase <> '' 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
|
||
<unt(DISTINCT UserID) AS u FROM hits_100m WHERE Sear chPhrase <> '' GROUP BY S
|
||
<FROM hits_100m WHERE SearchPhrase <> '' GROUP BY Se archPhrase ORDER BY u DES
|
||
<hPhrase <> '' 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
|
||
<SearchPhrase, count(*) FROM hits_100m WHERE SearchP hrase <> '' GROUP BY Sear
|
||
<M hits_100m WHERE SearchPhrase <> '' GROUP BY Searc hEngineID, SearchPhrase O
|
||
<rase <> '' GROUP BY SearchEngineID, SearchPhrase OR DER BY count(*) DESC LIMI
|
||
<EngineID, SearchPhrase ORDER BY count(*) DESC LIMIT 10;
|
||
\q
|
||
+----------------+---------------------------------+-------+
|
||
+================+=================================+=======+
|
||
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 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
|
||
<SearchPhrase, count(*) FROM hits_100m WHERE SearchP hrase <> '' GROUP BY Sear
|
||
<M hits_100m WHERE SearchPhrase <> '' GROUP BY Searc hEngineID, SearchPhrase O
|
||
<rase <> '' GROUP BY SearchEngineID, SearchPhrase OR DER BY count(*) DESC LIMI
|
||
<EngineID, SearchPhrase ORDER BY count(*) DESC LIMIT 10;
|
||
\q
|
||
+----------------+---------------------------------+-------+
|
||
+================+=================================+=======+
|
||
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 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
|
||
<SearchPhrase, count(*) FROM hits_100m WHERE SearchP hrase <> '' GROUP BY Sear
|
||
<M hits_100m WHERE SearchPhrase <> '' GROUP BY Searc hEngineID, SearchPhrase O
|
||
<rase <> '' GROUP BY SearchEngineID, SearchPhrase OR DER BY count(*) DESC LIMI
|
||
<EngineID, SearchPhrase ORDER BY count(*) DESC LIMIT 10;
|
||
\q
|
||
+----------------+---------------------------------+-------+
|
||
+================+=================================+=======+
|
||
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 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
|
||
<rase, count(*) FROM hits_100m GROUP BY UserID, Sear chPhrase ORDER BY count(*
|
||
<00m GROUP BY UserID, SearchPhrase ORDER BY count(*) DESC LIMIT 10;
|
||
+---------------------+--------------+-------+
|
||
+=====================+==============+=======+
|
||
+---------------------+--------------+-------+
|
||
10 tuples (4m 24s)
|
||
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, 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
|
||
<rase, count(*) FROM hits_100m GROUP BY UserID, Sear chPhrase ORDER BY count(*
|
||
<00m GROUP BY UserID, SearchPhrase ORDER BY count(*) DESC LIMIT 10;
|
||
+---------------------+--------------+-------+
|
||
+=====================+==============+=======+
|
||
+---------------------+--------------+-------+
|
||
10 tuples (3m 54s)
|
||
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, 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
|
||
<rase, count(*) FROM hits_100m GROUP BY UserID, Sear chPhrase ORDER BY count(*
|
||
<00m GROUP BY UserID, SearchPhrase ORDER BY count(*) DESC LIMIT 10;
|
||
+---------------------+--------------+-------+
|
||
+=====================+==============+=======+
|
||
+---------------------+--------------+-------+
|
||
10 tuples (3m 28s)
|
||
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 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
|
||
<rase, count(*) FROM hits_100m GROUP BY UserID, Sear chPhrase 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 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
|
||
<rase, count(*) FROM hits_100m GROUP BY UserID, Sear chPhrase 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 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
|
||
<rase, count(*) FROM hits_100m GROUP BY UserID, Sear chPhrase LIMIT 10;
|