ClickHouse/benchmark/monetdb/log/log_10m_corrected_1

3200 lines
258 KiB
Plaintext
Raw Normal View History

2016-02-07 21:58:58 +00:00
start time: Tue Sep 17 09: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_10m;
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_10m;
+----------+
+==========+
+----------+
1 tuple (3.851ms)
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_10m;
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_10m;
+----------+
+==========+
+----------+
1 tuple (3.389ms)
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_10m;
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_10m;
+----------+
+==========+
+----------+
1 tuple (3.633ms)
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_10m 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_10m WHERE AdvEngineID <> 0;
+--------+
+========+
+--------+
1 tuple (400.058ms)
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_10m 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_10m WHERE AdvEngineID <> 0;
+--------+
+========+
+--------+
1 tuple (45.117ms)
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_10m 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_10m WHERE AdvEngineID <> 0;
+--------+
+========+
+--------+
1 tuple (7.999ms)
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_10m;
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_10m;
+---------+----------+--------------------------+
+=========+==========+==========================+
+---------+----------+--------------------------+
1 tuple (207.544ms)
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_10m;
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_10m;
+---------+----------+--------------------------+
+=========+==========+==========================+
+---------+----------+--------------------------+
1 tuple (22.219ms)
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_10m;
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_10m;
+---------+----------+--------------------------+
+=========+==========+==========================+
+---------+----------+--------------------------+
1 tuple (33.007ms)
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_10m;
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_10m;
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_10m;
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_10m;
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_10m;
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_10m;
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_10m;
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_10m;
+---------+
+=========+
+---------+
1 tuple (873.236ms)
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_10m;
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_10m;
+---------+
+=========+
+---------+
1 tuple (614.270ms)
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_10m;
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_10m;
+---------+
+=========+
+---------+
1 tuple (564.001ms)
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_10m;
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_10m;
+---------+
+=========+
+---------+
1 tuple (3.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 count(DISTINCT SearchPhrase) FROM hits_10m;
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_10m;
+---------+
+=========+
+---------+
1 tuple (2.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 count(DISTINCT SearchPhrase) FROM hits_10m;
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_10m;
+---------+
+=========+
+---------+
1 tuple (2.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: 1
query: SELECT min(EventDate), max(EventDate) FROM hits_10m;
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_10m;
+------------+------------+
+============+============+
+------------+------------+
1 tuple (191.616ms)
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_10m;
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_10m;
+------------+------------+
+============+============+
+------------+------------+
1 tuple (4.704ms)
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_10m;
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_10m;
+------------+------------+
+============+============+
+------------+------------+
1 tuple (8.579ms)
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_10m 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_10m WHERE AdvEngineID <> 0 GROUP B <nt(*) FROM hits_10m WHERE AdvEngineID <> 0 GROUP BY  AdvEngineID ORDER BY cou <AdvEngineID <> 0 GROUP BY AdvEngineID ORDER BY coun t(*) DESC;
+-------------+-------+
+=============+=======+
+-------------+-------+
9 tuples (56.658ms)
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_10m 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_10m WHERE AdvEngineID <> 0 GROUP B <nt(*) FROM hits_10m WHERE AdvEngineID <> 0 GROUP BY  AdvEngineID ORDER BY cou <AdvEngineID <> 0 GROUP BY AdvEngineID ORDER BY coun t(*) DESC;
+-------------+-------+
+=============+=======+
+-------------+-------+
9 tuples (49.444ms)
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_10m 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_10m WHERE AdvEngineID <> 0 GROUP B <nt(*) FROM hits_10m WHERE AdvEngineID <> 0 GROUP BY  AdvEngineID ORDER BY cou <AdvEngineID <> 0 GROUP BY AdvEngineID ORDER BY coun t(*) DESC;
+-------------+-------+
+=============+=======+
+-------------+-------+
9 tuples (35.463ms)
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_10m 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_10m GROUP BY Regio <DISTINCT UserID) AS u FROM hits_10m GROUP BY Region ID ORDER BY u DESC LIMIT < hits_10m GROUP BY RegionID ORDER BY u DESC LIMIT 1 0;
+----------+--------+
+==========+========+
+----------+--------+
10 tuples (5.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 RegionID, count(DISTINCT UserID) AS u FROM hits_10m 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_10m GROUP BY Regio <DISTINCT UserID) AS u FROM hits_10m GROUP BY Region ID ORDER BY u DESC LIMIT < hits_10m GROUP BY RegionID ORDER BY u DESC LIMIT 1 0;
+----------+--------+
+==========+========+
+----------+--------+
10 tuples (5.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 RegionID, count(DISTINCT UserID) AS u FROM hits_10m 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_10m GROUP BY Regio <DISTINCT UserID) AS u FROM hits_10m GROUP BY Region ID ORDER BY u DESC LIMIT < hits_10m GROUP BY RegionID ORDER BY u DESC LIMIT 1 0;
+----------+--------+
+==========+========+
+----------+--------+
10 tuples (6.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 RegionID, sum(AdvEngineID), count(*) AS c, avg(ResolutionWidth), count(DISTINCT UserID) FROM hits_10m 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_10m GROUP BY RegionI <nt(DISTINCT UserID) FROM hits_10m GROUP BY RegionID  ORDER BY count(*) DESC L <its_10m GROUP BY RegionID ORDER BY count(*) DESC LI MIT 10;
+----------+--------+---------+--------------------------+--------+
+==========+========+=========+==========================+========+
+----------+--------+---------+--------------------------+--------+
10 tuples (5.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 RegionID, sum(AdvEngineID), count(*) AS c, avg(ResolutionWidth), count(DISTINCT UserID) FROM hits_10m 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_10m GROUP BY RegionI <nt(DISTINCT UserID) FROM hits_10m GROUP BY RegionID  ORDER BY count(*) DESC L <its_10m GROUP BY RegionID ORDER BY count(*) DESC LI MIT 10;
+----------+--------+---------+--------------------------+--------+
+==========+========+=========+==========================+========+
+----------+--------+---------+--------------------------+--------+
10 tuples (8.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: 3
query: SELECT RegionID, sum(AdvEngineID), count(*) AS c, avg(ResolutionWidth), count(DISTINCT UserID) FROM hits_10m 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_10m GROUP BY RegionI <nt(DISTINCT UserID) FROM hits_10m GROUP BY RegionID  ORDER BY count(*) DESC L <its_10m GROUP BY RegionID ORDER BY count(*) DESC LI MIT 10;
+----------+--------+---------+--------------------------+--------+
+==========+========+=========+==========================+========+
+----------+--------+---------+--------------------------+--------+
10 tuples (8.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 MobilePhoneModel, count(DISTINCT UserID) AS u FROM hits_10m 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_10m WHERE <, count(DISTINCT UserID) AS u FROM hits_10m WHERE M obilePhoneModel <> '' GRO <S u FROM hits_10m WHERE MobilePhoneModel <> '' GROU P BY MobilePhoneModel ORD <bilePhoneModel <> '' GROUP BY MobilePhoneModel ORDE R BY u DESC LIMIT 10;
+------------------+-------+
+==================+=======+
+------------------+-------+
10 tuples (458.164ms)
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_10m 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_10m WHERE <, count(DISTINCT UserID) AS u FROM hits_10m WHERE M obilePhoneModel <> '' GRO <S u FROM hits_10m WHERE MobilePhoneModel <> '' GROU P BY MobilePhoneModel ORD <bilePhoneModel <> '' GROUP BY MobilePhoneModel ORDE R BY u DESC LIMIT 10;
+------------------+-------+
+==================+=======+
+------------------+-------+
10 tuples (319.166ms)
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_10m 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_10m WHERE <, count(DISTINCT UserID) AS u FROM hits_10m WHERE M obilePhoneModel <> '' GRO <S u FROM hits_10m WHERE MobilePhoneModel <> '' GROU P BY MobilePhoneModel ORD <bilePhoneModel <> '' GROUP BY MobilePhoneModel ORDE R BY u DESC LIMIT 10;
+------------------+-------+
+==================+=======+
+------------------+-------+
10 tuples (413.914ms)
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_10m 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_10m WHERE MobilePhoneMo <NCT UserID) AS u FROM hits_10m WHERE MobilePhoneMod el <> '' GROUP BY MobileP <_10m WHERE MobilePhoneModel <> '' GROUP BY MobilePh one, MobilePhoneModel ORD <l <> '' GROUP BY MobilePhone, MobilePhoneModel ORDE R BY u DESC LIMIT 10;
+-------------+------------------+-------+
+=============+==================+=======+
+-------------+------------------+-------+
10 tuples (344.021ms)
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_10m 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_10m WHERE MobilePhoneMo <NCT UserID) AS u FROM hits_10m WHERE MobilePhoneMod el <> '' GROUP BY MobileP <_10m WHERE MobilePhoneModel <> '' GROUP BY MobilePh one, MobilePhoneModel ORD <l <> '' GROUP BY MobilePhone, MobilePhoneModel ORDE R BY u DESC LIMIT 10;
+-------------+------------------+-------+
+=============+==================+=======+
+-------------+------------------+-------+
10 tuples (314.183ms)
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_10m 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_10m WHERE MobilePhoneMo <NCT UserID) AS u FROM hits_10m WHERE MobilePhoneMod el <> '' GROUP BY MobileP <_10m WHERE MobilePhoneModel <> '' GROUP BY MobilePh one, MobilePhoneModel ORD <l <> '' GROUP BY MobilePhone, MobilePhoneModel ORDE R BY u DESC LIMIT 10;
+-------------+------------------+-------+
+=============+==================+=======+
+-------------+------------------+-------+
10 tuples (348.057ms)
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_10m 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_10m WHERE SearchPhrase <> '' GROU <unt(*) FROM hits_10m WHERE SearchPhrase <> '' GROUP  BY SearchPhrase ORDER BY < 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_10m 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_10m WHERE SearchPhrase <> '' GROU <unt(*) FROM hits_10m WHERE SearchPhrase <> '' GROUP  BY SearchPhrase ORDER BY < 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_10m 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_10m WHERE SearchPhrase <> '' GROU <unt(*) FROM hits_10m WHERE SearchPhrase <> '' GROUP  BY SearchPhrase ORDER BY < 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_10m 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_10m WHERE Sear <unt(DISTINCT UserID) AS u FROM hits_10m WHERE Searc hPhrase <> '' GROUP BY Se <FROM hits_10m WHERE SearchPhrase <> '' GROUP BY Sea rchPhrase ORDER BY u DESC <Phrase <> '' 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_10m 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_10m WHERE Sear <unt(DISTINCT UserID) AS u FROM hits_10m WHERE Searc hPhrase <> '' GROUP BY Se <FROM hits_10m WHERE SearchPhrase <> '' GROUP BY Sea rchPhrase ORDER BY u DESC <Phrase <> '' 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_10m 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_10m WHERE Sear <unt(DISTINCT UserID) AS u FROM hits_10m WHERE Searc hPhrase <> '' GROUP BY Se <FROM hits_10m WHERE SearchPhrase <> '' GROUP BY Sea rchPhrase ORDER BY u DESC <Phrase <> '' 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_10m 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_10m WHERE SearchP <SearchPhrase, count(*) FROM hits_10m WHERE SearchPh rase <> '' GROUP BY Searc <M hits_10m WHERE SearchPhrase <> '' GROUP BY Search EngineID, SearchPhrase OR <ase <> '' GROUP BY SearchEngineID, SearchPhrase ORD ER BY count(*) DESC LIMIT <ngineID, 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 SearchEngineID, SearchPhrase, count(*) FROM hits_10m 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_10m WHERE SearchP <SearchPhrase, count(*) FROM hits_10m WHERE SearchPh rase <> '' GROUP BY Searc <M hits_10m WHERE SearchPhrase <> '' GROUP BY Search EngineID, SearchPhrase OR <ase <> '' GROUP BY SearchEngineID, SearchPhrase ORD ER BY count(*) DESC LIMIT <ngineID, 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 SearchEngineID, SearchPhrase, count(*) FROM hits_10m 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_10m WHERE SearchP <SearchPhrase, count(*) FROM hits_10m WHERE SearchPh rase <> '' GROUP BY Searc <M hits_10m WHERE SearchPhrase <> '' GROUP BY Search EngineID, SearchPhrase OR <ase <> '' GROUP BY SearchEngineID, SearchPhrase ORD ER BY count(*) DESC LIMIT <ngineID, 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 UserID, count(*) FROM hits_10m 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_10m GROUP BY UserID ORDER BY count(*) D < FROM hits_10m GROUP BY UserID ORDER BY count(*) DE SC LIMIT 10;
+---------------------+------+
+=====================+======+
+---------------------+------+
10 tuples (886.465ms)
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_10m 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_10m GROUP BY UserID ORDER BY count(*) D < FROM hits_10m GROUP BY UserID ORDER BY count(*) DE SC LIMIT 10;
+---------------------+------+
+=====================+======+
+---------------------+------+
10 tuples (711.899ms)
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_10m 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_10m GROUP BY UserID ORDER BY count(*) D < FROM hits_10m GROUP BY UserID ORDER BY count(*) DE SC LIMIT 10;
+---------------------+------+
+=====================+======+
+---------------------+------+
10 tuples (732.900ms)
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_10m 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_10m GROUP BY UserID, Sear <rase, count(*) FROM hits_10m GROUP BY UserID, Searc hPhrase ORDER BY count(*) <0m GROUP BY UserID, SearchPhrase ORDER BY count(*) DESC LIMIT 10;
+---------------------+--------------+------+
+=====================+==============+======+
+---------------------+--------------+------+
10 tuples (5.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, SearchPhrase, count(*) FROM hits_10m 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_10m GROUP BY UserID, Sear <rase, count(*) FROM hits_10m GROUP BY UserID, Searc hPhrase ORDER BY count(*) <0m GROUP BY UserID, SearchPhrase ORDER BY count(*) DESC LIMIT 10;
+---------------------+--------------+------+
+=====================+==============+======+
+---------------------+--------------+------+
10 tuples (5.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, SearchPhrase, count(*) FROM hits_10m 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_10m GROUP BY UserID, Sear <rase, count(*) FROM hits_10m GROUP BY UserID, Searc hPhrase ORDER BY count(*) <0m GROUP BY UserID, SearchPhrase ORDER BY count(*) DESC LIMIT 10;
+---------------------+--------------+------+
+=====================+==============+======+
+---------------------+--------------+------+
10 tuples (5.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: 1
query: SELECT UserID, SearchPhrase, count(*) FROM hits_10m 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_10m GROUP BY UserID, Sear <rase, count(*) FROM hits_10m GROUP BY UserID, Searc hPhrase 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_10m 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_10m GROUP BY UserID, Sear <rase, count(*) FROM hits_10m GROUP BY UserID, Searc hPhrase 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_10m 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_10m GROUP BY UserID, Sear <rase, count(*) FROM hits_10m GROUP BY UserID, Searc hPhrase 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 UserID, extract (minute from EventTime) AS m, SearchPhrase, count(*) FROM hits_10m GROUP BY UserID, m, 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, extract (minute from EventTime) AS m, SearchPhrase, count( <(minute from EventTime) AS m, SearchPhrase, count(* ) FROM hits_10m GROUP BY < m, SearchPhrase, count(*) FROM hits_10m GROUP BY U serID, m, SearchPhrase OR < FROM hits_10m GROUP BY UserID, m, SearchPhrase ORD ER BY count(*) DESC LIMIT <erID, m, SearchPhrase ORDER BY count(*) DESC LIMIT 10;
+---------------------+------+--------------+------+
+=====================+======+==============+======+
+---------------------+------+--------------+------+
10 tuples (20.2s)
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, extract (minute from EventTime) AS m, SearchPhrase, count(*) FROM hits_10m GROUP BY UserID, m, 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, extract (minute from EventTime) AS m, SearchPhrase, count( <(minute from EventTime) AS m, SearchPhrase, count(* ) FROM hits_10m GROUP BY < m, SearchPhrase, count(*) FROM hits_10m GROUP BY U serID, m, SearchPhrase OR < FROM hits_10m GROUP BY UserID, m, SearchPhrase ORD ER BY count(*) DESC LIMIT <erID, m, SearchPhrase ORDER BY count(*) DESC LIMIT 10;
+---------------------+------+--------------+------+
+=====================+======+==============+======+
+---------------------+------+--------------+------+
10 tuples (19.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 UserID, extract (minute from EventTime) AS m, SearchPhrase, count(*) FROM hits_10m GROUP BY UserID, m, 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, extract (minute from EventTime) AS m, SearchPhrase, count( <(minute from EventTime) AS m, SearchPhrase, count(* ) FROM hits_10m GROUP BY < m, SearchPhrase, count(*) FROM hits_10m GROUP BY U serID, m, SearchPhrase OR < FROM hits_10m GROUP BY UserID, m, SearchPhrase ORD ER BY count(*) DESC LIMIT <erID, m, SearchPhrase ORDER BY count(*) DESC LIMIT 10;
+---------------------+------+--------------+------+
+=====================+======+==============+======+
+---------------------+------+--------------+------+
10 tuples (21.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: 1
query: SELECT UserID FROM hits_10m WHERE UserID = 1234567890;
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 FROM hits_10m WHERE UserID = 1234567890;
+--------+
+========+
+--------+
0 tuples (331.309ms)
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 FROM hits_10m WHERE UserID = 1234567890;
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 FROM hits_10m WHERE UserID = 1234567890;
+--------+
+========+
+--------+
0 tuples (0.618ms)
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 FROM hits_10m WHERE UserID = 1234567890;
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 FROM hits_10m WHERE UserID = 1234567890;
+--------+
+========+
+--------+
0 tuples (85.817ms)
sql>\q
-- мощная фильтрация по столбцу типа UInt64.;
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_10m WHERE URL LIKE '%metrika%';
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_10m WHERE URL LIKE '%metrika%';
+------+
+======+
+------+
1 tuple (2.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 count(*) FROM hits_10m WHERE URL LIKE '%metrika%';
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_10m WHERE URL LIKE '%metrika%';
+------+
+======+
+------+
1 tuple (56.549ms)
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_10m WHERE URL LIKE '%metrika%';
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_10m WHERE URL LIKE '%metrika%';
+------+
+======+
+------+
1 tuple (92.920ms)
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, MAX(URL), count(*) FROM hits_10m WHERE URL LIKE '%metrika%' AND 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, MAX(URL), count(*) FROM hits_10m WHERE URL LIKE '%me <X(URL), count(*) FROM hits_10m WHERE URL LIKE '%met rika%' AND SearchPhrase < <_10m WHERE URL LIKE '%metrika%' AND SearchPhrase <>  '' GROUP BY SearchPhrase <ika%' AND SearchPhrase <> '' GROUP BY SearchPhrase ORDER BY count(*) DESC LI <'' GROUP BY SearchPhrase ORDER BY count(*) DESC LIM IT 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, MAX(URL), count(*) FROM hits_10m WHERE URL LIKE '%metrika%' AND 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, MAX(URL), count(*) FROM hits_10m WHERE URL LIKE '%me <X(URL), count(*) FROM hits_10m WHERE URL LIKE '%met rika%' AND SearchPhrase < <_10m WHERE URL LIKE '%metrika%' AND SearchPhrase <>  '' GROUP BY SearchPhrase <ika%' AND SearchPhrase <> '' GROUP BY SearchPhrase ORDER BY count(*) DESC LI <'' GROUP BY SearchPhrase ORDER BY count(*) DESC LIM IT 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, MAX(URL), count(*) FROM hits_10m WHERE URL LIKE '%metrika%' AND 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, MAX(URL), count(*) FROM hits_10m WHERE URL LIKE '%me <X(URL), count(*) FROM hits_10m WHERE URL LIKE '%met rika%' AND SearchPhrase < <_10m WHERE URL LIKE '%metrika%' AND SearchPhrase <>  '' GROUP BY SearchPhrase <ika%' AND SearchPhrase <> '' GROUP BY SearchPhrase ORDER BY count(*) DESC LI <'' GROUP BY SearchPhrase ORDER BY count(*) DESC LIM IT 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, MAX(URL), MAX(Title), count(*) AS c, count(DISTINCT UserID) FROM hits_10m WHERE Title LIKE '%Яндекс%' AND URL <> '%.yandex.%' AND 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, MAX(URL), MAX(Title), count(*) AS c, count(DISTINCT <X(URL), MAX(Title), count(*) AS c, count(DISTINCT U serID) FROM hits_10m WHER <*) AS c, count(DISTINCT UserID) FROM hits_10m WHERE  Title LIKE '%??????%' AN <erID) FROM hits_10m WHERE Title LIKE '%??????%' AND  URL <> '%.yandex.%' AND <Title LIKE '%??????%' AND URL <> '%.yandex.%' AND S earchPhrase <> '' GROUP B <URL <> '%.yandex.%' AND SearchPhrase <> '' GROUP BY  SearchPhrase ORDER BY co <archPhrase <> '' GROUP BY SearchPhrase ORDER BY cou nt(*) 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, MAX(URL), MAX(Title), count(*) AS c, count(DISTINCT UserID) FROM hits_10m WHERE Title LIKE '%Яндекс%' AND URL <> '%.yandex.%' AND 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, MAX(URL), MAX(Title), count(*) AS c, count(DISTINCT <X(URL), MAX(Title), count(*) AS c, count(DISTINCT U serID) FROM hits_10m WHER <*) AS c, count(DISTINCT UserID) FROM hits_10m WHERE  Title LIKE '%??????%' AN <erID) FROM hits_10m WHERE Title LIKE '%??????%' AND  URL <> '%.yandex.%' AND <Title LIKE '%??????%' AND URL <> '%.yandex.%' AND S earchPhrase <> '' GROUP B <URL <> '%.yandex.%' AND SearchPhrase <> '' GROUP BY  SearchPhrase ORDER BY co <archPhrase <> '' GROUP BY SearchPhrase ORDER BY cou nt(*) 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, MAX(URL), MAX(Title), count(*) AS c, count(DISTINCT UserID) FROM hits_10m WHERE Title LIKE '%Яндекс%' AND URL <> '%.yandex.%' AND 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, MAX(URL), MAX(Title), count(*) AS c, count(DISTINCT <X(URL), MAX(Title), count(*) AS c, count(DISTINCT U serID) FROM hits_10m WHER <*) AS c, count(DISTINCT UserID) FROM hits_10m WHERE  Title LIKE '%??????%' AN <erID) FROM hits_10m WHERE Title LIKE '%??????%' AND  URL <> '%.yandex.%' AND <Title LIKE '%??????%' AND URL <> '%.yandex.%' AND S earchPhrase <> '' GROUP B <URL <> '%.yandex.%' AND SearchPhrase <> '' GROUP BY  SearchPhrase ORDER BY co <archPhrase <> '' GROUP BY SearchPhrase ORDER BY cou nt(*) 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 * FROM hits_10m WHERE URL LIKE '%metrika%' ORDER BY EventTime 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 * FROM hits_10m WHERE URL LIKE '%metrika%' ORDER BY EventTime LIMI <WHERE URL LIKE '%metrika%' ORDER BY EventTime 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 * FROM hits_10m WHERE URL LIKE '%metrika%' ORDER BY EventTime 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 * FROM hits_10m WHERE URL LIKE '%metrika%' ORDER BY EventTime LIMI <WHERE URL LIKE '%metrika%' ORDER BY EventTime 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 * FROM hits_10m WHERE URL LIKE '%metrika%' ORDER BY EventTime 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 * FROM hits_10m WHERE URL LIKE '%metrika%' ORDER BY EventTime LIMI <WHERE URL LIKE '%metrika%' ORDER BY EventTime 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 FROM hits_10m WHERE SearchPhrase <> '' ORDER BY EventTime 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 FROM hits_10m WHERE SearchPhrase <> '' ORDER BY Event <M hits_10m WHERE SearchPhrase <> '' ORDER BY EventT ime 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 FROM hits_10m WHERE SearchPhrase <> '' ORDER BY EventTime 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 FROM hits_10m WHERE SearchPhrase <> '' ORDER BY Event <M hits_10m WHERE SearchPhrase <> '' ORDER BY EventT ime 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 FROM hits_10m WHERE SearchPhrase <> '' ORDER BY EventTime 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 FROM hits_10m WHERE SearchPhrase <> '' ORDER BY Event <M hits_10m WHERE SearchPhrase <> '' ORDER BY EventT ime 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 FROM hits_10m WHERE SearchPhrase <> '' ORDER BY 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 SearchPhrase FROM hits_10m WHERE SearchPhrase <> '' ORDER BY Searc <M hits_10m WHERE SearchPhrase <> '' ORDER BY Search Phrase 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 FROM hits_10m WHERE SearchPhrase <> '' ORDER BY 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 SearchPhrase FROM hits_10m WHERE SearchPhrase <> '' ORDER BY Searc <M hits_10m WHERE SearchPhrase <> '' ORDER BY Search Phrase 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 FROM hits_10m WHERE SearchPhrase <> '' ORDER BY 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 SearchPhrase FROM hits_10m WHERE SearchPhrase <> '' ORDER BY Searc <M hits_10m WHERE SearchPhrase <> '' ORDER BY Search Phrase 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 FROM hits_10m WHERE SearchPhrase <> '' ORDER BY EventTime, 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 SearchPhrase FROM hits_10m WHERE SearchPhrase <> '' ORDER BY Event <M hits_10m WHERE SearchPhrase <> '' ORDER BY EventT ime, SearchPhrase LIMIT 1 <ase <> '' ORDER BY EventTime, SearchPhrase 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 FROM hits_10m WHERE SearchPhrase <> '' ORDER BY EventTime, 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 SearchPhrase FROM hits_10m WHERE SearchPhrase <> '' ORDER BY Event <M hits_10m WHERE SearchPhrase <> '' ORDER BY EventT ime, SearchPhrase LIMIT 1 <ase <> '' ORDER BY EventTime, SearchPhrase 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 FROM hits_10m WHERE SearchPhrase <> '' ORDER BY EventTime, 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 SearchPhrase FROM hits_10m WHERE SearchPhrase <> '' ORDER BY Event <M hits_10m WHERE SearchPhrase <> '' ORDER BY EventT ime, SearchPhrase LIMIT 1 <ase <> '' ORDER BY EventTime, SearchPhrase 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 CounterID, avg(length(URL)) AS l, count(*) FROM hits_10m WHERE URL <> '' GROUP BY CounterID HAVING count(*) > 100000 ORDER BY l DESC LIMIT 25;
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 CounterID, avg(length(URL)) AS l, count(*) FROM hits_10m WHERE URL <ength(URL)) AS l, count(*) FROM hits_10m WHERE URL <> '' GROUP BY CounterID < FROM hits_10m WHERE URL <> '' GROUP BY CounterID H AVING count(*) > 100000 O <> '' GROUP BY CounterID HAVING count(*) > 100000 OR DER BY l DESC LIMIT 25;
+-----------+--------------------------+---------+
+===========+==========================+=========+
+-----------+--------------------------+---------+
19 tuples (4.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 CounterID, avg(length(URL)) AS l, count(*) FROM hits_10m WHERE URL <> '' GROUP BY CounterID HAVING count(*) > 100000 ORDER BY l DESC LIMIT 25;
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 CounterID, avg(length(URL)) AS l, count(*) FROM hits_10m WHERE URL <ength(URL)) AS l, count(*) FROM hits_10m WHERE URL <> '' GROUP BY CounterID < FROM hits_10m WHERE URL <> '' GROUP BY CounterID H AVING count(*) > 100000 O <> '' GROUP BY CounterID HAVING count(*) > 100000 OR DER BY l DESC LIMIT 25;
+-----------+--------------------------+---------+
+===========+==========================+=========+
+-----------+--------------------------+---------+
19 tuples (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: 3
query: SELECT CounterID, avg(length(URL)) AS l, count(*) FROM hits_10m WHERE URL <> '' GROUP BY CounterID HAVING count(*) > 100000 ORDER BY l DESC LIMIT 25;
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 CounterID, avg(length(URL)) AS l, count(*) FROM hits_10m WHERE URL <ength(URL)) AS l, count(*) FROM hits_10m WHERE URL <> '' GROUP BY CounterID < FROM hits_10m WHERE URL <> '' GROUP BY CounterID H AVING count(*) > 100000 O <> '' GROUP BY CounterID HAVING count(*) > 100000 OR DER BY l DESC LIMIT 25;
+-----------+--------------------------+---------+
+===========+==========================+=========+
+-----------+--------------------------+---------+
19 tuples (2.7s)
sql>\q
-- считаем средние длины URL для крупных счётчиков.;
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 SUBSTRING( SUBSTRING(Referer, POSITION('//' IN Referer) + 2), 1, ifthenelse( (0 > POSITION('/' IN SUBSTRING(Referer, POSITION('//' IN Referer) + 2)) - 1), 0, POSITION('/' IN SUBSTRING(Referer, POSITION('//' IN Referer) + 2)) - 1 ) )
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 SUBSTRING( SUBSTRING(Referer, POSITION('//' IN Referer) + 2), 1, i <RING(Referer, POSITION('//' IN Referer) + 2), 1, if thenelse( (0 > POSITION(' <' IN Referer) + 2), 1, ifthenelse( (0 > POSITION('/ ' IN SUBSTRING(Referer, P <henelse( (0 > POSITION('/' IN SUBSTRING(Referer, PO SITION('//' IN Referer) + < IN SUBSTRING(Referer, POSITION('//' IN Referer) + 2)) - 1), 0, POSITI <ITION('//' IN Referer) + 2)) - 1), 0, POSITIO N('/' IN SUBSTRING(Refere <)) - 1), 0, POSITION('/' IN SUBSTRING(Referer , POSITION('//' IN Refere <('/' IN SUBSTRING(Referer, POSITION('//' IN Referer ) + 2)) - 1 ) )
more>\q
more>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 SUBSTRING( SUBSTRING(Referer, POSITION('//' IN Referer) + 2), 1, ifthenelse( (0 > POSITION('/' IN SUBSTRING(Referer, POSITION('//' IN Referer) + 2)) - 1), 0, POSITION('/' IN SUBSTRING(Referer, POSITION('//' IN Referer) + 2)) - 1 ) )
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 SUBSTRING( SUBSTRING(Referer, POSITION('//' IN Referer) + 2), 1, i <RING(Referer, POSITION('//' IN Referer) + 2), 1, if thenelse( (0 > POSITION(' <' IN Referer) + 2), 1, ifthenelse( (0 > POSITION('/ ' IN SUBSTRING(Referer, P <henelse( (0 > POSITION('/' IN SUBSTRING(Referer, PO SITION('//' IN Referer) + < IN SUBSTRING(Referer, POSITION('//' IN Referer) + 2)) - 1), 0, POSITI <ITION('//' IN Referer) + 2)) - 1), 0, POSITIO N('/' IN SUBSTRING(Refere <)) - 1), 0, POSITION('/' IN SUBSTRING(Referer , POSITION('//' IN Refere <('/' IN SUBSTRING(Referer, POSITION('//' IN Referer ) + 2)) - 1 ) )
more>\q
more>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 SUBSTRING( SUBSTRING(Referer, POSITION('//' IN Referer) + 2), 1, ifthenelse( (0 > POSITION('/' IN SUBSTRING(Referer, POSITION('//' IN Referer) + 2)) - 1), 0, POSITION('/' IN SUBSTRING(Referer, POSITION('//' IN Referer) + 2)) - 1 ) )
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 SUBSTRING( SUBSTRING(Referer, POSITION('//' IN Referer) + 2), 1, i <RING(Referer, POSITION('//' IN Referer) + 2), 1, if thenelse( (0 > POSITION(' <' IN Referer) + 2), 1, ifthenelse( (0 > POSITION('/ ' IN SUBSTRING(Referer, P <henelse( (0 > POSITION('/' IN SUBSTRING(Referer, PO SITION('//' IN Referer) + < IN SUBSTRING(Referer, POSITION('//' IN Referer) + 2)) - 1), 0, POSITI <ITION('//' IN Referer) + 2)) - 1), 0, POSITIO N('/' IN SUBSTRING(Refere <)) - 1), 0, POSITION('/' IN SUBSTRING(Referer , POSITION('//' IN Refere <('/' IN SUBSTRING(Referer, POSITION('//' IN Referer ) + 2)) - 1 ) )
more>\q
more>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: AS k, avg(length(Referer)) AS l, count(*) AS c, MAX(Referer) FROM hits_10m WHERE Referer <> '' GROUP BY k HAVING count(*) > 100000 ORDER BY l DESC LIMIT 25;
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>AS k, avg(length(Referer)) AS l, count(*) AS c, MAX(Referer) FROM hits_10 <r)) AS l, count(*) AS c, MAX(Referer) FROM hits_10m  WHERE Referer <> '' GROU <AX(Referer) FROM hits_10m WHERE Referer <> '' GROUP  BY k HAVING count(*) > 1 <WHERE Referer <> '' GROUP BY k HAVING count(*) > 10 0000 ORDER BY l DESC LIMI <BY k HAVING count(*) > 100000 ORDER BY l DESC LIMIT  25;
syntax error, unexpected AS in: "as"
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: AS k, avg(length(Referer)) AS l, count(*) AS c, MAX(Referer) FROM hits_10m WHERE Referer <> '' GROUP BY k HAVING count(*) > 100000 ORDER BY l DESC LIMIT 25;
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>AS k, avg(length(Referer)) AS l, count(*) AS c, MAX(Referer) FROM hits_10 <r)) AS l, count(*) AS c, MAX(Referer) FROM hits_10m  WHERE Referer <> '' GROU <AX(Referer) FROM hits_10m WHERE Referer <> '' GROUP  BY k HAVING count(*) > 1 <WHERE Referer <> '' GROUP BY k HAVING count(*) > 10 0000 ORDER BY l DESC LIMI <BY k HAVING count(*) > 100000 ORDER BY l DESC LIMIT  25;
syntax error, unexpected AS in: "as"
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: AS k, avg(length(Referer)) AS l, count(*) AS c, MAX(Referer) FROM hits_10m WHERE Referer <> '' GROUP BY k HAVING count(*) > 100000 ORDER BY l DESC LIMIT 25;
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>AS k, avg(length(Referer)) AS l, count(*) AS c, MAX(Referer) FROM hits_10 <r)) AS l, count(*) AS c, MAX(Referer) FROM hits_10m  WHERE Referer <> '' GROU <AX(Referer) FROM hits_10m WHERE Referer <> '' GROUP  BY k HAVING count(*) > 1 <WHERE Referer <> '' GROUP BY k HAVING count(*) > 10 0000 ORDER BY l DESC LIMI <BY k HAVING count(*) > 100000 ORDER BY l DESC LIMIT  25;
syntax error, unexpected AS in: "as"
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(ResolutionWidth), sum(ResolutionWidth + 1), sum(ResolutionWidth + 2), sum(ResolutionWidth + 3), sum(ResolutionWidth + 4), sum(ResolutionWidth + 5), sum(ResolutionWidth + 6), sum(ResolutionWidth + 7), sum(ResolutionWidth + 8), sum(ResolutionWidth + 9), sum(ResolutionWidth + 10), sum(ResolutionWidth + 11), sum(ResolutionWidth + 12), sum(ResolutionWidth + 13), sum(ResolutionWidth + 14), sum(ResolutionWidth + 15), sum(ResolutionWidth + 16), sum(ResolutionWidth + 17), sum(ResolutionWidth + 18), sum(ResolutionWidth + 19), sum(ResolutionWidth + 20), sum(ResolutionWidth + 21), sum(ResolutionWidth + 22), sum(ResolutionWidth + 23), sum(ResolutionWidth + 24), sum(ResolutionWidth + 25), sum(ResolutionWidth + 26), sum(ResolutionWidth + 27), sum(ResolutionWidth + 28), sum(ResolutionWidth + 29), sum(ResolutionWidth + 30), sum(ResolutionWidth + 31), sum(ResolutionWidth + 32), sum(ResolutionWidth + 33), sum(ResolutionWidth + 34), sum(ResolutionWidth + 35), sum(ResolutionWidth + 36), sum(ResolutionWidth + 37), sum(ResolutionWidth + 38), sum(ResolutionWidth + 39), sum(ResolutionWidth + 40), sum(ResolutionWidth + 41), sum(ResolutionWidth + 42), sum(ResolutionWidth + 43), sum(ResolutionWidth + 44), sum(ResolutionWidth + 45), sum(ResolutionWidth + 46), sum(ResolutionWidth + 47), sum(ResolutionWidth + 48), sum(ResolutionWidth + 49), sum(ResolutionWidth + 50), sum(ResolutionWidth + 51), sum(ResolutionWidth + 52), sum(ResolutionWidth + 53), sum(ResolutionWidth + 54), sum(ResolutionWidth + 55), sum(ResolutionWidth + 56), sum(ResolutionWidth + 57), sum(ResolutionWidth + 58), sum(ResolutionWidth + 59), sum(ResolutionWidth + 60), sum(ResolutionWidth + 61), sum(ResolutionWidth + 62), sum(ResolutionWidth + 63), sum(ResolutionWidth + 64), sum(ResolutionWidth + 65), sum(ResolutionWidth + 66), sum(ResolutionWidth + 67), sum(ResolutionWidth + 68), sum(ResolutionWidth + 69), sum(ResolutionWidth + 70), sum(ResolutionWidth + 71), sum(ResolutionWidth + 72), sum(ResolutionWidth + 73), sum(ResolutionWidth + 74), sum(ResolutionWidth + 75), sum(ResolutionWidth + 76), sum(ResolutionWidth + 77), sum(ResolutionWidth + 78), sum(ResolutionWidth + 79), sum(ResolutionWidth + 80), sum(ResolutionWidth + 81), sum(ResolutionWidth + 82), sum(ResolutionWidth + 83), sum(ResolutionWidth + 84), sum(ResolutionWidth + 85), sum(ResolutionWidth + 86), sum(ResolutionWidth + 87), sum(ResolutionWidth + 88), sum(ResolutionWidth + 89) FROM hits_10m;
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(ResolutionWidth), sum(ResolutionWidth + 1), sum(ResolutionWidt <dth), sum(ResolutionWidth + 1), sum(ResolutionWidth  + 2), sum(ResolutionWidt <+ 1), sum(ResolutionWidth + 2), sum(ResolutionWidth  + 3), sum(ResolutionWidt <+ 2), sum(ResolutionWidth + 3), sum(ResolutionWidth  + 4), sum(ResolutionWidt <+ 3), sum(ResolutionWidth + 4), sum(ResolutionWidth  + 5), sum(ResolutionWidt <+ 4), sum(ResolutionWidth + 5), sum(ResolutionWidth  + 6), sum(ResolutionWidt <+ 5), sum(ResolutionWidth + 6), sum(ResolutionWidth  + 7), sum(ResolutionWidt <+ 6), sum(ResolutionWidth + 7), sum(ResolutionWidth  + 8), sum(ResolutionWidt <+ 7), sum(ResolutionWidth + 8), sum(ResolutionWidth  + 9), sum(ResolutionWidt <+ 8), sum(ResolutionWidth + 9), sum(ResolutionWidth  + 10), sum(ResolutionWid <+ 9), sum(ResolutionWidth + 10), sum(ResolutionWidt h + 11), sum(ResolutionWi <+ 10), sum(ResolutionWidth + 11), sum(ResolutionWid th + 12), sum(ResolutionW < + 11), sum(ResolutionWidth + 12), sum(ResolutionWi dth + 13), sum(Resolution <h + 12), sum(ResolutionWidth + 13), sum(ResolutionW idth + 14), sum(Resolutio <th + 13), sum(ResolutionWidth + 14), sum(Resolution Width + 15), sum(Resoluti <dth + 14), sum(ResolutionWidth + 15), sum(Resolutio nWidth + 16), sum(Resolut <idth + 15), sum(ResolutionWidth + 16), sum(Resoluti onWidth + 17), sum(Resolu <Width + 16), sum(ResolutionWidth + 17), sum(Resolut ionWidth + 18), sum(Resol <nWidth + 17), sum(ResolutionWidth + 18), sum(Resolu tionWidth + 19), sum(Reso <onWidth + 18), sum(ResolutionWidth + 19), sum(Resol utionWidth + 20), sum(Res <ionWidth + 19), sum(ResolutionWidth + 20), sum(Reso lutionWidth + 21), sum(Re <tionWidth + 20), sum(ResolutionWidth + 21), sum(Res olutionWidth + 22), sum(R <utionWidth + 21), sum(ResolutionWidth + 22), sum(Re solutionWidth + 23), sum( <lutionWidth + 22), sum(ResolutionWidth + 23), sum(R esolutionWidth + 24), sum <olutionWidth + 23), sum(ResolutionWidth + 24), sum( ResolutionWidth + 25), su <solutionWidth + 24), sum(ResolutionWidth + 25), sum (ResolutionWidth + 26), s <esolutionWidth + 25), sum(ResolutionWidth + 26), su m(ResolutionWidth + 27), <ResolutionWidth + 26), sum(ResolutionWidth + 27), s um(ResolutionWidth + 28), <(ResolutionWidth + 27), sum(ResolutionWidth + 28), sum(ResolutionWidth + 29) <m(ResolutionWidth + 28), sum(ResolutionWidth + 29),  sum(ResolutionWidth + 30 <um(ResolutionWidth + 29), sum(ResolutionWidth + 30) , sum(ResolutionWidth + 3 <sum(ResolutionWidth + 30), sum(ResolutionWidth + 31 ), sum(ResolutionWidth + < sum(ResolutionWidth + 31), sum(ResolutionWidth
+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+
+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+
+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+
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(ResolutionWidth), sum(ResolutionWidth + 1), sum(ResolutionWidth + 2), sum(ResolutionWidth + 3), sum(ResolutionWidth + 4), sum(ResolutionWidth + 5), sum(ResolutionWidth + 6), sum(ResolutionWidth + 7), sum(ResolutionWidth + 8), sum(ResolutionWidth + 9), sum(ResolutionWidth + 10), sum(ResolutionWidth + 11), sum(ResolutionWidth + 12), sum(ResolutionWidth + 13), sum(ResolutionWidth + 14), sum(ResolutionWidth + 15), sum(ResolutionWidth + 16), sum(ResolutionWidth + 17), sum(ResolutionWidth + 18), sum(ResolutionWidth + 19), sum(ResolutionWidth + 20), sum(ResolutionWidth + 21), sum(ResolutionWidth + 22), sum(ResolutionWidth + 23), sum(ResolutionWidth + 24), sum(ResolutionWidth + 25), sum(ResolutionWidth + 26), sum(ResolutionWidth + 27), sum(ResolutionWidth + 28), sum(ResolutionWidth + 29), sum(ResolutionWidth + 30), sum(ResolutionWidth + 31), sum(ResolutionWidth + 32), sum(ResolutionWidth + 33), sum(ResolutionWidth + 34), sum(ResolutionWidth + 35), sum(ResolutionWidth + 36), sum(ResolutionWidth + 37), sum(ResolutionWidth + 38), sum(ResolutionWidth + 39), sum(ResolutionWidth + 40), sum(ResolutionWidth + 41), sum(ResolutionWidth + 42), sum(ResolutionWidth + 43), sum(ResolutionWidth + 44), sum(ResolutionWidth + 45), sum(ResolutionWidth + 46), sum(ResolutionWidth + 47), sum(ResolutionWidth + 48), sum(ResolutionWidth + 49), sum(ResolutionWidth + 50), sum(ResolutionWidth + 51), sum(ResolutionWidth + 52), sum(ResolutionWidth + 53), sum(ResolutionWidth + 54), sum(ResolutionWidth + 55), sum(ResolutionWidth + 56), sum(ResolutionWidth + 57), sum(ResolutionWidth + 58), sum(ResolutionWidth + 59), sum(ResolutionWidth + 60), sum(ResolutionWidth + 61), sum(ResolutionWidth + 62), sum(ResolutionWidth + 63), sum(ResolutionWidth + 64), sum(ResolutionWidth + 65), sum(ResolutionWidth + 66), sum(ResolutionWidth + 67), sum(ResolutionWidth + 68), sum(ResolutionWidth + 69), sum(ResolutionWidth + 70), sum(ResolutionWidth + 71), sum(ResolutionWidth + 72), sum(ResolutionWidth + 73), sum(ResolutionWidth + 74), sum(ResolutionWidth + 75), sum(ResolutionWidth + 76), sum(ResolutionWidth + 77), sum(ResolutionWidth + 78), sum(ResolutionWidth + 79), sum(ResolutionWidth + 80), sum(ResolutionWidth + 81), sum(ResolutionWidth + 82), sum(ResolutionWidth + 83), sum(ResolutionWidth + 84), sum(ResolutionWidth + 85), sum(ResolutionWidth + 86), sum(ResolutionWidth + 87), sum(ResolutionWidth + 88), sum(ResolutionWidth + 89) FROM hits_10m;
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(ResolutionWidth), sum(ResolutionWidth + 1), sum(ResolutionWidt <dth), sum(ResolutionWidth + 1), sum(ResolutionWidth  + 2), sum(ResolutionWidt <+ 1), sum(ResolutionWidth + 2), sum(ResolutionWidth  + 3), sum(ResolutionWidt <+ 2), sum(ResolutionWidth + 3), sum(ResolutionWidth  + 4), sum(ResolutionWidt <+ 3), sum(ResolutionWidth + 4), sum(ResolutionWidth  + 5), sum(ResolutionWidt <+ 4), sum(ResolutionWidth + 5), sum(ResolutionWidth  + 6), sum(ResolutionWidt <+ 5), sum(ResolutionWidth + 6), sum(ResolutionWidth  + 7), sum(ResolutionWidt <+ 6), sum(ResolutionWidth + 7), sum(ResolutionWidth  + 8), sum(ResolutionWidt <+ 7), sum(ResolutionWidth + 8), sum(ResolutionWidth  + 9), sum(ResolutionWidt <+ 8), sum(ResolutionWidth + 9), sum(ResolutionWidth  + 10), sum(ResolutionWid <+ 9), sum(ResolutionWidth + 10), sum(ResolutionWidt h + 11), sum(ResolutionWi <+ 10), sum(ResolutionWidth + 11), sum(ResolutionWid th + 12), sum(ResolutionW < + 11), sum(ResolutionWidth + 12), sum(ResolutionWi dth + 13), sum(Resolution <h + 12), sum(ResolutionWidth + 13), sum(ResolutionW idth + 14), sum(Resolutio <th + 13), sum(ResolutionWidth + 14), sum(Resolution Width + 15), sum(Resoluti <dth + 14), sum(ResolutionWidth + 15), sum(Resolutio nWidth + 16), sum(Resolut <idth + 15), sum(ResolutionWidth + 16), sum(Resoluti onWidth + 17), sum(Resolu <Width + 16), sum(ResolutionWidth + 17), sum(Resolut ionWidth + 18), sum(Resol <nWidth + 17), sum(ResolutionWidth + 18), sum(Resolu tionWidth + 19), sum(Reso <onWidth + 18), sum(ResolutionWidth + 19), sum(Resol utionWidth + 20), sum(Res <ionWidth + 19), sum(ResolutionWidth + 20), sum(Reso lutionWidth + 21), sum(Re <tionWidth + 20), sum(ResolutionWidth + 21), sum(Res olutionWidth + 22), sum(R <utionWidth + 21), sum(ResolutionWidth + 22), sum(Re solutionWidth + 23), sum( <lutionWidth + 22), sum(ResolutionWidth + 23), sum(R esolutionWidth + 24), sum <olutionWidth + 23), sum(ResolutionWidth + 24), sum( ResolutionWidth + 25), su <solutionWidth + 24), sum(ResolutionWidth + 25), sum (ResolutionWidth + 26), s <esolutionWidth + 25), sum(ResolutionWidth + 26), su m(ResolutionWidth + 27), <ResolutionWidth + 26), sum(ResolutionWidth + 27), s um(ResolutionWidth + 28), <(ResolutionWidth + 27), sum(ResolutionWidth + 28), sum(ResolutionWidth + 29) <m(ResolutionWidth + 28), sum(ResolutionWidth + 29),  sum(ResolutionWidth + 30 <um(ResolutionWidth + 29), sum(ResolutionWidth + 30) , sum(ResolutionWidth + 3 <sum(ResolutionWidth + 30), sum(ResolutionWidth + 31 ), sum(ResolutionWidth + < sum(ResolutionWidth + 31), sum(ResolutionWidth
+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+
+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+
+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+
1 tuple (940.847ms)
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(ResolutionWidth), sum(ResolutionWidth + 1), sum(ResolutionWidth + 2), sum(ResolutionWidth + 3), sum(ResolutionWidth + 4), sum(ResolutionWidth + 5), sum(ResolutionWidth + 6), sum(ResolutionWidth + 7), sum(ResolutionWidth + 8), sum(ResolutionWidth + 9), sum(ResolutionWidth + 10), sum(ResolutionWidth + 11), sum(ResolutionWidth + 12), sum(ResolutionWidth + 13), sum(ResolutionWidth + 14), sum(ResolutionWidth + 15), sum(ResolutionWidth + 16), sum(ResolutionWidth + 17), sum(ResolutionWidth + 18), sum(ResolutionWidth + 19), sum(ResolutionWidth + 20), sum(ResolutionWidth + 21), sum(ResolutionWidth + 22), sum(ResolutionWidth + 23), sum(ResolutionWidth + 24), sum(ResolutionWidth + 25), sum(ResolutionWidth + 26), sum(ResolutionWidth + 27), sum(ResolutionWidth + 28), sum(ResolutionWidth + 29), sum(ResolutionWidth + 30), sum(ResolutionWidth + 31), sum(ResolutionWidth + 32), sum(ResolutionWidth + 33), sum(ResolutionWidth + 34), sum(ResolutionWidth + 35), sum(ResolutionWidth + 36), sum(ResolutionWidth + 37), sum(ResolutionWidth + 38), sum(ResolutionWidth + 39), sum(ResolutionWidth + 40), sum(ResolutionWidth + 41), sum(ResolutionWidth + 42), sum(ResolutionWidth + 43), sum(ResolutionWidth + 44), sum(ResolutionWidth + 45), sum(ResolutionWidth + 46), sum(ResolutionWidth + 47), sum(ResolutionWidth + 48), sum(ResolutionWidth + 49), sum(ResolutionWidth + 50), sum(ResolutionWidth + 51), sum(ResolutionWidth + 52), sum(ResolutionWidth + 53), sum(ResolutionWidth + 54), sum(ResolutionWidth + 55), sum(ResolutionWidth + 56), sum(ResolutionWidth + 57), sum(ResolutionWidth + 58), sum(ResolutionWidth + 59), sum(ResolutionWidth + 60), sum(ResolutionWidth + 61), sum(ResolutionWidth + 62), sum(ResolutionWidth + 63), sum(ResolutionWidth + 64), sum(ResolutionWidth + 65), sum(ResolutionWidth + 66), sum(ResolutionWidth + 67), sum(ResolutionWidth + 68), sum(ResolutionWidth + 69), sum(ResolutionWidth + 70), sum(ResolutionWidth + 71), sum(ResolutionWidth + 72), sum(ResolutionWidth + 73), sum(ResolutionWidth + 74), sum(ResolutionWidth + 75), sum(ResolutionWidth + 76), sum(ResolutionWidth + 77), sum(ResolutionWidth + 78), sum(ResolutionWidth + 79), sum(ResolutionWidth + 80), sum(ResolutionWidth + 81), sum(ResolutionWidth + 82), sum(ResolutionWidth + 83), sum(ResolutionWidth + 84), sum(ResolutionWidth + 85), sum(ResolutionWidth + 86), sum(ResolutionWidth + 87), sum(ResolutionWidth + 88), sum(ResolutionWidth + 89) FROM hits_10m;
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(ResolutionWidth), sum(ResolutionWidth + 1), sum(ResolutionWidt <dth), sum(ResolutionWidth + 1), sum(ResolutionWidth  + 2), sum(ResolutionWidt <+ 1), sum(ResolutionWidth + 2), sum(ResolutionWidth  + 3), sum(ResolutionWidt <+ 2), sum(ResolutionWidth + 3), sum(ResolutionWidth  + 4), sum(ResolutionWidt <+ 3), sum(ResolutionWidth + 4), sum(ResolutionWidth  + 5), sum(ResolutionWidt <+ 4), sum(ResolutionWidth + 5), sum(ResolutionWidth  + 6), sum(ResolutionWidt <+ 5), sum(ResolutionWidth + 6), sum(ResolutionWidth  + 7), sum(ResolutionWidt <+ 6), sum(ResolutionWidth + 7), sum(ResolutionWidth  + 8), sum(ResolutionWidt <+ 7), sum(ResolutionWidth + 8), sum(ResolutionWidth  + 9), sum(ResolutionWidt <+ 8), sum(ResolutionWidth + 9), sum(ResolutionWidth  + 10), sum(ResolutionWid <+ 9), sum(ResolutionWidth + 10), sum(ResolutionWidt h + 11), sum(ResolutionWi <+ 10), sum(ResolutionWidth + 11), sum(ResolutionWid th + 12), sum(ResolutionW < + 11), sum(ResolutionWidth + 12), sum(ResolutionWi dth + 13), sum(Resolution <h + 12), sum(ResolutionWidth + 13), sum(ResolutionW idth + 14), sum(Resolutio <th + 13), sum(ResolutionWidth + 14), sum(Resolution Width + 15), sum(Resoluti <dth + 14), sum(ResolutionWidth + 15), sum(Resolutio nWidth + 16), sum(Resolut <idth + 15), sum(ResolutionWidth + 16), sum(Resoluti onWidth + 17), sum(Resolu <Width + 16), sum(ResolutionWidth + 17), sum(Resolut ionWidth + 18), sum(Resol <nWidth + 17), sum(ResolutionWidth + 18), sum(Resolu tionWidth + 19), sum(Reso <onWidth + 18), sum(ResolutionWidth + 19), sum(Resol utionWidth + 20), sum(Res <ionWidth + 19), sum(ResolutionWidth + 20), sum(Reso lutionWidth + 21), sum(Re <tionWidth + 20), sum(ResolutionWidth + 21), sum(Res olutionWidth + 22), sum(R <utionWidth + 21), sum(ResolutionWidth + 22), sum(Re solutionWidth + 23), sum( <lutionWidth + 22), sum(ResolutionWidth + 23), sum(R esolutionWidth + 24), sum <olutionWidth + 23), sum(ResolutionWidth + 24), sum( ResolutionWidth + 25), su <solutionWidth + 24), sum(ResolutionWidth + 25), sum (ResolutionWidth + 26), s <esolutionWidth + 25), sum(ResolutionWidth + 26), su m(ResolutionWidth + 27), <ResolutionWidth + 26), sum(ResolutionWidth + 27), s um(ResolutionWidth + 28), <(ResolutionWidth + 27), sum(ResolutionWidth + 28), sum(ResolutionWidth + 29) <m(ResolutionWidth + 28), sum(ResolutionWidth + 29),  sum(ResolutionWidth + 30 <um(ResolutionWidth + 29), sum(ResolutionWidth + 30) , sum(ResolutionWidth + 3 <sum(ResolutionWidth + 30), sum(ResolutionWidth + 31 ), sum(ResolutionWidth + < sum(ResolutionWidth + 31), sum(ResolutionWidth
+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+
+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+
+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+
1 tuple (921.118ms)
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, ClientIP, count(*) AS c, sum(Refresh), avg(ResolutionWidth) FROM hits_10m WHERE SearchPhrase <> '' GROUP BY SearchEngineID, ClientIP 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, ClientIP, count(*) AS c, sum(Refresh), avg(Resolut <ClientIP, count(*) AS c, sum(Refresh), avg(Resoluti onWidth) FROM hits_10m WH <um(Refresh), avg(ResolutionWidth) FROM hits_10m WHE RE SearchPhrase <> '' GRO <nWidth) FROM hits_10m WHERE SearchPhrase <> '' GROU P BY SearchEngineID, Clie <E SearchPhrase <> '' GROUP BY SearchEngineID, Clien tIP ORDER BY count(*) DES < BY SearchEngineID, ClientIP ORDER BY count(*) DESC  LIMIT 10;
+----------------+------------+------+------+--------------------------+
+================+============+======+======+==========================+
+----------------+------------+------+------+--------------------------+
10 tuples (17.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 SearchEngineID, ClientIP, count(*) AS c, sum(Refresh), avg(ResolutionWidth) FROM hits_10m WHERE SearchPhrase <> '' GROUP BY SearchEngineID, ClientIP 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, ClientIP, count(*) AS c, sum(Refresh), avg(Resolut <ClientIP, count(*) AS c, sum(Refresh), avg(Resoluti onWidth) FROM hits_10m WH <um(Refresh), avg(ResolutionWidth) FROM hits_10m WHE RE SearchPhrase <> '' GRO <nWidth) FROM hits_10m WHERE SearchPhrase <> '' GROU P BY SearchEngineID, Clie <E SearchPhrase <> '' GROUP BY SearchEngineID, Clien tIP ORDER BY count(*) DES < BY SearchEngineID, ClientIP ORDER BY count(*) DESC  LIMIT 10;
+----------------+------------+------+------+--------------------------+
+================+============+======+======+==========================+
+----------------+------------+------+------+--------------------------+
10 tuples (18.2s)
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, ClientIP, count(*) AS c, sum(Refresh), avg(ResolutionWidth) FROM hits_10m WHERE SearchPhrase <> '' GROUP BY SearchEngineID, ClientIP 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, ClientIP, count(*) AS c, sum(Refresh), avg(Resolut <ClientIP, count(*) AS c, sum(Refresh), avg(Resoluti onWidth) FROM hits_10m WH <um(Refresh), avg(ResolutionWidth) FROM hits_10m WHE RE SearchPhrase <> '' GRO <nWidth) FROM hits_10m WHERE SearchPhrase <> '' GROU P BY SearchEngineID, Clie <E SearchPhrase <> '' GROUP BY SearchEngineID, Clien tIP ORDER BY count(*) DES < BY SearchEngineID, ClientIP ORDER BY count(*) DESC  LIMIT 10;
+----------------+------------+------+------+--------------------------+
+================+============+======+======+==========================+
+----------------+------------+------+------+--------------------------+
10 tuples (17.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 WatchID, ClientIP, count(*) AS c, sum(Refresh), avg(ResolutionWidth) FROM hits_10m WHERE SearchPhrase <> '' GROUP BY WatchID, ClientIP 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 WatchID, ClientIP, count(*) AS c, sum(Refresh), avg(ResolutionWidt <P, count(*) AS c, sum(Refresh), avg(ResolutionWidth ) FROM hits_10m WHERE Sea <esh), avg(ResolutionWidth) FROM hits_10m WHERE Sear chPhrase <> '' GROUP BY W < FROM hits_10m WHERE SearchPhrase <> '' GROUP BY Wa tchID, ClientIP ORDER BY <hPhrase <> '' GROUP BY WatchID, ClientIP ORDER BY c ount(*) DESC LIMIT 10;
+---------------------+------------+------+------+--------------------------+
+=====================+============+======+======+==========================+
+---------------------+------------+------+------+--------------------------+
10 tuples (2.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 WatchID, ClientIP, count(*) AS c, sum(Refresh), avg(ResolutionWidth) FROM hits_10m WHERE SearchPhrase <> '' GROUP BY WatchID, ClientIP 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 WatchID, ClientIP, count(*) AS c, sum(Refresh), avg(ResolutionWidt <P, count(*) AS c, sum(Refresh), avg(ResolutionWidth ) FROM hits_10m WHERE Sea <esh), avg(ResolutionWidth) FROM hits_10m WHERE Sear chPhrase <> '' GROUP BY W < FROM hits_10m WHERE SearchPhrase <> '' GROUP BY Wa tchID, ClientIP ORDER BY <hPhrase <> '' GROUP BY WatchID, ClientIP ORDER BY c ount(*) DESC LIMIT 10;
+---------------------+------------+------+------+--------------------------+
+=====================+============+======+======+==========================+
+---------------------+------------+------+------+--------------------------+
10 tuples (236.466ms)
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 WatchID, ClientIP, count(*) AS c, sum(Refresh), avg(ResolutionWidth) FROM hits_10m WHERE SearchPhrase <> '' GROUP BY WatchID, ClientIP 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 WatchID, ClientIP, count(*) AS c, sum(Refresh), avg(ResolutionWidt <P, count(*) AS c, sum(Refresh), avg(ResolutionWidth ) FROM hits_10m WHERE Sea <esh), avg(ResolutionWidth) FROM hits_10m WHERE Sear chPhrase <> '' GROUP BY W < FROM hits_10m WHERE SearchPhrase <> '' GROUP BY Wa tchID, ClientIP ORDER BY <hPhrase <> '' GROUP BY WatchID, ClientIP ORDER BY c ount(*) DESC LIMIT 10;
+---------------------+------------+------+------+--------------------------+
+=====================+============+======+======+==========================+
+---------------------+------------+------+------+--------------------------+
10 tuples (236.223ms)
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 WatchID, ClientIP, count(*) AS c, sum(Refresh), avg(ResolutionWidth) FROM hits_10m GROUP BY WatchID, ClientIP 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 WatchID, ClientIP, count(*) AS c, sum(Refresh), avg(ResolutionWidt <P, count(*) AS c, sum(Refresh), avg(ResolutionWidth ) FROM hits_10m GROUP BY <esh), avg(ResolutionWidth) FROM hits_10m GROUP BY W atchID, ClientIP ORDER BY < FROM hits_10m GROUP BY WatchID, ClientIP ORDER BY count(*) DESC LIMIT 10;
+---------------------+------------+------+------+--------------------------+
+=====================+============+======+======+==========================+
+---------------------+------------+------+------+--------------------------+
10 tuples (1.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: 2
query: SELECT WatchID, ClientIP, count(*) AS c, sum(Refresh), avg(ResolutionWidth) FROM hits_10m GROUP BY WatchID, ClientIP 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 WatchID, ClientIP, count(*) AS c, sum(Refresh), avg(ResolutionWidt <P, count(*) AS c, sum(Refresh), avg(ResolutionWidth ) FROM hits_10m GROUP BY <esh), avg(ResolutionWidth) FROM hits_10m GROUP BY W atchID, ClientIP ORDER BY < FROM hits_10m GROUP BY WatchID, ClientIP ORDER BY count(*) DESC LIMIT 10;
+---------------------+------------+------+------+--------------------------+
+=====================+============+======+======+==========================+
+---------------------+------------+------+------+--------------------------+
10 tuples (1.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: 3
query: SELECT WatchID, ClientIP, count(*) AS c, sum(Refresh), avg(ResolutionWidth) FROM hits_10m GROUP BY WatchID, ClientIP 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 WatchID, ClientIP, count(*) AS c, sum(Refresh), avg(ResolutionWidt <P, count(*) AS c, sum(Refresh), avg(ResolutionWidth ) FROM hits_10m GROUP BY <esh), avg(ResolutionWidth) FROM hits_10m GROUP BY W atchID, ClientIP ORDER BY < FROM hits_10m GROUP BY WatchID, ClientIP ORDER BY count(*) DESC LIMIT 10;
+---------------------+------------+------+------+--------------------------+
+=====================+============+======+======+==========================+
+---------------------+------------+------+------+--------------------------+
10 tuples (1.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 URL, count(*) FROM hits_10m GROUP BY URL 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 URL, count(*) FROM hits_10m GROUP BY URL ORDER BY count(*) DESC LI <OM hits_10m GROUP BY URL ORDER BY count(*) DESC LIM IT 10;
+--------------------------------------------------------------+--------+
+==============================================================+========+
+--------------------------------------------------------------+--------+
10 tuples (2m 18s)
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 URL, count(*) FROM hits_10m GROUP BY URL 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 URL, count(*) FROM hits_10m GROUP BY URL ORDER BY count(*) DESC LI <OM hits_10m GROUP BY URL ORDER BY count(*) DESC LIM IT 10;
+--------------------------------------------------------------+--------+
+==============================================================+========+
+--------------------------------------------------------------+--------+
10 tuples (2m 20s)
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 URL, count(*) FROM hits_10m GROUP BY URL 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 URL, count(*) FROM hits_10m GROUP BY URL ORDER BY count(*) DESC LI <OM hits_10m GROUP BY URL ORDER BY count(*) DESC LIM IT 10;
+--------------------------------------------------------------+--------+
+==============================================================+========+
+--------------------------------------------------------------+--------+
10 tuples (2m 53s)
sql>\q
-- агрегация по URL.;
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 1, URL, count(*) FROM hits_10m GROUP BY 1, URL 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 1, URL, count(*) FROM hits_10m GROUP BY 1, URL ORDER BY count(*) D < FROM hits_10m GROUP BY 1, URL ORDER BY count(*) DE SC LIMIT 10;
syntax error, unexpected sqlINT in: "select 1, url, count(*) from hits_10m group by 1"
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 1, URL, count(*) FROM hits_10m GROUP BY 1, URL 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 1, URL, count(*) FROM hits_10m GROUP BY 1, URL ORDER BY count(*) D < FROM hits_10m GROUP BY 1, URL ORDER BY count(*) DE SC LIMIT 10;
syntax error, unexpected sqlINT in: "select 1, url, count(*) from hits_10m group by 1"
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 1, URL, count(*) FROM hits_10m GROUP BY 1, URL 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 1, URL, count(*) FROM hits_10m GROUP BY 1, URL ORDER BY count(*) D < FROM hits_10m GROUP BY 1, URL ORDER BY count(*) DE SC LIMIT 10;
syntax error, unexpected sqlINT in: "select 1, url, count(*) from hits_10m group by 1"
sql>\q
-- агрегация по URL и числу.;
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 ClientIP, ClientIP - 1, ClientIP - 2, ClientIP - 3, count(*) FROM hits_10m GROUP BY ClientIP, ClientIP - 1, ClientIP - 2, ClientIP - 3 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 ClientIP, ClientIP - 1, ClientIP - 2, ClientIP - 3, count(*) FROM <IP - 1, ClientIP - 2, ClientIP - 3, count(*) FROM h its_10m GROUP BY ClientIP <ntIP - 3, count(*) FROM hits_10m GROUP BY ClientIP,  ClientIP - 1, ClientIP - <ts_10m GROUP BY ClientIP, ClientIP - 1, ClientIP - 2, ClientIP - 3 ORDER BY <ClientIP - 1, ClientIP - 2, ClientIP - 3 ORDER BY c ount(*) DESC LIMIT 10;
syntax error, unexpected '-', expecting SCOLON in: "select clientip, clientip - 1, clientip - 2, clientip - 3, count(*) from hits_10m group by clientip, clientip -"
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 ClientIP, ClientIP - 1, ClientIP - 2, ClientIP - 3, count(*) FROM hits_10m GROUP BY ClientIP, ClientIP - 1, ClientIP - 2, ClientIP - 3 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 ClientIP, ClientIP - 1, ClientIP - 2, ClientIP - 3, count(*) FROM <IP - 1, ClientIP - 2, ClientIP - 3, count(*) FROM h its_10m GROUP BY ClientIP <ntIP - 3, count(*) FROM hits_10m GROUP BY ClientIP,  ClientIP - 1, ClientIP - <ts_10m GROUP BY ClientIP, ClientIP - 1, ClientIP - 2, ClientIP - 3 ORDER BY <ClientIP - 1, ClientIP - 2, ClientIP - 3 ORDER BY c ount(*) DESC LIMIT 10;
syntax error, unexpected '-', expecting SCOLON in: "select clientip, clientip - 1, clientip - 2, clientip - 3, count(*) from hits_10m group by clientip, clientip -"
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 ClientIP, ClientIP - 1, ClientIP - 2, ClientIP - 3, count(*) FROM hits_10m GROUP BY ClientIP, ClientIP - 1, ClientIP - 2, ClientIP - 3 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 ClientIP, ClientIP - 1, ClientIP - 2, ClientIP - 3, count(*) FROM <IP - 1, ClientIP - 2, ClientIP - 3, count(*) FROM h its_10m GROUP BY ClientIP <ntIP - 3, count(*) FROM hits_10m GROUP BY ClientIP,  ClientIP - 1, ClientIP - <ts_10m GROUP BY ClientIP, ClientIP - 1, ClientIP - 2, ClientIP - 3 ORDER BY <ClientIP - 1, ClientIP - 2, ClientIP - 3 ORDER BY c ount(*) DESC LIMIT 10;
syntax error, unexpected '-', expecting SCOLON in: "select clientip, clientip - 1, clientip - 2, clientip - 3, count(*) from hits_10m group by clientip, clientip -"
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:
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
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:
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
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:
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
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 URL, count(*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND EventDate >= '2013-07-01' AND EventDate <= '2013-07-31' AND NOT DontCountHits AND NOT Refresh AND URL <> '' GROUP BY URL ORDER BY PageViews 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 URL, count(*) AS PageViews FROM hits_10m WHERE CounterID = 34 <*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND EventDate >= '2013-07 <10m WHERE CounterID = 34 AND EventDate >= '2013-07- 01' AND EventDate <= '201 <ND EventDate >= '2013-07-01' AND EventDate <= '2013 -07-31' AND NOT DontCount <1' AND EventDate <= '2013-07-31' AND NOT DontCountH its AND NOT Refresh AND U <07-31' AND NOT DontCountHits AND NOT Refresh AND UR L <> '' GROUP BY URL ORDE <ts AND NOT Refresh AND URL <> '' GROUP BY URL ORDER  BY PageViews DESC LIMIT < <> '' GROUP BY URL ORDER BY PageViews DESC LIMIT 1 0;
+---------------------------------------------------------------------------------+-----------+
+=================================================================================+===========+
+---------------------------------------------------------------------------------+-----------+
10 tuples (3m 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 URL, count(*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND EventDate >= '2013-07-01' AND EventDate <= '2013-07-31' AND NOT DontCountHits AND NOT Refresh AND URL <> '' GROUP BY URL ORDER BY PageViews 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 URL, count(*) AS PageViews FROM hits_10m WHERE CounterID = 34 <*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND EventDate >= '2013-07 <10m WHERE CounterID = 34 AND EventDate >= '2013-07- 01' AND EventDate <= '201 <ND EventDate >= '2013-07-01' AND EventDate <= '2013 -07-31' AND NOT DontCount <1' AND EventDate <= '2013-07-31' AND NOT DontCountH its AND NOT Refresh AND U <07-31' AND NOT DontCountHits AND NOT Refresh AND UR L <> '' GROUP BY URL ORDE <ts AND NOT Refresh AND URL <> '' GROUP BY URL ORDER  BY PageViews DESC LIMIT < <> '' GROUP BY URL ORDER BY PageViews DESC LIMIT 1 0;
+---------------------------------------------------------------------------------+-----------+
+=================================================================================+===========+
+---------------------------------------------------------------------------------+-----------+
10 tuples (2m 49s)
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 URL, count(*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND EventDate >= '2013-07-01' AND EventDate <= '2013-07-31' AND NOT DontCountHits AND NOT Refresh AND URL <> '' GROUP BY URL ORDER BY PageViews 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 URL, count(*) AS PageViews FROM hits_10m WHERE CounterID = 34 <*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND EventDate >= '2013-07 <10m WHERE CounterID = 34 AND EventDate >= '2013-07- 01' AND EventDate <= '201 <ND EventDate >= '2013-07-01' AND EventDate <= '2013 -07-31' AND NOT DontCount <1' AND EventDate <= '2013-07-31' AND NOT DontCountH its AND NOT Refresh AND U <07-31' AND NOT DontCountHits AND NOT Refresh AND UR L <> '' GROUP BY URL ORDE <ts AND NOT Refresh AND URL <> '' GROUP BY URL ORDER  BY PageViews DESC LIMIT < <> '' GROUP BY URL ORDER BY PageViews DESC LIMIT 1 0;
+---------------------------------------------------------------------------------+-----------+
+=================================================================================+===========+
+---------------------------------------------------------------------------------+-----------+
10 tuples (2m 55s)
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 Title, count(*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND EventDate >= '2013-07-01' AND EventDate <= '2013-07-31' AND NOT DontCountHits AND NOT Refresh AND Title <> '' GROUP BY Title ORDER BY PageViews 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 Title, count(*) AS PageViews FROM hits_10m WHERE CounterID = 34 AN <AS PageViews FROM hits_10m WHERE CounterID = 34 AND  EventDate >= '2013-07-01 < WHERE CounterID = 34 AND EventDate >= '2013-07-01'  AND EventDate <= '2013-0 <EventDate >= '2013-07-01' AND EventDate <= '2013-07 -31' AND NOT DontCountHit <AND EventDate <= '2013-07-31' AND NOT DontCountHits  AND NOT Refresh AND Titl <31' AND NOT DontCountHits AND NOT Refresh AND Title  <> '' GROUP BY Title ORD <AND NOT Refresh AND Title <> '' GROUP BY Title ORDE R BY PageViews DESC LIMIT <<> '' GROUP BY Title ORDER BY PageViews 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 Title, count(*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND EventDate >= '2013-07-01' AND EventDate <= '2013-07-31' AND NOT DontCountHits AND NOT Refresh AND Title <> '' GROUP BY Title ORDER BY PageViews 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 Title, count(*) AS PageViews FROM hits_10m WHERE CounterID = 34 AN <AS PageViews FROM hits_10m WHERE CounterID = 34 AND  EventDate >= '2013-07-01 < WHERE CounterID = 34 AND EventDate >= '2013-07-01'  AND EventDate <= '2013-0 <EventDate >= '2013-07-01' AND EventDate <= '2013-07 -31' AND NOT DontCountHit <AND EventDate <= '2013-07-31' AND NOT DontCountHits  AND NOT Refresh AND Titl <31' AND NOT DontCountHits AND NOT Refresh AND Title  <> '' GROUP BY Title ORD <AND NOT Refresh AND Title <> '' GROUP BY Title ORDE R BY PageViews DESC LIMIT <<> '' GROUP BY Title ORDER BY PageViews 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 Title, count(*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND EventDate >= '2013-07-01' AND EventDate <= '2013-07-31' AND NOT DontCountHits AND NOT Refresh AND Title <> '' GROUP BY Title ORDER BY PageViews 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 Title, count(*) AS PageViews FROM hits_10m WHERE CounterID = 34 AN <AS PageViews FROM hits_10m WHERE CounterID = 34 AND  EventDate >= '2013-07-01 < WHERE CounterID = 34 AND EventDate >= '2013-07-01'  AND EventDate <= '2013-0 <EventDate >= '2013-07-01' AND EventDate <= '2013-07 -31' AND NOT DontCountHit <AND EventDate <= '2013-07-31' AND NOT DontCountHits  AND NOT Refresh AND Titl <31' AND NOT DontCountHits AND NOT Refresh AND Title  <> '' GROUP BY Title ORD <AND NOT Refresh AND Title <> '' GROUP BY Title ORDE R BY PageViews DESC LIMIT <<> '' GROUP BY Title ORDER BY PageViews 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 URL, count(*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND EventDate >= '2013-07-01' AND EventDate <= '2013-07-31' AND NOT Refresh AND IsLink AND NOT IsDownload GROUP BY URL ORDER BY PageViews DESC LIMIT 1000;
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 URL, count(*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND < PageViews FROM hits_10m WHERE CounterID = 34 AND E ventDate >= '2013-07-01' <HERE CounterID = 34 AND EventDate >= '2013-07-01' A ND EventDate <= '2013-07- <entDate >= '2013-07-01' AND EventDate <= '2013-07-3 1' AND NOT Refresh AND Is <D EventDate <= '2013-07-31' AND NOT Refresh AND IsL ink AND NOT IsDownload GR <' AND NOT Refresh AND IsLink AND NOT IsDownload GRO UP BY URL ORDER BY PageVi <nk AND NOT IsDownload GROUP BY URL ORDER BY PageVie ws DESC LIMIT 1000;
+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+
+=========================================================================================================================================================================================================================================================================================================================================================================================================+===========+
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 URL, count(*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND EventDate >= '2013-07-01' AND EventDate <= '2013-07-31' AND NOT Refresh AND IsLink AND NOT IsDownload GROUP BY URL ORDER BY PageViews DESC LIMIT 1000;
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 URL, count(*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND < PageViews FROM hits_10m WHERE CounterID = 34 AND E ventDate >= '2013-07-01' <HERE CounterID = 34 AND EventDate >= '2013-07-01' A ND EventDate <= '2013-07- <entDate >= '2013-07-01' AND EventDate <= '2013-07-3 1' AND NOT Refresh AND Is <D EventDate <= '2013-07-31' AND NOT Refresh AND IsL ink AND NOT IsDownload GR <' AND NOT Refresh AND IsLink AND NOT IsDownload GRO UP BY URL ORDER BY PageVi <nk AND NOT IsDownload GROUP BY URL ORDER BY PageVie ws DESC LIMIT 1000;
+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+
+=========================================================================================================================================================================================================================================================================================================================================================================================================+===========+
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 URL, count(*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND EventDate >= '2013-07-01' AND EventDate <= '2013-07-31' AND NOT Refresh AND IsLink AND NOT IsDownload GROUP BY URL ORDER BY PageViews DESC LIMIT 1000;
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 URL, count(*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND < PageViews FROM hits_10m WHERE CounterID = 34 AND E ventDate >= '2013-07-01' <HERE CounterID = 34 AND EventDate >= '2013-07-01' A ND EventDate <= '2013-07- <entDate >= '2013-07-01' AND EventDate <= '2013-07-3 1' AND NOT Refresh AND Is <D EventDate <= '2013-07-31' AND NOT Refresh AND IsL ink AND NOT IsDownload GR <' AND NOT Refresh AND IsLink AND NOT IsDownload GRO UP BY URL ORDER BY PageVi <nk AND NOT IsDownload GROUP BY URL ORDER BY PageVie ws DESC LIMIT 1000;
+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+
+=========================================================================================================================================================================================================================================================================================================================================================================================================+===========+
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 TraficSourceID, SearchEngineID, AdvEngineID, CASE WHEN SearchEngineID = 0 AND AdvEngineID = 0 THEN Referer ELSE '' END AS Src, URL AS Dst, count(*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND EventDate >= '2013-07-01' AND EventDate <= '2013-07-31' AND NOT Refresh GROUP BY TraficSourceID, SearchEngineID, AdvEngineID, Src, Dst ORDER BY PageViews DESC LIMIT 1000;
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 TraficSourceID, SearchEngineID, AdvEngineID, CASE WHEN SearchEngin <SearchEngineID, AdvEngineID, CASE WHEN SearchEngine ID = 0 AND AdvEngineID = <D, CASE WHEN SearchEngineID = 0 AND AdvEngineID = 0  THEN Referer ELSE '' EN <D = 0 AND AdvEngineID = 0 THEN Referer ELSE '' END  AS Src, URL AS Dst, coun <THEN Referer ELSE '' END AS Src, URL AS Dst, count (*) AS PageViews FROM hit <AS Src, URL AS Dst, count(*) AS PageViews FROM hits _10m WHERE CounterID = 34 <*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND EventDate >= '2013-07 <10m WHERE CounterID = 34 AND EventDate >= '2013-07- 01' AND EventDate <= '201 <ND EventDate >= '2013-07-01' AND EventDate <= '2013 -07-31' AND NOT Refresh G <1' AND EventDate <= '2013-07-31' AND NOT Refresh GR OUP BY TraficSourceID, Se <07-31' AND NOT Refresh GROUP BY TraficSourceID, Sea rchEngineID, AdvEngineID, <UP BY TraficSourceID, SearchEngineID, AdvEngineID, Src, Dst ORDER BY PageVie <chEngineID, AdvEngineID, Src, Dst ORDER BY PageView s DESC LIMIT 1000;
+----------------+----------------+-------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+
+================+================+=============+===================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================+===================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================+===========+
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 TraficSourceID, SearchEngineID, AdvEngineID, CASE WHEN SearchEngineID = 0 AND AdvEngineID = 0 THEN Referer ELSE '' END AS Src, URL AS Dst, count(*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND EventDate >= '2013-07-01' AND EventDate <= '2013-07-31' AND NOT Refresh GROUP BY TraficSourceID, SearchEngineID, AdvEngineID, Src, Dst ORDER BY PageViews DESC LIMIT 1000;
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 TraficSourceID, SearchEngineID, AdvEngineID, CASE WHEN SearchEngin <SearchEngineID, AdvEngineID, CASE WHEN SearchEngine ID = 0 AND AdvEngineID = <D, CASE WHEN SearchEngineID = 0 AND AdvEngineID = 0  THEN Referer ELSE '' EN <D = 0 AND AdvEngineID = 0 THEN Referer ELSE '' END  AS Src, URL AS Dst, coun <THEN Referer ELSE '' END AS Src, URL AS Dst, count (*) AS PageViews FROM hit <AS Src, URL AS Dst, count(*) AS PageViews FROM hits _10m WHERE CounterID = 34 <*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND EventDate >= '2013-07 <10m WHERE CounterID = 34 AND EventDate >= '2013-07- 01' AND EventDate <= '201 <ND EventDate >= '2013-07-01' AND EventDate <= '2013 -07-31' AND NOT Refresh G <1' AND EventDate <= '2013-07-31' AND NOT Refresh GR OUP BY TraficSourceID, Se <07-31' AND NOT Refresh GROUP BY TraficSourceID, Sea rchEngineID, AdvEngineID, <UP BY TraficSourceID, SearchEngineID, AdvEngineID, Src, Dst ORDER BY PageVie <chEngineID, AdvEngineID, Src, Dst ORDER BY PageView s DESC LIMIT 1000;
+----------------+----------------+-------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+
+================+================+=============+===================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================+===================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================+===========+
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 TraficSourceID, SearchEngineID, AdvEngineID, CASE WHEN SearchEngineID = 0 AND AdvEngineID = 0 THEN Referer ELSE '' END AS Src, URL AS Dst, count(*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND EventDate >= '2013-07-01' AND EventDate <= '2013-07-31' AND NOT Refresh GROUP BY TraficSourceID, SearchEngineID, AdvEngineID, Src, Dst ORDER BY PageViews DESC LIMIT 1000;
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 TraficSourceID, SearchEngineID, AdvEngineID, CASE WHEN SearchEngin <SearchEngineID, AdvEngineID, CASE WHEN SearchEngine ID = 0 AND AdvEngineID = <D, CASE WHEN SearchEngineID = 0 AND AdvEngineID = 0  THEN Referer ELSE '' EN <D = 0 AND AdvEngineID = 0 THEN Referer ELSE '' END  AS Src, URL AS Dst, coun <THEN Referer ELSE '' END AS Src, URL AS Dst, count (*) AS PageViews FROM hit <AS Src, URL AS Dst, count(*) AS PageViews FROM hits _10m WHERE CounterID = 34 <*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND EventDate >= '2013-07 <10m WHERE CounterID = 34 AND EventDate >= '2013-07- 01' AND EventDate <= '201 <ND EventDate >= '2013-07-01' AND EventDate <= '2013 -07-31' AND NOT Refresh G <1' AND EventDate <= '2013-07-31' AND NOT Refresh GR OUP BY TraficSourceID, Se <07-31' AND NOT Refresh GROUP BY TraficSourceID, Sea rchEngineID, AdvEngineID, <UP BY TraficSourceID, SearchEngineID, AdvEngineID, Src, Dst ORDER BY PageVie <chEngineID, AdvEngineID, Src, Dst ORDER BY PageView s DESC LIMIT 1000;
+----------------+----------------+-------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+
+================+================+=============+===================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================+===================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================+===========+
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 URLHash, EventDate, count(*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND EventDate >= '2013-07-01' AND EventDate <= '2013-07-31' AND NOT Refresh AND TraficSourceID IN (-1, 6) AND RefererHash = 6202628419148573758 GROUP BY URLHash, EventDate ORDER BY PageViews DESC LIMIT 100000;
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 URLHash, EventDate, count(*) AS PageViews FROM hits_10m WHERE Coun <te, count(*) AS PageViews FROM hits_10m WHERE Count erID = 34 AND EventDate > <FROM hits_10m WHERE CounterID = 34 AND EventDate >=  '2013-07-01' AND EventDa <rID = 34 AND EventDate >= '2013-07-01' AND EventDat e <= '2013-07-31' AND NOT <'2013-07-01' AND EventDate <= '2013-07-31' AND NOT Refresh AND TraficSourceI < <= '2013-07-31' AND NOT Refresh AND TraficSourceID  IN (-1, 6) AND RefererHa <efresh AND TraficSourceID IN (-1, 6) AND RefererHas h = 6202628419148573758 <IN (-1, 6) AND RefererHash = 6202628419148573758 GROUP BY URLHash, EventDa < = 6202628419148573758 GROUP BY URLHash, EventDat e ORDER BY PageViews DESC <ROUP BY URLHash, EventDate ORDER BY PageViews DESC LIMIT 100000;
+---------+-----------+-----------+
+=========+===========+===========+
+---------+-----------+-----------+
0 tuples (524.173ms)
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 URLHash, EventDate, count(*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND EventDate >= '2013-07-01' AND EventDate <= '2013-07-31' AND NOT Refresh AND TraficSourceID IN (-1, 6) AND RefererHash = 6202628419148573758 GROUP BY URLHash, EventDate ORDER BY PageViews DESC LIMIT 100000;
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 URLHash, EventDate, count(*) AS PageViews FROM hits_10m WHERE Coun <te, count(*) AS PageViews FROM hits_10m WHERE Count erID = 34 AND EventDate > <FROM hits_10m WHERE CounterID = 34 AND EventDate >=  '2013-07-01' AND EventDa <rID = 34 AND EventDate >= '2013-07-01' AND EventDat e <= '2013-07-31' AND NOT <'2013-07-01' AND EventDate <= '2013-07-31' AND NOT Refresh AND TraficSourceI < <= '2013-07-31' AND NOT Refresh AND TraficSourceID  IN (-1, 6) AND RefererHa <efresh AND TraficSourceID IN (-1, 6) AND RefererHas h = 6202628419148573758 <IN (-1, 6) AND RefererHash = 6202628419148573758 GROUP BY URLHash, EventDa < = 6202628419148573758 GROUP BY URLHash, EventDat e ORDER BY PageViews DESC <ROUP BY URLHash, EventDate ORDER BY PageViews DESC LIMIT 100000;
+---------+-----------+-----------+
+=========+===========+===========+
+---------+-----------+-----------+
0 tuples (66.989ms)
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 URLHash, EventDate, count(*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND EventDate >= '2013-07-01' AND EventDate <= '2013-07-31' AND NOT Refresh AND TraficSourceID IN (-1, 6) AND RefererHash = 6202628419148573758 GROUP BY URLHash, EventDate ORDER BY PageViews DESC LIMIT 100000;
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 URLHash, EventDate, count(*) AS PageViews FROM hits_10m WHERE Coun <te, count(*) AS PageViews FROM hits_10m WHERE Count erID = 34 AND EventDate > <FROM hits_10m WHERE CounterID = 34 AND EventDate >=  '2013-07-01' AND EventDa <rID = 34 AND EventDate >= '2013-07-01' AND EventDat e <= '2013-07-31' AND NOT <'2013-07-01' AND EventDate <= '2013-07-31' AND NOT Refresh AND TraficSourceI < <= '2013-07-31' AND NOT Refresh AND TraficSourceID  IN (-1, 6) AND RefererHa <efresh AND TraficSourceID IN (-1, 6) AND RefererHas h = 6202628419148573758 <IN (-1, 6) AND RefererHash = 6202628419148573758 GROUP BY URLHash, EventDa < = 6202628419148573758 GROUP BY URLHash, EventDat e ORDER BY PageViews DESC <ROUP BY URLHash, EventDate ORDER BY PageViews DESC LIMIT 100000;
+---------+-----------+-----------+
+=========+===========+===========+
+---------+-----------+-----------+
0 tuples (123.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: 1
query: SELECT WindowClientWidth, WindowClientHeight, count(*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND EventDate >= '2013-07-01' AND EventDate <= '2013-07-31' AND NOT Refresh AND NOT DontCountHits AND URLHash = 6202628419148573758 GROUP BY WindowClientWidth, WindowClientHeight ORDER BY PageViews DESC LIMIT 10000;
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 WindowClientWidth, WindowClientHeight, count(*) AS PageViews FROM <h, WindowClientHeight, count(*) AS PageViews FROM h its_10m WHERE CounterID = <nt(*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND EventDate >= '2013 <ts_10m WHERE CounterID = 34 AND EventDate >= '2013- 07-01' AND EventDate <= ' <4 AND EventDate >= '2013-07-01' AND EventDate <= '2 013-07-31' AND NOT Refres <7-01' AND EventDate <= '2013-07-31' AND NOT Refresh  AND NOT DontCountHits AN <13-07-31' AND NOT Refresh AND NOT DontCountHits AND  URLHash = 6202628419148 <AND NOT DontCountHits AND URLHash = 62026284191485 73758 GROUP BY WindowClie <URLHash = 6202628419148573758 GROUP BY WindowClien tWidth, WindowClientHeigh <3758 GROUP BY WindowClientWidth, WindowClientHeight  ORDER BY PageViews DESC <Width, WindowClientHeight ORDER BY PageViews DESC L IMIT 10000;
+-------------------+--------------------+-----------+
+===================+====================+===========+
+-------------------+--------------------+-----------+
0 tuples (305.343ms)
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 WindowClientWidth, WindowClientHeight, count(*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND EventDate >= '2013-07-01' AND EventDate <= '2013-07-31' AND NOT Refresh AND NOT DontCountHits AND URLHash = 6202628419148573758 GROUP BY WindowClientWidth, WindowClientHeight ORDER BY PageViews DESC LIMIT 10000;
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 WindowClientWidth, WindowClientHeight, count(*) AS PageViews FROM <h, WindowClientHeight, count(*) AS PageViews FROM h its_10m WHERE CounterID = <nt(*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND EventDate >= '2013 <ts_10m WHERE CounterID = 34 AND EventDate >= '2013- 07-01' AND EventDate <= ' <4 AND EventDate >= '2013-07-01' AND EventDate <= '2 013-07-31' AND NOT Refres <7-01' AND EventDate <= '2013-07-31' AND NOT Refresh  AND NOT DontCountHits AN <13-07-31' AND NOT Refresh AND NOT DontCountHits AND  URLHash = 6202628419148 <AND NOT DontCountHits AND URLHash = 62026284191485 73758 GROUP BY WindowClie <URLHash = 6202628419148573758 GROUP BY WindowClien tWidth, WindowClientHeigh <3758 GROUP BY WindowClientWidth, WindowClientHeight  ORDER BY PageViews DESC <Width, WindowClientHeight ORDER BY PageViews DESC L IMIT 10000;
+-------------------+--------------------+-----------+
+===================+====================+===========+
+-------------------+--------------------+-----------+
0 tuples (30.736ms)
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 WindowClientWidth, WindowClientHeight, count(*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND EventDate >= '2013-07-01' AND EventDate <= '2013-07-31' AND NOT Refresh AND NOT DontCountHits AND URLHash = 6202628419148573758 GROUP BY WindowClientWidth, WindowClientHeight ORDER BY PageViews DESC LIMIT 10000;
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 WindowClientWidth, WindowClientHeight, count(*) AS PageViews FROM <h, WindowClientHeight, count(*) AS PageViews FROM h its_10m WHERE CounterID = <nt(*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND EventDate >= '2013 <ts_10m WHERE CounterID = 34 AND EventDate >= '2013- 07-01' AND EventDate <= ' <4 AND EventDate >= '2013-07-01' AND EventDate <= '2 013-07-31' AND NOT Refres <7-01' AND EventDate <= '2013-07-31' AND NOT Refresh  AND NOT DontCountHits AN <13-07-31' AND NOT Refresh AND NOT DontCountHits AND  URLHash = 6202628419148 <AND NOT DontCountHits AND URLHash = 62026284191485 73758 GROUP BY WindowClie <URLHash = 6202628419148573758 GROUP BY WindowClien tWidth, WindowClientHeigh <3758 GROUP BY WindowClientWidth, WindowClientHeight  ORDER BY PageViews DESC <Width, WindowClientHeight ORDER BY PageViews DESC L IMIT 10000;
+-------------------+--------------------+-----------+
+===================+====================+===========+
+-------------------+--------------------+-----------+
0 tuples (48.725ms)
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 EventTime - extract (SECOND from EventTime) AS M, count(*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND EventDate >= '2013-07-01' AND EventDate <= '2013-07-02' AND NOT Refresh AND NOT DontCountHits GROUP BY M ORDER BY M;
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 EventTime - extract (SECOND from EventTime) AS M, count(*) AS Page <act (SECOND from EventTime) AS M, count(*) AS PageV iews FROM hits_10m WHERE <) AS M, count(*) AS PageViews FROM hits_10m WHERE C ounterID = 34 AND EventDa <ews FROM hits_10m WHERE CounterID = 34 AND EventDat e >= '2013-07-01' <unterID = 34 AND EventDate >= '2013-07-01'  AND Event < >= '2013-07-01' AND EventD ate <= '2013-07-02' AND N < AND EventDate <= '2013-07-02' AND NO T Refresh AND NOT DontCou <te <= '2013-07-02' AND NOT Refresh AND NOT DontCoun tHits GROUP BY M ORDER BY < Refresh AND NOT DontCountHits GROUP BY M ORDER BY M;
+----------------------------+-----------+
+============================+===========+
+----------------------------+-----------+
652 tuples (2.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: 2
query: SELECT EventTime - extract (SECOND from EventTime) AS M, count(*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND EventDate >= '2013-07-01' AND EventDate <= '2013-07-02' AND NOT Refresh AND NOT DontCountHits GROUP BY M ORDER BY M;
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 EventTime - extract (SECOND from EventTime) AS M, count(*) AS Page <act (SECOND from EventTime) AS M, count(*) AS PageV iews FROM hits_10m WHERE <) AS M, count(*) AS PageViews FROM hits_10m WHERE C ounterID = 34 AND EventDa <ews FROM hits_10m WHERE CounterID = 34 AND EventDat e >= '2013-07-01' <unterID = 34 AND EventDate >= '2013-07-01'  AND Event < >= '2013-07-01' AND EventD ate <= '2013-07-02' AND N < AND EventDate <= '2013-07-02' AND NO T Refresh AND NOT DontCou <te <= '2013-07-02' AND NOT Refresh AND NOT DontCoun tHits GROUP BY M ORDER BY < Refresh AND NOT DontCountHits GROUP BY M ORDER BY M;
+----------------------------+-----------+
+============================+===========+
+----------------------------+-----------+
652 tuples (1.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 EventTime - extract (SECOND from EventTime) AS M, count(*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND EventDate >= '2013-07-01' AND EventDate <= '2013-07-02' AND NOT Refresh AND NOT DontCountHits GROUP BY M ORDER BY M;
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 EventTime - extract (SECOND from EventTime) AS M, count(*) AS Page <act (SECOND from EventTime) AS M, count(*) AS PageV iews FROM hits_10m WHERE <) AS M, count(*) AS PageViews FROM hits_10m WHERE C ounterID = 34 AND EventDa <ews FROM hits_10m WHERE CounterID = 34 AND EventDat e >= '2013-07-01' <unterID = 34 AND EventDate >= '2013-07-01'  AND Event < >= '2013-07-01' AND EventD ate <= '2013-07-02' AND N < AND EventDate <= '2013-07-02' AND NO T Refresh AND NOT DontCou <te <= '2013-07-02' AND NOT Refresh AND NOT DontCoun tHits GROUP BY M ORDER BY < Refresh AND NOT DontCountHits GROUP BY M ORDER BY M;
+----------------------------+-----------+
+============================+===========+
+----------------------------+-----------+
652 tuples (1.9s)
sql>\q
stop time: Tue Sep 17 10:52:42 MSK 2013