Vous êtes sur la page 1sur 6

[2012-01-04 22:47:18.

069] [001175] [localhost_3306] [MYSQL]


SHOW VARIABLES LIKE 'lower_case_%'
[2012-01-04 22:47:18.071] [001175] [localhost_3306] [MYSQL]
SHOW VARIABLES LIKE 'profiling'
[2012-01-04 22:47:18.072] [001175] [localhost_3306] [MYSQL]
SHOW CHARACTER SET
[2012-01-04 22:47:18.073] [001175] [localhost_3306] [MYSQL]
SHOW COLLATION
[2012-01-04 22:47:18.077] [001175] [localhost_3306] [MYSQL]
SHOW DATABASES
[2012-01-04 22:47:33.215] [001178] [localhost_3306] [MYSQL]
SELECT @@character_set_database, @@collation_database
[2012-01-04 22:47:33.245] [001178] [localhost_3306] [MYSQL]
SHOW FULL TABLES WHERE Table_type != 'VIEW'
[2012-01-04 22:47:38.599] [001179] [localhost_3306] [MYSQL]
SHOW FULL TABLES FROM `g22` WHERE Table_type != 'VIEW'
[2012-01-04 22:47:38.602] [001179] [localhost_3306] [MYSQL]
SHOW FULL TABLES FROM `g22` WHERE Table_type = 'VIEW'
[2012-01-04 22:47:38.618] [001178] [localhost_3306] [MYSQL]
SHOW FULL TABLES FROM `g22` WHERE Table_type != 'VIEW'
[2012-01-04 22:47:38.621] [001178] [localhost_3306] [MYSQL]
SHOW FULL TABLES FROM `g22` WHERE Table_type = 'VIEW'
[2012-01-04 22:47:38.623] [001178] [localhost_3306] [MYSQL]
SHOW PROCEDURE STATUS WHERE Db='g22'
[2012-01-04 22:47:38.626] [001178] [localhost_3306] [MYSQL]
SHOW FUNCTION STATUS WHERE Db='g22'
[2012-01-04 22:47:50.840] [001179] [localhost_3306] [MYSQL]
SET PROFILING=1;
[2012-01-04 22:47:50.840] [001179] [localhost_3306] [MYSQL]
SHOW STATUS
[2012-01-04 22:47:50.870] [001179] [localhost_3306] [MYSQL]
SHOW STATUS
[2012-01-04 22:47:50.888] [001179] [localhost_3306] [MYSQL]
select * from
e_pm_t01_com_rewards t1,
e_pm_t03_name_receive t3,
e_pm_t04_advisor t4,
e_pm_t14_company_staff t14
where
t1.rwd_id=t3.rwd_id and
t3.rwd_id=t4.rwd_id and
t4.rwd_id=t14.rwd_id ;

[2012-01-04 22:47:50.899] [001179] [localhost_3306] [MYSQL]


SHOW STATUS
[2012-01-04 22:47:50.901] [001179] [localhost_3306] [MYSQL]
SELECT QUERY_ID, SUM(DURATION) AS SUM_DURATION, SEQ FROM INFORMATION_SCHEMA.PROF
ILING GROUP BY QUERY_ID;
[2012-01-04 22:47:50.918] [001179] [localhost_3306] [MYSQL]
SELECT STATE AS `Status`, ROUND(SUM(DURATION),7) AS `Duration`, CONCAT(ROUND(SUM
(DURATION)/0.000315*100,3), '%') AS `Percentage` FROM INFORMATION_SCHEMA.PROFILI
NG WHERE QUERY_ID=3 GROUP BY STATE;
[2012-01-04 22:48:07.699] [001179] [localhost_3306] [MYSQL]
SHOW COLUMNS FROM `g22`.`e_pm_t01_com_rewards`
[2012-01-04 22:48:07.721] [001179] [localhost_3306] [MYSQL]
SHOW COLUMNS FROM `g22`.`e_pm_t03_name_receive`
[2012-01-04 22:48:07.739] [001179] [localhost_3306] [MYSQL]
SHOW COLUMNS FROM `g22`.`e_pm_t04_advisor`
[2012-01-04 22:48:07.760] [001179] [localhost_3306] [MYSQL]
SHOW COLUMNS FROM `g22`.`e_pm_t14_company_staff`
[2012-01-04 22:49:55.390] [001179] [localhost_3306] [MYSQL]
SHOW COLUMNS FROM `g22`.`e_pm_t10_place`
[2012-01-04 22:50:00.708] [001179] [localhost_3306] [MYSQL]
SET PROFILING=1;
[2012-01-04 22:50:00.708] [001179] [localhost_3306] [MYSQL]
SHOW STATUS
[2012-01-04 22:50:00.714] [001179] [localhost_3306] [MYSQL]
SHOW STATUS
[2012-01-04 22:50:00.738] [001179] [localhost_3306] [MYSQL]
SELECT
t1.rwd_id,
t1.rwd_title_th,
t1.rwd_title_en,
t1.rwd_date_receive,
t1.rwd_place_receive,
t1.rwd_country_receive,
t1.rwd_date_competition,
t1.rwd_place_competition,
t1.rwd_country_competition,
t3.rwd_id,
t3.name_receive_fname_thai,
t3.name_receive_lname_thai,
t3.name_receive_id,
t4.rwd_id,
t4.advisorfname,
t4.advisorlname,
t4.advisorusr,
t14.rwd_id,
t14.company_name,
t14.company_id,
t1.rwd_detail
from

e_pm_t01_com_rewards t1,
e_pm_t03_name_receive t3,
e_pm_t04_advisor t4,
e_pm_t10_place t10,
e_pm_t13_awards_staf t13,
e_pm_t14_company_staff t14
where
t1.rwd_id=t3.rwd_id and
t3.rwd_id=t4.rwd_id and
t4.rwd_id=t14.rwd_id
[2012-01-04 22:50:00.739] [001179] [localhost_3306] [MYSQL]
1146 - Table 'g22.e_pm_t13_awards_staf' doesn't exist
[2012-01-04 22:50:34.262] [001179] [localhost_3306] [MYSQL]
SHOW COLUMNS FROM `g22`.`e_pm_t13_awards_staff`
[2012-01-04 22:52:05.882] [001179] [localhost_3306] [MYSQL]
SET PROFILING=1;
[2012-01-04 22:52:05.886] [001179] [localhost_3306] [MYSQL]
SHOW STATUS
[2012-01-04 22:52:05.892] [001179] [localhost_3306] [MYSQL]
SHOW STATUS
[2012-01-04 22:52:05.943] [001179] [localhost_3306] [MYSQL]
SELECT
t1.rwd_id,
t1.rwd_title_th,
t1.rwd_title_en,
t1.rwd_date_receive,
t1.rwd_place_receive,
t1.rwd_country_receive,
t1.rwd_date_competition,
t1.rwd_place_competition,
t1.rwd_country_competition,
t3.rwd_id,
t3.name_receive_fname_thai,
t3.name_receive_lname_thai,
t3.name_receive_id,
t4.rwd_id,
t4.advisorfname,
t4.advisorlname,
t4.advisorusr,
t14.rwd_id,
t14.company_name,
t14.company_id,
t1.rwd_detail
FROM
e_pm_t01_com_rewards ,
e_pm_t03_name_receive ,
e_pm_t04_advisor ,
e_pm_t10_place ,
e_pm_t13_awards_staff ,
e_pm_t14_company_staff
WHERE
e_pm_t01_com_rewards.rwd_id = e_pm_t03_name_receive.rwd_id AND
e_pm_t01_com_rewards.rwd_id = e_pm_t04_advisor.rwd_id

[2012-01-04 22:52:05.944] [001179] [localhost_3306] [MYSQL]


1054 - Unknown column 't1.rwd_id' in 'field list'
[2012-01-04 22:52:19.039] [001179] [localhost_3306] [MYSQL]
SET PROFILING=1;
[2012-01-04 22:52:19.040] [001179] [localhost_3306] [MYSQL]
SHOW STATUS
[2012-01-04 22:52:19.045] [001179] [localhost_3306] [MYSQL]
SHOW STATUS
[2012-01-04 22:52:19.092] [001179] [localhost_3306] [MYSQL]
SELECT
t1.rwd_id,
t1.rwd_title_th,
t1.rwd_title_en,
t1.rwd_date_receive,
t1.rwd_place_receive,
t1.rwd_country_receive,
t1.rwd_date_competition,
t1.rwd_place_competition,
t1.rwd_country_competition,
t3.rwd_id,
t3.name_receive_fname_thai,
t3.name_receive_lname_thai,
t3.name_receive_id,
t4.rwd_id,
t4.advisorfname,
t4.advisorlname,
t4.advisorusr,
t14.rwd_id,
t14.company_name,
t14.company_id,
t1.rwd_detail
FROM
e_pm_t01_com_rewards ,
e_pm_t03_name_receive ,
e_pm_t04_advisor ,
e_pm_t10_place ,
e_pm_t13_awards_staff ,
e_pm_t14_company_staff
WHERE
e_pm_t01_com_rewards.rwd_id = e_pm_t03_name_receive.rwd_id AND
e_pm_t01_com_rewards.rwd_id = e_pm_t04_advisor.advisorusr
[2012-01-04 22:52:19.093] [001179] [localhost_3306] [MYSQL]
1054 - Unknown column 't1.rwd_id' in 'field list'
[2012-01-04 22:52:36.894] [001179] [localhost_3306] [MYSQL]
SET PROFILING=1;
[2012-01-04 22:52:36.895] [001179] [localhost_3306] [MYSQL]
SHOW STATUS
[2012-01-04 22:52:36.900] [001179] [localhost_3306] [MYSQL]
SHOW STATUS
[2012-01-04 22:52:36.941] [001179] [localhost_3306] [MYSQL]
SELECT

t1.rwd_id,
t1.rwd_title_th,
t1.rwd_title_en,
t1.rwd_date_receive,
t1.rwd_place_receive,
t1.rwd_country_receive,
t1.rwd_date_competition,
t1.rwd_place_competition,
t1.rwd_country_competition,
t3.rwd_id,
t3.name_receive_fname_thai,
t3.name_receive_lname_thai,
t3.name_receive_id,
t4.rwd_id,
t4.advisorfname,
t4.advisorlname,
t4.advisorusr,
t14.rwd_id,
t14.company_name,
t14.company_id,
t1.rwd_detail
FROM
e_pm_t01_com_rewards ,
e_pm_t03_name_receive ,
e_pm_t04_advisor ,
e_pm_t10_place ,
e_pm_t13_awards_staff ,
e_pm_t14_company_staff
WHERE
e_pm_t01_com_rewards.rwd_id = e_pm_t03_name_receive.rwd_id
[2012-01-04 22:52:36.941] [001179] [localhost_3306] [MYSQL]
1054 - Unknown column 't1.rwd_id' in 'field list'
[2012-01-04 22:54:46.277] [001179] [localhost_3306] [MYSQL]
SET PROFILING=1;
[2012-01-04 22:54:46.278] [001179] [localhost_3306] [MYSQL]
SHOW STATUS
[2012-01-04 22:54:46.283] [001179] [localhost_3306] [MYSQL]
SHOW STATUS
[2012-01-04 22:54:46.322] [001179] [localhost_3306] [MYSQL]
select * from
e_pm_t01_com_rewards t1,
e_pm_t03_name_receive t3,
e_pm_t04_advisor t4,
where
t1.rwd_id=t3.rwd_id and
t3.rwd_id=t4.rwd_id;
[2012-01-04 22:54:46.322] [001179] [localhost_3306] [MYSQL]
1064 - You have an error in your SQL syntax; check the manual that corresponds t
o your MySQL server version for the right syntax to use near 'where
t1.rwd_id=t3.rwd_id and
t3.rwd_id=t4.rwd_id' at line 6
[2012-01-04 23:11:58.247] [001179] [localhost_3306] [MYSQL]

SET PROFILING=1;
[2012-01-04 23:11:58.247] [001179] [localhost_3306] [MYSQL]
SHOW STATUS
[2012-01-04 23:11:58.253] [001179] [localhost_3306] [MYSQL]
SHOW STATUS
[2012-01-04 23:11:58.294] [001179] [localhost_3306] [MYSQL]
select * from
e_pm_t01_com_rewards t1,
e_pm_t03_name_receive t3,
e_pm_t04_advisor t4
where
t1.rwd_id=t3.rwd_id and
t3.rwd_id=t4.rwd_id;
[2012-01-04 23:11:58.306] [001179] [localhost_3306] [MYSQL]
SHOW STATUS
[2012-01-04 23:11:58.309] [001179] [localhost_3306] [MYSQL]
SELECT QUERY_ID, SUM(DURATION) AS SUM_DURATION, SEQ FROM INFORMATION_SCHEMA.PROF
ILING GROUP BY QUERY_ID;
[2012-01-04 23:11:58.311] [001179] [localhost_3306] [MYSQL]
SELECT STATE AS `Status`, ROUND(SUM(DURATION),7) AS `Duration`, CONCAT(ROUND(SUM
(DURATION)/0.001270*100,3), '%') AS `Percentage` FROM INFORMATION_SCHEMA.PROFILI
NG WHERE QUERY_ID=36 GROUP BY STATE;