<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>MySQL Forums - Quality Assurance</title>
        <description>Forum to discuss quality assurance techniques, such as bug reports, test cases, code patches</description>
        <link>http://forums.mysql.com/list.php?132</link>
        <lastBuildDate>Fri, 24 May 2013 19:39:12 +0000</lastBuildDate>
        <generator>Phorum 5.2.19</generator>
        <item>
            <guid>http://forums.mysql.com/read.php?132,585743,585743#msg-585743</guid>
            <title>Mysql replication issue (1 reply)</title>
            <link>http://forums.mysql.com/read.php?132,585743,585743#msg-585743</link>
            <description><![CDATA[ I am trying to set mysql replication in my two separate server.  I am referring the site <a href="https://www.digitalocean.com/community/articles/how-to-set-up-master-slave-replication-in-mysql"  rel="nofollow">https://www.digitalocean.com/community/articles/how-to-set-up-master-slave-replication-in-mysql</a> to do this. But after grant permission to set i got 0 query effected instead of <br />
<br />
mysql&gt; SHOW MASTER STATUS;<br />
+------------------+----------+--------------+------------------+<br />
| File             | Position | Binlog_Do_DB | Binlog_Ignore_DB |<br />
+------------------+----------+--------------+------------------+<br />
| mysql-bin.000001 |      107 | newdatabase  |                  |<br />
+------------------+----------+--------------+------------------+<br />
1 row in set (0.00 sec)<br />
<br />
Can anybody help me to clearthis?]]></description>
            <dc:creator>anoop p k</dc:creator>
            <category>Quality Assurance</category>
            <pubDate>Sun, 19 May 2013 14:14:59 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?132,585571,585571#msg-585571</guid>
            <title>How to use utf16 with .net (no replies)</title>
            <link>http://forums.mysql.com/read.php?132,585571,585571#msg-585571</link>
            <description><![CDATA[ I creat a table by:<br />
CREATE TABLE test(Name VARCHAR(512) CHARSET utf16) ENGINE=INNODB CHARSET=utf16;<br />
<br />
I test in default sample: Connector NET 6.6.5\Samples\Table Editor\cs<br />
<br />
this is samples code: <br />
<br />
data = new DataTable(); <br />
da = new MySqlDataAdapter(&quot;SELECT * FROM &quot; + tables.SelectedItem.ToString(), conn); <br />
cb = new MySqlCommandBuilder(da); <br />
da.Fill(data); //error:long time no response <br />
<br />
Mysql version:5.6.11<br />
<br />
How can I do to use utf16]]></description>
            <dc:creator>freefly pan</dc:creator>
            <category>Quality Assurance</category>
            <pubDate>Mon, 06 May 2013 08:02:28 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?132,585510,585510#msg-585510</guid>
            <title>selecting foreign key into a column (2 replies)</title>
            <link>http://forums.mysql.com/read.php?132,585510,585510#msg-585510</link>
            <description><![CDATA[ Hello,<br />
<br />
Can someone teach me, how to SELECT a foreign key into a column.<br />
<br />
For example, I have this table :<br />
<br />
USER_TABLE<br />
userID<br />
name<br />
password<br />
<br />
BOOK_TABLE (many book to one user)<br />
bookID<br />
userID<br />
bookName<br />
<br />
and the thing that I want to select per record is, userID and list of bookID as a column (seperated by ',' delimiter).]]></description>
            <dc:creator>ahmad rahimie</dc:creator>
            <category>Quality Assurance</category>
            <pubDate>Wed, 22 May 2013 06:06:36 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?132,585388,585388#msg-585388</guid>
            <title>[ASK] Database Link (1 reply)</title>
            <link>http://forums.mysql.com/read.php?132,585388,585388#msg-585388</link>
            <description><![CDATA[ Hi all,<br />
<br />
Is mySQL has &quot;database link&quot; as like as Oracle?<br />
Thank you]]></description>
            <dc:creator>Nurlasmaya Lakuanto</dc:creator>
            <category>Quality Assurance</category>
            <pubDate>Sat, 04 May 2013 03:48:38 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?132,585085,585085#msg-585085</guid>
            <title>Regarding Error code : 1406 : Data Truncation : Data too long for column (2 replies)</title>
            <link>http://forums.mysql.com/read.php?132,585085,585085#msg-585085</link>
            <description><![CDATA[ Hi All,<br />
<br />
I am trying to insert values into table and getting error as ERROR 1406: Data Truncation: Data  too long for column 'username'. The size of the column is 20 and I am trying to insert username = (length greater than 20). When I execute the command first time then I get this error. And I tried it one more time then I didn;t get any error and values get inserted into the table successfully with no error. But while inserting it takes only first 20 chars of the username field and skipped remaining. So the question is how doesn't it return any error on second time and also why did it take truncate the username and took only fisrt 20 chars?]]></description>
            <dc:creator>Sachin Havinal</dc:creator>
            <category>Quality Assurance</category>
            <pubDate>Tue, 30 Apr 2013 06:25:43 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?132,584874,584874#msg-584874</guid>
            <title>What Collation should I use in my database for storing all type of characters that exist in world (no replies)</title>
            <link>http://forums.mysql.com/read.php?132,584874,584874#msg-584874</link>
            <description><![CDATA[ have a website that deals with characters written in Spanish, French, German, English and Catalan language. I run the website using Drupal and MySQL 5.5.<br />
<br />
I want to use a collation on my table columns that can store all kind of foreign characters well in the database. For ex - ö, á, ú, ñ, ó,ç etc. I am currently using the collation as utf8_general_ci. But some characters like &quot;ö&quot; are not getting stored in their correct formats. I am confused if I shall change my collation to something different. I am using MySQL 5.5.<br />
<br />
I expect the experts here to help me deciding the best collation so that I always am able to store the characters in correct way in MySQL database.<br />
<br />
Thanks,<br />
Nitesh]]></description>
            <dc:creator>Nitesh Luharuka</dc:creator>
            <category>Quality Assurance</category>
            <pubDate>Fri, 26 Apr 2013 13:35:27 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?132,584841,584841#msg-584841</guid>
            <title>Disable Windows Event Logs (no replies)</title>
            <link>http://forums.mysql.com/read.php?132,584841,584841#msg-584841</link>
            <description><![CDATA[ The manual (http://dev.mysql.com/doc/refman/5.7/en/error-log.html) says about MySQL and Windows Event Logs:<br />
<br />
&gt; In addition, on Windows, events and error messages are written to the Windows Event Log within the Application log. Entries marked as Warning and Note are written to the Event Log, but not informational messages such as information statements from individual storage engines. These log entries have a source of MySQL. You cannot disable writing information to the Windows Event Log.<br />
<br />
This is no good. Forcing logs to be mirrored to the Windows Event Log not only wastes resources to make duplicate log entries, but it precludes the ability to create portable servers. Logging to the Event Log should be optional and configurable.]]></description>
            <dc:creator>MySQL User</dc:creator>
            <category>Quality Assurance</category>
            <pubDate>Thu, 25 Apr 2013 21:50:36 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?132,584783,584783#msg-584783</guid>
            <title>[Reg:- MySql Crash] (2 replies)</title>
            <link>http://forums.mysql.com/read.php?132,584783,584783#msg-584783</link>
            <description><![CDATA[ Hello,<br />
<br />
 I am facing with a problem of MySQL crash from past couple of months and there is no log generated regarding this issue, I have read several post related to this where they are asking to check disk space and memory space, but in my concern all are working fine and there is no issue with the memory space and disk space. After restarting MySQL it works but not getting the exact problem of the above issue.<br />
So please try to help me out to get out of this problem and tell me a solution so that it can be removed permanently.<br />
Thank's in advance<br />
<br />
Vaibhav]]></description>
            <dc:creator>Vaibhav Shree</dc:creator>
            <category>Quality Assurance</category>
            <pubDate>Fri, 26 Apr 2013 09:00:36 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?132,583391,583391#msg-583391</guid>
            <title>Client connection port (2 replies)</title>
            <link>http://forums.mysql.com/read.php?132,583391,583391#msg-583391</link>
            <description><![CDATA[ I have a problem with connection to MySql database from client machines. The server is configured to use default TCP port 3306. The problem is that clients connect to server using different ports (local?). Clients are located in subnetwork protected by router with access list. Some ports are blocked and it seems that clients try to use one of blocked port after some time. How is it possible? I see in workbench tool connections in the format xxx.xxx.xxx.xxx:port where port is different than 3306. Does anyone know why? Is any port forwarding involved at client machine? Server uses port 3306 but client machines some random ports and sooner or later it uses port blocked by access list.]]></description>
            <dc:creator>Wojciech Wiśniewski</dc:creator>
            <category>Quality Assurance</category>
            <pubDate>Mon, 08 Apr 2013 11:34:11 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?132,582289,582289#msg-582289</guid>
            <title>REPLACE INTO fails when data to be truncated is in the first row (2 replies)</title>
            <link>http://forums.mysql.com/read.php?132,582289,582289#msg-582289</link>
            <description><![CDATA[ REPLACE INTO will truncate data if it is too big for the datatype, and this is correct behaviour, it will then insert the rows into the table.<br />
<br />
If, however, the first row requires the data truncation all rows will fail to insert.<br />
<br />
Tested on 5.6 GA, Linux<br />
Tested on 5.5.27, Windows<br />
<br />
(Should I raise a bug report?)<br />
<br />
<br />
CREATE TABLE myTable (<br />
  `ID` int(11) NOT NULL ,<br />
  `parentID` int(11) unsigned NOT NULL,<br />
  PRIMARY KEY (`ID`)<br />
) ENGINE=MyISAM ;<br />
<br />
-- CORRECT BEHAVIOUR<br />
<br />
replace into myTable (ID, parentID) <br />
values <br />
( 1, 2),<br />
( 3, -1875802725),<br />
( 4, 5);<br />
<br />
-- returns 3 rows, with -1875802725 truncated to 0.<br />
select * from myTable ;<br />
<br />
-- clear the table for the second part of the test (use this or re-create the table if you deem this necessary)<br />
delete from myTable;<br />
<br />
-- INCORRECT BEHAVIOUR, BELOW<br />
<br />
-- change order of inserts such that truncated data is in first row <br />
replace into myTable (ID, parentID) <br />
values <br />
( 3, -1875802725),<br />
( 1, 2),<br />
( 4, 5);<br />
<br />
-- incorrectly returns 0 rows<br />
select * from myTable ;]]></description>
            <dc:creator>cresley battlelite</dc:creator>
            <category>Quality Assurance</category>
            <pubDate>Tue, 26 Mar 2013 00:58:41 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?132,582122,582122#msg-582122</guid>
            <title>MySQL is Flawed (no replies)</title>
            <link>http://forums.mysql.com/read.php?132,582122,582122#msg-582122</link>
            <description><![CDATA[ MySQL is flawed.<br />
<br />
for example, you cannot create a query that will allow you to have a parameter AND a wildcard:<br />
SELECT * FROM Names WHERE name LIKE % &amp; @PARAM1 &amp; %<br />
There is no way to accomplish a query such as this in MySQL.  So in order for me to have a search function for my users in my application, I have to create hundreds of queries of what I believe the user might search for.<br />
<br />
This is utterly useless.]]></description>
            <dc:creator>Marcus Reed</dc:creator>
            <category>Quality Assurance</category>
            <pubDate>Fri, 22 Mar 2013 15:40:01 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?132,581867,581867#msg-581867</guid>
            <title>Did you see &quot;Got error -1 from storage engine&quot;? (3 replies)</title>
            <link>http://forums.mysql.com/read.php?132,581867,581867#msg-581867</link>
            <description><![CDATA[ I moved my aplication from old server with MySQL 5.1 to new much more powerfull server where i run new MySQL 5.6.<br />
<br />
Now I'm getting couple of time per day strange error:<br />
<br />
&quot;Got error -1 from storage engine&quot;<br />
<br />
It happen only couple of times per day with simple queries like:<br />
<br />
UPDATE innoDbTable SET int_column = 1 WHERE primarykey = 96<br />
<br />
or<br />
<br />
INSERT INTO differentInnoTable (10cols) VALUES (10values)...<br />
<br />
When i see this error in my log i use exactly the same query from mysql console and it always work...<br />
<br />
<br />
Is there some diagnostic tool which i could try?<br />
<br />
Do you have any hints?<br />
<br />
Variables from my server:<br />
<br />
auto_increment_increment    1<br />
auto_increment_offset   1<br />
autocommit  ON<br />
automatic_sp_privileges ON<br />
back_log    350<br />
basedir /opt/mysql/server-5.6<br />
big_tables  OFF<br />
bind_address    *<br />
binlog_cache_size   32768<br />
binlog_checksum CRC32<br />
binlog_direct_non_transactional_updates OFF<br />
binlog_format   STATEMENT<br />
binlog_max_flush_queue_time 0<br />
binlog_order_commits    ON<br />
binlog_row_image    FULL<br />
binlog_rows_query_log_events    OFF<br />
binlog_stmt_cache_size  32768<br />
bulk_insert_buffer_size 8388608<br />
character_set_client    utf8<br />
character_set_connection    utf8<br />
character_set_database  latin1<br />
character_set_filesystem    binary<br />
character_set_results   utf8<br />
character_set_server    latin1<br />
character_set_system    utf8<br />
character_sets_dir  /opt/mysql/server-5.6/share/charsets/<br />
collation_connection    utf8_general_ci<br />
collation_database  latin1_swedish_ci<br />
collation_server    latin1_swedish_ci<br />
completion_type NO_CHAIN<br />
concurrent_insert   AUTO<br />
connect_timeout 10<br />
core_file   OFF<br />
datadir /var/lib/mysql/<br />
date_format %Y-%m-%d<br />
datetime_format %Y-%m-%d %H:%i:%s<br />
default_storage_engine  InnoDB<br />
default_tmp_storage_engine  InnoDB<br />
default_week_format 0<br />
delay_key_write ON<br />
delayed_insert_limit    100<br />
delayed_insert_timeout  300<br />
delayed_queue_size  1000<br />
disconnect_on_expired_password  ON<br />
div_precision_increment 4<br />
end_markers_in_json OFF<br />
enforce_gtid_consistency    OFF<br />
eq_range_index_dive_limit   10<br />
error_count 0<br />
event_scheduler OFF<br />
expire_logs_days    10<br />
explicit_defaults_for_timestamp OFF<br />
external_user   <br />
flush   OFF<br />
flush_time  0<br />
foreign_key_checks  ON<br />
ft_boolean_syntax   + -&gt;&lt;()~*:&quot;&quot;&amp;|<br />
ft_max_word_len 84<br />
ft_min_word_len 4<br />
ft_query_expansion_limit    20<br />
ft_stopword_file    (built-in)<br />
general_log ON<br />
general_log_file    /var/log/mysql/mysql.log<br />
group_concat_max_len    1024<br />
gtid_executed   <br />
gtid_mode   OFF<br />
gtid_next   AUTOMATIC<br />
gtid_owned  <br />
gtid_purged <br />
have_compress   YES<br />
have_crypt  YES<br />
have_dynamic_loading    YES<br />
have_geometry   YES<br />
have_openssl    DISABLED<br />
have_profiling  YES<br />
have_query_cache    YES<br />
have_rtree_keys YES<br />
have_ssl    DISABLED<br />
have_symlink    YES<br />
host_cache_size 678<br />
hostname    tik02<br />
identity    0<br />
ignore_builtin_innodb   OFF<br />
ignore_db_dirs  <br />
init_connect    <br />
init_file   <br />
init_slave  <br />
innodb_adaptive_flushing    ON<br />
innodb_adaptive_flushing_lwm    10<br />
innodb_adaptive_hash_index  ON<br />
innodb_adaptive_max_sleep_delay 150000<br />
innodb_additional_mem_pool_size 8388608<br />
innodb_api_bk_commit_interval   5<br />
innodb_api_disable_rowlock  OFF<br />
innodb_api_enable_binlog    OFF<br />
innodb_api_enable_mdl   OFF<br />
innodb_api_trx_level    0<br />
innodb_autoextend_increment 64<br />
innodb_autoinc_lock_mode    1<br />
innodb_buffer_pool_dump_at_shutdown OFF<br />
innodb_buffer_pool_dump_now OFF<br />
innodb_buffer_pool_filename ib_buffer_pool<br />
innodb_buffer_pool_instances    8<br />
innodb_buffer_pool_load_abort   OFF<br />
innodb_buffer_pool_load_at_startup  OFF<br />
innodb_buffer_pool_load_now OFF<br />
innodb_buffer_pool_size 33554432<br />
innodb_change_buffer_max_size   25<br />
innodb_change_buffering all<br />
innodb_checksum_algorithm   innodb<br />
innodb_checksums    ON<br />
innodb_cmp_per_index_enabled    OFF<br />
innodb_commit_concurrency   0<br />
innodb_compression_failure_threshold_pct    5<br />
innodb_compression_level    6<br />
innodb_compression_pad_pct_max  50<br />
innodb_concurrency_tickets  5000<br />
innodb_data_file_path   ibdata1:12M:autoextend<br />
innodb_data_home_dir    <br />
innodb_disable_sort_file_cache  OFF<br />
innodb_doublewrite  ON<br />
innodb_fast_shutdown    1<br />
innodb_file_format  Antelope<br />
innodb_file_format_check    ON<br />
innodb_file_format_max  Antelope<br />
innodb_file_per_table   ON<br />
innodb_flush_log_at_timeout 1<br />
innodb_flush_log_at_trx_commit  1<br />
innodb_flush_method <br />
innodb_flush_neighbors  1<br />
innodb_flushing_avg_loops   30<br />
innodb_force_load_corrupted OFF<br />
innodb_force_recovery   0<br />
innodb_ft_aux_table <br />
innodb_ft_cache_size    8000000<br />
innodb_ft_enable_diag_print OFF<br />
innodb_ft_enable_stopword   ON<br />
innodb_ft_max_token_size    84<br />
innodb_ft_min_token_size    3<br />
innodb_ft_num_word_optimize 2000<br />
innodb_ft_server_stopword_table <br />
innodb_ft_sort_pll_degree   2<br />
innodb_ft_user_stopword_table   <br />
innodb_io_capacity  200<br />
innodb_io_capacity_max  2000<br />
innodb_large_prefix OFF<br />
innodb_lock_wait_timeout    50<br />
innodb_locks_unsafe_for_binlog  OFF<br />
innodb_log_buffer_size  8388608<br />
innodb_log_file_size    50331648<br />
innodb_log_files_in_group   2<br />
innodb_log_group_home_dir   ./<br />
innodb_lru_scan_depth   1024<br />
innodb_max_dirty_pages_pct  75<br />
innodb_max_dirty_pages_pct_lwm  0<br />
innodb_max_purge_lag    0<br />
innodb_max_purge_lag_delay  0<br />
innodb_mirrored_log_groups  1<br />
innodb_monitor_disable  <br />
innodb_monitor_enable   <br />
innodb_monitor_reset    <br />
innodb_monitor_reset_all    <br />
innodb_old_blocks_pct   37<br />
innodb_old_blocks_time  1000<br />
innodb_online_alter_log_max_size    134217728<br />
innodb_open_files   2000<br />
innodb_optimize_fulltext_only   OFF<br />
innodb_page_size    16384<br />
innodb_print_all_deadlocks  OFF<br />
innodb_purge_batch_size 300<br />
innodb_purge_threads    1<br />
innodb_random_read_ahead    OFF<br />
innodb_read_ahead_threshold 56<br />
innodb_read_io_threads  4<br />
innodb_read_only    OFF<br />
innodb_replication_delay    0<br />
innodb_rollback_on_timeout  OFF<br />
innodb_rollback_segments    128<br />
innodb_sort_buffer_size 1048576<br />
innodb_spin_wait_delay  6<br />
innodb_stats_auto_recalc    ON<br />
innodb_stats_method nulls_equal<br />
innodb_stats_on_metadata    OFF<br />
innodb_stats_persistent ON<br />
innodb_stats_persistent_sample_pages    20<br />
innodb_stats_sample_pages   8<br />
innodb_stats_transient_sample_pages 8<br />
innodb_strict_mode  OFF<br />
innodb_support_xa   ON<br />
innodb_sync_array_size  1<br />
innodb_sync_spin_loops  30<br />
innodb_table_locks  ON<br />
innodb_thread_concurrency   0<br />
innodb_thread_sleep_delay   10000<br />
innodb_undo_directory   .<br />
innodb_undo_logs    128<br />
innodb_undo_tablespaces 0<br />
innodb_use_native_aio   ON<br />
innodb_use_sys_malloc   ON<br />
innodb_version  1.2.10<br />
innodb_write_io_threads 4<br />
insert_id   0<br />
interactive_timeout 28800<br />
join_buffer_size    262144<br />
keep_files_on_create    OFF<br />
key_buffer_size 16777216<br />
key_cache_age_threshold 300<br />
key_cache_block_size    1024<br />
key_cache_division_limit    100<br />
large_files_support ON<br />
large_page_size 0<br />
large_pages OFF<br />
last_insert_id  0<br />
lc_messages en_US<br />
lc_messages_dir /opt/mysql/server-5.6/share/<br />
lc_time_names   en_US<br />
license GPL<br />
local_infile    ON<br />
lock_wait_timeout   31536000<br />
locked_in_memory    OFF<br />
log_bin OFF<br />
log_bin_basename    <br />
log_bin_index   <br />
log_bin_trust_function_creators OFF<br />
log_bin_use_v1_row_events   OFF<br />
log_error   /var/lib/mysql/tik02.err<br />
log_output  FILE<br />
log_queries_not_using_indexes   ON<br />
log_slave_updates   OFF<br />
log_throttle_queries_not_using_indexes  0<br />
log_warnings    1<br />
long_query_time 2.000000<br />
low_priority_updates    OFF<br />
lower_case_file_system  OFF<br />
lower_case_table_names  0<br />
master_info_repository  FILE<br />
master_verify_checksum  OFF<br />
max_allowed_packet  33554432<br />
max_binlog_cache_size   18446744073709547520<br />
max_binlog_size 104857600<br />
max_binlog_stmt_cache_size  18446744073709547520<br />
max_connect_errors  100<br />
max_connections 1500<br />
max_delayed_threads 20<br />
max_error_count 64<br />
max_heap_table_size 16777216<br />
max_insert_delayed_threads  20<br />
max_join_size   18446744073709551615<br />
max_length_for_sort_data    1024<br />
max_prepared_stmt_count 16382<br />
max_relay_log_size  0<br />
max_seeks_for_key   18446744073709551615<br />
max_sort_length 1024<br />
max_sp_recursion_depth  0<br />
max_tmp_tables  32<br />
max_user_connections    0<br />
max_write_lock_count    18446744073709551615<br />
metadata_locks_cache_size   1024<br />
metadata_locks_hash_instances   8<br />
min_examined_row_limit  0<br />
multi_range_count   256<br />
myisam_data_pointer_size    6<br />
myisam_max_sort_file_size   9223372036853727232<br />
myisam_mmap_size    18446744073709551615<br />
myisam_recover_options  BACKUP<br />
myisam_repair_threads   1<br />
myisam_sort_buffer_size 8388608<br />
myisam_stats_method nulls_unequal<br />
myisam_use_mmap OFF<br />
net_buffer_length   16384<br />
net_read_timeout    30<br />
net_retry_count 10<br />
net_write_timeout   60<br />
new OFF<br />
old OFF<br />
old_alter_table OFF<br />
old_passwords   0<br />
open_files_limit    7500<br />
optimizer_prune_level   1<br />
optimizer_search_depth  62<br />
optimizer_switch    index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,engine_condition_pushdown=on,index_condition_pushdown=on,mrr=on,mrr_cost_based=on,block_nested_loop=on,batched_key_access=off,materialization=on,semijoin=on,loosescan=on,firstmatch=on,subquery_materialization_cost_based=on,use_index_extensions=on<br />
optimizer_trace enabled=off,one_line=off<br />
optimizer_trace_features    greedy_search=on,range_optimizer=on,dynamic_range=on,repeated_subselect=on<br />
optimizer_trace_limit   1<br />
optimizer_trace_max_mem_size    16384<br />
optimizer_trace_offset  -1<br />
performance_schema  ON<br />
performance_schema_accounts_size    100<br />
performance_schema_digests_size 10000<br />
performance_schema_events_stages_history_long_size  10000<br />
performance_schema_events_stages_history_size   10<br />
performance_schema_events_statements_history_long_size  10000<br />
performance_schema_events_statements_history_size   10<br />
performance_schema_events_waits_history_long_size   10000<br />
performance_schema_events_waits_history_size    10<br />
performance_schema_hosts_size   100<br />
performance_schema_max_cond_classes 80<br />
performance_schema_max_cond_instances   6900<br />
performance_schema_max_file_classes 50<br />
performance_schema_max_file_handles 32768<br />
performance_schema_max_file_instances   2154<br />
performance_schema_max_mutex_classes    200<br />
performance_schema_max_mutex_instances  14000<br />
performance_schema_max_rwlock_classes   30<br />
performance_schema_max_rwlock_instances 5800<br />
performance_schema_max_socket_classes   10<br />
performance_schema_max_socket_instances 3020<br />
performance_schema_max_stage_classes    150<br />
performance_schema_max_statement_classes    167<br />
performance_schema_max_table_handles    4000<br />
performance_schema_max_table_instances  12500<br />
performance_schema_max_thread_classes   50<br />
performance_schema_max_thread_instances 3100<br />
performance_schema_session_connect_attrs_size   512<br />
performance_schema_setup_actors_size    100<br />
performance_schema_setup_objects_size   100<br />
performance_schema_users_size   100<br />
pid_file    /var/run/mysqld/mysqld.pid<br />
plugin_dir  /opt/mysql/server-5.6/lib/plugin/<br />
port    3306<br />
preload_buffer_size 32768<br />
profiling   OFF<br />
profiling_history_size  15<br />
protocol_version    10<br />
proxy_user  <br />
pseudo_slave_mode   OFF<br />
pseudo_thread_id    43865<br />
query_alloc_block_size  8192<br />
query_cache_limit   1048576<br />
query_cache_min_res_unit    4096<br />
query_cache_size    16777216<br />
query_cache_type    OFF<br />
query_cache_wlock_invalidate    OFF<br />
query_prealloc_size 8192<br />
rand_seed1  0<br />
rand_seed2  0<br />
range_alloc_block_size  4096<br />
read_buffer_size    131072<br />
read_only   OFF<br />
read_rnd_buffer_size    262144<br />
relay_log   <br />
relay_log_basename  <br />
relay_log_index <br />
relay_log_info_file relay-log.info<br />
relay_log_info_repository   FILE<br />
relay_log_purge ON<br />
relay_log_recovery  OFF<br />
relay_log_space_limit   0<br />
report_host <br />
report_password <br />
report_port 3306<br />
report_user <br />
secure_auth ON<br />
secure_file_priv    <br />
server_id   0<br />
server_id_bits  32<br />
server_uuid 01fac1d2-8b69-11e2-8a99-00163e10de95<br />
skip_external_locking   ON<br />
skip_name_resolve   ON<br />
skip_networking OFF<br />
skip_show_database  OFF<br />
slave_allow_batching    OFF<br />
slave_checkpoint_group  512<br />
slave_checkpoint_period 300<br />
slave_compressed_protocol   OFF<br />
slave_exec_mode STRICT<br />
slave_load_tmpdir   /tmp<br />
slave_max_allowed_packet    1073741824<br />
slave_net_timeout   3600<br />
slave_parallel_workers  0<br />
slave_pending_jobs_size_max 16777216<br />
slave_rows_search_algorithms    TABLE_SCAN,INDEX_SCAN<br />
slave_skip_errors   OFF<br />
slave_sql_verify_checksum   ON<br />
slave_transaction_retries   10<br />
slave_type_conversions  <br />
slow_launch_time    2<br />
slow_query_log  ON<br />
slow_query_log_file /var/log/mysql/mysql-slow.log<br />
socket  /var/run/mysqld/mysqld.sock<br />
sort_buffer_size    262144<br />
sql_auto_is_null    OFF<br />
sql_big_selects ON<br />
sql_buffer_result   OFF<br />
sql_log_bin ON<br />
sql_log_off OFF<br />
sql_mode    STRICT_TRANS_TABLES,NO_ENGINE_SUBSTITUTION<br />
sql_notes   ON<br />
sql_quote_show_create   ON<br />
sql_safe_updates    OFF<br />
sql_select_limit    18446744073709551615<br />
sql_slave_skip_counter  0<br />
sql_warnings    OFF<br />
ssl_ca  <br />
ssl_capath  <br />
ssl_cert    <br />
ssl_cipher  <br />
ssl_crl <br />
ssl_crlpath <br />
ssl_key <br />
storage_engine  InnoDB<br />
stored_program_cache    256<br />
sync_binlog 0<br />
sync_frm    ON<br />
sync_master_info    10000<br />
sync_relay_log  10000<br />
sync_relay_log_info 10000<br />
system_time_zone    CET<br />
table_definition_cache  1400<br />
table_open_cache    2000<br />
table_open_cache_instances  1<br />
thread_cache_size   8<br />
thread_concurrency  10<br />
thread_handling one-thread-per-connection<br />
thread_stack    262144<br />
time_format %H:%i:%s<br />
time_zone   SYSTEM<br />
timed_mutexes   OFF<br />
timestamp   1363551365.087333<br />
tmp_table_size  16777216<br />
tmpdir  /tmp<br />
transaction_alloc_block_size    8192<br />
transaction_allow_batching  OFF<br />
transaction_prealloc_size   4096<br />
tx_isolation    REPEATABLE-READ<br />
tx_read_only    OFF<br />
unique_checks   ON<br />
updatable_views_with_limit  YES<br />
version 5.6.10-log<br />
version_comment MySQL Community Server (GPL)<br />
version_compile_machine x86_64<br />
version_compile_os  debian6.0<br />
wait_timeout    28800<br />
warning_count   0]]></description>
            <dc:creator>Karel Dytrych</dc:creator>
            <category>Quality Assurance</category>
            <pubDate>Thu, 11 Apr 2013 11:07:50 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?132,581426,581426#msg-581426</guid>
            <title>After 8 hour mysql error: MYSQL server has gone away (no replies)</title>
            <link>http://forums.mysql.com/read.php?132,581426,581426#msg-581426</link>
            <description><![CDATA[ I use twisted dbpool to connect to mysql. However, every morning my program throw &quot;Mysql server has gone away&quot; exception.<br />
    the reference say that mysql 5.5 disable reconnect and will kill the idle connection.<br />
    can any body tell me how to configure the mysql to enable the reconnect?]]></description>
            <dc:creator>Steven Wu</dc:creator>
            <category>Quality Assurance</category>
            <pubDate>Fri, 15 Mar 2013 13:09:09 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?132,581425,581425#msg-581425</guid>
            <title>create memory engine table slow (no replies)</title>
            <link>http://forums.mysql.com/read.php?132,581425,581425#msg-581425</link>
            <description><![CDATA[ It's strange that it took 0.53 second when I created a memory engine table.The sql I used is bollow:<br />
<br />
&gt; use test;<br />
&gt; create table test_para(para0 integer, para1 integer, para2 integer, para3 integer, para4 integer, para5 integer) engine = memory;<br />
<br />
sometimes, it took 0.08 second, but most of the time it took 0.53 second.<br />
<br />
   can any body tell me the reason and how to solve?]]></description>
            <dc:creator>Steven Wu</dc:creator>
            <category>Quality Assurance</category>
            <pubDate>Fri, 15 Mar 2013 13:02:31 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?132,580299,580299#msg-580299</guid>
            <title>some SQL are not caught in the query-slow.log (no replies)</title>
            <link>http://forums.mysql.com/read.php?132,580299,580299#msg-580299</link>
            <description><![CDATA[ when I turn on the slow_query_log_file ,and found lots of SQL is not caught in the file , as followed:<br />
I want to know : how can I find the missed SQL( there is only commit).<br />
<br />
the server version:  mysql  Ver 14.14 Distrib 5.1.32, for unknown-linux-gnu (x86_64) using readline 5.1<br />
main parameters:  binlog_format=mixed<br />
<br />
<br />
thanks!<br />
<br />
# Time: 130301  6:51:58<br />
# User@Host: dingzhic[dingzhic] @  [192.168.1.106]<br />
# Query_time: 1.768163  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0<br />
SET timestamp=1362091918;<br />
commit;<br />
# User@Host: dingzhic[dingzhic] @  [127.0.0.1]<br />
# Query_time: 1.545211  Lock_time: 0.000039 Rows_sent: 0  Rows_examined: 0<br />
SET timestamp=1362091918;<br />
CALL loginUpdate2(582272,null,'192.168.1.125',0,'','',1);<br />
# Time: 130301  6:54:37<br />
# User@Host: dingzhic[dingzhic] @  [192.168.1.106]<br />
# Query_time: 1.137814  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0<br />
SET timestamp=1362092077;<br />
commit;]]></description>
            <dc:creator>tiger zhang</dc:creator>
            <category>Quality Assurance</category>
            <pubDate>Fri, 01 Mar 2013 03:34:34 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?132,579068,579068#msg-579068</guid>
            <title>How to Restoring The Database in My Sql. (5 replies)</title>
            <link>http://forums.mysql.com/read.php?132,579068,579068#msg-579068</link>
            <description><![CDATA[ Hi<br />
<br />
How to Restore the My Sql Database Through Query Not a Command Line.<br />
<br />
I want to Execute My Sql Work Bench.]]></description>
            <dc:creator>Jaya kumar</dc:creator>
            <category>Quality Assurance</category>
            <pubDate>Wed, 24 Apr 2013 17:34:58 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?132,578750,578750#msg-578750</guid>
            <title>I want to make two database in under one database (no replies)</title>
            <link>http://forums.mysql.com/read.php?132,578750,578750#msg-578750</link>
            <description><![CDATA[ Hello all of you,<br />
I am new to mysql as well as to this forum. I am facing a problem in mysql, i want to make two databases under one database so that my CRM can fetch old and new customers and new customers separately from two databases. I want to make to databases like this in phpmyadmin on localhost -<br />
<br />
Main database (note it does not contain tables, nor it is clickable)<br />
      Sub database 1 (it contains tables)<br />
      Sub database 2 (it contains tables)<br />
<br />
Plz help me doing this. <br />
<br />
Thanks...!!!!]]></description>
            <dc:creator>Kaleem Mohd</dc:creator>
            <category>Quality Assurance</category>
            <pubDate>Fri, 08 Feb 2013 11:37:50 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?132,578581,578581#msg-578581</guid>
            <title>Add char ' as a letter to utf8 collation for FULL-Text search (no replies)</title>
            <link>http://forums.mysql.com/read.php?132,578581,578581#msg-578581</link>
            <description><![CDATA[ I need add char ' (apostrophe) as a letter to utf8 collation to full-text search strings like &quot;ab'cd&quot;.<br />
<br />
I read docs (http://dev.mysql.com/doc/refman/5.0/en/fulltext-fine-tuning.html and others) but still don't know how I can do this.<br />
<br />
For non-Unicode charsets we can do like this <a href="http://dev.mysql.com/doc/refman/5.0/en/full-text-adding-collation.html"  rel="nofollow">http://dev.mysql.com/doc/refman/5.0/en/full-text-adding-collation.html</a>. But there is no something like utf8.xml on my /usr/share/mysql/charsets.<br />
<br />
I can't recompile mysql on server.<br />
<br />
How can I do this?.. Thanks.]]></description>
            <dc:creator>Alexey Russkin</dc:creator>
            <category>Quality Assurance</category>
            <pubDate>Wed, 06 Feb 2013 14:47:48 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?132,578437,578437#msg-578437</guid>
            <title>mysqld got signal 11 (no replies)</title>
            <link>http://forums.mysql.com/read.php?132,578437,578437#msg-578437</link>
            <description><![CDATA[ The MySQL server crashed earlier and has logged a backtrace I'm just wondering if anyone is able to provide any insight into what may have been the cause of the crash please? It looke to me like it's something to do with query caching?<br />
<br />
13:16:38 UTC - mysqld got signal 11 ;<br />
This could be because you hit a bug. It is also possible that this binary<br />
or one of the libraries it was linked against is corrupt, improperly built,<br />
or misconfigured. This error can also be caused by malfunctioning hardware.<br />
We will try our best to scrape up some info that will hopefully help<br />
diagnose the problem, but since we have already crashed,<br />
something is definitely wrong and this may fail.<br />
<br />
key_buffer_size=8388608<br />
read_buffer_size=131072<br />
max_used_connections=67<br />
max_threads=2000<br />
thread_count=45<br />
connection_count=45<br />
It is possible that mysqld could use up to<br />
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 4382988 K  bytes of memory<br />
Hope that's ok; if not, decrease some variables in the equation.<br />
<br />
Thread pointer: 0x62685b0<br />
Attempting backtrace. You can use the following information to find out<br />
where mysqld died. If you see no messages after this, something went<br />
terribly wrong...<br />
stack_bottom = 7fa9580cbd98 thread_stack 0x40000<br />
/usr/libexec/mysqld(my_print_stacktrace+0x2e)[0x78569e]<br />
/usr/libexec/mysqld(handle_fatal_signal+0x493)[0x66faf3]<br />
/lib64/libpthread.so.0[0x304200f500]<br />
/usr/libexec/mysqld(my_hash_delete+0x292)[0x76f352]<br />
/usr/libexec/mysqld(_ZN11Query_cache10free_queryEP17Query_cache_block+0x20)[0x554260]<br />
/usr/libexec/mysqld(_ZN11Query_cache14free_old_queryEv+0x64)[0x5542e4]<br />
/usr/libexec/mysqld(_ZN11Query_cache14allocate_blockEmcm+0x98)[0x554398]<br />
/usr/libexec/mysqld(_ZN11Query_cache19allocate_data_chainEPP17Query_cache_blockmS1_c+0x95)[0x554445]<br />
/usr/libexec/mysqld(_ZN11Query_cache17write_result_dataEPP17Query_cache_blockmPhS1_NS0_10block_typeE+0x27)[0x5546f7]<br />
/usr/libexec/mysqld(_ZN11Query_cache18append_result_dataEPP17Query_cache_blockmPhS1_+0x166)[0x5548f6]<br />
/usr/libexec/mysqld(_ZN11Query_cache6insertEP15Query_cache_tlsPKcmj+0x133)[0x556e83]<br />
/usr/libexec/mysqld(net_real_write+0x3e)[0x51baae]<br />
/usr/libexec/mysqld(net_flush+0x1b)[0x51bdab]<br />
/usr/libexec/mysqld(_Z12net_send_eofP3THDjj+0x68)[0x520658]<br />
/usr/libexec/mysqld(_ZN8Protocol13end_statementEv+0x95)[0x51f8a5]<br />
/usr/libexec/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcj+0x1ae)[0x584b6e]<br />
/usr/libexec/mysqld(_Z24do_handle_one_connectionP3THD+0xd2)[0x614ea2]<br />
/usr/libexec/mysqld(handle_one_connection+0x50)[0x614fb0]<br />
/lib64/libpthread.so.0[0x3042007851]<br />
/lib64/libc.so.6(clone+0x6d)[0x30418e811d]<br />
<br />
Trying to get some variables.<br />
Some pointers may be invalid and cause the dump to abort.<br />
Query (7fa7d0004c30): is an invalid pointer<br />
Connection ID (thread ID): 275357<br />
Status: NOT_KILLED]]></description>
            <dc:creator>Tim Harvey</dc:creator>
            <category>Quality Assurance</category>
            <pubDate>Mon, 04 Feb 2013 17:08:49 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?132,578240,578240#msg-578240</guid>
            <title>Chinese Characters in mysql ? (1 reply)</title>
            <link>http://forums.mysql.com/read.php?132,578240,578240#msg-578240</link>
            <description><![CDATA[ Hello All,<br />
<br />
am new to mysql.Am trying to insert Chinese Characters to my table in mysql DB.<br />
 The query is as follows,<br />
  insert into tbltest values(1893,'太原星河湾酒店 ','asgvsd');<br />
<br />
but once inserted th chinese characters are displayed as '??????'.<br />
<br />
I executed the following,<br />
<br />
<br />
ALTER DATABASE testtb CHARACTER SET utf8 COLLATE utf8_general_ci;<br />
<br />
ALTER TABLE tbltest CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;]]></description>
            <dc:creator>Loga Guhan</dc:creator>
            <category>Quality Assurance</category>
            <pubDate>Fri, 15 Feb 2013 13:43:41 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?132,578126,578126#msg-578126</guid>
            <title>SQL ERROR (no replies)</title>
            <link>http://forums.mysql.com/read.php?132,578126,578126#msg-578126</link>
            <description><![CDATA[ I am running a forum at  <a href="http://www.sbellast.com/forum/"  rel="nofollow">http://www.sbellast.com/forum/</a><br />
<br />
<br />
SQL ERROR [ mysql4 ]<br />
<br />
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) [2002]<br />
<br />
An sql error occurred while fetching this page. Please contact an administrator if this problem persists.<br />
<br />
<br />
What should I do? Does this error show up often?]]></description>
            <dc:creator>First Last</dc:creator>
            <category>Quality Assurance</category>
            <pubDate>Tue, 29 Jan 2013 08:18:42 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?132,577828,577828#msg-577828</guid>
            <title>MySQL data files loss after server reboot (no replies)</title>
            <link>http://forums.mysql.com/read.php?132,577828,577828#msg-577828</link>
            <description><![CDATA[ Hi Expert,<br />
<br />
I have the question about the data files on MySQL loss after server had accident reboot. <br />
<br />
After server up, I tried to bring up the mysql instance but it couldn't because the all data files loss. During startup, <br />
<br />
I found the message<br />
--- clip ---<br />
Jan  5 03:30:38 PL_2_8 mysqld: mysqld: Table 'mysql.plugin' doesn't exist<br />
Jan  5 03:30:38 PL_2_8 mysqld: 130105  3:30:38 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.  Is it safe to run this <br />
Jan  5 03:30:38 PL_2_8 mysqld: 130105  3:30:38 [Note] NDB: NodeID is 10, management server '10.1.1.10:2372'<br />
Jan  5 03:30:39 PL_2_8 mysqld: 130105  3:30:39 [Note] NDB[0]: NodeID: 10, all storage nodes connected<br />
Jan  5 03:30:39 PL_2_8 mysqld: 130105  3:30:39 [Note] Starting Cluster Binlog Thread<br />
Jan  5 03:30:39 PL_2_8 mysqld: 130105  3:30:39 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist<br />
<br />
--- clap ---<br />
<br />
After I saw this message, I went to look inside the data files and found it missing.<br />
<br />
root# du -sh mysqldMaster/*<br />
4.0M    mysqldMaster/binlogs<br />
4.0K    mysqldMaster/data<br />
4.0K    mysqldMaster/tmp<br />
<br />
root# pwd<br />
/local/cudb/mysql/mysqldMaster/data<br />
root# ls -al<br />
total 8<br />
drwxr-xr-x 2 mysql root 4096 Jan  5 03:35 .<br />
drwxr-xr-x 5 mysql root 4096 Jan  5 03:35 ..<br />
--- clap ---<br />
<br />
<br />
Any one has experience similar this and any cause of this data file loss?]]></description>
            <dc:creator>Anuchapong Maknuan</dc:creator>
            <category>Quality Assurance</category>
            <pubDate>Thu, 24 Jan 2013 13:54:22 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?132,577550,577550#msg-577550</guid>
            <title>MAC Address from Server(MySQL Instance) (no replies)</title>
            <link>http://forums.mysql.com/read.php?132,577550,577550#msg-577550</link>
            <description><![CDATA[ Hi,<br />
<br />
<br />
     Someone knows how to get the mac address from the machine that MySQL is running?<br />
<br />
Thanks.]]></description>
            <dc:creator>Nivaldo Ribeiro</dc:creator>
            <category>Quality Assurance</category>
            <pubDate>Fri, 18 Jan 2013 19:47:56 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?132,576615,576615#msg-576615</guid>
            <title>Question of multiple registers (no replies)</title>
            <link>http://forums.mysql.com/read.php?132,576615,576615#msg-576615</link>
            <description><![CDATA[ I was just wondering, From a html/php registration page, it sends the information to a mysql database, So basically my question is. <br />
<br />
Are you able to register one time, So that it will post the data to the first database, then the first database will post it to the numerous databases that you want after that?]]></description>
            <dc:creator>Jason Reynolds</dc:creator>
            <category>Quality Assurance</category>
            <pubDate>Fri, 28 Dec 2012 21:00:55 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?132,576345,576345#msg-576345</guid>
            <title>Relay_log fast execution (no replies)</title>
            <link>http://forums.mysql.com/read.php?132,576345,576345#msg-576345</link>
            <description><![CDATA[ hello<br />
i am adeela sahar working as DBA on mysql. i found a problem that in replication, slave have to wait for long time till the relay_log executes all queries on it. why mysql dont have any speedup execution parameter for relay_log, so that on demand slave can execute transactions and queries or any multi-threaded mechanism.<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
Adeela]]></description>
            <dc:creator>Adeela Syeda</dc:creator>
            <category>Quality Assurance</category>
            <pubDate>Thu, 20 Dec 2012 07:36:30 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?132,576180,576180#msg-576180</guid>
            <title>Rename server (no replies)</title>
            <link>http://forums.mysql.com/read.php?132,576180,576180#msg-576180</link>
            <description><![CDATA[ New computer. The server name ended up &quot;host&quot; and all my connections are for &quot;localhost&quot;.<br />
How can I change the host name?<br />
Windows7]]></description>
            <dc:creator>John Ince</dc:creator>
            <category>Quality Assurance</category>
            <pubDate>Sun, 16 Dec 2012 21:03:22 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?132,575505,575505#msg-575505</guid>
            <title>mySql query execution plan (no replies)</title>
            <link>http://forums.mysql.com/read.php?132,575505,575505#msg-575505</link>
            <description><![CDATA[ Hello, <br />
<br />
We are trying to build a small standard data mart model using ti kimball approach on a mySql database .. however the performace of the model is pretty slow.<br />
<br />
After some investigation we found out that the performace issue its because mySql is not providing us the best execution plans.<br />
<br />
Or model is as per following:<br />
<br />
	Create table fact <br />
	(date_id int<br />
	, dim1_id int<br />
	, dim2_id int<br />
	, dim3_id int<br />
	, measure1 int<br />
	, measure2 int)<br />
	partition by date_id<br />
	;<br />
	-- =~10000 per day/partition<br />
<br />
	Create table dim1<br />
	( dim1_id int<br />
	, dim1_name varchar(50 char)<br />
	, dim1_desc varchar(250 char)<br />
	)<br />
	;<br />
	-- 300 records<br />
<br />
	Create table dim2<br />
	( dim2_id int<br />
	, dim2_name varchar(50 char)<br />
	, dim2_desc varchar(250 char)<br />
	)<br />
	;<br />
	-- 50 records<br />
<br />
	Create table dim3<br />
	( dim3_id int<br />
	, dim3_name varchar(50 char)<br />
	, dim3_desc varchar(250 char)<br />
	)<br />
	;<br />
	-- 25 records<br />
<br />
when we run the following query:<br />
<br />
	select t2.dim1_name, t3.dim2_name, t4.dim3_name, sum(t1.measure1)<br />
	from fact t1<br />
			inner join dim1 t2 on t1.dim1_id = t2.dim1_id<br />
			inner join dim2 t3 on t1.dim2_id = t3.dim2_id<br />
			inner join dim3 t4 on t1.dim3_id = t4.dim3_id<br />
	where t1.date_id = 20120401<br />
			and t1.dim1_id = 99	<br />
	group by t2.dim1_name, t3.dim2_name, t4.dim3_name<br />
	;<br />
<br />
the execution plan that we have is:<br />
<br />
'1', 'SIMPLE', 't4', 'ALL', NULL, NULL, NULL, NULL, '25', 'Using temporary; Using filesort'<br />
'1', 'SIMPLE', 't3', 'ALL', NULL, NULL, NULL, NULL, '50', 'Using join buffer'<br />
'1', 'SIMPLE', 't2', 'ALL', NULL, NULL, NULL, NULL, '300', 'Using where; Using join buffer'<br />
'1', 'SIMPLE', 't1', 'ALL', NULL, NULL, NULL, NULL, '10532', 'Using where; Using join buffer'<br />
<br />
which it is far from being the best one .... since it's joining dim1 with dim2 with dim3 where there is no joining link ..<br />
<br />
is there any way for us to manipulate the mySql resolver in order to get better execution plans .. <br />
we were expecting it to return something like:<br />
<br />
'1', 'SIMPLE', 't2', 'ALL', NULL, NULL, NULL, NULL, '300', 'Using where; Using join buffer'<br />
'1', 'SIMPLE', 't1', 'ALL', NULL, NULL, NULL, NULL, '10532', 'Using where; Using join buffer'<br />
'1', 'SIMPLE', 't4', 'ALL', NULL, NULL, NULL, NULL, '25', 'Using temporary; Using filesort'<br />
'1', 'SIMPLE', 't3', 'ALL', NULL, NULL, NULL, NULL, '50', 'Using join buffer'<br />
<br />
We've tried to play arround with the variable <br />
 - optimizer_prune_level<br />
 - optimizer_search_depth<br />
 - optimizer_switch<br />
 <br />
 with no success.<br />
 <br />
 thanks in advance for you help.<br />
 <br />
 Regards,<br />
 Carlos]]></description>
            <dc:creator>Carlos Bras</dc:creator>
            <category>Quality Assurance</category>
            <pubDate>Fri, 07 Dec 2012 09:52:09 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?132,574965,574965#msg-574965</guid>
            <title>How to import views - fedora phpmyadmin (no replies)</title>
            <link>http://forums.mysql.com/read.php?132,574965,574965#msg-574965</link>
            <description><![CDATA[ Hi everyone outthere,<br />
<br />
I am shifting database from one machine to another machine.<br />
My os is fedora 7. The both machine have same os &amp; alomot same configuration.<br />
<br />
when I am importing table in phpmyadmin, they are imported successfully.<br />
But when I am importing views they giving me error.How can I fix this.Please help me out.<br />
<br />
The error==&gt;<br />
SQL query:<br />
<br />
--<br />
-- Database: `Trovit`<br />
--<br />
-- --------------------------------------------------------<br />
--<br />
-- Stand-in structure for view `QC_Daily_Count`<br />
--<br />
CREATE TABLE IF NOT EXISTS `QC_Daily_Count` (<br />
`qcd_engineer` NULL ,<br />
`QC_daily_Count` bigint( 21 )<br />
);<br />
<br />
MySQL said: Documentation<br />
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'null<br />
,`QC_daily_Count` bigint(21)<br />
)' at line 2 <br />
<br />
--------------------------------------------------------------------------------<br />
I also use command mysqldump but same error occured.<br />
mysql Trovit -u root -p &lt; QC_Daily_Count.sql<br />
<br />
<br />
Please help me out.<br />
any suggesstion are helpful.<br />
thanks in advance.]]></description>
            <dc:creator>waseem baraskar</dc:creator>
            <category>Quality Assurance</category>
            <pubDate>Fri, 30 Nov 2012 11:25:18 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?132,574771,574771#msg-574771</guid>
            <title>mysql query (1 reply)</title>
            <link>http://forums.mysql.com/read.php?132,574771,574771#msg-574771</link>
            <description><![CDATA[ &gt;create table emp(empid int,name varchar2(10));<br />
insert into emp values (1,'uday'),(2,'kumar');<br />
<br />
Q) why the o/p is (colomun name as 3 and data as 3)<br />
&gt;select 3 from emp; <br />
<br />
<br />
<br />
please any one help me out .]]></description>
            <dc:creator>uday vanaparthi</dc:creator>
            <category>Quality Assurance</category>
            <pubDate>Wed, 28 Nov 2012 10:32:33 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?132,574613,574613#msg-574613</guid>
            <title>MySQL Vs My Laptop (no replies)</title>
            <link>http://forums.mysql.com/read.php?132,574613,574613#msg-574613</link>
            <description><![CDATA[ I used &quot;HP 650 C5Q32PA core i3-3110M 4GB, 500GB, 15.6&quot;HD, Intel HD 3000, DVDRW, WL, BT, WC, Win8 Home 64Bit&quot; Laptop but I don't know what is the problem with my PC SQL can't work properly,some important feature don't worked.I don't know why here is my laptop &gt;&gt; <a href="http://penta.com.au/cheap-laptop/hp-650-c5q32pa-core-i3-3110m-4gb-500gb-15-6-hd-intel-hd-3000-dvdrw-wl-bt-wc-win8-home-64bit-1yr-p-95116.No"  rel="nofollow">http://penta.com.au/cheap-laptop/hp-650-c5q32pa-core-i3-3110m-4gb-500gb-15-6-hd-intel-hd-3000-dvdrw-wl-bt-wc-win8-home-64bit-1yr-p-95116.No</a> doubet The Laptop is super one but............ help me please.]]></description>
            <dc:creator>Graeme Matthew</dc:creator>
            <category>Quality Assurance</category>
            <pubDate>Mon, 26 Nov 2012 05:09:06 +0000</pubDate>
        </item>
    </channel>
</rss>
