mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-16 20:53:27 +00:00
2251 lines
145 KiB
Plaintext
2251 lines
145 KiB
Plaintext
start time: Пн. сент. 2 20:45:29 MSK 2013
|
||
|
||
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 (47.434ms)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
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.404ms)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
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.524ms)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
times: 1
|
||
query: SELECT count(*) FROM hits_10m WHERE AdvEngineID not like 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 not like 0;
|
||
+--------+
|
||
+========+
|
||
+--------+
|
||
1 tuple (5.4s)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
times: 2
|
||
query: SELECT count(*) FROM hits_10m WHERE AdvEngineID not like 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 not like 0;
|
||
+--------+
|
||
+========+
|
||
+--------+
|
||
1 tuple (5.3s)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
times: 3
|
||
query: SELECT count(*) FROM hits_10m WHERE AdvEngineID not like 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 not like 0;
|
||
+--------+
|
||
+========+
|
||
+--------+
|
||
1 tuple (5.2s)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
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 (508.823ms)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
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 (24.691ms)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
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 (23.621ms)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
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
|
||
|
||
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
|
||
|
||
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
|
||
|
||
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 (594.911ms)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
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 (560.357ms)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
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 (548.006ms)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
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 (4.2s)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
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.5s)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
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.6s)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
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 (169.017ms)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
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 (8.401ms)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
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 (4.369ms)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
times: 1
|
||
query: SELECT AdvEngineID, count(*) FROM hits_10m WHERE AdvEngineID not like 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 not like 0 GROUP BY AdvEngineID ORDER BY count(*) DESC;
|
||
+-------------+-------+
|
||
+=============+=======+
|
||
+-------------+-------+
|
||
9 tuples (5.2s)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
times: 2
|
||
query: SELECT AdvEngineID, count(*) FROM hits_10m WHERE AdvEngineID not like 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 not like 0 GROUP BY AdvEngineID ORDER BY count(*) DESC;
|
||
+-------------+-------+
|
||
+=============+=======+
|
||
+-------------+-------+
|
||
9 tuples (5.3s)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
times: 3
|
||
query: SELECT AdvEngineID, count(*) FROM hits_10m WHERE AdvEngineID not like 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 not like 0 GROUP BY AdvEngineID ORDER BY count(*) DESC;
|
||
+-------------+-------+
|
||
+=============+=======+
|
||
+-------------+-------+
|
||
9 tuples (5.2s)
|
||
sql>\q
|
||
monetdbd is running
|
||
-- мощная фильтрация. После фильтрации почти ничего не остаётся, но делаем ещё агрегацию.;
|
||
|
||
|
||
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 RegionID ORDER BY u DESC LIMIT 10;
|
||
+----------+--------+
|
||
+==========+========+
|
||
+----------+--------+
|
||
10 tuples (6.2s)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
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 RegionID ORDER BY u DESC LIMIT 10;
|
||
+----------+--------+
|
||
+==========+========+
|
||
+----------+--------+
|
||
10 tuples (5.7s)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
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 RegionID ORDER BY u DESC LIMIT 10;
|
||
+----------+--------+
|
||
+==========+========+
|
||
+----------+--------+
|
||
10 tuples (5.7s)
|
||
sql>\q
|
||
monetdbd is running
|
||
-- агрегация, среднее количество ключей.;
|
||
|
||
|
||
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), count(DISTINCT UserID) FROM hits_10m GROUP BY RegionID ORDER BY count(*) DESC LIMIT 10;
|
||
+----------+--------+---------+--------------------------+--------+
|
||
+==========+========+=========+==========================+========+
|
||
+----------+--------+---------+--------------------------+--------+
|
||
10 tuples (8.1s)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
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), count(DISTINCT UserID) FROM hits_10m GROUP BY RegionID ORDER BY count(*) DESC LIMIT 10;
|
||
+----------+--------+---------+--------------------------+--------+
|
||
+==========+========+=========+==========================+========+
|
||
+----------+--------+---------+--------------------------+--------+
|
||
10 tuples (8.3s)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
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), count(DISTINCT UserID) FROM hits_10m GROUP BY RegionID ORDER BY count(*) DESC LIMIT 10;
|
||
+----------+--------+---------+--------------------------+--------+
|
||
+==========+========+=========+==========================+========+
|
||
+----------+--------+---------+--------------------------+--------+
|
||
10 tuples (8.3s)
|
||
sql>\q
|
||
monetdbd is running
|
||
-- агрегация, среднее количество ключей, несколько агрегатных функций.;
|
||
|
||
|
||
times: 1
|
||
query: SELECT MobilePhoneModel, count(DISTINCT UserID) AS u FROM hits_10m WHERE MobilePhoneModel not like '' 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 MobilePhoneModel not like '' GROUP BY MobilePhoneModel ORDER BY u DESC LIMIT 10;
|
||
+------------------+---------+
|
||
+==================+=========+
|
||
+------------------+---------+
|
||
1 tuple (1.5s)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
times: 2
|
||
query: SELECT MobilePhoneModel, count(DISTINCT UserID) AS u FROM hits_10m WHERE MobilePhoneModel not like '' 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 MobilePhoneModel not like '' GROUP BY MobilePhoneModel ORDER BY u DESC LIMIT 10;
|
||
+------------------+---------+
|
||
+==================+=========+
|
||
+------------------+---------+
|
||
1 tuple (1.4s)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
times: 3
|
||
query: SELECT MobilePhoneModel, count(DISTINCT UserID) AS u FROM hits_10m WHERE MobilePhoneModel not like '' 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 MobilePhoneModel not like '' GROUP BY MobilePhoneModel ORDER BY u DESC LIMIT 10;
|
||
+------------------+---------+
|
||
+==================+=========+
|
||
+------------------+---------+
|
||
1 tuple (1.4s)
|
||
sql>\q
|
||
monetdbd is running
|
||
-- мощная фильтрация по строкам, затем агрегация по строкам.;
|
||
|
||
|
||
times: 1
|
||
query: SELECT MobilePhone, MobilePhoneModel, count(DISTINCT UserID) AS u FROM hits_10m WHERE MobilePhoneModel not like '' 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 hits_10m WHERE MobilePhoneModel not like '' GROUP BY MobilePhone, MobilePhoneModel ORDER BY u
|
||
DESC LIMIT 10;
|
||
+-------------+------------------+---------+
|
||
+=============+==================+=========+
|
||
+-------------+------------------+---------+
|
||
9 tuples (1m 32s)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
times: 2
|
||
query: SELECT MobilePhone, MobilePhoneModel, count(DISTINCT UserID) AS u FROM hits_10m WHERE MobilePhoneModel not like '' 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 hits_10m WHERE MobilePhoneModel not like '' GROUP BY MobilePhone, MobilePhoneModel ORDER BY u
|
||
DESC LIMIT 10;
|
||
+-------------+------------------+---------+
|
||
+=============+==================+=========+
|
||
+-------------+------------------+---------+
|
||
9 tuples (1m 20s)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
times: 3
|
||
query: SELECT MobilePhone, MobilePhoneModel, count(DISTINCT UserID) AS u FROM hits_10m WHERE MobilePhoneModel not like '' 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 hits_10m WHERE MobilePhoneModel not like '' GROUP BY MobilePhone, MobilePhoneModel ORDER BY u
|
||
DESC LIMIT 10;
|
||
+-------------+------------------+---------+
|
||
+=============+==================+=========+
|
||
+-------------+------------------+---------+
|
||
9 tuples (1m 30s)
|
||
sql>\q
|
||
monetdbd is running
|
||
-- мощная фильтрация по строкам, затем агрегация по паре из числа и строки.;
|
||
|
||
|
||
times: 1
|
||
query: SELECT SearchPhrase, count(*) FROM hits_10m WHERE SearchPhrase not like '' 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 not like '' GROUP BY SearchPhrase ORDER BY count(*) DESC LIMIT 10;
|
||
+--------------+---------+
|
||
+==============+=========+
|
||
+--------------+---------+
|
||
1 tuple (421.853ms)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
times: 2
|
||
query: SELECT SearchPhrase, count(*) FROM hits_10m WHERE SearchPhrase not like '' 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 not like '' GROUP BY SearchPhrase ORDER BY count(*) DESC LIMIT 10;
|
||
+--------------+---------+
|
||
+==============+=========+
|
||
+--------------+---------+
|
||
1 tuple (437.020ms)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
times: 3
|
||
query: SELECT SearchPhrase, count(*) FROM hits_10m WHERE SearchPhrase not like '' 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 not like '' GROUP BY SearchPhrase ORDER BY count(*) DESC LIMIT 10;
|
||
+--------------+---------+
|
||
+==============+=========+
|
||
+--------------+---------+
|
||
1 tuple (494.527ms)
|
||
sql>\q
|
||
monetdbd is running
|
||
-- средняя фильтрация по строкам, затем агрегация по строкам, большое количество ключей.;
|
||
|
||
|
||
times: 1
|
||
query: SELECT SearchPhrase, count(DISTINCT UserID) AS u FROM hits_10m WHERE SearchPhrase not like '' 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 SearchPhrase not like '' GROUP BY SearchPhrase ORDER BY u DESC LIMIT 10;
|
||
+--------------+---------+
|
||
+==============+=========+
|
||
+--------------+---------+
|
||
1 tuple (1.2s)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
times: 2
|
||
query: SELECT SearchPhrase, count(DISTINCT UserID) AS u FROM hits_10m WHERE SearchPhrase not like '' 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 SearchPhrase not like '' GROUP BY SearchPhrase ORDER BY u DESC LIMIT 10;
|
||
+--------------+---------+
|
||
+==============+=========+
|
||
+--------------+---------+
|
||
1 tuple (1.2s)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
times: 3
|
||
query: SELECT SearchPhrase, count(DISTINCT UserID) AS u FROM hits_10m WHERE SearchPhrase not like '' 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 SearchPhrase not like '' GROUP BY SearchPhrase ORDER BY u DESC LIMIT 10;
|
||
+--------------+---------+
|
||
+==============+=========+
|
||
+--------------+---------+
|
||
1 tuple (1.2s)
|
||
sql>\q
|
||
monetdbd is running
|
||
-- агрегация чуть сложнее.;
|
||
|
||
|
||
times: 1
|
||
query: SELECT SearchEngineID, SearchPhrase, count(*) FROM hits_10m WHERE SearchPhrase not like '' 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 SearchPhrase not like '' GROUP BY SearchEngineID, SearchPhrase ORDER BY count(*) DESC LIMIT 10;
|
||
+----------------+--------------+---------+
|
||
+================+==============+=========+
|
||
+----------------+--------------+---------+
|
||
10 tuples (1.1s)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
times: 2
|
||
query: SELECT SearchEngineID, SearchPhrase, count(*) FROM hits_10m WHERE SearchPhrase not like '' 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 SearchPhrase not like '' GROUP BY SearchEngineID, SearchPhrase ORDER BY count(*) DESC LIMIT 10;
|
||
+----------------+--------------+---------+
|
||
+================+==============+=========+
|
||
+----------------+--------------+---------+
|
||
10 tuples (937.924ms)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
times: 3
|
||
query: SELECT SearchEngineID, SearchPhrase, count(*) FROM hits_10m WHERE SearchPhrase not like '' 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 SearchPhrase not like '' GROUP BY SearchEngineID, SearchPhrase ORDER BY count(*) DESC LIMIT 10;
|
||
+----------------+--------------+---------+
|
||
+================+==============+=========+
|
||
+----------------+--------------+---------+
|
||
10 tuples (939.490ms)
|
||
sql>\q
|
||
monetdbd is running
|
||
-- агрегация по числу и строке, большое количество ключей.;
|
||
|
||
|
||
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(*) DESC LIMIT 10;
|
||
+---------------------+------+
|
||
+=====================+======+
|
||
+---------------------+------+
|
||
10 tuples (662.040ms)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
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(*) DESC LIMIT 10;
|
||
+---------------------+------+
|
||
+=====================+======+
|
||
+---------------------+------+
|
||
10 tuples (649.461ms)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
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(*) DESC LIMIT 10;
|
||
+---------------------+------+
|
||
+=====================+======+
|
||
+---------------------+------+
|
||
10 tuples (646.120ms)
|
||
sql>\q
|
||
monetdbd is running
|
||
-- агрегация по очень большому количеству ключей, может не хватить оперативки.;
|
||
|
||
|
||
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, SearchPhrase ORDER BY count(*) DESC LIMIT 10;
|
||
+---------------------+--------------+------+
|
||
+=====================+==============+======+
|
||
+---------------------+--------------+------+
|
||
10 tuples (27.5s)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
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, SearchPhrase ORDER BY count(*) DESC LIMIT 10;
|
||
+---------------------+--------------+------+
|
||
+=====================+==============+======+
|
||
+---------------------+--------------+------+
|
||
10 tuples (14.0s)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
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, SearchPhrase ORDER BY count(*) DESC LIMIT 10;
|
||
+---------------------+--------------+------+
|
||
+=====================+==============+======+
|
||
+---------------------+--------------+------+
|
||
10 tuples (5.7s)
|
||
sql>\q
|
||
monetdbd is running
|
||
-- ещё более сложная агрегация.;
|
||
|
||
|
||
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, SearchPhrase LIMIT 10;
|
||
+---------------------+------------------------------------+------+
|
||
+=====================+====================================+======+
|
||
+---------------------+------------------------------------+------+
|
||
10 tuples (28.0s)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
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, SearchPhrase LIMIT 10;
|
||
+---------------------+------------------------------------+------+
|
||
+=====================+====================================+======+
|
||
+---------------------+------------------------------------+------+
|
||
10 tuples (5.6s)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
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, SearchPhrase LIMIT 10;
|
||
+---------------------+------------------------------------+------+
|
||
+=====================+====================================+======+
|
||
+---------------------+------------------------------------+------+
|
||
10 tuples (23.8s)
|
||
sql>\q
|
||
monetdbd is running
|
||
-- то же самое, но без сортировки.;
|
||
|
||
|
||
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(*) FROM hits_10m GROUP BY UserID, m, SearchPhrase ORDER BY count(*) DESC LIMIT 10;
|
||
+---------------------+------+--------------+------+
|
||
+=====================+======+==============+======+
|
||
+---------------------+------+--------------+------+
|
||
10 tuples (19.3s)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
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(*) FROM hits_10m GROUP BY UserID, m, SearchPhrase ORDER BY count(*) DESC LIMIT 10;
|
||
+---------------------+------+--------------+------+
|
||
+=====================+======+==============+======+
|
||
+---------------------+------+--------------+------+
|
||
10 tuples (18.8s)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
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(*) FROM hits_10m GROUP BY UserID, m, SearchPhrase ORDER BY count(*) DESC LIMIT 10;
|
||
+---------------------+------+--------------+------+
|
||
+=====================+======+==============+======+
|
||
+---------------------+------+--------------+------+
|
||
10 tuples (22.9s)
|
||
sql>\q
|
||
monetdbd is running
|
||
-- ещё более сложная агрегация, не стоит выполнять на больших таблицах.;
|
||
|
||
|
||
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 (321.425ms)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
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.696ms)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
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 (0.855ms)
|
||
sql>\q
|
||
monetdbd is running
|
||
-- мощная фильтрация по столбцу типа UInt64.;
|
||
|
||
|
||
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 (5.9s)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
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 (44.325ms)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
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 (38.747ms)
|
||
sql>\q
|
||
monetdbd is running
|
||
-- фильтрация по поиску подстроки в строке.;
|
||
|
||
|
||
times: 1
|
||
query: SELECT SearchPhrase, MAX(URL), count(*) FROM hits_10m WHERE URL LIKE '%metrika%' AND SearchPhrase not like '' 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 '%metrika%' AND SearchPhrase not like '' GROUP BY SearchPhrase ORDER BY count(*) DESC LIMIT 10;
|
||
+--------------+----------------------------------------------------------+------+
|
||
+==============+==========================================================+======+
|
||
+--------------+----------------------------------------------------------+------+
|
||
1 tuple (631.284ms)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
times: 2
|
||
query: SELECT SearchPhrase, MAX(URL), count(*) FROM hits_10m WHERE URL LIKE '%metrika%' AND SearchPhrase not like '' 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 '%metrika%' AND SearchPhrase not like '' GROUP BY SearchPhrase ORDER BY count(*) DESC LIMIT 10;
|
||
+--------------+----------------------------------------------------------+------+
|
||
+==============+==========================================================+======+
|
||
+--------------+----------------------------------------------------------+------+
|
||
1 tuple (607.214ms)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
times: 3
|
||
query: SELECT SearchPhrase, MAX(URL), count(*) FROM hits_10m WHERE URL LIKE '%metrika%' AND SearchPhrase not like '' 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 '%metrika%' AND SearchPhrase not like '' GROUP BY SearchPhrase ORDER BY count(*) DESC LIMIT 10;
|
||
+--------------+----------------------------------------------------------+------+
|
||
+==============+==========================================================+======+
|
||
+--------------+----------------------------------------------------------+------+
|
||
1 tuple (607.498ms)
|
||
sql>\q
|
||
monetdbd is running
|
||
-- вынимаем большие столбцы, фильтрация по строке.;
|
||
|
||
|
||
times: 1
|
||
query: SELECT SearchPhrase, MAX(URL), MAX(Title), count(*) AS c, count(DISTINCT UserID) FROM hits_10m WHERE Title LIKE '%Яндекс%' AND URL NOT LIKE '%.yandex.%' AND SearchPhrase not like '' 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 UserID) FROM hits_10m WHERE Title LIKE '%Яндекс%' AND URL NOT LIKE '%.yandex.%' AND SearchPh
|
||
rase not like '' GROUP BY SearchPhrase ORDER BY count(*) DESC LIMIT 10;
|
||
+------+-------------------------+------------------------------------------------------------------------------------------------------------------------+------+------+
|
||
: chph : : : : :
|
||
: rase : : : : :
|
||
+======+=========================+========================================================================================================================+======+======+
|
||
: : : льский край, КавМинВоды р-н, Кисловодск - IRR.ru : : :
|
||
+------+-------------------------+------------------------------------------------------------------------------------------------------------------------+------+------+
|
||
1 tuple (7.1s)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
times: 2
|
||
query: SELECT SearchPhrase, MAX(URL), MAX(Title), count(*) AS c, count(DISTINCT UserID) FROM hits_10m WHERE Title LIKE '%Яндекс%' AND URL NOT LIKE '%.yandex.%' AND SearchPhrase not like '' 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 UserID) FROM hits_10m WHERE Title LIKE '%Яндекс%' AND URL NOT LIKE '%.yandex.%' AND SearchPh
|
||
rase not like '' GROUP BY SearchPhrase ORDER BY count(*) DESC LIMIT 10;
|
||
+------+-------------------------+------------------------------------------------------------------------------------------------------------------------+------+------+
|
||
: chph : : : : :
|
||
: rase : : : : :
|
||
+======+=========================+========================================================================================================================+======+======+
|
||
: : : льский край, КавМинВоды р-н, Кисловодск - IRR.ru : : :
|
||
+------+-------------------------+------------------------------------------------------------------------------------------------------------------------+------+------+
|
||
1 tuple (1.4s)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
times: 3
|
||
query: SELECT SearchPhrase, MAX(URL), MAX(Title), count(*) AS c, count(DISTINCT UserID) FROM hits_10m WHERE Title LIKE '%Яндекс%' AND URL NOT LIKE '%.yandex.%' AND SearchPhrase not like '' 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 UserID) FROM hits_10m WHERE Title LIKE '%Яндекс%' AND URL NOT LIKE '%.yandex.%' AND SearchPh
|
||
rase not like '' GROUP BY SearchPhrase ORDER BY count(*) DESC LIMIT 10;
|
||
+------+-------------------------+------------------------------------------------------------------------------------------------------------------------+------+------+
|
||
: chph : : : : :
|
||
: rase : : : : :
|
||
+======+=========================+========================================================================================================================+======+======+
|
||
: : : льский край, КавМинВоды р-н, Кисловодск - IRR.ru : : :
|
||
+------+-------------------------+------------------------------------------------------------------------------------------------------------------------+------+------+
|
||
1 tuple (1.4s)
|
||
sql>\q
|
||
monetdbd is running
|
||
-- чуть больше столбцы.;
|
||
|
||
|
||
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 LIMIT 10;
|
||
+---------------------+------+--------------+------+---------------+------------+------+------------+------+---------------------+------+------+------+----------------+
|
||
: : enab : : even : : : teri : : onid : : terc : : agen : :>
|
||
: : le : : t : : : d : : : : lass : : t : :>
|
||
+=====================+======+==============+======+===============+============+======+============+======+=====================+======+======+======+================+
|
||
: : : : : :58:04.000000 : : : : : : : : : .yandex.ru/reg :
|
||
: : : : : : : : : : : : : : istered/main.p :
|
||
: : : : : : : : : : : : : : l?cmd=newCam...>
|
||
: : : : : :58:13.000000 : : : : : : : : : .yandex.ru/ :
|
||
: : : : : :00:43.000000 : : : : : : : : : .yandex.ru/ :
|
||
: : : : : :01:30.000000 : : : : : : : : : .yandex.ru/ :
|
||
: : : : : :01:57.000000 : : : : : : : : : .yandex.ru/ :
|
||
: : : : : :02:21.000000 : : : : : : : : : .yandex.ru/ :
|
||
: : : : : :02:29.000000 : : : : : : : : : .yandex.ru/reg :
|
||
: : : : : : : : : : : : : : istered/main.p :
|
||
: : : : : : : : : : : : : : l?from=metrika :
|
||
: : : : : :02:37.000000 : : : : : : : : : .yandex.ru/ :
|
||
: : : : : :04:10.000000 : : : : : : : : : .yandex.ru/ :
|
||
: : : : : :04:45.000000 : : : : : : : : : .yandex.ru/ :
|
||
+---------------------+------+--------------+------+---------------+------------+------+------------+------+---------------------+------+------+------+----------------+
|
||
10 tuples (45.0s) !92 columns dropped, 1 field truncated!
|
||
note: to disable dropping columns and/or truncating fields use \w-1
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
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 LIMIT 10;
|
||
+---------------------+------+--------------+------+---------------+------------+------+------------+------+---------------------+------+------+------+----------------+
|
||
: : enab : : even : : : teri : : onid : : terc : : agen : :>
|
||
: : le : : t : : : d : : : : lass : : t : :>
|
||
+=====================+======+==============+======+===============+============+======+============+======+=====================+======+======+======+================+
|
||
: : : : : :58:04.000000 : : : : : : : : : .yandex.ru/reg :
|
||
: : : : : : : : : : : : : : istered/main.p :
|
||
: : : : : : : : : : : : : : l?cmd=newCam...>
|
||
: : : : : :58:13.000000 : : : : : : : : : .yandex.ru/ :
|
||
: : : : : :00:43.000000 : : : : : : : : : .yandex.ru/ :
|
||
: : : : : :01:30.000000 : : : : : : : : : .yandex.ru/ :
|
||
: : : : : :01:57.000000 : : : : : : : : : .yandex.ru/ :
|
||
: : : : : :02:21.000000 : : : : : : : : : .yandex.ru/ :
|
||
: : : : : :02:29.000000 : : : : : : : : : .yandex.ru/reg :
|
||
: : : : : : : : : : : : : : istered/main.p :
|
||
: : : : : : : : : : : : : : l?from=metrika :
|
||
: : : : : :02:37.000000 : : : : : : : : : .yandex.ru/ :
|
||
: : : : : :04:10.000000 : : : : : : : : : .yandex.ru/ :
|
||
: : : : : :04:45.000000 : : : : : : : : : .yandex.ru/ :
|
||
+---------------------+------+--------------+------+---------------+------------+------+------------+------+---------------------+------+------+------+----------------+
|
||
10 tuples (501.493ms) !92 columns dropped, 1 field truncated!
|
||
note: to disable dropping columns and/or truncating fields use \w-1
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
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 LIMIT 10;
|
||
+---------------------+------+--------------+------+---------------+------------+------+------------+------+---------------------+------+------+------+----------------+
|
||
: : enab : : even : : : teri : : onid : : terc : : agen : :>
|
||
: : le : : t : : : d : : : : lass : : t : :>
|
||
+=====================+======+==============+======+===============+============+======+============+======+=====================+======+======+======+================+
|
||
: : : : : :58:04.000000 : : : : : : : : : .yandex.ru/reg :
|
||
: : : : : : : : : : : : : : istered/main.p :
|
||
: : : : : : : : : : : : : : l?cmd=newCam...>
|
||
: : : : : :58:13.000000 : : : : : : : : : .yandex.ru/ :
|
||
: : : : : :00:43.000000 : : : : : : : : : .yandex.ru/ :
|
||
: : : : : :01:30.000000 : : : : : : : : : .yandex.ru/ :
|
||
: : : : : :01:57.000000 : : : : : : : : : .yandex.ru/ :
|
||
: : : : : :02:21.000000 : : : : : : : : : .yandex.ru/ :
|
||
: : : : : :02:29.000000 : : : : : : : : : .yandex.ru/reg :
|
||
: : : : : : : : : : : : : : istered/main.p :
|
||
: : : : : : : : : : : : : : l?from=metrika :
|
||
: : : : : :02:37.000000 : : : : : : : : : .yandex.ru/ :
|
||
: : : : : :04:10.000000 : : : : : : : : : .yandex.ru/ :
|
||
: : : : : :04:45.000000 : : : : : : : : : .yandex.ru/ :
|
||
+---------------------+------+--------------+------+---------------+------------+------+------------+------+---------------------+------+------+------+----------------+
|
||
10 tuples (504.824ms) !92 columns dropped, 1 field truncated!
|
||
note: to disable dropping columns and/or truncating fields use \w-1
|
||
sql>\q
|
||
monetdbd is running
|
||
-- плохой запрос - вынимаем все столбцы.;
|
||
|
||
|
||
times: 1
|
||
query: SELECT SearchPhrase FROM hits_10m WHERE SearchPhrase not like '' 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 not like '' ORDER BY EventTime LIMIT 10;
|
||
+--------------+
|
||
+==============+
|
||
+--------------+
|
||
10 tuples (519.376ms)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
times: 2
|
||
query: SELECT SearchPhrase FROM hits_10m WHERE SearchPhrase not like '' 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 not like '' ORDER BY EventTime LIMIT 10;
|
||
+--------------+
|
||
+==============+
|
||
+--------------+
|
||
10 tuples (511.995ms)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
times: 3
|
||
query: SELECT SearchPhrase FROM hits_10m WHERE SearchPhrase not like '' 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 not like '' ORDER BY EventTime LIMIT 10;
|
||
+--------------+
|
||
+==============+
|
||
+--------------+
|
||
10 tuples (502.501ms)
|
||
sql>\q
|
||
monetdbd is running
|
||
-- большая сортировка.;
|
||
|
||
|
||
times: 1
|
||
query: SELECT SearchPhrase FROM hits_10m WHERE SearchPhrase not like '' 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 not like '' ORDER BY SearchPhrase LIMIT 10;
|
||
+--------------+
|
||
+==============+
|
||
+--------------+
|
||
10 tuples (463.535ms)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
times: 2
|
||
query: SELECT SearchPhrase FROM hits_10m WHERE SearchPhrase not like '' 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 not like '' ORDER BY SearchPhrase LIMIT 10;
|
||
+--------------+
|
||
+==============+
|
||
+--------------+
|
||
10 tuples (450.970ms)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
times: 3
|
||
query: SELECT SearchPhrase FROM hits_10m WHERE SearchPhrase not like '' 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 not like '' ORDER BY SearchPhrase LIMIT 10;
|
||
+--------------+
|
||
+==============+
|
||
+--------------+
|
||
10 tuples (446.560ms)
|
||
sql>\q
|
||
monetdbd is running
|
||
-- большая сортировка по строкам.;
|
||
|
||
|
||
times: 1
|
||
query: SELECT SearchPhrase FROM hits_10m WHERE SearchPhrase not like '' 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 not like '' ORDER BY EventTime, SearchPhrase LIMIT 10;
|
||
+--------------+
|
||
+==============+
|
||
+--------------+
|
||
10 tuples (520.424ms)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
times: 2
|
||
query: SELECT SearchPhrase FROM hits_10m WHERE SearchPhrase not like '' 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 not like '' ORDER BY EventTime, SearchPhrase LIMIT 10;
|
||
+--------------+
|
||
+==============+
|
||
+--------------+
|
||
10 tuples (487.075ms)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
times: 3
|
||
query: SELECT SearchPhrase FROM hits_10m WHERE SearchPhrase not like '' 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 not like '' ORDER BY EventTime, SearchPhrase LIMIT 10;
|
||
+--------------+
|
||
+==============+
|
||
+--------------+
|
||
10 tuples (485.532ms)
|
||
sql>\q
|
||
monetdbd is running
|
||
-- большая сортировка по кортежу.;
|
||
|
||
|
||
times: 1
|
||
query: SELECT CounterID, avg(length(URL)) AS l, count(*) FROM hits_10m WHERE URL not like '' 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 not like '' GROUP BY CounterID HAVING count(*) > 100000 ORDER BY l DESC LIMIT 25;
|
||
+-----------+---+----+
|
||
+===========+===+====+
|
||
+-----------+---+----+
|
||
0 tuples (846.848ms)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
times: 2
|
||
query: SELECT CounterID, avg(length(URL)) AS l, count(*) FROM hits_10m WHERE URL not like '' 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 not like '' GROUP BY CounterID HAVING count(*) > 100000 ORDER BY l DESC LIMIT 25;
|
||
+-----------+---+----+
|
||
+===========+===+====+
|
||
+-----------+---+----+
|
||
0 tuples (243.749ms)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
times: 3
|
||
query: SELECT CounterID, avg(length(URL)) AS l, count(*) FROM hits_10m WHERE URL not like '' 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 not like '' GROUP BY CounterID HAVING count(*) > 100000 ORDER BY l DESC LIMIT 25;
|
||
+-----------+---+----+
|
||
+===========+===+====+
|
||
+-----------+---+----+
|
||
0 tuples (241.169ms)
|
||
sql>\q
|
||
monetdbd is running
|
||
-- считаем средние длины URL для крупных счётчиков.;
|
||
|
||
|
||
times: 1
|
||
query: SELECT SUBSTRING(SUBSTRING(Referer, POSITION('//' IN Referer) + 2), 1, GREATEST(0, POSITION('/' IN SUBSTRING(Referer, POSITION('//' IN Referer) + 2)) - 1)) AS k, avg(length(Referer)) AS l, count(*) AS c, MAX(Referer) FROM hits_10m WHERE Referer not like '' 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>SELECT SUBSTRING(SUBSTRING(Referer, POSITION('//' IN Referer) + 2), 1, GREATEST(0, POSITION('/' IN SUBSTRING(Referer, POSITION('//' IN Referer) + 2)) - 1)) AS k, avg
|
||
(length(Referer)) AS l, count(*) AS c, MAX(Referer) FROM hits_10m WHERE Referer not like '' GROUP BY k HAVING count(*) > 100000 ORDER BY l DESC LIMIT 25;
|
||
SELECT: no such binary operator 'greatest(bigint,bigint)'
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
times: 2
|
||
query: SELECT SUBSTRING(SUBSTRING(Referer, POSITION('//' IN Referer) + 2), 1, GREATEST(0, POSITION('/' IN SUBSTRING(Referer, POSITION('//' IN Referer) + 2)) - 1)) AS k, avg(length(Referer)) AS l, count(*) AS c, MAX(Referer) FROM hits_10m WHERE Referer not like '' 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>SELECT SUBSTRING(SUBSTRING(Referer, POSITION('//' IN Referer) + 2), 1, GREATEST(0, POSITION('/' IN SUBSTRING(Referer, POSITION('//' IN Referer) + 2)) - 1)) AS k, avg
|
||
(length(Referer)) AS l, count(*) AS c, MAX(Referer) FROM hits_10m WHERE Referer not like '' GROUP BY k HAVING count(*) > 100000 ORDER BY l DESC LIMIT 25;
|
||
SELECT: no such binary operator 'greatest(bigint,bigint)'
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
times: 3
|
||
query: SELECT SUBSTRING(SUBSTRING(Referer, POSITION('//' IN Referer) + 2), 1, GREATEST(0, POSITION('/' IN SUBSTRING(Referer, POSITION('//' IN Referer) + 2)) - 1)) AS k, avg(length(Referer)) AS l, count(*) AS c, MAX(Referer) FROM hits_10m WHERE Referer not like '' 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>SELECT SUBSTRING(SUBSTRING(Referer, POSITION('//' IN Referer) + 2), 1, GREATEST(0, POSITION('/' IN SUBSTRING(Referer, POSITION('//' IN Referer) + 2)) - 1)) AS k, avg
|
||
(length(Referer)) AS l, count(*) AS c, MAX(Referer) FROM hits_10m WHERE Referer not like '' GROUP BY k HAVING count(*) > 100000 ORDER BY l DESC LIMIT 25;
|
||
SELECT: no such binary operator 'greatest(bigint,bigint)'
|
||
sql>\q
|
||
monetdbd is running
|
||
-- то же самое, но с разбивкой по доменам.;
|
||
|
||
|
||
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(ResolutionWidth + 2), sum(ResolutionWidth + 3), sum(ResolutionWidth + 4), sum(ResolutionWidth + 5), sum(Re
|
||
solutionWidth + 6), sum(ResolutionWidth + 7), sum(ResolutionWidth + 8), sum(ResolutionWidth + 9), sum(ResolutionWidth + 10), sum(ResolutionWidth + 11), sum(ResolutionWid
|
||
th + 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(Resolut
|
||
ionWidth + 31), sum(ResolutionWidth + 32), sum(ResolutionWidth + 33), sum(ResolutionWidth + 34), sum(ResolutionWidth + 35), sum(ResolutionWidth + 36), sum(ResolutionWidt
|
||
h + 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(R
|
||
esolutionWidth + 50), sum(ResolutionWidth + 51), sum(ResolutionWidth + 52), sum(ResolutionWidth + 53), sum(ResolutionWidth + 54), sum(ResolutionWidth + 55), sum(Resoluti
|
||
onWidth + 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(Re
|
||
solutionWidth + 75), sum(ResolutionWidth + 76), sum(ResolutionWidth + 77), sum(ResolutionWidth + 78), sum(ResolutionWidth + 79), sum(ResolutionWidth + 80), sum(Resolutio
|
||
nWidth + 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;
|
||
+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+
|
||
+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+
|
||
+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+
|
||
1 tuple (1.0s) !78 columns dropped!
|
||
note: to disable dropping columns and/or truncating fields use \w-1
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
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(ResolutionWidth + 2), sum(ResolutionWidth + 3), sum(ResolutionWidth + 4), sum(ResolutionWidth + 5), sum(Re
|
||
solutionWidth + 6), sum(ResolutionWidth + 7), sum(ResolutionWidth + 8), sum(ResolutionWidth + 9), sum(ResolutionWidth + 10), sum(ResolutionWidth + 11), sum(ResolutionWid
|
||
th + 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(Resolut
|
||
ionWidth + 31), sum(ResolutionWidth + 32), sum(ResolutionWidth + 33), sum(ResolutionWidth + 34), sum(ResolutionWidth + 35), sum(ResolutionWidth + 36), sum(ResolutionWidt
|
||
h + 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(R
|
||
esolutionWidth + 50), sum(ResolutionWidth + 51), sum(ResolutionWidth + 52), sum(ResolutionWidth + 53), sum(ResolutionWidth + 54), sum(ResolutionWidth + 55), sum(Resoluti
|
||
onWidth + 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(Re
|
||
solutionWidth + 75), sum(ResolutionWidth + 76), sum(ResolutionWidth + 77), sum(ResolutionWidth + 78), sum(ResolutionWidth + 79), sum(ResolutionWidth + 80), sum(Resolutio
|
||
nWidth + 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;
|
||
+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+
|
||
+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+
|
||
+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+
|
||
1 tuple (800.552ms) !78 columns dropped!
|
||
note: to disable dropping columns and/or truncating fields use \w-1
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
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(ResolutionWidth + 2), sum(ResolutionWidth + 3), sum(ResolutionWidth + 4), sum(ResolutionWidth + 5), sum(Re
|
||
solutionWidth + 6), sum(ResolutionWidth + 7), sum(ResolutionWidth + 8), sum(ResolutionWidth + 9), sum(ResolutionWidth + 10), sum(ResolutionWidth + 11), sum(ResolutionWid
|
||
th + 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(Resolut
|
||
ionWidth + 31), sum(ResolutionWidth + 32), sum(ResolutionWidth + 33), sum(ResolutionWidth + 34), sum(ResolutionWidth + 35), sum(ResolutionWidth + 36), sum(ResolutionWidt
|
||
h + 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(R
|
||
esolutionWidth + 50), sum(ResolutionWidth + 51), sum(ResolutionWidth + 52), sum(ResolutionWidth + 53), sum(ResolutionWidth + 54), sum(ResolutionWidth + 55), sum(Resoluti
|
||
onWidth + 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(Re
|
||
solutionWidth + 75), sum(ResolutionWidth + 76), sum(ResolutionWidth + 77), sum(ResolutionWidth + 78), sum(ResolutionWidth + 79), sum(ResolutionWidth + 80), sum(Resolutio
|
||
nWidth + 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;
|
||
+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+
|
||
+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+=============+
|
||
+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+-------------+
|
||
1 tuple (819.192ms) !78 columns dropped!
|
||
note: to disable dropping columns and/or truncating fields use \w-1
|
||
sql>\q
|
||
monetdbd is running
|
||
-- много тупых агрегатных функций.;
|
||
|
||
|
||
times: 1
|
||
query: SELECT SearchEngineID, ClientIP, count(*) AS c, sum(Refresh), avg(ResolutionWidth) FROM hits_10m WHERE SearchPhrase not like '' 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(ResolutionWidth) FROM hits_10m WHERE SearchPhrase not like '' GROUP BY SearchEngineID, ClientIP ORD
|
||
ER BY count(*) DESC LIMIT 10;
|
||
+----------------+------------+------+------+--------------------------+
|
||
+================+============+======+======+==========================+
|
||
+----------------+------------+------+------+--------------------------+
|
||
10 tuples (36.9s)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
times: 2
|
||
query: SELECT SearchEngineID, ClientIP, count(*) AS c, sum(Refresh), avg(ResolutionWidth) FROM hits_10m WHERE SearchPhrase not like '' 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(ResolutionWidth) FROM hits_10m WHERE SearchPhrase not like '' GROUP BY SearchEngineID, ClientIP ORD
|
||
ER BY count(*) DESC LIMIT 10;
|
||
+----------------+------------+------+------+--------------------------+
|
||
+================+============+======+======+==========================+
|
||
+----------------+------------+------+------+--------------------------+
|
||
10 tuples (36.2s)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
times: 3
|
||
query: SELECT SearchEngineID, ClientIP, count(*) AS c, sum(Refresh), avg(ResolutionWidth) FROM hits_10m WHERE SearchPhrase not like '' 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(ResolutionWidth) FROM hits_10m WHERE SearchPhrase not like '' GROUP BY SearchEngineID, ClientIP ORD
|
||
ER BY count(*) DESC LIMIT 10;
|
||
+----------------+------------+------+------+--------------------------+
|
||
+================+============+======+======+==========================+
|
||
+----------------+------------+------+------+--------------------------+
|
||
10 tuples (36.1s)
|
||
sql>\q
|
||
monetdbd is running
|
||
-- сложная агрегация, для больших таблиц может не хватить оперативки.;
|
||
|
||
|
||
times: 1
|
||
query: SELECT WatchID, ClientIP, count(*) AS c, sum(Refresh), avg(ResolutionWidth) FROM hits_10m WHERE SearchPhrase not like '' 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(ResolutionWidth) FROM hits_10m WHERE SearchPhrase not like '' GROUP BY WatchID, ClientIP ORDER BY count(*)
|
||
DESC LIMIT 10;
|
||
+---------------------+------------+------+------+--------------------------+
|
||
+=====================+============+======+======+==========================+
|
||
+---------------------+------------+------+------+--------------------------+
|
||
10 tuples (2.9s)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
times: 2
|
||
query: SELECT WatchID, ClientIP, count(*) AS c, sum(Refresh), avg(ResolutionWidth) FROM hits_10m WHERE SearchPhrase not like '' 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(ResolutionWidth) FROM hits_10m WHERE SearchPhrase not like '' GROUP BY WatchID, ClientIP ORDER BY count(*)
|
||
DESC LIMIT 10;
|
||
+---------------------+------------+------+------+--------------------------+
|
||
+=====================+============+======+======+==========================+
|
||
+---------------------+------------+------+------+--------------------------+
|
||
10 tuples (2.3s)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
times: 3
|
||
query: SELECT WatchID, ClientIP, count(*) AS c, sum(Refresh), avg(ResolutionWidth) FROM hits_10m WHERE SearchPhrase not like '' 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(ResolutionWidth) FROM hits_10m WHERE SearchPhrase not like '' GROUP BY WatchID, ClientIP ORDER BY count(*)
|
||
DESC LIMIT 10;
|
||
+---------------------+------------+------+------+--------------------------+
|
||
+=====================+============+======+======+==========================+
|
||
+---------------------+------------+------+------+--------------------------+
|
||
10 tuples (2.3s)
|
||
sql>\q
|
||
monetdbd is running
|
||
-- агрегация по двум полям, которая ничего не агрегирует. Для больших таблиц выполнить не получится.;
|
||
|
||
|
||
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(ResolutionWidth) FROM hits_10m GROUP BY WatchID, ClientIP ORDER BY count(*) DESC LIMIT 10;
|
||
+---------------------+------------+------+------+--------------------------+
|
||
+=====================+============+======+======+==========================+
|
||
+---------------------+------------+------+------+--------------------------+
|
||
10 tuples (1.2s)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
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(ResolutionWidth) FROM hits_10m GROUP BY WatchID, ClientIP ORDER BY count(*) DESC LIMIT 10;
|
||
+---------------------+------------+------+------+--------------------------+
|
||
+=====================+============+======+======+==========================+
|
||
+---------------------+------------+------+------+--------------------------+
|
||
10 tuples (1.2s)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
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(ResolutionWidth) FROM hits_10m GROUP BY WatchID, ClientIP ORDER BY count(*) DESC LIMIT 10;
|
||
+---------------------+------------+------+------+--------------------------+
|
||
+=====================+============+======+======+==========================+
|
||
+---------------------+------------+------+------+--------------------------+
|
||
10 tuples (1.2s)
|
||
sql>\q
|
||
monetdbd is running
|
||
-- то же самое, но ещё и без фильтрации.;
|
||
|
||
|
||
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 LIMIT 10;
|
||
Connection terminated
|
||
monetdbd is running
|
||
|
||
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:
|
||
unsupported hash algorithms: gorithms: gorit
|
||
monetdbd is running
|
||
|
||
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:
|
||
unsupported hash algorithms: gorithms: g
|
||
monetdbd is running
|
||
-- агрегация по URL.;
|
||
|
||
|
||
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:
|
||
unsupported hash algorithms: gorithms: gorit
|
||
monetdbd is running
|
||
|
||
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:
|
||
unsupported hash algorithms: gorithms: gori
|
||
monetdbd is running
|
||
|
||
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:
|
||
monetdbd: internal error while starting mserver, please refer to the logs
|
||
|
||
monetdbd is running
|
||
-- агрегация по URL и числу.;
|
||
|
||
|
||
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 hits_10m GROUP BY ClientIP, ClientIP - 1, ClientIP - 2, ClientIP - 3 ORDER BY count(*) 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
|
||
|
||
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 hits_10m GROUP BY ClientIP, ClientIP - 1, ClientIP - 2, ClientIP - 3 ORDER BY count(*) 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
|
||
|
||
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 hits_10m GROUP BY ClientIP, ClientIP - 1, ClientIP - 2, ClientIP - 3 ORDER BY count(*) 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
|
||
|
||
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
|
||
|
||
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
|
||
|
||
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
|
||
|
||
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 not like '' 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 AND EventDate >= '2013-07-01' AND EventDate <= '2013-07-31' AND NOT DontCountHits AND NOT R
|
||
efresh AND URL not like '' GROUP BY URL ORDER BY PageViews DESC LIMIT 10;
|
||
+------+-----------+
|
||
+======+===========+
|
||
+------+-----------+
|
||
1 tuple (6.4s)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
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 not like '' 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 AND EventDate >= '2013-07-01' AND EventDate <= '2013-07-31' AND NOT DontCountHits AND NOT R
|
||
efresh AND URL not like '' GROUP BY URL ORDER BY PageViews DESC LIMIT 10;
|
||
+------+-----------+
|
||
+======+===========+
|
||
+------+-----------+
|
||
1 tuple (309.846ms)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
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 not like '' 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 AND EventDate >= '2013-07-01' AND EventDate <= '2013-07-31' AND NOT DontCountHits AND NOT R
|
||
efresh AND URL not like '' GROUP BY URL ORDER BY PageViews DESC LIMIT 10;
|
||
+------+-----------+
|
||
+======+===========+
|
||
+------+-----------+
|
||
1 tuple (300.833ms)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
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 not like '' 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 AND EventDate >= '2013-07-01' AND EventDate <= '2013-07-31' AND NOT DontCountHits AND NOT Refr
|
||
esh AND Title not like '' GROUP BY Title ORDER BY PageViews DESC LIMIT 10;
|
||
+-------+-----------+
|
||
+=======+===========+
|
||
+-------+-----------+
|
||
1 tuple (6.8s)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
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 not like '' 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 AND EventDate >= '2013-07-01' AND EventDate <= '2013-07-31' AND NOT DontCountHits AND NOT Refr
|
||
esh AND Title not like '' GROUP BY Title ORDER BY PageViews DESC LIMIT 10;
|
||
+-------+-----------+
|
||
+=======+===========+
|
||
+-------+-----------+
|
||
1 tuple (310.018ms)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
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 not like '' 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 AND EventDate >= '2013-07-01' AND EventDate <= '2013-07-31' AND NOT DontCountHits AND NOT Refr
|
||
esh AND Title not like '' GROUP BY Title ORDER BY PageViews DESC LIMIT 10;
|
||
+-------+-----------+
|
||
+=======+===========+
|
||
+-------+-----------+
|
||
1 tuple (299.446ms)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
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 EventDate >= '2013-07-01' AND EventDate <= '2013-07-31' AND NOT Refresh AND IsLink AND NOT I
|
||
sDownload GROUP BY URL ORDER BY PageViews DESC LIMIT 1000;
|
||
+---------------------------------------------------------------------------------------------------------------------------------------------------------------+-------+
|
||
: : iews :
|
||
+===============================================================================================================================================================+=======+
|
||
: c_aft_spring-offer2013:cpc:yandex-direct : :
|
||
: =true : :
|
||
: hotelClass=all&meal=all&priceFrom=10000&priceTo=300000 : :
|
||
: 475 : :
|
||
: q2-2013:cpc:yandex-direct:apec2013 : :
|
||
: ks:cpc:yandex-direct:tyagach : :
|
||
: 0_pkw_stock:cpc:yandex-direct:e200 : :
|
||
: {keyword} : :
|
||
: 68ae4aada9d8779c3d9db2a299e : :
|
||
: apartment&search_form[currency]=RUB&search_form[price_type]=total&search_form[rooms][]=4&search_form[only_with_photo]=true : :
|
||
: BJ_PRICE_MIN=&OBJ_PRICE_MAX=§or=&ring=&SORT_BY=0utm_source=Yandex_CPC : :
|
||
: hotelClass=all&meal=all&priceFrom=10000&priceTo=300000 : :
|
||
: n=true : :
|
||
: -01:2013-07-01&m2=07&stat_type=custom&group_by=banner, page, phrase&onpage=100&d1=02&target_1=0&cmd=showCampStat&filter_page_target=context&reverse=1&target_ : :
|
||
: all=1&sort=aconv&m1=07&online_stat=1&cid=4828884&goals=0&y2=13&offline_stat=0 : :
|
||
: yagach : :
|
||
: tml?csref=_030_pkw_stock:cpc:yandex-direct:a-class : :
|
||
: _q2-2013:cpc:yandex-direct:edition-c : :
|
||
: =day&onpage=10000&group_by=page, phrase, retargeting, position, image, date&d1=07&target_1=0&cmd=showCampStat&reverse=ARRAY(0x14a25080)&target_all=1&m1=07&on : :
|
||
: line_stat=0&cid=7088688&goals=0&offline_stat=0&y2=13 : :
|
||
: ion=Прочитайте истории успеха клие : :
|
||
: ddphrases}&keyword={keyword} : :
|
||
: operty_type]=apartment&advert_search[rooms][]=4&advert_search[price_type]=total : :
|
||
: categoryID=560&search_name=Huter&search_price_from=0&search_price_to=38625 : :
|
||
: 475 : :
|
||
: pe}&position={position}&campid=komplekt_yandex_poisk : :
|
||
: ={keyword} : :
|
||
: =28 : :
|
||
: MAX=&OBJ_PRICE_MIN=&OBJ_PRICE_MAX=§or=&ring=&clear_cache=Y&SORT_BY=0utm_source=Yandex_CPC : :
|
||
: 06-01:2013-06-27&group=day&d1=01&cmd=showCampStat&ulogin=elama-13666725&target_all=yes&phrasedate=yes&online_stat=0&m1=06&cid=6887844&goals=0&offline_stat=0& : :
|
||
: y2=13 : :
|
||
: n} : :
|
||
: n=true : :
|
||
: n=true : :
|
||
: 2013-06-27&m2=06&group=month&d1=01&cmd=showCampStat&ulogin=beritedengi-2013&target_all=yes&phrasedate=yes&m1=06&online_stat=0&cid=6870145&goals=0&offline_sta : :
|
||
: t=0&y2=13 : :
|
||
: ice%3D0;35000%26price_from%3D0%26price_to%3D35000%26FILTER[956][]%3D1%26data_form%3DY : :
|
||
: ARE_MAX=&OBJ_PRICE_MIN=&OBJ_PRICE_MAX=&OBJ_PERIOD_MIN=1&OBJ_PERIOD_MAX=12&SORT_BY=0&names=2574 : :
|
||
: 10000&search_subcats=1&= Найти &action=search : :
|
||
: _MAX=&OBJ_PRICE_MIN=&OBJ_PRICE_MAX=&OBJ_DISTANCE_MIN=&OBJ_DISTANCE_MAX=&SORT_BY=0&names=3158,3669 : :
|
||
: 2013-07-01&m2=06&group=week&d1=24&cmd=showCampStat&ulogin=sumki-rekurs&target_all=yes&phrasedate=yes&m1=06&online_stat=0&cid=4054100&goals=0&offline_stat=0&y : :
|
||
: 2=13 : :
|
||
: d=dirOuyaConsole : :
|
||
: 2013-06-24&m2=07&group=year&d1=23&cmd=showCampStat&target_all=yes&phrasedate=yes&online_stat=0&m1=11&cid=4272756&goals=0&offline_stat=0&y2=13 : :
|
||
+---------------------------------------------------------------------------------------------------------------------------------------------------------------+-------+
|
||
1000 tuples (1.9s)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
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 EventDate >= '2013-07-01' AND EventDate <= '2013-07-31' AND NOT Refresh AND IsLink AND NOT I
|
||
sDownload GROUP BY URL ORDER BY PageViews DESC LIMIT 1000;
|
||
+---------------------------------------------------------------------------------------------------------------------------------------------------------------+-------+
|
||
: : iews :
|
||
+===============================================================================================================================================================+=======+
|
||
: c_aft_spring-offer2013:cpc:yandex-direct : :
|
||
: =true : :
|
||
: hotelClass=all&meal=all&priceFrom=10000&priceTo=300000 : :
|
||
: 475 : :
|
||
: q2-2013:cpc:yandex-direct:apec2013 : :
|
||
: ks:cpc:yandex-direct:tyagach : :
|
||
: 0_pkw_stock:cpc:yandex-direct:e200 : :
|
||
: {keyword} : :
|
||
: 68ae4aada9d8779c3d9db2a299e : :
|
||
: apartment&search_form[currency]=RUB&search_form[price_type]=total&search_form[rooms][]=4&search_form[only_with_photo]=true : :
|
||
: BJ_PRICE_MIN=&OBJ_PRICE_MAX=§or=&ring=&SORT_BY=0utm_source=Yandex_CPC : :
|
||
: hotelClass=all&meal=all&priceFrom=10000&priceTo=300000 : :
|
||
: n=true : :
|
||
: -01:2013-07-01&m2=07&stat_type=custom&group_by=banner, page, phrase&onpage=100&d1=02&target_1=0&cmd=showCampStat&filter_page_target=context&reverse=1&target_ : :
|
||
: all=1&sort=aconv&m1=07&online_stat=1&cid=4828884&goals=0&y2=13&offline_stat=0 : :
|
||
: yagach : :
|
||
: tml?csref=_030_pkw_stock:cpc:yandex-direct:a-class : :
|
||
: _q2-2013:cpc:yandex-direct:edition-c : :
|
||
: =day&onpage=10000&group_by=page, phrase, retargeting, position, image, date&d1=07&target_1=0&cmd=showCampStat&reverse=ARRAY(0x14a25080)&target_all=1&m1=07&on : :
|
||
: line_stat=0&cid=7088688&goals=0&offline_stat=0&y2=13 : :
|
||
: ion=Прочитайте истории успеха клие : :
|
||
: ddphrases}&keyword={keyword} : :
|
||
: operty_type]=apartment&advert_search[rooms][]=4&advert_search[price_type]=total : :
|
||
: categoryID=560&search_name=Huter&search_price_from=0&search_price_to=38625 : :
|
||
: 475 : :
|
||
: pe}&position={position}&campid=komplekt_yandex_poisk : :
|
||
: ={keyword} : :
|
||
: =28 : :
|
||
: MAX=&OBJ_PRICE_MIN=&OBJ_PRICE_MAX=§or=&ring=&clear_cache=Y&SORT_BY=0utm_source=Yandex_CPC : :
|
||
: 06-01:2013-06-27&group=day&d1=01&cmd=showCampStat&ulogin=elama-13666725&target_all=yes&phrasedate=yes&online_stat=0&m1=06&cid=6887844&goals=0&offline_stat=0& : :
|
||
: y2=13 : :
|
||
: n} : :
|
||
: n=true : :
|
||
: n=true : :
|
||
: 2013-06-27&m2=06&group=month&d1=01&cmd=showCampStat&ulogin=beritedengi-2013&target_all=yes&phrasedate=yes&m1=06&online_stat=0&cid=6870145&goals=0&offline_sta : :
|
||
: t=0&y2=13 : :
|
||
: ice%3D0;35000%26price_from%3D0%26price_to%3D35000%26FILTER[956][]%3D1%26data_form%3DY : :
|
||
: ARE_MAX=&OBJ_PRICE_MIN=&OBJ_PRICE_MAX=&OBJ_PERIOD_MIN=1&OBJ_PERIOD_MAX=12&SORT_BY=0&names=2574 : :
|
||
: 10000&search_subcats=1&= Найти &action=search : :
|
||
: _MAX=&OBJ_PRICE_MIN=&OBJ_PRICE_MAX=&OBJ_DISTANCE_MIN=&OBJ_DISTANCE_MAX=&SORT_BY=0&names=3158,3669 : :
|
||
: 2013-07-01&m2=06&group=week&d1=24&cmd=showCampStat&ulogin=sumki-rekurs&target_all=yes&phrasedate=yes&m1=06&online_stat=0&cid=4054100&goals=0&offline_stat=0&y : :
|
||
: 2=13 : :
|
||
: d=dirOuyaConsole : :
|
||
: 2013-06-24&m2=07&group=year&d1=23&cmd=showCampStat&target_all=yes&phrasedate=yes&online_stat=0&m1=11&cid=4272756&goals=0&offline_stat=0&y2=13 : :
|
||
+---------------------------------------------------------------------------------------------------------------------------------------------------------------+-------+
|
||
1000 tuples (361.203ms)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
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 EventDate >= '2013-07-01' AND EventDate <= '2013-07-31' AND NOT Refresh AND IsLink AND NOT I
|
||
sDownload GROUP BY URL ORDER BY PageViews DESC LIMIT 1000;
|
||
+---------------------------------------------------------------------------------------------------------------------------------------------------------------+-------+
|
||
: : iews :
|
||
+===============================================================================================================================================================+=======+
|
||
: c_aft_spring-offer2013:cpc:yandex-direct : :
|
||
: =true : :
|
||
: hotelClass=all&meal=all&priceFrom=10000&priceTo=300000 : :
|
||
: 475 : :
|
||
: q2-2013:cpc:yandex-direct:apec2013 : :
|
||
: ks:cpc:yandex-direct:tyagach : :
|
||
: 0_pkw_stock:cpc:yandex-direct:e200 : :
|
||
: {keyword} : :
|
||
: 68ae4aada9d8779c3d9db2a299e : :
|
||
: apartment&search_form[currency]=RUB&search_form[price_type]=total&search_form[rooms][]=4&search_form[only_with_photo]=true : :
|
||
: BJ_PRICE_MIN=&OBJ_PRICE_MAX=§or=&ring=&SORT_BY=0utm_source=Yandex_CPC : :
|
||
: hotelClass=all&meal=all&priceFrom=10000&priceTo=300000 : :
|
||
: n=true : :
|
||
: -01:2013-07-01&m2=07&stat_type=custom&group_by=banner, page, phrase&onpage=100&d1=02&target_1=0&cmd=showCampStat&filter_page_target=context&reverse=1&target_ : :
|
||
: all=1&sort=aconv&m1=07&online_stat=1&cid=4828884&goals=0&y2=13&offline_stat=0 : :
|
||
: yagach : :
|
||
: tml?csref=_030_pkw_stock:cpc:yandex-direct:a-class : :
|
||
: _q2-2013:cpc:yandex-direct:edition-c : :
|
||
: =day&onpage=10000&group_by=page, phrase, retargeting, position, image, date&d1=07&target_1=0&cmd=showCampStat&reverse=ARRAY(0x14a25080)&target_all=1&m1=07&on : :
|
||
: line_stat=0&cid=7088688&goals=0&offline_stat=0&y2=13 : :
|
||
: ion=Прочитайте истории успеха клие : :
|
||
: ddphrases}&keyword={keyword} : :
|
||
: operty_type]=apartment&advert_search[rooms][]=4&advert_search[price_type]=total : :
|
||
: categoryID=560&search_name=Huter&search_price_from=0&search_price_to=38625 : :
|
||
: 475 : :
|
||
: pe}&position={position}&campid=komplekt_yandex_poisk : :
|
||
: ={keyword} : :
|
||
: =28 : :
|
||
: MAX=&OBJ_PRICE_MIN=&OBJ_PRICE_MAX=§or=&ring=&clear_cache=Y&SORT_BY=0utm_source=Yandex_CPC : :
|
||
: 06-01:2013-06-27&group=day&d1=01&cmd=showCampStat&ulogin=elama-13666725&target_all=yes&phrasedate=yes&online_stat=0&m1=06&cid=6887844&goals=0&offline_stat=0& : :
|
||
: y2=13 : :
|
||
: n} : :
|
||
: n=true : :
|
||
: n=true : :
|
||
: 2013-06-27&m2=06&group=month&d1=01&cmd=showCampStat&ulogin=beritedengi-2013&target_all=yes&phrasedate=yes&m1=06&online_stat=0&cid=6870145&goals=0&offline_sta : :
|
||
: t=0&y2=13 : :
|
||
: ice%3D0;35000%26price_from%3D0%26price_to%3D35000%26FILTER[956][]%3D1%26data_form%3DY : :
|
||
: ARE_MAX=&OBJ_PRICE_MIN=&OBJ_PRICE_MAX=&OBJ_PERIOD_MIN=1&OBJ_PERIOD_MAX=12&SORT_BY=0&names=2574 : :
|
||
: 10000&search_subcats=1&= Найти &action=search : :
|
||
: _MAX=&OBJ_PRICE_MIN=&OBJ_PRICE_MAX=&OBJ_DISTANCE_MIN=&OBJ_DISTANCE_MAX=&SORT_BY=0&names=3158,3669 : :
|
||
: 2013-07-01&m2=06&group=week&d1=24&cmd=showCampStat&ulogin=sumki-rekurs&target_all=yes&phrasedate=yes&m1=06&online_stat=0&cid=4054100&goals=0&offline_stat=0&y : :
|
||
: 2=13 : :
|
||
: d=dirOuyaConsole : :
|
||
: 2013-06-24&m2=07&group=year&d1=23&cmd=showCampStat&target_all=yes&phrasedate=yes&online_stat=0&m1=11&cid=4272756&goals=0&offline_stat=0&y2=13 : :
|
||
+---------------------------------------------------------------------------------------------------------------------------------------------------------------+-------+
|
||
1000 tuples (370.979ms)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
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 SearchEngineID = 0 AND AdvEngineID = 0 THEN Referer ELSE '' END AS Src, URL AS Dst, count(*) AS PageVi
|
||
ews 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;
|
||
Connection terminated
|
||
monetdbd is running
|
||
|
||
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:
|
||
unsupported hash algorithms: gorithms: gori
|
||
monetdbd is running
|
||
|
||
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:
|
||
unsupported hash algorithms: gorithms: gorit
|
||
monetdbd is running
|
||
|
||
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 CounterID = 34 AND EventDate >= '2013-07-01' AND EventDate <= '2013-07-31' AND NOT Refresh AND T
|
||
raficSourceID IN (-1, 6) AND RefererHash = 6202628419148573758 GROUP BY URLHash, EventDate ORDER BY PageViews DESC LIMIT 100000;
|
||
+---------+-----------+-----------+
|
||
+=========+===========+===========+
|
||
+---------+-----------+-----------+
|
||
0 tuples (1.1s)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
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 CounterID = 34 AND EventDate >= '2013-07-01' AND EventDate <= '2013-07-31' AND NOT Refresh AND T
|
||
raficSourceID IN (-1, 6) AND RefererHash = 6202628419148573758 GROUP BY URLHash, EventDate ORDER BY PageViews DESC LIMIT 100000;
|
||
+---------+-----------+-----------+
|
||
+=========+===========+===========+
|
||
+---------+-----------+-----------+
|
||
0 tuples (27.731ms)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
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 CounterID = 34 AND EventDate >= '2013-07-01' AND EventDate <= '2013-07-31' AND NOT Refresh AND T
|
||
raficSourceID IN (-1, 6) AND RefererHash = 6202628419148573758 GROUP BY URLHash, EventDate ORDER BY PageViews DESC LIMIT 100000;
|
||
+---------+-----------+-----------+
|
||
+=========+===========+===========+
|
||
+---------+-----------+-----------+
|
||
0 tuples (22.295ms)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
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 hits_10m WHERE CounterID = 34 AND EventDate >= '2013-07-01' AND EventDate <= '2013-07-31' AN
|
||
D NOT Refresh AND NOT DontCountHits AND URLHash = 6202628419148573758 GROUP BY WindowClientWidth, WindowClientHeight ORDER BY PageViews DESC LIMIT 10000;
|
||
+-------------------+--------------------+-----------+
|
||
+===================+====================+===========+
|
||
+-------------------+--------------------+-----------+
|
||
0 tuples (795.122ms)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
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 hits_10m WHERE CounterID = 34 AND EventDate >= '2013-07-01' AND EventDate <= '2013-07-31' AN
|
||
D NOT Refresh AND NOT DontCountHits AND URLHash = 6202628419148573758 GROUP BY WindowClientWidth, WindowClientHeight ORDER BY PageViews DESC LIMIT 10000;
|
||
+-------------------+--------------------+-----------+
|
||
+===================+====================+===========+
|
||
+-------------------+--------------------+-----------+
|
||
0 tuples (23.845ms)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
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 hits_10m WHERE CounterID = 34 AND EventDate >= '2013-07-01' AND EventDate <= '2013-07-31' AN
|
||
D NOT Refresh AND NOT DontCountHits AND URLHash = 6202628419148573758 GROUP BY WindowClientWidth, WindowClientHeight ORDER BY PageViews DESC LIMIT 10000;
|
||
+-------------------+--------------------+-----------+
|
||
+===================+====================+===========+
|
||
+-------------------+--------------------+-----------+
|
||
0 tuples (25.664ms)
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
times: 1
|
||
query: SELECT EventTime - INTERVAL SECOND(EventTime) AS Minute, 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 Minute ORDER BY Minute;
|
||
spawn mclient -u monetdb -d hits
|
||
password:
|
||
Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3)
|
||
Database: MonetDB v11.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 - INTERVAL SECOND(EventTime) AS Minute, count(*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND EventDate >= '2013-07-01' AND EventDate <= '201
|
||
3-07-02' AND NOT Refresh AND NOT DontCountHits GROUP BY Minute ORDER BY Minute;
|
||
syntax error, unexpected SECOND, expecting SCOLON in: "select eventtime - interval second"
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
times: 2
|
||
query: SELECT EventTime - INTERVAL SECOND(EventTime) AS Minute, 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 Minute ORDER BY Minute;
|
||
spawn mclient -u monetdb -d hits
|
||
password:
|
||
Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3)
|
||
Database: MonetDB v11.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 - INTERVAL SECOND(EventTime) AS Minute, count(*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND EventDate >= '2013-07-01' AND EventDate <= '201
|
||
3-07-02' AND NOT Refresh AND NOT DontCountHits GROUP BY Minute ORDER BY Minute;
|
||
syntax error, unexpected SECOND, expecting SCOLON in: "select eventtime - interval second"
|
||
sql>\q
|
||
monetdbd is running
|
||
|
||
times: 3
|
||
query: SELECT EventTime - INTERVAL SECOND(EventTime) AS Minute, 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 Minute ORDER BY Minute;
|
||
spawn mclient -u monetdb -d hits
|
||
password:
|
||
Welcome to mclient, the MonetDB/SQL interactive terminal (Feb2013-SP3)
|
||
Database: MonetDB v11.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 - INTERVAL SECOND(EventTime) AS Minute, count(*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND EventDate >= '2013-07-01' AND EventDate <= '201
|
||
3-07-02' AND NOT Refresh AND NOT DontCountHits GROUP BY Minute ORDER BY Minute;
|
||
syntax error, unexpected SECOND, expecting SCOLON in: "select eventtime - interval second"
|
||
sql>\q
|
||
monetdbd is running
|
||
stop time: Пн. сент. 2 21:03:06 MSK 2013
|