mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 10:02:01 +00:00
97f2a2213e
* Move some code outside dbms/src folder * Fix paths
5384 lines
253 KiB
Plaintext
5384 lines
253 KiB
Plaintext
start time: Вт. сент. 24 01:22:51 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 436
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 438
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m;
|
||
+-----------+
|
||
+-----------+
|
||
+-----------+
|
||
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 439
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 441
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m;
|
||
+-----------+
|
||
+-----------+
|
||
+-----------+
|
||
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 442
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 444
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m;
|
||
+-----------+
|
||
+-----------+
|
||
+-----------+
|
||
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 445
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m WHERE AdvEngineID != 0;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 447
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m WHERE AdvEngineID != 0;
|
||
+----------+
|
||
+----------+
|
||
+----------+
|
||
1 row in set (4 min 9.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 448
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m WHERE AdvEngineID != 0;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 450
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m WHERE AdvEngineID != 0;
|
||
+----------+
|
||
+----------+
|
||
+----------+
|
||
1 row in set (3 min 19.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 451
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m WHERE AdvEngineID != 0;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 453
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m WHERE AdvEngineID != 0;
|
||
+----------+
|
||
+----------+
|
||
+----------+
|
||
1 row in set (3 min 17.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 454
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 456
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m;
|
||
+------------------+-----------+----------------------+
|
||
+------------------+-----------+----------------------+
|
||
+------------------+-----------+----------------------+
|
||
1 row in set (4 min 19.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 457
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 459
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m;
|
||
+------------------+-----------+----------------------+
|
||
+------------------+-----------+----------------------+
|
||
+------------------+-----------+----------------------+
|
||
1 row in set (3 min 25.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 460
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 462
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m;
|
||
+------------------+-----------+----------------------+
|
||
+------------------+-----------+----------------------+
|
||
+------------------+-----------+----------------------+
|
||
1 row in set (3 min 29.53 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 463
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 465
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m;
|
||
+-----------------------------+
|
||
+-----------------------------+
|
||
+-----------------------------+
|
||
1 row in set (4 min 16.53 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 466
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 468
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m;
|
||
+-----------------------------+
|
||
+-----------------------------+
|
||
+-----------------------------+
|
||
1 row in set (3 min 20.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 469
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 471
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m;
|
||
+-----------------------------+
|
||
+-----------------------------+
|
||
+-----------------------------+
|
||
1 row in set (3 min 18.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 472
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 474
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m;
|
||
+------------------------+
|
||
+------------------------+
|
||
+------------------------+
|
||
1 row in set (5 min 22.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 475
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 477
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m;
|
||
+------------------------+
|
||
+------------------------+
|
||
+------------------------+
|
||
1 row in set (4 min 21.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 478
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 480
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m;
|
||
+------------------------+
|
||
+------------------------+
|
||
+------------------------+
|
||
1 row in set (4 min 31.99 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 481
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 483
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m;
|
||
+------------------------------+
|
||
+------------------------------+
|
||
+------------------------------+
|
||
1 row in set (5 min 56.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 484
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 486
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m;
|
||
+------------------------------+
|
||
+------------------------------+
|
||
+------------------------------+
|
||
1 row in set (5 min 1.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 487
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 489
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m;
|
||
+------------------------------+
|
||
+------------------------------+
|
||
+------------------------------+
|
||
1 row in set (4 min 38.27 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 490
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 492
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m;
|
||
+----------------+----------------+
|
||
+----------------+----------------+
|
||
+----------------+----------------+
|
||
1 row in set (1 min 16.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 493
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 495
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m;
|
||
+----------------+----------------+
|
||
+----------------+----------------+
|
||
+----------------+----------------+
|
||
1 row in set (1 min 8.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 496
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 498
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m;
|
||
+----------------+----------------+
|
||
+----------------+----------------+
|
||
+----------------+----------------+
|
||
1 row in set (1 min 8.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 499
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 501
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m WHERE AdvEngineID != 0 GROUP BY AdvEngineID ORDER BY count(*) DESC;
|
||
+-------------+----------+
|
||
+-------------+----------+
|
||
+-------------+----------+
|
||
18 rows in set (4 min 9.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 502
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 504
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m WHERE AdvEngineID != 0 GROUP BY AdvEngineID ORDER BY count(*) DESC;
|
||
+-------------+----------+
|
||
+-------------+----------+
|
||
+-------------+----------+
|
||
18 rows in set (3 min 14.80 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 505
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 507
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m WHERE AdvEngineID != 0 GROUP BY AdvEngineID ORDER BY count(*) DESC;
|
||
+-------------+----------+
|
||
+-------------+----------+
|
||
+-------------+----------+
|
||
18 rows in set (3 min 17.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 508
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 510
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m GROUP BY RegionID ORDER BY u DESC LIMIT 10;
|
||
+----------+---------+
|
||
+----------+---------+
|
||
+----------+---------+
|
||
10 rows in set (5 min 25.68 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 511
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 513
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m GROUP BY RegionID ORDER BY u DESC LIMIT 10;
|
||
+----------+---------+
|
||
+----------+---------+
|
||
+----------+---------+
|
||
10 rows in set (4 min 30.04 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 514
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 516
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m GROUP BY RegionID ORDER BY u DESC LIMIT 10;
|
||
+----------+---------+
|
||
+----------+---------+
|
||
+----------+---------+
|
||
10 rows in set (4 min 26.70 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 517
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 519
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m GROUP BY RegionID ORDER BY count(*) DES
|
||
C LIMIT 10;
|
||
+----------+------------------+----------+----------------------+------------------------+
|
||
+----------+------------------+----------+----------------------+------------------------+
|
||
+----------+------------------+----------+----------------------+------------------------+
|
||
10 rows in set (5 min 49.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 520
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 522
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m GROUP BY RegionID ORDER BY count(*) DES
|
||
C LIMIT 10;
|
||
+----------+------------------+----------+----------------------+------------------------+
|
||
+----------+------------------+----------+----------------------+------------------------+
|
||
+----------+------------------+----------+----------------------+------------------------+
|
||
10 rows in set (4 min 52.83 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 523
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 525
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m GROUP BY RegionID ORDER BY count(*) DES
|
||
C LIMIT 10;
|
||
+----------+------------------+----------+----------------------+------------------------+
|
||
+----------+------------------+----------+----------------------+------------------------+
|
||
+----------+------------------+----------+----------------------+------------------------+
|
||
10 rows in set (4 min 40.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 526
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 528
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m WHERE MobilePhoneModel != '' GROUP BY MobilePhoneModel ORDER BY u DESC LIMIT 10;
|
||
+------------------+--------+
|
||
+------------------+--------+
|
||
+------------------+--------+
|
||
10 rows in set (4 min 31.19 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 529
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 531
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m WHERE MobilePhoneModel != '' GROUP BY MobilePhoneModel ORDER BY u DESC LIMIT 10;
|
||
+------------------+--------+
|
||
+------------------+--------+
|
||
+------------------+--------+
|
||
10 rows in set (3 min 30.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 532
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 534
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m WHERE MobilePhoneModel != '' GROUP BY MobilePhoneModel ORDER BY u DESC LIMIT 10;
|
||
+------------------+--------+
|
||
+------------------+--------+
|
||
+------------------+--------+
|
||
10 rows in set (3 min 28.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 535
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 537
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m WHERE MobilePhoneModel != '' GROUP BY MobilePhone, MobilePhoneModel
|
||
ORDER BY u DESC LIMIT 10;
|
||
+-------------+------------------+--------+
|
||
+-------------+------------------+--------+
|
||
+-------------+------------------+--------+
|
||
10 rows in set (4 min 29.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 538
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 540
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m WHERE MobilePhoneModel != '' GROUP BY MobilePhone, MobilePhoneModel
|
||
ORDER BY u DESC LIMIT 10;
|
||
+-------------+------------------+--------+
|
||
+-------------+------------------+--------+
|
||
+-------------+------------------+--------+
|
||
10 rows in set (3 min 32.21 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 541
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 543
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m WHERE MobilePhoneModel != '' GROUP BY MobilePhone, MobilePhoneModel
|
||
ORDER BY u DESC LIMIT 10;
|
||
+-------------+------------------+--------+
|
||
+-------------+------------------+--------+
|
||
+-------------+------------------+--------+
|
||
10 rows in set (3 min 30.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 544
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 546
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m WHERE SearchPhrase != '' GROUP BY SearchPhrase ORDER BY count(*) DESC LIMIT 10;
|
||
quit
|
||
+-----------------------------------------------------------------------------------------------------------------+----------+
|
||
+-----------------------------------------------------------------------------------------------------------------+----------+
|
||
+-----------------------------------------------------------------------------------------------------------------+----------+
|
||
10 rows in set (17 min 7.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 547
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 549
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m WHERE SearchPhrase != '' GROUP BY SearchPhrase ORDER BY count(*) DESC LIMIT 10;
|
||
quit
|
||
+-----------------------------------------------------------------------------------------------------------------+----------+
|
||
+-----------------------------------------------------------------------------------------------------------------+----------+
|
||
+-----------------------------------------------------------------------------------------------------------------+----------+
|
||
10 rows in set (13 min 50.35 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 550
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 552
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m WHERE SearchPhrase != '' GROUP BY SearchPhrase ORDER BY count(*) DESC LIMIT 10;
|
||
quit
|
||
+-----------------------------------------------------------------------------------------------------------------+----------+
|
||
+-----------------------------------------------------------------------------------------------------------------+----------+
|
||
+-----------------------------------------------------------------------------------------------------------------+----------+
|
||
10 rows in set (12 min 2.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 553
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 555
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m WHERE SearchPhrase != '' GROUP BY SearchPhrase ORDER BY u DESC LIMIT 10;
|
||
quit
|
||
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 556
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 558
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m WHERE SearchPhrase != '' GROUP BY SearchPhrase ORDER BY u DESC LIMIT 10;
|
||
quit
|
||
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 559
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 561
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m WHERE SearchPhrase != '' GROUP BY SearchPhrase ORDER BY u DESC LIMIT 10;
|
||
quit
|
||
-- агрегация чуть сложнее.;
|
||
|
||
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 562
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 564
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m WHERE SearchPhrase != '' GROUP BY SearchEngineID, SearchPhrase ORDER BY count(*) DESC LI
|
||
MIT 10;
|
||
quit
|
||
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 565
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 567
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m WHERE SearchPhrase != '' GROUP BY SearchEngineID, SearchPhrase ORDER BY count(*) DESC LI
|
||
MIT 10;
|
||
quit
|
||
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 568
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 570
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m WHERE SearchPhrase != '' GROUP BY SearchEngineID, SearchPhrase ORDER BY count(*) DESC LI
|
||
MIT 10;
|
||
quit
|
||
-- агрегация по числу и строке, большое количество ключей.;
|
||
|
||
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 571
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 573
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m GROUP BY UserID ORDER BY count(*) DESC LIMIT 10;
|
||
quit
|
||
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 574
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 576
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m GROUP BY UserID ORDER BY count(*) DESC LIMIT 10;
|
||
quit
|
||
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 577
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 579
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m GROUP BY UserID ORDER BY count(*) DESC LIMIT 10;
|
||
quit
|
||
-- агрегация по очень большому количеству ключей, может не хватить оперативки.;
|
||
|
||
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 580
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 582
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m GROUP BY UserID, SearchPhrase ORDER BY count(*) DESC LIMIT 10;
|
||
quit
|
||
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 585
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 587
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m GROUP BY UserID, SearchPhrase ORDER BY count(*) DESC LIMIT 10;
|
||
quit
|
||
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 588
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 590
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m GROUP BY UserID, SearchPhrase ORDER BY count(*) DESC LIMIT 10;
|
||
quit
|
||
-- ещё более сложная агрегация.;
|
||
|
||
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 591
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 593
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m GROUP BY UserID, SearchPhrase LIMIT 10;
|
||
quit
|
||
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 594
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 596
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m GROUP BY UserID, SearchPhrase LIMIT 10;
|
||
quit
|
||
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 597
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 599
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m GROUP BY UserID, SearchPhrase LIMIT 10;
|
||
quit
|
||
-- то же самое, но без сортировки.;
|
||
|
||
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 600
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 602
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m GROUP BY UserID, m, SearchPhrase ORDER BY count(*) DESC LIMIT 10;
|
||
quit
|
||
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 603
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 605
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m GROUP BY UserID, m, SearchPhrase ORDER BY count(*) DESC LIMIT 10;
|
||
quit
|
||
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 606
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 608
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m GROUP BY UserID, m, SearchPhrase ORDER BY count(*) DESC LIMIT 10;
|
||
quit
|
||
-- ещё более сложная агрегация, не стоит выполнять на больших таблицах.;
|
||
|
||
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 609
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m WHERE UserID = 12345678901234567890;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 611
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m WHERE UserID = 12345678901234567890;
|
||
quit
|
||
Empty set (12 min 50.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 612
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m WHERE UserID = 12345678901234567890;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 614
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m WHERE UserID = 12345678901234567890;
|
||
Empty set (6 min 15.34 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 615
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m WHERE UserID = 12345678901234567890;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 617
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m WHERE UserID = 12345678901234567890;
|
||
quit
|
||
Empty set (10 min 15.52 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 618
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m WHERE URL LIKE '%metrika%';
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 620
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m WHERE URL LIKE '%metrika%';
|
||
quit
|
||
+----------+
|
||
+----------+
|
||
+----------+
|
||
1 row in set (15 min 5.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 621
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m WHERE URL LIKE '%metrika%';
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 623
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m WHERE URL LIKE '%metrika%';
|
||
+----------+
|
||
+----------+
|
||
+----------+
|
||
1 row in set (8 min 56.63 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 624
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m WHERE URL LIKE '%metrika%';
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 626
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m WHERE URL LIKE '%metrika%';
|
||
quit
|
||
+----------+
|
||
+----------+
|
||
+----------+
|
||
1 row in set (16 min 21.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 627
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 629
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m WHERE URL LIKE '%metrika%' AND SearchPhrase != '' GROUP BY SearchPhrase ORDER BY count(*) DESC
|
||
LIMIT 10;
|
||
quit
|
||
+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------+----------+
|
||
+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------+----------+
|
||
+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------+----------+
|
||
10 rows in set (15 min 23.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 630
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 632
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m WHERE URL LIKE '%metrika%' AND SearchPhrase != '' GROUP BY SearchPhrase ORDER BY count(*) DESC
|
||
LIMIT 10;
|
||
+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------+----------+
|
||
+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------+----------+
|
||
+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------+----------+
|
||
10 rows in set (3 min 46.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 633
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 635
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m WHERE URL LIKE '%metrika%' AND SearchPhrase != '' GROUP BY SearchPhrase ORDER BY count(*) DESC
|
||
LIMIT 10;
|
||
+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------+----------+
|
||
+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------+----------+
|
||
+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------+----------+
|
||
10 rows in set (3 min 47.04 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 636
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 638
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m WHERE Title LIKE '%Яндекс%' AND URL NOT LIKE '%.yande
|
||
x.%' 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 639
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 641
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m WHERE Title LIKE '%Яндекс%' AND URL NOT LIKE '%.yande
|
||
x.%' 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 642
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 644
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m WHERE Title LIKE '%Яндекс%' AND URL NOT LIKE '%.yande
|
||
x.%' 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 645
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 647
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m WHERE URL LIKE '%metrika%' ORDER BY EventTime LIMIT 10;
|
||
quit
|
||
+---------------------+------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+---------------------+------------+-----------+------------+----------+---------------------+--------------+------+-----------+----------------------------------------------------------------+---------+---------+-------------------+-----------------+---------------+-------------+-----------------+------------------+-----------------+------------+------------+-------------+----------+----------+----------------+----------------+--------------+------------------+----------+-------------+------------------+--------+-------------+----------------+----------------+--------------+-------------+-------------+-------------------+--------------------+----------------+---------------------+---------------------+---------------------+---------------------+---------------------+-------------+-------------+--------+------------+-------------+---------------------+-------------+-----------+--------------+---------+-------------+---------------+----------+----------+---------------------+------+------+--------+-----------+-----------+------------+------------+------------+---------------+-----------------+----------------+---------------+--------------+-----------+------------+-----------+---------------+---------------------+-------------------+-------------+-----------------------+------------------+------------+--------------+---------------+-----------------+---------------------+--------------------+--------------+------------------+-----------+-----------+-------------+------------+--------------------------+---------+----------+----------------------+----------------------+------+------------+
|
||
+---------------------+------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+---------------------+------------+-----------+------------+----------+---------------------+--------------+------+-----------+----------------------------------------------------------------+---------+---------+-------------------+-----------------+---------------+-------------+-----------------+------------------+-----------------+------------+------------+-------------+----------+----------+----------------+----------------+--------------+------------------+----------+-------------+------------------+--------+-------------+----------------+----------------+--------------+-------------+-------------+-------------------+--------------------+----------------+---------------------+---------------------+---------------------+---------------------+---------------------+-------------+-------------+--------+------------+-------------+---------------------+-------------+-----------+--------------+---------+-------------+---------------+----------+----------+---------------------+------+------+--------+-----------+-----------+------------+------------+------------+---------------+-----------------+----------------+---------------+--------------+-----------+------------+-----------+---------------+---------------------+-------------------+-------------+-----------------------+------------------+------------+--------------+---------------+-----------------+---------------------+--------------------+--------------+------------------+-----------+-----------+-------------+------------+--------------------------+---------+----------+----------------------+----------------------+------+------------+
|
||
+---------------------+------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+---------------------+------------+-----------+------------+----------+---------------------+--------------+------+-----------+----------------------------------------------------------------+---------+---------+-------------------+-----------------+---------------+-------------+-----------------+------------------+-----------------+------------+------------+-------------+----------+----------+----------------+----------------+--------------+------------------+----------+-------------+------------------+--------+-------------+----------------+----------------+--------------+-------------+-------------+-------------------+--------------------+----------------+---------------------+---------------------+---------------------+---------------------+---------------------+-------------+-------------+--------+------------+-------------+---------------------+-------------+-----------+--------------+---------+-------------+---------------+----------+----------+---------------------+------+------+--------+-----------+-----------+------------+------------+------------+---------------+-----------------+----------------+---------------+--------------+-----------+------------+-----------+---------------+---------------------+-------------------+-------------+-----------------------+------------------+------------+--------------+---------------+-----------------+---------------------+--------------------+--------------+------------------+-----------+-----------+-------------+------------+--------------------------+---------+----------+----------------------+----------------------+------+------------+
|
||
10 rows in set (14 min 40.39 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 648
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 650
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m WHERE URL LIKE '%metrika%' ORDER BY EventTime LIMIT 10;
|
||
+---------------------+------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+---------------------+------------+-----------+------------+----------+---------------------+--------------+------+-----------+----------------------------------------------------------------+---------+---------+-------------------+-----------------+---------------+-------------+-----------------+------------------+-----------------+------------+------------+-------------+----------+----------+----------------+----------------+--------------+------------------+----------+-------------+------------------+--------+-------------+----------------+----------------+--------------+-------------+-------------+-------------------+--------------------+----------------+---------------------+---------------------+---------------------+---------------------+---------------------+-------------+-------------+--------+------------+-------------+---------------------+-------------+-----------+--------------+---------+-------------+---------------+----------+----------+---------------------+------+------+--------+-----------+-----------+------------+------------+------------+---------------+-----------------+----------------+---------------+--------------+-----------+------------+-----------+---------------+---------------------+-------------------+-------------+-----------------------+------------------+------------+--------------+---------------+-----------------+---------------------+--------------------+--------------+------------------+-----------+-----------+-------------+------------+--------------------------+---------+----------+----------------------+----------------------+------+------------+
|
||
+---------------------+------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+---------------------+------------+-----------+------------+----------+---------------------+--------------+------+-----------+----------------------------------------------------------------+---------+---------+-------------------+-----------------+---------------+-------------+-----------------+------------------+-----------------+------------+------------+-------------+----------+----------+----------------+----------------+--------------+------------------+----------+-------------+------------------+--------+-------------+----------------+----------------+--------------+-------------+-------------+-------------------+--------------------+----------------+---------------------+---------------------+---------------------+---------------------+---------------------+-------------+-------------+--------+------------+-------------+---------------------+-------------+-----------+--------------+---------+-------------+---------------+----------+----------+---------------------+------+------+--------+-----------+-----------+------------+------------+------------+---------------+-----------------+----------------+---------------+--------------+-----------+------------+-----------+---------------+---------------------+-------------------+-------------+-----------------------+------------------+------------+--------------+---------------+-----------------+---------------------+--------------------+--------------+------------------+-----------+-----------+-------------+------------+--------------------------+---------+----------+----------------------+----------------------+------+------------+
|
||
+---------------------+------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+---------------------+------------+-----------+------------+----------+---------------------+--------------+------+-----------+----------------------------------------------------------------+---------+---------+-------------------+-----------------+---------------+-------------+-----------------+------------------+-----------------+------------+------------+-------------+----------+----------+----------------+----------------+--------------+------------------+----------+-------------+------------------+--------+-------------+----------------+----------------+--------------+-------------+-------------+-------------------+--------------------+----------------+---------------------+---------------------+---------------------+---------------------+---------------------+-------------+-------------+--------+------------+-------------+---------------------+-------------+-----------+--------------+---------+-------------+---------------+----------+----------+---------------------+------+------+--------+-----------+-----------+------------+------------+------------+---------------+-----------------+----------------+---------------+--------------+-----------+------------+-----------+---------------+---------------------+-------------------+-------------+-----------------------+------------------+------------+--------------+---------------+-----------------+---------------------+--------------------+--------------+------------------+-----------+-----------+-------------+------------+--------------------------+---------+----------+----------------------+----------------------+------+------------+
|
||
10 rows in set (3 min 28.27 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 651
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 653
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m WHERE URL LIKE '%metrika%' ORDER BY EventTime LIMIT 10;
|
||
+---------------------+------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+---------------------+------------+-----------+------------+----------+---------------------+--------------+------+-----------+----------------------------------------------------------------+---------+---------+-------------------+-----------------+---------------+-------------+-----------------+------------------+-----------------+------------+------------+-------------+----------+----------+----------------+----------------+--------------+------------------+----------+-------------+------------------+--------+-------------+----------------+----------------+--------------+-------------+-------------+-------------------+--------------------+----------------+---------------------+---------------------+---------------------+---------------------+---------------------+-------------+-------------+--------+------------+-------------+---------------------+-------------+-----------+--------------+---------+-------------+---------------+----------+----------+---------------------+------+------+--------+-----------+-----------+------------+------------+------------+---------------+-----------------+----------------+---------------+--------------+-----------+------------+-----------+---------------+---------------------+-------------------+-------------+-----------------------+------------------+------------+--------------+---------------+-----------------+---------------------+--------------------+--------------+------------------+-----------+-----------+-------------+------------+--------------------------+---------+----------+----------------------+----------------------+------+------------+
|
||
+---------------------+------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+---------------------+------------+-----------+------------+----------+---------------------+--------------+------+-----------+----------------------------------------------------------------+---------+---------+-------------------+-----------------+---------------+-------------+-----------------+------------------+-----------------+------------+------------+-------------+----------+----------+----------------+----------------+--------------+------------------+----------+-------------+------------------+--------+-------------+----------------+----------------+--------------+-------------+-------------+-------------------+--------------------+----------------+---------------------+---------------------+---------------------+---------------------+---------------------+-------------+-------------+--------+------------+-------------+---------------------+-------------+-----------+--------------+---------+-------------+---------------+----------+----------+---------------------+------+------+--------+-----------+-----------+------------+------------+------------+---------------+-----------------+----------------+---------------+--------------+-----------+------------+-----------+---------------+---------------------+-------------------+-------------+-----------------------+------------------+------------+--------------+---------------+-----------------+---------------------+--------------------+--------------+------------------+-----------+-----------+-------------+------------+--------------------------+---------+----------+----------------------+----------------------+------+------------+
|
||
+---------------------+------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+---------------------+------------+-----------+------------+----------+---------------------+--------------+------+-----------+----------------------------------------------------------------+---------+---------+-------------------+-----------------+---------------+-------------+-----------------+------------------+-----------------+------------+------------+-------------+----------+----------+----------------+----------------+--------------+------------------+----------+-------------+------------------+--------+-------------+----------------+----------------+--------------+-------------+-------------+-------------------+--------------------+----------------+---------------------+---------------------+---------------------+---------------------+---------------------+-------------+-------------+--------+------------+-------------+---------------------+-------------+-----------+--------------+---------+-------------+---------------+----------+----------+---------------------+------+------+--------+-----------+-----------+------------+------------+------------+---------------+-----------------+----------------+---------------+--------------+-----------+------------+-----------+---------------+---------------------+-------------------+-------------+-----------------------+------------------+------------+--------------+---------------+-----------------+---------------------+--------------------+--------------+------------------+-----------+-----------+-------------+------------+--------------------------+---------+----------+----------------------+----------------------+------+------------+
|
||
10 rows in set (3 min 25.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 654
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 656
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m WHERE SearchPhrase != '' ORDER BY EventTime LIMIT 10;
|
||
quit
|
||
+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
10 rows in set (14 min 48.76 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 657
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 659
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m WHERE SearchPhrase != '' ORDER BY EventTime LIMIT 10;
|
||
+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
10 rows in set (3 min 36.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 660
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 662
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m WHERE SearchPhrase != '' ORDER BY EventTime LIMIT 10;
|
||
+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
10 rows in set (3 min 28.34 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 663
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 665
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m WHERE SearchPhrase != '' ORDER BY SearchPhrase LIMIT 10;
|
||
quit
|
||
+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
10 rows in set (16 min 11.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 666
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 668
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m WHERE SearchPhrase != '' ORDER BY SearchPhrase LIMIT 10;
|
||
+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
10 rows in set (3 min 44.06 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 669
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 671
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m WHERE SearchPhrase != '' ORDER BY SearchPhrase LIMIT 10;
|
||
+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
10 rows in set (3 min 44.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 672
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 674
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m WHERE SearchPhrase != '' ORDER BY EventTime, SearchPhrase LIMIT 10;
|
||
quit
|
||
+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
10 rows in set (16 min 15.34 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 675
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 677
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m WHERE SearchPhrase != '' ORDER BY EventTime, SearchPhrase LIMIT 10;
|
||
+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
10 rows in set (3 min 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 678
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 680
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m WHERE SearchPhrase != '' ORDER BY EventTime, SearchPhrase LIMIT 10;
|
||
+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
10 rows in set (3 min 34.24 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 681
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 683
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m WHERE URL != '' GROUP BY CounterID HAVING count(*) > 100000 ORDER BY l DESC LIMIT 25
|
||
;
|
||
quit
|
||
+-----------+----------+----------+
|
||
+-----------+----------+----------+
|
||
+-----------+----------+----------+
|
||
25 rows in set (17 min 7.30 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 684
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 686
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m WHERE URL != '' GROUP BY CounterID HAVING count(*) > 100000 ORDER BY l DESC LIMIT 25
|
||
;
|
||
+-----------+----------+----------+
|
||
+-----------+----------+----------+
|
||
+-----------+----------+----------+
|
||
25 rows in set (4 min 25.74 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 687
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 689
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m WHERE URL != '' GROUP BY CounterID HAVING count(*) > 100000 ORDER BY l DESC LIMIT 25
|
||
;
|
||
+-----------+----------+----------+
|
||
+-----------+----------+----------+
|
||
+-----------+----------+----------+
|
||
25 rows in set (4 min 38.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 690
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 692
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m WHERE Referer != '' GROUP BY k HAVING count(*) > 100000 ORDER BY l DESC LIMIT 25
|
||
;
|
||
quit
|
||
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 693
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 695
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m WHERE Referer != '' GROUP BY k HAVING count(*) > 100000 ORDER BY l DESC LIMIT 25
|
||
;
|
||
quit
|
||
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 696
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 698
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m WHERE Referer != '' GROUP BY k HAVING count(*) > 100000 ORDER BY l DESC LIMIT 25
|
||
;
|
||
quit
|
||
-- то же самое, но с разбивкой по доменам.;
|
||
|
||
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 699
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 701
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m;
|
||
quit
|
||
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 702
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 704
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m;
|
||
quit
|
||
+----------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+
|
||
+----------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+
|
||
+----------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+
|
||
1 row in set (19 min 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 705
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m;
|
||
spawn mysql -u root
|
||
Welcome to the MySQL monitor. Commands end with ; or \g.
|
||
Your MySQL connection id is 707
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m;
|
||
quit
|
||
+----------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+
|
||
+----------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+
|
||
+----------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+--------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+---------------------------+
|
||
1 row in set (18 min 24.86 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 708
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 710
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m WHERE SearchPhrase != '' GROUP BY SearchEngineID, C
|
||
lientIP ORDER BY count(*) DESC LIMIT 10;
|
||
quit
|
||
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 711
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 713
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m WHERE SearchPhrase != '' GROUP BY SearchEngineID, C
|
||
lientIP ORDER BY count(*) DESC LIMIT 10;
|
||
quit
|
||
+----------------+------------+------+--------------+----------------------+
|
||
+----------------+------------+------+--------------+----------------------+
|
||
+----------------+------------+------+--------------+----------------------+
|
||
10 rows in set (11 min 4.21 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 714
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 716
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m WHERE SearchPhrase != '' GROUP BY SearchEngineID, C
|
||
lientIP ORDER BY count(*) DESC LIMIT 10;
|
||
quit
|
||
+----------------+------------+------+--------------+----------------------+
|
||
+----------------+------------+------+--------------+----------------------+
|
||
+----------------+------------+------+--------------+----------------------+
|
||
10 rows in set (11 min 41.50 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 717
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 719
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m WHERE SearchPhrase != '' GROUP BY WatchID, ClientIP ORDER
|
||
BY count(*) DESC LIMIT 10;
|
||
quit
|
||
+---------------------+------------+---+--------------+----------------------+
|
||
+---------------------+------------+---+--------------+----------------------+
|
||
+---------------------+------------+---+--------------+----------------------+
|
||
10 rows in set (18 min 40.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 720
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 722
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m WHERE SearchPhrase != '' GROUP BY WatchID, ClientIP ORDER
|
||
BY count(*) DESC LIMIT 10;
|
||
+---------------------+------------+---+--------------+----------------------+
|
||
+---------------------+------------+---+--------------+----------------------+
|
||
+---------------------+------------+---+--------------+----------------------+
|
||
10 rows in set (6 min 13.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 723
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 725
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m WHERE SearchPhrase != '' GROUP BY WatchID, ClientIP ORDER
|
||
BY count(*) DESC LIMIT 10;
|
||
+---------------------+------------+---+--------------+----------------------+
|
||
+---------------------+------------+---+--------------+----------------------+
|
||
+---------------------+------------+---+--------------+----------------------+
|
||
10 rows in set (6 min 0.99 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 726
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 728
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m GROUP BY WatchID, ClientIP ORDER BY count(*) DESC LIMIT 10
|
||
;
|
||
quit
|
||
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 729
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 731
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m GROUP BY WatchID, ClientIP ORDER BY count(*) DESC LIMIT 10
|
||
;
|
||
quit
|
||
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 732
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 734
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m GROUP BY WatchID, ClientIP ORDER BY count(*) DESC LIMIT 10
|
||
;
|
||
quit
|
||
-- то же самое, но ещё и без фильтрации.;
|
||
|
||
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 735
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 737
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m GROUP BY URL ORDER BY count(*) DESC LIMIT 10;
|
||
quit
|
||
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 738
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 740
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m GROUP BY URL ORDER BY count(*) DESC LIMIT 10;
|
||
quit
|
||
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 741
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 743
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m GROUP BY URL ORDER BY count(*) DESC LIMIT 10;
|
||
quit
|
||
-- агрегация по 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 744
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 746
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m GROUP BY 1, URL ORDER BY count(*) DESC LIMIT 10;
|
||
quit
|
||
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 747
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 749
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m GROUP BY 1, URL ORDER BY count(*) DESC LIMIT 10;
|
||
quit
|
||
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 750
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 752
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m GROUP BY 1, URL ORDER BY count(*) DESC LIMIT 10;
|
||
quit
|
||
-- агрегация по 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 753
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 755
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m GROUP BY ClientIP, ClientIP - 1, ClientIP - 2, ClientIP - 3 ORDER
|
||
BY count(*) DESC LIMIT 10;
|
||
ERROR 1690 (22003): BIGINT UNSIGNED value is out of range in '(`hits`.`hits_100m`.`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 756
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 758
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m GROUP BY ClientIP, ClientIP - 1, ClientIP - 2, ClientIP - 3 ORDER
|
||
BY count(*) DESC LIMIT 10;
|
||
ERROR 1690 (22003): BIGINT UNSIGNED value is out of range in '(`hits`.`hits_100m`.`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 759
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 761
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m GROUP BY ClientIP, ClientIP - 1, ClientIP - 2, ClientIP - 3 ORDER
|
||
BY count(*) DESC LIMIT 10;
|
||
ERROR 1690 (22003): BIGINT UNSIGNED value is out of range in '(`hits`.`hits_100m`.`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 762
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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 764
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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 765
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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 767
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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 768
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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 770
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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 771
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 773
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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
|
||
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 774
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 776
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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
|
||
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 777
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 779
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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
|
||
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 780
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 782
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m WHERE CounterID = 34 AND EventDate >= DATE('2013-07-01') AND EventDate <= DATE('2013-07-31') AND N
|
||
OT DontCountHits AND NOT Refresh AND Title != '' GROUP BY Title ORDER BY PageViews DESC LIMIT 10;
|
||
quit
|
||
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 783
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 785
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m WHERE CounterID = 34 AND EventDate >= DATE('2013-07-01') AND EventDate <= DATE('2013-07-31') AND N
|
||
OT DontCountHits AND NOT Refresh AND Title != '' GROUP BY Title ORDER BY PageViews DESC LIMIT 10;
|
||
quit
|
||
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 786
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 788
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m WHERE CounterID = 34 AND EventDate >= DATE('2013-07-01') AND EventDate <= DATE('2013-07-31') AND N
|
||
OT DontCountHits AND NOT Refresh AND Title != '' GROUP BY Title ORDER BY PageViews DESC LIMIT 10;
|
||
quit
|
||
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 789
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 791
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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
|
||
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 792
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 794
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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
|
||
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 795
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 797
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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
|
||
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 800
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 802
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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;
|
||
quit
|
||
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 803
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 805
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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;
|
||
quit
|
||
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 806
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 808
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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;
|
||
quit
|
||
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 809
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 811
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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;
|
||
quit
|
||
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 812
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 814
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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;
|
||
quit
|
||
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 815
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 817
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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;
|
||
quit
|
||
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 818
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 820
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m WHERE CounterID = 34 AND EventDate >= DATE('2013-07-01') AND Event
|
||
Date <= DATE('2013-07-31') AND NOT Refresh AND NOT DontCountHits AND URLHash = 6202628419148573758 GROUP BY WindowClientWidth, WindowClientHeight ORDER BY PageViews DES
|
||
C LIMIT 10000;
|
||
quit
|
||
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 821
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m 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 823
|
||
Server version: 5.5.32-0ubuntu0.12.04.1-log (Ubuntu)
|
||
|
||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
|
||
|
||
mysql> use hits
|
||
Reading table 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_100m WHERE CounterID = 34 AND EventDate >= DATE('2013-07-01') AND Event
|
||
Date <= DATE('2013-07-31') AND NOT Refresh AND NOT DontCountHits AND URLHash = 6202628419148573758 GROUP BY WindowClientWidth, WindowClientHeight ORDER BY PageViews DES
|
||
C LIMIT 10000;
|
||
ERROR 1317 (70100): Query execution was interrupted
|
||
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 stop/killed, process 22087
|
||
spawn mysql -u root
|
||
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
|
||
restart server: /etc/init.d/mysql restart
|
||
Rather than invoking init scripts through /etc/init.d, use the service(8)
|
||
utility, e.g. service mysql restart
|
||
|
||
Since the script you are attempting to invoke has been converted to an
|
||
Upstart job, you may also use the stop(8) and then start(8) utilities,
|
||
e.g. stop mysql ; start mysql. The restart(8) utility is also available.
|
||
waiting
|