mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-14 19:45:11 +00:00
5813 lines
306 KiB
Plaintext
5813 lines
306 KiB
Plaintext
start time: Пн. сент. 23 21:13:28 MSK 2013
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 40
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 1
|
||
query: SELECT SQL_NO_CACHE count(*) FROM hits_10m;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 42
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE count(*) FROM hits_10m;
|
||
+----------+
|
||
+----------+
|
||
+----------+
|
||
1 row in set (0.00 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 43
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 2
|
||
query: SELECT SQL_NO_CACHE count(*) FROM hits_10m;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 45
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE count(*) FROM hits_10m;
|
||
+----------+
|
||
+----------+
|
||
+----------+
|
||
1 row in set (0.00 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 46
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 3
|
||
query: SELECT SQL_NO_CACHE count(*) FROM hits_10m;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 48
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE count(*) FROM hits_10m;
|
||
+----------+
|
||
+----------+
|
||
+----------+
|
||
1 row in set (0.00 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 49
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 1
|
||
query: SELECT SQL_NO_CACHE count(*) FROM hits_10m WHERE AdvEngineID != 0;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 51
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE count(*) FROM hits_10m WHERE AdvEngineID != 0;
|
||
+----------+
|
||
+----------+
|
||
+----------+
|
||
1 row in set (24.67 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 52
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 2
|
||
query: SELECT SQL_NO_CACHE count(*) FROM hits_10m WHERE AdvEngineID != 0;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 54
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE count(*) FROM hits_10m WHERE AdvEngineID != 0;
|
||
+----------+
|
||
+----------+
|
||
+----------+
|
||
1 row in set (19.89 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 55
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 3
|
||
query: SELECT SQL_NO_CACHE count(*) FROM hits_10m WHERE AdvEngineID != 0;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 57
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE count(*) FROM hits_10m WHERE AdvEngineID != 0;
|
||
+----------+
|
||
+----------+
|
||
+----------+
|
||
1 row in set (19.40 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 58
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 1
|
||
query: SELECT SQL_NO_CACHE sum(AdvEngineID), count(*), avg(ResolutionWidth) FROM hits_10m;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 60
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE sum(AdvEngineID), count(*), avg(ResolutionWidth) FROM hits_10m;
|
||
+------------------+----------+----------------------+
|
||
+------------------+----------+----------------------+
|
||
+------------------+----------+----------------------+
|
||
1 row in set (28.22 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 61
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 2
|
||
query: SELECT SQL_NO_CACHE sum(AdvEngineID), count(*), avg(ResolutionWidth) FROM hits_10m;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 63
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE sum(AdvEngineID), count(*), avg(ResolutionWidth) FROM hits_10m;
|
||
+------------------+----------+----------------------+
|
||
+------------------+----------+----------------------+
|
||
+------------------+----------+----------------------+
|
||
1 row in set (21.02 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 64
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 3
|
||
query: SELECT SQL_NO_CACHE sum(AdvEngineID), count(*), avg(ResolutionWidth) FROM hits_10m;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 66
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE sum(AdvEngineID), count(*), avg(ResolutionWidth) FROM hits_10m;
|
||
+------------------+----------+----------------------+
|
||
+------------------+----------+----------------------+
|
||
+------------------+----------+----------------------+
|
||
1 row in set (20.72 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 67
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 1
|
||
query: SELECT SQL_NO_CACHE sum(UserID) FROM hits_10m;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 69
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE sum(UserID) FROM hits_10m;
|
||
+----------------------------+
|
||
+----------------------------+
|
||
+----------------------------+
|
||
1 row in set (28.05 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 70
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 2
|
||
query: SELECT SQL_NO_CACHE sum(UserID) FROM hits_10m;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 72
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE sum(UserID) FROM hits_10m;
|
||
+----------------------------+
|
||
+----------------------------+
|
||
+----------------------------+
|
||
1 row in set (20.23 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 73
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 3
|
||
query: SELECT SQL_NO_CACHE sum(UserID) FROM hits_10m;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 75
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE sum(UserID) FROM hits_10m;
|
||
+----------------------------+
|
||
+----------------------------+
|
||
+----------------------------+
|
||
1 row in set (20.17 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 76
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 1
|
||
query: SELECT SQL_NO_CACHE count(DISTINCT UserID) FROM hits_10m;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 78
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE count(DISTINCT UserID) FROM hits_10m;
|
||
+------------------------+
|
||
+------------------------+
|
||
+------------------------+
|
||
1 row in set (31.56 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 79
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 2
|
||
query: SELECT SQL_NO_CACHE count(DISTINCT UserID) FROM hits_10m;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 81
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE count(DISTINCT UserID) FROM hits_10m;
|
||
+------------------------+
|
||
+------------------------+
|
||
+------------------------+
|
||
1 row in set (25.77 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 82
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 3
|
||
query: SELECT SQL_NO_CACHE count(DISTINCT UserID) FROM hits_10m;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 84
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE count(DISTINCT UserID) FROM hits_10m;
|
||
+------------------------+
|
||
+------------------------+
|
||
+------------------------+
|
||
1 row in set (25.94 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 85
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 1
|
||
query: SELECT SQL_NO_CACHE count(DISTINCT SearchPhrase) FROM hits_10m;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 87
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE count(DISTINCT SearchPhrase) FROM hits_10m;
|
||
+------------------------------+
|
||
+------------------------------+
|
||
+------------------------------+
|
||
1 row in set (36.92 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 88
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 2
|
||
query: SELECT SQL_NO_CACHE count(DISTINCT SearchPhrase) FROM hits_10m;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 90
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE count(DISTINCT SearchPhrase) FROM hits_10m;
|
||
+------------------------------+
|
||
+------------------------------+
|
||
+------------------------------+
|
||
1 row in set (27.81 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 91
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 3
|
||
query: SELECT SQL_NO_CACHE count(DISTINCT SearchPhrase) FROM hits_10m;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 93
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE count(DISTINCT SearchPhrase) FROM hits_10m;
|
||
+------------------------------+
|
||
+------------------------------+
|
||
+------------------------------+
|
||
1 row in set (27.69 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 94
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 1
|
||
query: SELECT SQL_NO_CACHE min(EventDate), max(EventDate) FROM hits_10m;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 96
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE min(EventDate), max(EventDate) FROM hits_10m;
|
||
+----------------+----------------+
|
||
+----------------+----------------+
|
||
+----------------+----------------+
|
||
1 row in set (7.44 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 97
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 2
|
||
query: SELECT SQL_NO_CACHE min(EventDate), max(EventDate) FROM hits_10m;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 99
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE min(EventDate), max(EventDate) FROM hits_10m;
|
||
+----------------+----------------+
|
||
+----------------+----------------+
|
||
+----------------+----------------+
|
||
1 row in set (6.31 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 100
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 3
|
||
query: SELECT SQL_NO_CACHE min(EventDate), max(EventDate) FROM hits_10m;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 102
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE min(EventDate), max(EventDate) FROM hits_10m;
|
||
+----------------+----------------+
|
||
+----------------+----------------+
|
||
+----------------+----------------+
|
||
1 row in set (6.45 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 103
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 1
|
||
query: SELECT SQL_NO_CACHE AdvEngineID, count(*) FROM hits_10m WHERE AdvEngineID != 0 GROUP BY AdvEngineID ORDER BY count(*) DESC;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 105
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE AdvEngineID, count(*) FROM hits_10m WHERE AdvEngineID != 0 GROUP BY AdvEngineID ORDER BY count(*) DESC;
|
||
+-------------+----------+
|
||
+-------------+----------+
|
||
+-------------+----------+
|
||
9 rows in set (24.57 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 106
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 2
|
||
query: SELECT SQL_NO_CACHE AdvEngineID, count(*) FROM hits_10m WHERE AdvEngineID != 0 GROUP BY AdvEngineID ORDER BY count(*) DESC;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 108
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE AdvEngineID, count(*) FROM hits_10m WHERE AdvEngineID != 0 GROUP BY AdvEngineID ORDER BY count(*) DESC;
|
||
+-------------+----------+
|
||
+-------------+----------+
|
||
+-------------+----------+
|
||
9 rows in set (19.90 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 109
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 3
|
||
query: SELECT SQL_NO_CACHE AdvEngineID, count(*) FROM hits_10m WHERE AdvEngineID != 0 GROUP BY AdvEngineID ORDER BY count(*) DESC;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 111
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE AdvEngineID, count(*) FROM hits_10m WHERE AdvEngineID != 0 GROUP BY AdvEngineID ORDER BY count(*) DESC;
|
||
+-------------+----------+
|
||
+-------------+----------+
|
||
+-------------+----------+
|
||
9 rows in set (19.73 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
-- мощная фильтрация. После фильтрации почти ничего не остаётся, но делаем ещё агрегацию.;
|
||
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 112
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 1
|
||
query: SELECT SQL_NO_CACHE RegionID, count(DISTINCT UserID) AS u FROM hits_10m GROUP BY RegionID ORDER BY u DESC LIMIT 10;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 114
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE RegionID, count(DISTINCT UserID) AS u FROM hits_10m GROUP BY RegionID ORDER BY u DESC LIMIT 10;
|
||
+----------+--------+
|
||
+----------+--------+
|
||
+----------+--------+
|
||
10 rows in set (31.77 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 115
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 2
|
||
query: SELECT SQL_NO_CACHE RegionID, count(DISTINCT UserID) AS u FROM hits_10m GROUP BY RegionID ORDER BY u DESC LIMIT 10;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 117
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE RegionID, count(DISTINCT UserID) AS u FROM hits_10m GROUP BY RegionID ORDER BY u DESC LIMIT 10;
|
||
+----------+--------+
|
||
+----------+--------+
|
||
+----------+--------+
|
||
10 rows in set (25.16 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 118
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 3
|
||
query: SELECT SQL_NO_CACHE RegionID, count(DISTINCT UserID) AS u FROM hits_10m GROUP BY RegionID ORDER BY u DESC LIMIT 10;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 120
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE RegionID, count(DISTINCT UserID) AS u FROM hits_10m GROUP BY RegionID ORDER BY u DESC LIMIT 10;
|
||
+----------+--------+
|
||
+----------+--------+
|
||
+----------+--------+
|
||
10 rows in set (25.15 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
-- агрегация, среднее количество ключей.;
|
||
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 121
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 1
|
||
query: SELECT SQL_NO_CACHE RegionID, sum(AdvEngineID), count(*) AS c, avg(ResolutionWidth), count(DISTINCT UserID) FROM hits_10m GROUP BY RegionID ORDER BY count(*) DESC LIMIT 10;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 123
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE RegionID, sum(AdvEngineID), count(*) AS c, avg(ResolutionWidth), count(DISTINCT UserID) FROM hits_10m GROUP BY RegionID ORDER BY count(*) DESC
|
||
LIMIT 10;
|
||
+----------+------------------+---------+----------------------+------------------------+
|
||
+----------+------------------+---------+----------------------+------------------------+
|
||
+----------+------------------+---------+----------------------+------------------------+
|
||
10 rows in set (32.71 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 124
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 2
|
||
query: SELECT SQL_NO_CACHE RegionID, sum(AdvEngineID), count(*) AS c, avg(ResolutionWidth), count(DISTINCT UserID) FROM hits_10m GROUP BY RegionID ORDER BY count(*) DESC LIMIT 10;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 126
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE RegionID, sum(AdvEngineID), count(*) AS c, avg(ResolutionWidth), count(DISTINCT UserID) FROM hits_10m GROUP BY RegionID ORDER BY count(*) DESC
|
||
LIMIT 10;
|
||
+----------+------------------+---------+----------------------+------------------------+
|
||
+----------+------------------+---------+----------------------+------------------------+
|
||
+----------+------------------+---------+----------------------+------------------------+
|
||
10 rows in set (27.17 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 127
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 3
|
||
query: SELECT SQL_NO_CACHE RegionID, sum(AdvEngineID), count(*) AS c, avg(ResolutionWidth), count(DISTINCT UserID) FROM hits_10m GROUP BY RegionID ORDER BY count(*) DESC LIMIT 10;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 129
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE RegionID, sum(AdvEngineID), count(*) AS c, avg(ResolutionWidth), count(DISTINCT UserID) FROM hits_10m GROUP BY RegionID ORDER BY count(*) DESC
|
||
LIMIT 10;
|
||
+----------+------------------+---------+----------------------+------------------------+
|
||
+----------+------------------+---------+----------------------+------------------------+
|
||
+----------+------------------+---------+----------------------+------------------------+
|
||
10 rows in set (27.17 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
-- агрегация, среднее количество ключей, несколько агрегатных функций.;
|
||
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 130
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 1
|
||
query: SELECT SQL_NO_CACHE MobilePhoneModel, count(DISTINCT UserID) AS u FROM hits_10m WHERE MobilePhoneModel != '' GROUP BY MobilePhoneModel ORDER BY u DESC LIMIT 10;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 132
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE MobilePhoneModel, count(DISTINCT UserID) AS u FROM hits_10m WHERE MobilePhoneModel != '' GROUP BY MobilePhoneModel ORDER BY u DESC LIMIT 10;
|
||
+------------------+-------+
|
||
+------------------+-------+
|
||
+------------------+-------+
|
||
10 rows in set (28.13 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 133
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 2
|
||
query: SELECT SQL_NO_CACHE MobilePhoneModel, count(DISTINCT UserID) AS u FROM hits_10m WHERE MobilePhoneModel != '' GROUP BY MobilePhoneModel ORDER BY u DESC LIMIT 10;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 135
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE MobilePhoneModel, count(DISTINCT UserID) AS u FROM hits_10m WHERE MobilePhoneModel != '' GROUP BY MobilePhoneModel ORDER BY u DESC LIMIT 10;
|
||
+------------------+-------+
|
||
+------------------+-------+
|
||
+------------------+-------+
|
||
10 rows in set (21.12 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 136
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 3
|
||
query: SELECT SQL_NO_CACHE MobilePhoneModel, count(DISTINCT UserID) AS u FROM hits_10m WHERE MobilePhoneModel != '' GROUP BY MobilePhoneModel ORDER BY u DESC LIMIT 10;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 138
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE MobilePhoneModel, count(DISTINCT UserID) AS u FROM hits_10m WHERE MobilePhoneModel != '' GROUP BY MobilePhoneModel ORDER BY u DESC LIMIT 10;
|
||
+------------------+-------+
|
||
+------------------+-------+
|
||
+------------------+-------+
|
||
10 rows in set (20.82 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
-- мощная фильтрация по строкам, затем агрегация по строкам.;
|
||
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 139
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 1
|
||
query: SELECT SQL_NO_CACHE MobilePhone, MobilePhoneModel, count(DISTINCT UserID) AS u FROM hits_10m WHERE MobilePhoneModel != '' GROUP BY MobilePhone, MobilePhoneModel ORDER BY u DESC LIMIT 10;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 141
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE MobilePhone, MobilePhoneModel, count(DISTINCT UserID) AS u FROM hits_10m WHERE MobilePhoneModel != '' GROUP BY MobilePhone, MobilePhoneModel O
|
||
RDER BY u DESC LIMIT 10;
|
||
+-------------+------------------+-------+
|
||
+-------------+------------------+-------+
|
||
+-------------+------------------+-------+
|
||
10 rows in set (28.32 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 142
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 2
|
||
query: SELECT SQL_NO_CACHE MobilePhone, MobilePhoneModel, count(DISTINCT UserID) AS u FROM hits_10m WHERE MobilePhoneModel != '' GROUP BY MobilePhone, MobilePhoneModel ORDER BY u DESC LIMIT 10;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 144
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE MobilePhone, MobilePhoneModel, count(DISTINCT UserID) AS u FROM hits_10m WHERE MobilePhoneModel != '' GROUP BY MobilePhone, MobilePhoneModel O
|
||
RDER BY u DESC LIMIT 10;
|
||
+-------------+------------------+-------+
|
||
+-------------+------------------+-------+
|
||
+-------------+------------------+-------+
|
||
10 rows in set (20.89 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 145
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 3
|
||
query: SELECT SQL_NO_CACHE MobilePhone, MobilePhoneModel, count(DISTINCT UserID) AS u FROM hits_10m WHERE MobilePhoneModel != '' GROUP BY MobilePhone, MobilePhoneModel ORDER BY u DESC LIMIT 10;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 147
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE MobilePhone, MobilePhoneModel, count(DISTINCT UserID) AS u FROM hits_10m WHERE MobilePhoneModel != '' GROUP BY MobilePhone, MobilePhoneModel O
|
||
RDER BY u DESC LIMIT 10;
|
||
+-------------+------------------+-------+
|
||
+-------------+------------------+-------+
|
||
+-------------+------------------+-------+
|
||
10 rows in set (20.75 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
-- мощная фильтрация по строкам, затем агрегация по паре из числа и строки.;
|
||
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 148
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 1
|
||
query: SELECT SQL_NO_CACHE SearchPhrase, count(*) FROM hits_10m WHERE SearchPhrase != '' GROUP BY SearchPhrase ORDER BY count(*) DESC LIMIT 10;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 150
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE SearchPhrase, count(*) FROM hits_10m WHERE SearchPhrase != '' GROUP BY SearchPhrase ORDER BY count(*) DESC LIMIT 10;
|
||
+---------------------------------------------------------+----------+
|
||
+---------------------------------------------------------+----------+
|
||
+---------------------------------------------------------+----------+
|
||
10 rows in set (49.31 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 151
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 2
|
||
query: SELECT SQL_NO_CACHE SearchPhrase, count(*) FROM hits_10m WHERE SearchPhrase != '' GROUP BY SearchPhrase ORDER BY count(*) DESC LIMIT 10;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 153
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE SearchPhrase, count(*) FROM hits_10m WHERE SearchPhrase != '' GROUP BY SearchPhrase ORDER BY count(*) DESC LIMIT 10;
|
||
+---------------------------------------------------------+----------+
|
||
+---------------------------------------------------------+----------+
|
||
+---------------------------------------------------------+----------+
|
||
10 rows in set (46.13 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 154
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 3
|
||
query: SELECT SQL_NO_CACHE SearchPhrase, count(*) FROM hits_10m WHERE SearchPhrase != '' GROUP BY SearchPhrase ORDER BY count(*) DESC LIMIT 10;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 156
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE SearchPhrase, count(*) FROM hits_10m WHERE SearchPhrase != '' GROUP BY SearchPhrase ORDER BY count(*) DESC LIMIT 10;
|
||
+---------------------------------------------------------+----------+
|
||
+---------------------------------------------------------+----------+
|
||
+---------------------------------------------------------+----------+
|
||
10 rows in set (47.95 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
-- средняя фильтрация по строкам, затем агрегация по строкам, большое количество ключей.;
|
||
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 157
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 1
|
||
query: SELECT SQL_NO_CACHE SearchPhrase, count(DISTINCT UserID) AS u FROM hits_10m WHERE SearchPhrase != '' GROUP BY SearchPhrase ORDER BY u DESC LIMIT 10;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 159
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE SearchPhrase, count(DISTINCT UserID) AS u FROM hits_10m WHERE SearchPhrase != '' GROUP BY SearchPhrase ORDER BY u DESC LIMIT 10;
|
||
+----------------------------------------------------------------------------------------+------+
|
||
+----------------------------------------------------------------------------------------+------+
|
||
+----------------------------------------------------------------------------------------+------+
|
||
10 rows in set (1 min 4.20 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 160
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 2
|
||
query: SELECT SQL_NO_CACHE SearchPhrase, count(DISTINCT UserID) AS u FROM hits_10m WHERE SearchPhrase != '' GROUP BY SearchPhrase ORDER BY u DESC LIMIT 10;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 162
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE SearchPhrase, count(DISTINCT UserID) AS u FROM hits_10m WHERE SearchPhrase != '' GROUP BY SearchPhrase ORDER BY u DESC LIMIT 10;
|
||
+----------------------------------------------------------------------------------------+------+
|
||
+----------------------------------------------------------------------------------------+------+
|
||
+----------------------------------------------------------------------------------------+------+
|
||
10 rows in set (42.81 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 163
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 3
|
||
query: SELECT SQL_NO_CACHE SearchPhrase, count(DISTINCT UserID) AS u FROM hits_10m WHERE SearchPhrase != '' GROUP BY SearchPhrase ORDER BY u DESC LIMIT 10;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 165
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE SearchPhrase, count(DISTINCT UserID) AS u FROM hits_10m WHERE SearchPhrase != '' GROUP BY SearchPhrase ORDER BY u DESC LIMIT 10;
|
||
+----------------------------------------------------------------------------------------+------+
|
||
+----------------------------------------------------------------------------------------+------+
|
||
+----------------------------------------------------------------------------------------+------+
|
||
10 rows in set (43.65 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
-- агрегация чуть сложнее.;
|
||
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 166
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 1
|
||
query: SELECT SQL_NO_CACHE SearchEngineID, SearchPhrase, count(*) FROM hits_10m WHERE SearchPhrase != '' GROUP BY SearchEngineID, SearchPhrase ORDER BY count(*) DESC LIMIT 10;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 168
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE SearchEngineID, SearchPhrase, count(*) FROM hits_10m WHERE SearchPhrase != '' GROUP BY SearchEngineID, SearchPhrase ORDER BY count(*) DESC LIM
|
||
IT 10;
|
||
+----------------+---------------------------------------------------------+----------+
|
||
+----------------+---------------------------------------------------------+----------+
|
||
+----------------+---------------------------------------------------------+----------+
|
||
10 rows in set (48.47 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 169
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 2
|
||
query: SELECT SQL_NO_CACHE SearchEngineID, SearchPhrase, count(*) FROM hits_10m WHERE SearchPhrase != '' GROUP BY SearchEngineID, SearchPhrase ORDER BY count(*) DESC LIMIT 10;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 171
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE SearchEngineID, SearchPhrase, count(*) FROM hits_10m WHERE SearchPhrase != '' GROUP BY SearchEngineID, SearchPhrase ORDER BY count(*) DESC LIM
|
||
IT 10;
|
||
+----------------+---------------------------------------------------------+----------+
|
||
+----------------+---------------------------------------------------------+----------+
|
||
+----------------+---------------------------------------------------------+----------+
|
||
10 rows in set (48.79 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 172
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 3
|
||
query: SELECT SQL_NO_CACHE SearchEngineID, SearchPhrase, count(*) FROM hits_10m WHERE SearchPhrase != '' GROUP BY SearchEngineID, SearchPhrase ORDER BY count(*) DESC LIMIT 10;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 174
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE SearchEngineID, SearchPhrase, count(*) FROM hits_10m WHERE SearchPhrase != '' GROUP BY SearchEngineID, SearchPhrase ORDER BY count(*) DESC LIM
|
||
IT 10;
|
||
+----------------+---------------------------------------------------------+----------+
|
||
+----------------+---------------------------------------------------------+----------+
|
||
+----------------+---------------------------------------------------------+----------+
|
||
10 rows in set (43.92 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
-- агрегация по числу и строке, большое количество ключей.;
|
||
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 175
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 1
|
||
query: SELECT SQL_NO_CACHE UserID, count(*) FROM hits_10m GROUP BY UserID ORDER BY count(*) DESC LIMIT 10;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 177
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE UserID, count(*) FROM hits_10m GROUP BY UserID ORDER BY count(*) DESC LIMIT 10;
|
||
+---------------------+----------+
|
||
+---------------------+----------+
|
||
+---------------------+----------+
|
||
10 rows in set (1 min 37.97 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 178
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 2
|
||
query: SELECT SQL_NO_CACHE UserID, count(*) FROM hits_10m GROUP BY UserID ORDER BY count(*) DESC LIMIT 10;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 180
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE UserID, count(*) FROM hits_10m GROUP BY UserID ORDER BY count(*) DESC LIMIT 10;
|
||
+---------------------+----------+
|
||
+---------------------+----------+
|
||
+---------------------+----------+
|
||
10 rows in set (1 min 29.48 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 181
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 3
|
||
query: SELECT SQL_NO_CACHE UserID, count(*) FROM hits_10m GROUP BY UserID ORDER BY count(*) DESC LIMIT 10;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 183
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE UserID, count(*) FROM hits_10m GROUP BY UserID ORDER BY count(*) DESC LIMIT 10;
|
||
+---------------------+----------+
|
||
+---------------------+----------+
|
||
+---------------------+----------+
|
||
10 rows in set (1 min 29.29 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
-- агрегация по очень большому количеству ключей, может не хватить оперативки.;
|
||
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 184
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 1
|
||
query: SELECT SQL_NO_CACHE UserID, SearchPhrase, count(*) FROM hits_10m GROUP BY UserID, SearchPhrase ORDER BY count(*) DESC LIMIT 10;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 186
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE UserID, SearchPhrase, count(*) FROM hits_10m GROUP BY UserID, SearchPhrase ORDER BY count(*) DESC LIMIT 10;
|
||
+---------------------+--------------+----------+
|
||
+---------------------+--------------+----------+
|
||
+---------------------+--------------+----------+
|
||
10 rows in set (2 min 51.31 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 187
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 2
|
||
query: SELECT SQL_NO_CACHE UserID, SearchPhrase, count(*) FROM hits_10m GROUP BY UserID, SearchPhrase ORDER BY count(*) DESC LIMIT 10;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 189
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE UserID, SearchPhrase, count(*) FROM hits_10m GROUP BY UserID, SearchPhrase ORDER BY count(*) DESC LIMIT 10;
|
||
+---------------------+--------------+----------+
|
||
+---------------------+--------------+----------+
|
||
+---------------------+--------------+----------+
|
||
10 rows in set (2 min 49.48 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 190
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 3
|
||
query: SELECT SQL_NO_CACHE UserID, SearchPhrase, count(*) FROM hits_10m GROUP BY UserID, SearchPhrase ORDER BY count(*) DESC LIMIT 10;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 192
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE UserID, SearchPhrase, count(*) FROM hits_10m GROUP BY UserID, SearchPhrase ORDER BY count(*) DESC LIMIT 10;
|
||
+---------------------+--------------+----------+
|
||
+---------------------+--------------+----------+
|
||
+---------------------+--------------+----------+
|
||
10 rows in set (2 min 49.25 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
-- ещё более сложная агрегация.;
|
||
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 193
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 1
|
||
query: SELECT SQL_NO_CACHE UserID, SearchPhrase, count(*) FROM hits_10m GROUP BY UserID, SearchPhrase LIMIT 10;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 195
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE UserID, SearchPhrase, count(*) FROM hits_10m GROUP BY UserID, SearchPhrase LIMIT 10;
|
||
+----------------------+------------------------------------------------------------------------------------------------------------------------------+----------+
|
||
+----------------------+------------------------------------------------------------------------------------------------------------------------------+----------+
|
||
+----------------------+------------------------------------------------------------------------------------------------------------------------------+----------+
|
||
10 rows in set (2 min 51.33 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 196
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 2
|
||
query: SELECT SQL_NO_CACHE UserID, SearchPhrase, count(*) FROM hits_10m GROUP BY UserID, SearchPhrase LIMIT 10;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 198
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE UserID, SearchPhrase, count(*) FROM hits_10m GROUP BY UserID, SearchPhrase LIMIT 10;
|
||
+----------------------+------------------------------------------------------------------------------------------------------------------------------+----------+
|
||
+----------------------+------------------------------------------------------------------------------------------------------------------------------+----------+
|
||
+----------------------+------------------------------------------------------------------------------------------------------------------------------+----------+
|
||
10 rows in set (2 min 30.93 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 199
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 3
|
||
query: SELECT SQL_NO_CACHE UserID, SearchPhrase, count(*) FROM hits_10m GROUP BY UserID, SearchPhrase LIMIT 10;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 201
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE UserID, SearchPhrase, count(*) FROM hits_10m GROUP BY UserID, SearchPhrase LIMIT 10;
|
||
+----------------------+------------------------------------------------------------------------------------------------------------------------------+----------+
|
||
+----------------------+------------------------------------------------------------------------------------------------------------------------------+----------+
|
||
+----------------------+------------------------------------------------------------------------------------------------------------------------------+----------+
|
||
10 rows in set (2 min 36.59 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
-- то же самое, но без сортировки.;
|
||
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 202
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 1
|
||
query: SELECT SQL_NO_CACHE UserID, Minute(EventTime) AS m, SearchPhrase, count(*) FROM hits_10m GROUP BY UserID, m, SearchPhrase ORDER BY count(*) DESC LIMIT 10;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 204
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE UserID, Minute(EventTime) AS m, SearchPhrase, count(*) FROM hits_10m GROUP BY UserID, m, SearchPhrase ORDER BY count(*) DESC LIMIT 10;
|
||
+---------------------+------+--------------+----------+
|
||
+---------------------+------+--------------+----------+
|
||
+---------------------+------+--------------+----------+
|
||
10 rows in set (3 min 20.41 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 205
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 2
|
||
query: SELECT SQL_NO_CACHE UserID, Minute(EventTime) AS m, SearchPhrase, count(*) FROM hits_10m GROUP BY UserID, m, SearchPhrase ORDER BY count(*) DESC LIMIT 10;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 207
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE UserID, Minute(EventTime) AS m, SearchPhrase, count(*) FROM hits_10m GROUP BY UserID, m, SearchPhrase ORDER BY count(*) DESC LIMIT 10;
|
||
+---------------------+------+--------------+----------+
|
||
+---------------------+------+--------------+----------+
|
||
+---------------------+------+--------------+----------+
|
||
10 rows in set (2 min 52.73 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 208
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 3
|
||
query: SELECT SQL_NO_CACHE UserID, Minute(EventTime) AS m, SearchPhrase, count(*) FROM hits_10m GROUP BY UserID, m, SearchPhrase ORDER BY count(*) DESC LIMIT 10;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 210
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE UserID, Minute(EventTime) AS m, SearchPhrase, count(*) FROM hits_10m GROUP BY UserID, m, SearchPhrase ORDER BY count(*) DESC LIMIT 10;
|
||
+---------------------+------+--------------+----------+
|
||
+---------------------+------+--------------+----------+
|
||
+---------------------+------+--------------+----------+
|
||
10 rows in set (2 min 42.49 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
-- ещё более сложная агрегация, не стоит выполнять на больших таблицах.;
|
||
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 211
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 1
|
||
query: SELECT SQL_NO_CACHE UserID FROM hits_10m WHERE UserID = 12345678901234567890;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 213
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE UserID FROM hits_10m WHERE UserID = 12345678901234567890;
|
||
Empty set (28.61 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 214
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 2
|
||
query: SELECT SQL_NO_CACHE UserID FROM hits_10m WHERE UserID = 12345678901234567890;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 216
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE UserID FROM hits_10m WHERE UserID = 12345678901234567890;
|
||
Empty set (19.75 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 217
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 3
|
||
query: SELECT SQL_NO_CACHE UserID FROM hits_10m WHERE UserID = 12345678901234567890;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 219
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE UserID FROM hits_10m WHERE UserID = 12345678901234567890;
|
||
Empty set (19.64 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
-- мощная фильтрация по столбцу типа UInt64.;
|
||
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 220
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 1
|
||
query: SELECT SQL_NO_CACHE count(*) FROM hits_10m WHERE URL LIKE '%metrika%';
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 222
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE count(*) FROM hits_10m WHERE URL LIKE '%metrika%';
|
||
+----------+
|
||
+----------+
|
||
+----------+
|
||
1 row in set (26.78 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 223
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 2
|
||
query: SELECT SQL_NO_CACHE count(*) FROM hits_10m WHERE URL LIKE '%metrika%';
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 225
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE count(*) FROM hits_10m WHERE URL LIKE '%metrika%';
|
||
+----------+
|
||
+----------+
|
||
+----------+
|
||
1 row in set (20.81 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 226
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 3
|
||
query: SELECT SQL_NO_CACHE count(*) FROM hits_10m WHERE URL LIKE '%metrika%';
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 228
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE count(*) FROM hits_10m WHERE URL LIKE '%metrika%';
|
||
+----------+
|
||
+----------+
|
||
+----------+
|
||
1 row in set (20.72 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
-- фильтрация по поиску подстроки в строке.;
|
||
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 229
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 1
|
||
query: SELECT SQL_NO_CACHE SearchPhrase, MAX(URL), count(*) FROM hits_10m WHERE URL LIKE '%metrika%' AND SearchPhrase != '' GROUP BY SearchPhrase ORDER BY count(*) DESC LIMIT 10;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 231
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE SearchPhrase, MAX(URL), count(*) FROM hits_10m WHERE URL LIKE '%metrika%' AND SearchPhrase != '' GROUP BY SearchPhrase ORDER BY count(*) DESC
|
||
LIMIT 10;
|
||
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+----------+
|
||
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+----------+
|
||
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+----------+
|
||
10 rows in set (26.31 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 232
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 2
|
||
query: SELECT SQL_NO_CACHE SearchPhrase, MAX(URL), count(*) FROM hits_10m WHERE URL LIKE '%metrika%' AND SearchPhrase != '' GROUP BY SearchPhrase ORDER BY count(*) DESC LIMIT 10;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 234
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE SearchPhrase, MAX(URL), count(*) FROM hits_10m WHERE URL LIKE '%metrika%' AND SearchPhrase != '' GROUP BY SearchPhrase ORDER BY count(*) DESC
|
||
LIMIT 10;
|
||
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+----------+
|
||
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+----------+
|
||
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+----------+
|
||
10 rows in set (21.54 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 235
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 3
|
||
query: SELECT SQL_NO_CACHE SearchPhrase, MAX(URL), count(*) FROM hits_10m WHERE URL LIKE '%metrika%' AND SearchPhrase != '' GROUP BY SearchPhrase ORDER BY count(*) DESC LIMIT 10;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 237
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE SearchPhrase, MAX(URL), count(*) FROM hits_10m WHERE URL LIKE '%metrika%' AND SearchPhrase != '' GROUP BY SearchPhrase ORDER BY count(*) DESC
|
||
LIMIT 10;
|
||
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+----------+
|
||
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+----------+
|
||
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+----------+
|
||
10 rows in set (21.33 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
-- вынимаем большие столбцы, фильтрация по строке.;
|
||
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 238
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 1
|
||
query: SELECT SQL_NO_CACHE SearchPhrase, MAX(URL), MAX(Title), count(*) AS c, count(DISTINCT UserID) FROM hits_10m WHERE Title LIKE '%Яндекс%' AND URL NOT LIKE '%.yandex.%' AND SearchPhrase != '' GROUP BY SearchPhrase ORDER BY count(*) DESC LIMIT 10;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 240
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE SearchPhrase, MAX(URL), MAX(Title), count(*) AS c, count(DISTINCT UserID) FROM hits_10m WHERE Title LIKE '%Яндекс%' AND URL NOT LIKE '%.yandex
|
||
.%' AND SearchPhrase != '' GROUP BY SearchPhrase ORDER BY count(*) DESC LIMIT 10;
|
||
ERROR 1267 (HY000): Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation 'like'
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 241
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 2
|
||
query: SELECT SQL_NO_CACHE SearchPhrase, MAX(URL), MAX(Title), count(*) AS c, count(DISTINCT UserID) FROM hits_10m WHERE Title LIKE '%Яндекс%' AND URL NOT LIKE '%.yandex.%' AND SearchPhrase != '' GROUP BY SearchPhrase ORDER BY count(*) DESC LIMIT 10;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 243
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE SearchPhrase, MAX(URL), MAX(Title), count(*) AS c, count(DISTINCT UserID) FROM hits_10m WHERE Title LIKE '%Яндекс%' AND URL NOT LIKE '%.yandex
|
||
.%' AND SearchPhrase != '' GROUP BY SearchPhrase ORDER BY count(*) DESC LIMIT 10;
|
||
ERROR 1267 (HY000): Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation 'like'
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 244
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 3
|
||
query: SELECT SQL_NO_CACHE SearchPhrase, MAX(URL), MAX(Title), count(*) AS c, count(DISTINCT UserID) FROM hits_10m WHERE Title LIKE '%Яндекс%' AND URL NOT LIKE '%.yandex.%' AND SearchPhrase != '' GROUP BY SearchPhrase ORDER BY count(*) DESC LIMIT 10;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 246
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE SearchPhrase, MAX(URL), MAX(Title), count(*) AS c, count(DISTINCT UserID) FROM hits_10m WHERE Title LIKE '%Яндекс%' AND URL NOT LIKE '%.yandex
|
||
.%' AND SearchPhrase != '' GROUP BY SearchPhrase ORDER BY count(*) DESC LIMIT 10;
|
||
ERROR 1267 (HY000): Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation 'like'
|
||
mysql> quit
|
||
Bye
|
||
-- чуть больше столбцы.;
|
||
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 247
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 1
|
||
query: SELECT SQL_NO_CACHE * FROM hits_10m WHERE URL LIKE '%metrika%' ORDER BY EventTime LIMIT 10;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 249
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE * FROM hits_10m WHERE URL LIKE '%metrika%' ORDER BY EventTime LIMIT 10;
|
||
+---------------------+------------+-----------------------------------------------+-----------+---------------------+------------+-----------+------------+----------+---------------------+--------------+------+-----------+---------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------+---------+-------------------+-----------------+---------------+-------------+-----------------+------------------+-----------------+------------+------------+-------------+----------+----------+----------------+----------------+--------------+------------------+----------+-------------+------------------+--------+-------------+----------------+----------------+--------------+-------------+-------------+-------------------+--------------------+----------------+---------------------+---------------------+---------------------+---------------------+---------------------+-------------+-------------+--------+------------+-------------+---------------------+-------------+------------+--------------+---------+-------------+---------------+----------+----------+---------------------+------+------+--------+-----------+-----------+------------+------------+------------+---------------+-----------------+----------------+---------------+--------------+-----------+------------+-----------+---------------+---------------------+-------------------+-------------+-----------------------+------------------+------------+--------------+---------------+-----------------+---------------------+--------------------+--------------+------------------+-----------+-----------+-------------+------------+---------+---------+----------+----------------------+---------------------+------+------------+
|
||
+---------------------+------------+-----------------------------------------------+-----------+---------------------+------------+-----------+------------+----------+---------------------+--------------+------+-----------+---------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------+---------+-------------------+-----------------+---------------+-------------+-----------------+------------------+-----------------+------------+------------+-------------+----------+----------+----------------+----------------+--------------+------------------+----------+-------------+------------------+--------+-------------+----------------+----------------+--------------+-------------+-------------+-------------------+--------------------+----------------+---------------------+---------------------+---------------------+---------------------+---------------------+-------------+-------------+--------+------------+-------------+---------------------+-------------+------------+--------------+---------+-------------+---------------+----------+----------+---------------------+------+------+--------+-----------+-----------+------------+------------+------------+---------------+-----------------+----------------+---------------+--------------+-----------+------------+-----------+---------------+---------------------+-------------------+-------------+-----------------------+------------------+------------+--------------+---------------+-----------------+---------------------+--------------------+--------------+------------------+-----------+-----------+-------------+------------+---------+---------+----------+----------------------+---------------------+------+------------+
|
||
+---------------------+------------+-----------------------------------------------+-----------+---------------------+------------+-----------+------------+----------+---------------------+--------------+------+-----------+---------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------+---------+-------------------+-----------------+---------------+-------------+-----------------+------------------+-----------------+------------+------------+-------------+----------+----------+----------------+----------------+--------------+------------------+----------+-------------+------------------+--------+-------------+----------------+----------------+--------------+-------------+-------------+-------------------+--------------------+----------------+---------------------+---------------------+---------------------+---------------------+---------------------+-------------+-------------+--------+------------+-------------+---------------------+-------------+------------+--------------+---------+-------------+---------------+----------+----------+---------------------+------+------+--------+-----------+-----------+------------+------------+------------+---------------+-----------------+----------------+---------------+--------------+-----------+------------+-----------+---------------+---------------------+-------------------+-------------+-----------------------+------------------+------------+--------------+---------------+-----------------+---------------------+--------------------+--------------+------------------+-----------+-----------+-------------+------------+---------+---------+----------+----------------------+---------------------+------+------------+
|
||
10 rows in set (25.20 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 250
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 2
|
||
query: SELECT SQL_NO_CACHE * FROM hits_10m WHERE URL LIKE '%metrika%' ORDER BY EventTime LIMIT 10;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 252
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE * FROM hits_10m WHERE URL LIKE '%metrika%' ORDER BY EventTime LIMIT 10;
|
||
+---------------------+------------+-----------------------------------------------+-----------+---------------------+------------+-----------+------------+----------+---------------------+--------------+------+-----------+---------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------+---------+-------------------+-----------------+---------------+-------------+-----------------+------------------+-----------------+------------+------------+-------------+----------+----------+----------------+----------------+--------------+------------------+----------+-------------+------------------+--------+-------------+----------------+----------------+--------------+-------------+-------------+-------------------+--------------------+----------------+---------------------+---------------------+---------------------+---------------------+---------------------+-------------+-------------+--------+------------+-------------+---------------------+-------------+------------+--------------+---------+-------------+---------------+----------+----------+---------------------+------+------+--------+-----------+-----------+------------+------------+------------+---------------+-----------------+----------------+---------------+--------------+-----------+------------+-----------+---------------+---------------------+-------------------+-------------+-----------------------+------------------+------------+--------------+---------------+-----------------+---------------------+--------------------+--------------+------------------+-----------+-----------+-------------+------------+---------+---------+----------+----------------------+---------------------+------+------------+
|
||
+---------------------+------------+-----------------------------------------------+-----------+---------------------+------------+-----------+------------+----------+---------------------+--------------+------+-----------+---------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------+---------+-------------------+-----------------+---------------+-------------+-----------------+------------------+-----------------+------------+------------+-------------+----------+----------+----------------+----------------+--------------+------------------+----------+-------------+------------------+--------+-------------+----------------+----------------+--------------+-------------+-------------+-------------------+--------------------+----------------+---------------------+---------------------+---------------------+---------------------+---------------------+-------------+-------------+--------+------------+-------------+---------------------+-------------+------------+--------------+---------+-------------+---------------+----------+----------+---------------------+------+------+--------+-----------+-----------+------------+------------+------------+---------------+-----------------+----------------+---------------+--------------+-----------+------------+-----------+---------------+---------------------+-------------------+-------------+-----------------------+------------------+------------+--------------+---------------+-----------------+---------------------+--------------------+--------------+------------------+-----------+-----------+-------------+------------+---------+---------+----------+----------------------+---------------------+------+------------+
|
||
+---------------------+------------+-----------------------------------------------+-----------+---------------------+------------+-----------+------------+----------+---------------------+--------------+------+-----------+---------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------+---------+-------------------+-----------------+---------------+-------------+-----------------+------------------+-----------------+------------+------------+-------------+----------+----------+----------------+----------------+--------------+------------------+----------+-------------+------------------+--------+-------------+----------------+----------------+--------------+-------------+-------------+-------------------+--------------------+----------------+---------------------+---------------------+---------------------+---------------------+---------------------+-------------+-------------+--------+------------+-------------+---------------------+-------------+------------+--------------+---------+-------------+---------------+----------+----------+---------------------+------+------+--------+-----------+-----------+------------+------------+------------+---------------+-----------------+----------------+---------------+--------------+-----------+------------+-----------+---------------+---------------------+-------------------+-------------+-----------------------+------------------+------------+--------------+---------------+-----------------+---------------------+--------------------+--------------+------------------+-----------+-----------+-------------+------------+---------+---------+----------+----------------------+---------------------+------+------------+
|
||
10 rows in set (20.57 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 253
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 3
|
||
query: SELECT SQL_NO_CACHE * FROM hits_10m WHERE URL LIKE '%metrika%' ORDER BY EventTime LIMIT 10;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 255
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE * FROM hits_10m WHERE URL LIKE '%metrika%' ORDER BY EventTime LIMIT 10;
|
||
+---------------------+------------+-----------------------------------------------+-----------+---------------------+------------+-----------+------------+----------+---------------------+--------------+------+-----------+---------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------+---------+-------------------+-----------------+---------------+-------------+-----------------+------------------+-----------------+------------+------------+-------------+----------+----------+----------------+----------------+--------------+------------------+----------+-------------+------------------+--------+-------------+----------------+----------------+--------------+-------------+-------------+-------------------+--------------------+----------------+---------------------+---------------------+---------------------+---------------------+---------------------+-------------+-------------+--------+------------+-------------+---------------------+-------------+------------+--------------+---------+-------------+---------------+----------+----------+---------------------+------+------+--------+-----------+-----------+------------+------------+------------+---------------+-----------------+----------------+---------------+--------------+-----------+------------+-----------+---------------+---------------------+-------------------+-------------+-----------------------+------------------+------------+--------------+---------------+-----------------+---------------------+--------------------+--------------+------------------+-----------+-----------+-------------+------------+---------+---------+----------+----------------------+---------------------+------+------------+
|
||
+---------------------+------------+-----------------------------------------------+-----------+---------------------+------------+-----------+------------+----------+---------------------+--------------+------+-----------+---------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------+---------+-------------------+-----------------+---------------+-------------+-----------------+------------------+-----------------+------------+------------+-------------+----------+----------+----------------+----------------+--------------+------------------+----------+-------------+------------------+--------+-------------+----------------+----------------+--------------+-------------+-------------+-------------------+--------------------+----------------+---------------------+---------------------+---------------------+---------------------+---------------------+-------------+-------------+--------+------------+-------------+---------------------+-------------+------------+--------------+---------+-------------+---------------+----------+----------+---------------------+------+------+--------+-----------+-----------+------------+------------+------------+---------------+-----------------+----------------+---------------+--------------+-----------+------------+-----------+---------------+---------------------+-------------------+-------------+-----------------------+------------------+------------+--------------+---------------+-----------------+---------------------+--------------------+--------------+------------------+-----------+-----------+-------------+------------+---------+---------+----------+----------------------+---------------------+------+------------+
|
||
+---------------------+------------+-----------------------------------------------+-----------+---------------------+------------+-----------+------------+----------+---------------------+--------------+------+-----------+---------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------+---------+-------------------+-----------------+---------------+-------------+-----------------+------------------+-----------------+------------+------------+-------------+----------+----------+----------------+----------------+--------------+------------------+----------+-------------+------------------+--------+-------------+----------------+----------------+--------------+-------------+-------------+-------------------+--------------------+----------------+---------------------+---------------------+---------------------+---------------------+---------------------+-------------+-------------+--------+------------+-------------+---------------------+-------------+------------+--------------+---------+-------------+---------------+----------+----------+---------------------+------+------+--------+-----------+-----------+------------+------------+------------+---------------+-----------------+----------------+---------------+--------------+-----------+------------+-----------+---------------+---------------------+-------------------+-------------+-----------------------+------------------+------------+--------------+---------------+-----------------+---------------------+--------------------+--------------+------------------+-----------+-----------+-------------+------------+---------+---------+----------+----------------------+---------------------+------+------------+
|
||
10 rows in set (20.37 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
-- плохой запрос - вынимаем все столбцы.;
|
||
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 256
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 1
|
||
query: SELECT SQL_NO_CACHE SearchPhrase FROM hits_10m WHERE SearchPhrase != '' ORDER BY EventTime LIMIT 10;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 258
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE SearchPhrase FROM hits_10m WHERE SearchPhrase != '' ORDER BY EventTime LIMIT 10;
|
||
+------------------------------------------------------------------------------------------------------------------------------------------+
|
||
+------------------------------------------------------------------------------------------------------------------------------------------+
|
||
+------------------------------------------------------------------------------------------------------------------------------------------+
|
||
10 rows in set (28.62 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 259
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 2
|
||
query: SELECT SQL_NO_CACHE SearchPhrase FROM hits_10m WHERE SearchPhrase != '' ORDER BY EventTime LIMIT 10;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 261
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE SearchPhrase FROM hits_10m WHERE SearchPhrase != '' ORDER BY EventTime LIMIT 10;
|
||
+------------------------------------------------------------------------------------------------------------------------------------------+
|
||
+------------------------------------------------------------------------------------------------------------------------------------------+
|
||
+------------------------------------------------------------------------------------------------------------------------------------------+
|
||
10 rows in set (19.96 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 262
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 3
|
||
query: SELECT SQL_NO_CACHE SearchPhrase FROM hits_10m WHERE SearchPhrase != '' ORDER BY EventTime LIMIT 10;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 264
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE SearchPhrase FROM hits_10m WHERE SearchPhrase != '' ORDER BY EventTime LIMIT 10;
|
||
+------------------------------------------------------------------------------------------------------------------------------------------+
|
||
+------------------------------------------------------------------------------------------------------------------------------------------+
|
||
+------------------------------------------------------------------------------------------------------------------------------------------+
|
||
10 rows in set (19.73 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
-- большая сортировка.;
|
||
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 265
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 1
|
||
query: SELECT SQL_NO_CACHE SearchPhrase FROM hits_10m WHERE SearchPhrase != '' ORDER BY SearchPhrase LIMIT 10;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 267
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE SearchPhrase FROM hits_10m WHERE SearchPhrase != '' ORDER BY SearchPhrase LIMIT 10;
|
||
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
10 rows in set (28.33 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 268
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 2
|
||
query: SELECT SQL_NO_CACHE SearchPhrase FROM hits_10m WHERE SearchPhrase != '' ORDER BY SearchPhrase LIMIT 10;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 270
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE SearchPhrase FROM hits_10m WHERE SearchPhrase != '' ORDER BY SearchPhrase LIMIT 10;
|
||
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
10 rows in set (21.23 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 271
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 3
|
||
query: SELECT SQL_NO_CACHE SearchPhrase FROM hits_10m WHERE SearchPhrase != '' ORDER BY SearchPhrase LIMIT 10;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 273
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE SearchPhrase FROM hits_10m WHERE SearchPhrase != '' ORDER BY SearchPhrase LIMIT 10;
|
||
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
10 rows in set (21.03 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
-- большая сортировка по строкам.;
|
||
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 274
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 1
|
||
query: SELECT SQL_NO_CACHE SearchPhrase FROM hits_10m WHERE SearchPhrase != '' ORDER BY EventTime, SearchPhrase LIMIT 10;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 276
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE SearchPhrase FROM hits_10m WHERE SearchPhrase != '' ORDER BY EventTime, SearchPhrase LIMIT 10;
|
||
+------------------------------------------------------------------------------------------------------------------------------------------+
|
||
+------------------------------------------------------------------------------------------------------------------------------------------+
|
||
+------------------------------------------------------------------------------------------------------------------------------------------+
|
||
10 rows in set (25.94 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 277
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 2
|
||
query: SELECT SQL_NO_CACHE SearchPhrase FROM hits_10m WHERE SearchPhrase != '' ORDER BY EventTime, SearchPhrase LIMIT 10;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 279
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE SearchPhrase FROM hits_10m WHERE SearchPhrase != '' ORDER BY EventTime, SearchPhrase LIMIT 10;
|
||
+------------------------------------------------------------------------------------------------------------------------------------------+
|
||
+------------------------------------------------------------------------------------------------------------------------------------------+
|
||
+------------------------------------------------------------------------------------------------------------------------------------------+
|
||
10 rows in set (21.08 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 280
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 3
|
||
query: SELECT SQL_NO_CACHE SearchPhrase FROM hits_10m WHERE SearchPhrase != '' ORDER BY EventTime, SearchPhrase LIMIT 10;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 282
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE SearchPhrase FROM hits_10m WHERE SearchPhrase != '' ORDER BY EventTime, SearchPhrase LIMIT 10;
|
||
+------------------------------------------------------------------------------------------------------------------------------------------+
|
||
+------------------------------------------------------------------------------------------------------------------------------------------+
|
||
+------------------------------------------------------------------------------------------------------------------------------------------+
|
||
10 rows in set (20.88 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
-- большая сортировка по кортежу.;
|
||
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 283
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 1
|
||
query: SELECT SQL_NO_CACHE CounterID, avg(length(URL)) AS l, count(*) FROM hits_10m WHERE URL != '' GROUP BY CounterID HAVING count(*) > 100000 ORDER BY l DESC LIMIT 25;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 285
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE CounterID, avg(length(URL)) AS l, count(*) FROM hits_10m WHERE URL != '' GROUP BY CounterID HAVING count(*) > 100000 ORDER BY l DESC LIMIT 25;
|
||
[A[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[K;
|
||
+-----------+----------+----------+
|
||
+-----------+----------+----------+
|
||
+-----------+----------+----------+
|
||
19 rows in set (31.29 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 286
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 2
|
||
query: SELECT SQL_NO_CACHE CounterID, avg(length(URL)) AS l, count(*) FROM hits_10m WHERE URL != '' GROUP BY CounterID HAVING count(*) > 100000 ORDER BY l DESC LIMIT 25;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 288
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE CounterID, avg(length(URL)) AS l, count(*) FROM hits_10m WHERE URL != '' GROUP BY CounterID HAVING count(*) > 100000 ORDER BY l DESC LIMIT 25;
|
||
[A[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[K;
|
||
+-----------+----------+----------+
|
||
+-----------+----------+----------+
|
||
+-----------+----------+----------+
|
||
19 rows in set (26.67 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 289
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 3
|
||
query: SELECT SQL_NO_CACHE CounterID, avg(length(URL)) AS l, count(*) FROM hits_10m WHERE URL != '' GROUP BY CounterID HAVING count(*) > 100000 ORDER BY l DESC LIMIT 25;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 291
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE CounterID, avg(length(URL)) AS l, count(*) FROM hits_10m WHERE URL != '' GROUP BY CounterID HAVING count(*) > 100000 ORDER BY l DESC LIMIT 25;
|
||
[A[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[K;
|
||
+-----------+----------+----------+
|
||
+-----------+----------+----------+
|
||
+-----------+----------+----------+
|
||
19 rows in set (26.13 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
-- считаем средние длины URL для крупных счётчиков.;
|
||
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 292
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 1
|
||
query: SELECT SQL_NO_CACHE 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 != '' GROUP BY k HAVING count(*) > 100000 ORDER BY l DESC LIMIT 25;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 294
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE 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 != '' GROUP BY k HAVING count(*) > 100000 ORDER BY l DESC LIMIT 25;
|
||
[A[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[K;
|
||
+------------------+----------+---------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
+------------------+----------+---------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
+------------------+----------+---------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
11 rows in set (2 min 28.78 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 295
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 2
|
||
query: SELECT SQL_NO_CACHE 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 != '' GROUP BY k HAVING count(*) > 100000 ORDER BY l DESC LIMIT 25;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 297
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE 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 != '' GROUP BY k HAVING count(*) > 100000 ORDER BY l DESC LIMIT 25;
|
||
[A[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[K;
|
||
+------------------+----------+---------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
+------------------+----------+---------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
+------------------+----------+---------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
11 rows in set (2 min 16.61 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 298
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 3
|
||
query: SELECT SQL_NO_CACHE 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 != '' GROUP BY k HAVING count(*) > 100000 ORDER BY l DESC LIMIT 25;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 300
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE 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 != '' GROUP BY k HAVING count(*) > 100000 ORDER BY l DESC LIMIT 25;
|
||
[A[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[K;
|
||
+------------------+----------+---------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
+------------------+----------+---------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
+------------------+----------+---------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
11 rows in set (2 min 17.29 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
-- то же самое, но с разбивкой по доменам.;
|
||
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 301
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 1
|
||
query: SELECT SQL_NO_CACHE 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 mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 303
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE sum(ResolutionWidth), sum(ResolutionWidth + 1), sum(ResolutionWidth + 2), sum(ResolutionWidth + 3), sum(ResolutionWidth + 4), sum(ResolutionWi
|
||
dth + 5), sum(ResolutionWidth + 6), sum(ResolutionWidth + 7), sum(ResolutionWidth + 8), sum(ResolutionWidth + 9), sum(ResolutionWidth + 10), sum(ResolutionWidth + 11), s
|
||
um(ResolutionWidth + 12), sum(ResolutionWidth + 13), sum(ResolutionWidth + 14), sum(ResolutionWidth + 15), sum(ResolutionWidth + 16), sum(ResolutionWidth + 17), sum(Reso
|
||
lutionWidth + 18), sum(ResolutionWidth + 19), sum(ResolutionWidth + 20), sum(ResolutionWidth + 21), sum(ResolutionWidth + 22), sum(ResolutionWidth + 23), sum(ResolutionW
|
||
idth + 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), su
|
||
m(ResolutionWidth + 37), sum(ResolutionWidth + 38), sum(ResolutionWidth + 39), sum(ResolutionWidth + 40), sum(ResolutionWidth + 41), sum(ResolutionWidth + 42), sum(Resol
|
||
utionWidth + 43), sum(ResolutionWidth + 44), sum(ResolutionWidth + 45), sum(ResolutionWidth + 46), sum(ResolutionWidth + 47), sum(ResolutionWidth + 48), sum(ResolutionWi
|
||
dth + 49), sum(ResolutionWidth + 50), sum(ResolutionWidth + 51), sum(ResolutionWidth + 52), sum(ResolutionWidth + 53), sum(ResolutionWidth + 54), sum(ResolutionWidth + 5
|
||
5), 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(Resolu
|
||
tionWidth + 68), sum(ResolutionWidth + 69), sum(ResolutionWidth + 70), sum(ResolutionWidth + 71), sum(ResolutionWidth + 72), sum(ResolutionWidth + 73), sum(ResolutionWid
|
||
th + 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;
|
||
+----------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+
|
||
+----------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+
|
||
+----------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+
|
||
1 row in set (1 min 59.84 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 304
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 2
|
||
query: SELECT SQL_NO_CACHE 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 mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 306
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE sum(ResolutionWidth), sum(ResolutionWidth + 1), sum(ResolutionWidth + 2), sum(ResolutionWidth + 3), sum(ResolutionWidth + 4), sum(ResolutionWi
|
||
dth + 5), sum(ResolutionWidth + 6), sum(ResolutionWidth + 7), sum(ResolutionWidth + 8), sum(ResolutionWidth + 9), sum(ResolutionWidth + 10), sum(ResolutionWidth + 11), s
|
||
um(ResolutionWidth + 12), sum(ResolutionWidth + 13), sum(ResolutionWidth + 14), sum(ResolutionWidth + 15), sum(ResolutionWidth + 16), sum(ResolutionWidth + 17), sum(Reso
|
||
lutionWidth + 18), sum(ResolutionWidth + 19), sum(ResolutionWidth + 20), sum(ResolutionWidth + 21), sum(ResolutionWidth + 22), sum(ResolutionWidth + 23), sum(ResolutionW
|
||
idth + 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), su
|
||
m(ResolutionWidth + 37), sum(ResolutionWidth + 38), sum(ResolutionWidth + 39), sum(ResolutionWidth + 40), sum(ResolutionWidth + 41), sum(ResolutionWidth + 42), sum(Resol
|
||
utionWidth + 43), sum(ResolutionWidth + 44), sum(ResolutionWidth + 45), sum(ResolutionWidth + 46), sum(ResolutionWidth + 47), sum(ResolutionWidth + 48), sum(ResolutionWi
|
||
dth + 49), sum(ResolutionWidth + 50), sum(ResolutionWidth + 51), sum(ResolutionWidth + 52), sum(ResolutionWidth + 53), sum(ResolutionWidth + 54), sum(ResolutionWidth + 5
|
||
5), 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(Resolu
|
||
tionWidth + 68), sum(ResolutionWidth + 69), sum(ResolutionWidth + 70), sum(ResolutionWidth + 71), sum(ResolutionWidth + 72), sum(ResolutionWidth + 73), sum(ResolutionWid
|
||
th + 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;
|
||
+----------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+
|
||
+----------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+
|
||
+----------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+
|
||
1 row in set (1 min 48.96 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 307
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 3
|
||
query: SELECT SQL_NO_CACHE 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 mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 309
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE sum(ResolutionWidth), sum(ResolutionWidth + 1), sum(ResolutionWidth + 2), sum(ResolutionWidth + 3), sum(ResolutionWidth + 4), sum(ResolutionWi
|
||
dth + 5), sum(ResolutionWidth + 6), sum(ResolutionWidth + 7), sum(ResolutionWidth + 8), sum(ResolutionWidth + 9), sum(ResolutionWidth + 10), sum(ResolutionWidth + 11), s
|
||
um(ResolutionWidth + 12), sum(ResolutionWidth + 13), sum(ResolutionWidth + 14), sum(ResolutionWidth + 15), sum(ResolutionWidth + 16), sum(ResolutionWidth + 17), sum(Reso
|
||
lutionWidth + 18), sum(ResolutionWidth + 19), sum(ResolutionWidth + 20), sum(ResolutionWidth + 21), sum(ResolutionWidth + 22), sum(ResolutionWidth + 23), sum(ResolutionW
|
||
idth + 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), su
|
||
m(ResolutionWidth + 37), sum(ResolutionWidth + 38), sum(ResolutionWidth + 39), sum(ResolutionWidth + 40), sum(ResolutionWidth + 41), sum(ResolutionWidth + 42), sum(Resol
|
||
utionWidth + 43), sum(ResolutionWidth + 44), sum(ResolutionWidth + 45), sum(ResolutionWidth + 46), sum(ResolutionWidth + 47), sum(ResolutionWidth + 48), sum(ResolutionWi
|
||
dth + 49), sum(ResolutionWidth + 50), sum(ResolutionWidth + 51), sum(ResolutionWidth + 52), sum(ResolutionWidth + 53), sum(ResolutionWidth + 54), sum(ResolutionWidth + 5
|
||
5), 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(Resolu
|
||
tionWidth + 68), sum(ResolutionWidth + 69), sum(ResolutionWidth + 70), sum(ResolutionWidth + 71), sum(ResolutionWidth + 72), sum(ResolutionWidth + 73), sum(ResolutionWid
|
||
th + 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;
|
||
+----------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+
|
||
+----------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+
|
||
+----------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+
|
||
1 row in set (1 min 47.56 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
-- много тупых агрегатных функций.;
|
||
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 310
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 1
|
||
query: SELECT SQL_NO_CACHE SearchEngineID, ClientIP, count(*) AS c, sum(Refresh), avg(ResolutionWidth) FROM hits_10m WHERE SearchPhrase != '' GROUP BY SearchEngineID, ClientIP ORDER BY count(*) DESC LIMIT 10;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 312
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE SearchEngineID, ClientIP, count(*) AS c, sum(Refresh), avg(ResolutionWidth) FROM hits_10m WHERE SearchPhrase != '' GROUP BY SearchEngineID, Cl
|
||
ientIP ORDER BY count(*) DESC LIMIT 10;
|
||
+----------------+------------+-----+--------------+----------------------+
|
||
+----------------+------------+-----+--------------+----------------------+
|
||
+----------------+------------+-----+--------------+----------------------+
|
||
10 rows in set (44.77 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 313
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 2
|
||
query: SELECT SQL_NO_CACHE SearchEngineID, ClientIP, count(*) AS c, sum(Refresh), avg(ResolutionWidth) FROM hits_10m WHERE SearchPhrase != '' GROUP BY SearchEngineID, ClientIP ORDER BY count(*) DESC LIMIT 10;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 315
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE SearchEngineID, ClientIP, count(*) AS c, sum(Refresh), avg(ResolutionWidth) FROM hits_10m WHERE SearchPhrase != '' GROUP BY SearchEngineID, Cl
|
||
ientIP ORDER BY count(*) DESC LIMIT 10;
|
||
+----------------+------------+-----+--------------+----------------------+
|
||
+----------------+------------+-----+--------------+----------------------+
|
||
+----------------+------------+-----+--------------+----------------------+
|
||
10 rows in set (36.73 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 316
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 3
|
||
query: SELECT SQL_NO_CACHE SearchEngineID, ClientIP, count(*) AS c, sum(Refresh), avg(ResolutionWidth) FROM hits_10m WHERE SearchPhrase != '' GROUP BY SearchEngineID, ClientIP ORDER BY count(*) DESC LIMIT 10;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 318
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE SearchEngineID, ClientIP, count(*) AS c, sum(Refresh), avg(ResolutionWidth) FROM hits_10m WHERE SearchPhrase != '' GROUP BY SearchEngineID, Cl
|
||
ientIP ORDER BY count(*) DESC LIMIT 10;
|
||
+----------------+------------+-----+--------------+----------------------+
|
||
+----------------+------------+-----+--------------+----------------------+
|
||
+----------------+------------+-----+--------------+----------------------+
|
||
10 rows in set (37.20 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
-- сложная агрегация, для больших таблиц может не хватить оперативки.;
|
||
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 319
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 1
|
||
query: SELECT SQL_NO_CACHE WatchID, ClientIP, count(*) AS c, sum(Refresh), avg(ResolutionWidth) FROM hits_10m WHERE SearchPhrase != '' GROUP BY WatchID, ClientIP ORDER BY count(*) DESC LIMIT 10;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 321
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE WatchID, ClientIP, count(*) AS c, sum(Refresh), avg(ResolutionWidth) FROM hits_10m WHERE SearchPhrase != '' GROUP BY WatchID, ClientIP ORDER B
|
||
Y count(*) DESC LIMIT 10;
|
||
+---------------------+------------+---+--------------+----------------------+
|
||
+---------------------+------------+---+--------------+----------------------+
|
||
+---------------------+------------+---+--------------+----------------------+
|
||
10 rows in set (45.03 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 322
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 2
|
||
query: SELECT SQL_NO_CACHE WatchID, ClientIP, count(*) AS c, sum(Refresh), avg(ResolutionWidth) FROM hits_10m WHERE SearchPhrase != '' GROUP BY WatchID, ClientIP ORDER BY count(*) DESC LIMIT 10;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 324
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE WatchID, ClientIP, count(*) AS c, sum(Refresh), avg(ResolutionWidth) FROM hits_10m WHERE SearchPhrase != '' GROUP BY WatchID, ClientIP ORDER B
|
||
Y count(*) DESC LIMIT 10;
|
||
+---------------------+------------+---+--------------+----------------------+
|
||
+---------------------+------------+---+--------------+----------------------+
|
||
+---------------------+------------+---+--------------+----------------------+
|
||
10 rows in set (37.40 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 325
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 3
|
||
query: SELECT SQL_NO_CACHE WatchID, ClientIP, count(*) AS c, sum(Refresh), avg(ResolutionWidth) FROM hits_10m WHERE SearchPhrase != '' GROUP BY WatchID, ClientIP ORDER BY count(*) DESC LIMIT 10;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 327
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE WatchID, ClientIP, count(*) AS c, sum(Refresh), avg(ResolutionWidth) FROM hits_10m WHERE SearchPhrase != '' GROUP BY WatchID, ClientIP ORDER B
|
||
Y count(*) DESC LIMIT 10;
|
||
+---------------------+------------+---+--------------+----------------------+
|
||
+---------------------+------------+---+--------------+----------------------+
|
||
+---------------------+------------+---+--------------+----------------------+
|
||
10 rows in set (37.66 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
-- агрегация по двум полям, которая ничего не агрегирует. Для больших таблиц выполнить не получится.;
|
||
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 328
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 1
|
||
query: SELECT SQL_NO_CACHE WatchID, ClientIP, count(*) AS c, sum(Refresh), avg(ResolutionWidth) FROM hits_10m GROUP BY WatchID, ClientIP ORDER BY count(*) DESC LIMIT 10;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 330
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE WatchID, ClientIP, count(*) AS c, sum(Refresh), avg(ResolutionWidth) FROM hits_10m GROUP BY WatchID, ClientIP ORDER BY count(*) DESC LIMIT 10;
|
||
[A[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[K;
|
||
+---------------------+------------+---+--------------+----------------------+
|
||
+---------------------+------------+---+--------------+----------------------+
|
||
+---------------------+------------+---+--------------+----------------------+
|
||
10 rows in set (2 min 19.49 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 331
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 2
|
||
query: SELECT SQL_NO_CACHE WatchID, ClientIP, count(*) AS c, sum(Refresh), avg(ResolutionWidth) FROM hits_10m GROUP BY WatchID, ClientIP ORDER BY count(*) DESC LIMIT 10;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 333
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE WatchID, ClientIP, count(*) AS c, sum(Refresh), avg(ResolutionWidth) FROM hits_10m GROUP BY WatchID, ClientIP ORDER BY count(*) DESC LIMIT 10;
|
||
[A[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[K;
|
||
+---------------------+------------+---+--------------+----------------------+
|
||
+---------------------+------------+---+--------------+----------------------+
|
||
+---------------------+------------+---+--------------+----------------------+
|
||
10 rows in set (2 min 7.79 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 334
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 3
|
||
query: SELECT SQL_NO_CACHE WatchID, ClientIP, count(*) AS c, sum(Refresh), avg(ResolutionWidth) FROM hits_10m GROUP BY WatchID, ClientIP ORDER BY count(*) DESC LIMIT 10;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 336
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE WatchID, ClientIP, count(*) AS c, sum(Refresh), avg(ResolutionWidth) FROM hits_10m GROUP BY WatchID, ClientIP ORDER BY count(*) DESC LIMIT 10;
|
||
[A[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[K;
|
||
+---------------------+------------+---+--------------+----------------------+
|
||
+---------------------+------------+---+--------------+----------------------+
|
||
+---------------------+------------+---+--------------+----------------------+
|
||
10 rows in set (2 min 6.97 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
-- то же самое, но ещё и без фильтрации.;
|
||
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 337
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 1
|
||
query: SELECT SQL_NO_CACHE URL, count(*) FROM hits_10m GROUP BY URL ORDER BY count(*) DESC LIMIT 10;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 339
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE URL, count(*) FROM hits_10m GROUP BY URL ORDER BY count(*) DESC LIMIT 10;
|
||
quit
|
||
+--------------------------------------------------------------+----------+
|
||
+--------------------------------------------------------------+----------+
|
||
+--------------------------------------------------------------+----------+
|
||
10 rows in set (14 min 15.58 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 340
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 2
|
||
query: SELECT SQL_NO_CACHE URL, count(*) FROM hits_10m GROUP BY URL ORDER BY count(*) DESC LIMIT 10;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 342
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE URL, count(*) FROM hits_10m GROUP BY URL ORDER BY count(*) DESC LIMIT 10;
|
||
quit
|
||
+--------------------------------------------------------------+----------+
|
||
+--------------------------------------------------------------+----------+
|
||
+--------------------------------------------------------------+----------+
|
||
10 rows in set (15 min 30.25 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 343
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 3
|
||
query: SELECT SQL_NO_CACHE URL, count(*) FROM hits_10m GROUP BY URL ORDER BY count(*) DESC LIMIT 10;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 345
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE URL, count(*) FROM hits_10m GROUP BY URL ORDER BY count(*) DESC LIMIT 10;
|
||
quit
|
||
+--------------------------------------------------------------+----------+
|
||
+--------------------------------------------------------------+----------+
|
||
+--------------------------------------------------------------+----------+
|
||
10 rows in set (16 min 21.86 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
-- агрегация по URL.;
|
||
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 346
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 1
|
||
query: SELECT SQL_NO_CACHE 1, URL, count(*) FROM hits_10m GROUP BY 1, URL ORDER BY count(*) DESC LIMIT 10;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 348
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE 1, URL, count(*) FROM hits_10m GROUP BY 1, URL ORDER BY count(*) DESC LIMIT 10;
|
||
quit
|
||
+---+--------------------------------------------------------------+----------+
|
||
+---+--------------------------------------------------------------+----------+
|
||
+---+--------------------------------------------------------------+----------+
|
||
10 rows in set (13 min 39.56 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 349
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 2
|
||
query: SELECT SQL_NO_CACHE 1, URL, count(*) FROM hits_10m GROUP BY 1, URL ORDER BY count(*) DESC LIMIT 10;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 351
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE 1, URL, count(*) FROM hits_10m GROUP BY 1, URL ORDER BY count(*) DESC LIMIT 10;
|
||
quit
|
||
+---+--------------------------------------------------------------+----------+
|
||
+---+--------------------------------------------------------------+----------+
|
||
+---+--------------------------------------------------------------+----------+
|
||
10 rows in set (16 min 1.08 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 352
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 3
|
||
query: SELECT SQL_NO_CACHE 1, URL, count(*) FROM hits_10m GROUP BY 1, URL ORDER BY count(*) DESC LIMIT 10;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 354
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE 1, URL, count(*) FROM hits_10m GROUP BY 1, URL ORDER BY count(*) DESC LIMIT 10;
|
||
quit
|
||
+---+--------------------------------------------------------------+----------+
|
||
+---+--------------------------------------------------------------+----------+
|
||
+---+--------------------------------------------------------------+----------+
|
||
10 rows in set (11 min 4.87 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
-- агрегация по URL и числу.;
|
||
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 355
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 1
|
||
query: SELECT SQL_NO_CACHE 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 mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 357
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE ClientIP, ClientIP - 1, ClientIP - 2, ClientIP - 3, count(*) FROM hits_10m GROUP BY ClientIP, ClientIP - 1, ClientIP - 2, ClientIP - 3 ORDER B
|
||
Y count(*) DESC LIMIT 10;
|
||
ERROR 1690 (22003): BIGINT UNSIGNED value is out of range in '(`hits`.`hits_10m`.`ClientIP` - 1)'
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 358
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 2
|
||
query: SELECT SQL_NO_CACHE 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 mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 360
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE ClientIP, ClientIP - 1, ClientIP - 2, ClientIP - 3, count(*) FROM hits_10m GROUP BY ClientIP, ClientIP - 1, ClientIP - 2, ClientIP - 3 ORDER B
|
||
Y count(*) DESC LIMIT 10;
|
||
ERROR 1690 (22003): BIGINT UNSIGNED value is out of range in '(`hits`.`hits_10m`.`ClientIP` - 1)'
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 361
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 3
|
||
query: SELECT SQL_NO_CACHE 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 mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 363
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE ClientIP, ClientIP - 1, ClientIP - 2, ClientIP - 3, count(*) FROM hits_10m GROUP BY ClientIP, ClientIP - 1, ClientIP - 2, ClientIP - 3 ORDER B
|
||
Y count(*) DESC LIMIT 10;
|
||
ERROR 1690 (22003): BIGINT UNSIGNED value is out of range in '(`hits`.`hits_10m`.`ClientIP` - 1)'
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 364
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 1
|
||
query:
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 366
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 367
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 2
|
||
query:
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 369
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 370
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 3
|
||
query:
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 372
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 373
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 1
|
||
query: SELECT SQL_NO_CACHE URL, count(*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND EventDate >= DATE('2013-07-01') AND EventDate <= DATE('2013-07-31') AND NOT DontCountHits AND NOT Refresh AND URL != '' GROUP BY URL ORDER BY PageViews DESC LIMIT 10;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 375
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE URL, count(*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND EventDate >= DATE('2013-07-01') AND EventDate <= DATE('2013-07-31') AND
|
||
NOT DontCountHits AND NOT Refresh AND URL != '' GROUP BY URL ORDER BY PageViews DESC LIMIT 10;
|
||
quit
|
||
+---------------------------------------------------------------------------------+-----------+
|
||
+---------------------------------------------------------------------------------+-----------+
|
||
+---------------------------------------------------------------------------------+-----------+
|
||
10 rows in set (11 min 31.67 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 376
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 2
|
||
query: SELECT SQL_NO_CACHE URL, count(*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND EventDate >= DATE('2013-07-01') AND EventDate <= DATE('2013-07-31') AND NOT DontCountHits AND NOT Refresh AND URL != '' GROUP BY URL ORDER BY PageViews DESC LIMIT 10;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 378
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE URL, count(*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND EventDate >= DATE('2013-07-01') AND EventDate <= DATE('2013-07-31') AND
|
||
NOT DontCountHits AND NOT Refresh AND URL != '' GROUP BY URL ORDER BY PageViews DESC LIMIT 10;
|
||
+---------------------------------------------------------------------------------+-----------+
|
||
+---------------------------------------------------------------------------------+-----------+
|
||
+---------------------------------------------------------------------------------+-----------+
|
||
10 rows in set (24.08 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 379
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 3
|
||
query: SELECT SQL_NO_CACHE URL, count(*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND EventDate >= DATE('2013-07-01') AND EventDate <= DATE('2013-07-31') AND NOT DontCountHits AND NOT Refresh AND URL != '' GROUP BY URL ORDER BY PageViews DESC LIMIT 10;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 381
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE URL, count(*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND EventDate >= DATE('2013-07-01') AND EventDate <= DATE('2013-07-31') AND
|
||
NOT DontCountHits AND NOT Refresh AND URL != '' GROUP BY URL ORDER BY PageViews DESC LIMIT 10;
|
||
+---------------------------------------------------------------------------------+-----------+
|
||
+---------------------------------------------------------------------------------+-----------+
|
||
+---------------------------------------------------------------------------------+-----------+
|
||
10 rows in set (23.66 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 382
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 1
|
||
query: SELECT SQL_NO_CACHE Title, count(*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND EventDate >= DATE('2013-07-01') AND EventDate <= DATE('2013-07-31') AND NOT DontCountHits AND NOT Refresh AND Title != '' GROUP BY Title ORDER BY PageViews DESC LIMIT 10;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 384
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE Title, count(*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND EventDate >= DATE('2013-07-01') AND EventDate <= DATE('2013-07-31') AND NO
|
||
T DontCountHits AND NOT Refresh AND Title != '' GROUP BY Title ORDER BY PageViews DESC LIMIT 10;
|
||
quit
|
||
+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+
|
||
+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+
|
||
+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+
|
||
10 rows in set (10 min 55.00 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 385
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 2
|
||
query: SELECT SQL_NO_CACHE Title, count(*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND EventDate >= DATE('2013-07-01') AND EventDate <= DATE('2013-07-31') AND NOT DontCountHits AND NOT Refresh AND Title != '' GROUP BY Title ORDER BY PageViews DESC LIMIT 10;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 387
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE Title, count(*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND EventDate >= DATE('2013-07-01') AND EventDate <= DATE('2013-07-31') AND NO
|
||
T DontCountHits AND NOT Refresh AND Title != '' GROUP BY Title ORDER BY PageViews DESC LIMIT 10;
|
||
+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+
|
||
+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+
|
||
+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+
|
||
10 rows in set (14.56 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 388
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 3
|
||
query: SELECT SQL_NO_CACHE Title, count(*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND EventDate >= DATE('2013-07-01') AND EventDate <= DATE('2013-07-31') AND NOT DontCountHits AND NOT Refresh AND Title != '' GROUP BY Title ORDER BY PageViews DESC LIMIT 10;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 390
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE Title, count(*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND EventDate >= DATE('2013-07-01') AND EventDate <= DATE('2013-07-31') AND NO
|
||
T DontCountHits AND NOT Refresh AND Title != '' GROUP BY Title ORDER BY PageViews DESC LIMIT 10;
|
||
+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+
|
||
+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+
|
||
+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+
|
||
10 rows in set (14.07 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 391
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 1
|
||
query: SELECT SQL_NO_CACHE URL, count(*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND EventDate >= DATE('2013-07-01') AND EventDate <= DATE('2013-07-31') AND NOT Refresh AND IsLink AND NOT IsDownload GROUP BY URL ORDER BY PageViews DESC LIMIT 1000;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 393
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE URL, count(*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND EventDate >= DATE('2013-07-01') AND EventDate <= DATE('2013-07-31') AND NOT
|
||
Refresh AND IsLink AND NOT IsDownload GROUP BY URL ORDER BY PageViews DESC LIMIT 1000;
|
||
quit
|
||
+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+
|
||
+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+
|
||
+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+
|
||
1000 rows in set (10 min 51.40 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 394
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 2
|
||
query: SELECT SQL_NO_CACHE URL, count(*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND EventDate >= DATE('2013-07-01') AND EventDate <= DATE('2013-07-31') AND NOT Refresh AND IsLink AND NOT IsDownload GROUP BY URL ORDER BY PageViews DESC LIMIT 1000;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 396
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE URL, count(*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND EventDate >= DATE('2013-07-01') AND EventDate <= DATE('2013-07-31') AND NOT
|
||
Refresh AND IsLink AND NOT IsDownload GROUP BY URL ORDER BY PageViews DESC LIMIT 1000;
|
||
+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+
|
||
+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+
|
||
+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+
|
||
1000 rows in set (6.89 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 397
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 3
|
||
query: SELECT SQL_NO_CACHE URL, count(*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND EventDate >= DATE('2013-07-01') AND EventDate <= DATE('2013-07-31') AND NOT Refresh AND IsLink AND NOT IsDownload GROUP BY URL ORDER BY PageViews DESC LIMIT 1000;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 399
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE URL, count(*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND EventDate >= DATE('2013-07-01') AND EventDate <= DATE('2013-07-31') AND NOT
|
||
Refresh AND IsLink AND NOT IsDownload GROUP BY URL ORDER BY PageViews DESC LIMIT 1000;
|
||
+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+
|
||
+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+
|
||
+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+
|
||
1000 rows in set (6.77 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 400
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 1
|
||
query: SELECT SQL_NO_CACHE 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 >= DATE('2013-07-01') AND EventDate <= DATE('2013-07-31') AND NOT Refresh GROUP BY TraficSourceID, SearchEngineID, AdvEngineID, Src, Dst ORDER BY PageViews DESC LIMIT 1000;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 402
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE TraficSourceID, SearchEngineID, AdvEngineID, CASE WHEN SearchEngineID = 0 AND AdvEngineID = 0 THEN Referer ELSE '' END AS Src, URL AS Dst, co
|
||
unt(*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND EventDate >= DATE('2013-07-01') AND EventDate <= DATE('2013-07-31') AND NOT Refresh GROUP BY TraficSourceID, S
|
||
earchEngineID, AdvEngineID, Src, Dst ORDER BY PageViews DESC LIMIT 1000;
|
||
quit
|
||
+----------------+----------------+-------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+
|
||
+----------------+----------------+-------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+
|
||
+----------------+----------------+-------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+
|
||
1000 rows in set (11 min 48.71 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 403
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 2
|
||
query: SELECT SQL_NO_CACHE 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 >= DATE('2013-07-01') AND EventDate <= DATE('2013-07-31') AND NOT Refresh GROUP BY TraficSourceID, SearchEngineID, AdvEngineID, Src, Dst ORDER BY PageViews DESC LIMIT 1000;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 405
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE TraficSourceID, SearchEngineID, AdvEngineID, CASE WHEN SearchEngineID = 0 AND AdvEngineID = 0 THEN Referer ELSE '' END AS Src, URL AS Dst, co
|
||
unt(*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND EventDate >= DATE('2013-07-01') AND EventDate <= DATE('2013-07-31') AND NOT Refresh GROUP BY TraficSourceID, S
|
||
earchEngineID, AdvEngineID, Src, Dst ORDER BY PageViews DESC LIMIT 1000;
|
||
+----------------+----------------+-------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+
|
||
+----------------+----------------+-------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+
|
||
+----------------+----------------+-------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+
|
||
1000 rows in set (32.55 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 406
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 3
|
||
query: SELECT SQL_NO_CACHE 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 >= DATE('2013-07-01') AND EventDate <= DATE('2013-07-31') AND NOT Refresh GROUP BY TraficSourceID, SearchEngineID, AdvEngineID, Src, Dst ORDER BY PageViews DESC LIMIT 1000;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 408
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE TraficSourceID, SearchEngineID, AdvEngineID, CASE WHEN SearchEngineID = 0 AND AdvEngineID = 0 THEN Referer ELSE '' END AS Src, URL AS Dst, co
|
||
unt(*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND EventDate >= DATE('2013-07-01') AND EventDate <= DATE('2013-07-31') AND NOT Refresh GROUP BY TraficSourceID, S
|
||
earchEngineID, AdvEngineID, Src, Dst ORDER BY PageViews DESC LIMIT 1000;
|
||
+----------------+----------------+-------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+
|
||
+----------------+----------------+-------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+
|
||
+----------------+----------------+-------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+
|
||
1000 rows in set (54.01 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 409
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 1
|
||
query: SELECT SQL_NO_CACHE URLHash, EventDate, count(*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND EventDate >= DATE('2013-07-01') AND EventDate <= DATE('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 mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 411
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE URLHash, EventDate, count(*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND EventDate >= DATE('2013-07-01') AND EventDate <= DATE('2013-0
|
||
7-31') AND NOT Refresh AND TraficSourceID IN (-1, 6) AND RefererHash = 6202628419148573758 GROUP BY URLHash, EventDate ORDER BY PageViews DESC LIMIT 100000;
|
||
quit
|
||
Empty set (10 min 39.92 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 412
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 2
|
||
query: SELECT SQL_NO_CACHE URLHash, EventDate, count(*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND EventDate >= DATE('2013-07-01') AND EventDate <= DATE('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 mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 414
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE URLHash, EventDate, count(*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND EventDate >= DATE('2013-07-01') AND EventDate <= DATE('2013-0
|
||
7-31') AND NOT Refresh AND TraficSourceID IN (-1, 6) AND RefererHash = 6202628419148573758 GROUP BY URLHash, EventDate ORDER BY PageViews DESC LIMIT 100000;
|
||
Empty set (5.32 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 415
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 3
|
||
query: SELECT SQL_NO_CACHE URLHash, EventDate, count(*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND EventDate >= DATE('2013-07-01') AND EventDate <= DATE('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 mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 417
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE URLHash, EventDate, count(*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND EventDate >= DATE('2013-07-01') AND EventDate <= DATE('2013-0
|
||
7-31') AND NOT Refresh AND TraficSourceID IN (-1, 6) AND RefererHash = 6202628419148573758 GROUP BY URLHash, EventDate ORDER BY PageViews DESC LIMIT 100000;
|
||
Empty set (5.14 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 418
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 1
|
||
query: SELECT SQL_NO_CACHE WindowClientWidth, WindowClientHeight, count(*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND EventDate >= DATE('2013-07-01') AND EventDate <= DATE('2013-07-31') AND NOT Refresh AND NOT DontCountHits AND URLHash = 6202628419148573758 GROUP BY WindowClientWidth, WindowClientHeight ORDER BY PageViews DESC LIMIT 10000;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 420
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE WindowClientWidth, WindowClientHeight, count(*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND EventDate >= DATE('2013-07-01') AND EventD
|
||
ate <= DATE('2013-07-31') AND NOT Refresh AND NOT DontCountHits AND URLHash = 6202628419148573758 GROUP BY WindowClientWidth, WindowClientHeight ORDER BY PageViews DESC
|
||
LIMIT 10000;
|
||
quit
|
||
Empty set (10 min 39.47 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 421
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 2
|
||
query: SELECT SQL_NO_CACHE WindowClientWidth, WindowClientHeight, count(*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND EventDate >= DATE('2013-07-01') AND EventDate <= DATE('2013-07-31') AND NOT Refresh AND NOT DontCountHits AND URLHash = 6202628419148573758 GROUP BY WindowClientWidth, WindowClientHeight ORDER BY PageViews DESC LIMIT 10000;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 423
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE WindowClientWidth, WindowClientHeight, count(*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND EventDate >= DATE('2013-07-01') AND EventD
|
||
ate <= DATE('2013-07-31') AND NOT Refresh AND NOT DontCountHits AND URLHash = 6202628419148573758 GROUP BY WindowClientWidth, WindowClientHeight ORDER BY PageViews DESC
|
||
LIMIT 10000;
|
||
Empty set (5.32 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 424
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 3
|
||
query: SELECT SQL_NO_CACHE WindowClientWidth, WindowClientHeight, count(*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND EventDate >= DATE('2013-07-01') AND EventDate <= DATE('2013-07-31') AND NOT Refresh AND NOT DontCountHits AND URLHash = 6202628419148573758 GROUP BY WindowClientWidth, WindowClientHeight ORDER BY PageViews DESC LIMIT 10000;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 426
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE WindowClientWidth, WindowClientHeight, count(*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND EventDate >= DATE('2013-07-01') AND EventD
|
||
ate <= DATE('2013-07-31') AND NOT Refresh AND NOT DontCountHits AND URLHash = 6202628419148573758 GROUP BY WindowClientWidth, WindowClientHeight ORDER BY PageViews DESC
|
||
LIMIT 10000;
|
||
Empty set (5.09 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 427
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 1
|
||
query: SELECT SQL_NO_CACHE EventTime - INTERVAL SECOND(EventTime) SECOND AS Minute, count(*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND EventDate >= DATE('2013-07-01') AND EventDate <= DATE('2013-07-02') AND NOT Refresh AND NOT DontCountHits GROUP BY Minute ORDER BY Minute;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 429
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE EventTime - INTERVAL SECOND(EventTime) SECOND AS Minute, count(*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND EventDate >= DATE('2013-
|
||
07-01') AND EventDate <= DATE('2013-07-02') AND NOT Refresh AND NOT DontCountHits GROUP BY Minute ORDER BY Minute;
|
||
+---------------------+-----------+
|
||
+---------------------+-----------+
|
||
+---------------------+-----------+
|
||
652 rows in set (6 min 40.66 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 430
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 2
|
||
query: SELECT SQL_NO_CACHE EventTime - INTERVAL SECOND(EventTime) SECOND AS Minute, count(*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND EventDate >= DATE('2013-07-01') AND EventDate <= DATE('2013-07-02') AND NOT Refresh AND NOT DontCountHits GROUP BY Minute ORDER BY Minute;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 432
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE EventTime - INTERVAL SECOND(EventTime) SECOND AS Minute, count(*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND EventDate >= DATE('2013-
|
||
07-01') AND EventDate <= DATE('2013-07-02') AND NOT Refresh AND NOT DontCountHits GROUP BY Minute ORDER BY Minute;
|
||
+---------------------+-----------+
|
||
+---------------------+-----------+
|
||
+---------------------+-----------+
|
||
652 rows in set (5.15 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql status
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the status(8) utility, e.g. status mysql
|
||
mysql start/running, process 22087
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 433
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql>
|
||
mysql> quit
|
||
Bye
|
||
|
||
times: 3
|
||
query: SELECT SQL_NO_CACHE EventTime - INTERVAL SECOND(EventTime) SECOND AS Minute, count(*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND EventDate >= DATE('2013-07-01') AND EventDate <= DATE('2013-07-02') AND NOT Refresh AND NOT DontCountHits GROUP BY Minute ORDER BY Minute;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 435
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table information for completion of table and column names
|
||
You can turn off this feature to get a quicker startup with -A
|
||
|
||
Database changed
|
||
mysql> SELECT SQL_NO_CACHE EventTime - INTERVAL SECOND(EventTime) SECOND AS Minute, count(*) AS PageViews FROM hits_10m WHERE CounterID = 34 AND EventDate >= DATE('2013-
|
||
07-01') AND EventDate <= DATE('2013-07-02') AND NOT Refresh AND NOT DontCountHits GROUP BY Minute ORDER BY Minute;
|
||
+---------------------+-----------+
|
||
+---------------------+-----------+
|
||
+---------------------+-----------+
|
||
652 rows in set (5.02 sec)
|
||
|
||
mysql> quit
|
||
Bye
|
||
stop time: Вт. сент. 24 01:22:51 MSK 2013
|