the amount of data reaches a certain level, then moving the library will be a very prudent and dangerous job. It is a very difficult problem to ensure the consistency of the data, the processing of various emergencies and the change of data in the process of moving the library.2.1: Insert data when the data migration, there will be a re-import of big data, you can choose the direct load file, sometimes you may need to insert code. At this point, you need to optimize the INSERT statement. This t
The Table Cache
--------------------------------------------------------------------------------Table cache objects: tables
Each cached object contains the parsing result of the related table. frm file, and some other data is added.
To be accurate, the content of other data
MySQL Cache Optimization (continued) and mysql Cache Optimization
MySQL is cached everywhere. When can I read the MySQL source code and analyze in detail how the cache is used. This par
the SELECT statement. (5) query_cache_wlock_invalidate: determines whether to invalidate the Query Cache related to the table when a write lock occurs on the table. If it is set to 1 (TRUE ), when the write lock is performed, all Query Cache related to the table will be inv
Analysis of MySQL memory usage (global cache + thread cache) bitsCN.com
First, let's take a look at the formula. MySQL memory is divided into two parts: global memory and thread memory (not all, but the most influential part ):Per_thread_buffers = (read_buffer_size + read_rnd_buffer_size + sort_buffer_size + thread_sta
the cache.Type: Specifies the full class name of the custom cache. Implement the Cache interface.The 3.pojo needs to implement a sequence-swapping interface.and cache-related Configuration/properties:1.cacheenabled: If False, turn off level two cache without shutting down the first level
MySQL cache classification and configuration, MySQL cache classification Configuration
Reading Notes to be supplemented
MySQL cache categoryInnoDB Buffer PoolOperating system cache of
MySQL query cache settings improve MySQL query performance and cache mysql
First, let's take a look at the MSYQL logical framework: The image comes from high-performance mysql
If QueryCache is used, the server will retrieve
MAC address table of switch 2 records the MAC address of host A and Host B corresponds to the interface F 0/1. Summary: From the above two pictures can be seen, the switch has the ability to dynamically learn the source MAC address, and one interface of the switch can correspond to multiple MAC addresses, but a MAC address can only one interface.Note: The MAC address of switch dynamic learning is only valid for 300S by default, and if there is no com
address table of switch 2 records the MAC address of host A and Host B corresponds to the interface F 0/1.Summary: From the above two pictures can be seen, the switch has the ability to dynamically learn the source MAC address, and one interface of the switch can correspond to multiple MAC addresses, but a MAC address can only one interface.Note: The MAC address of switch dynamic learning is only valid for 300S by default, and if there is no communic
communication is a unicast transmission of data frames, Host B and host C communication as described above, so the MAC address table of switch 2 records the MAC address of host A and Host B corresponds to the interface F 0/1.Summary: From the above two pictures can be seen, the switch has the ability to dynamically learn the source MAC address, and one interface of the switch can correspond to multiple MAC addresses, but a MAC address can only one in
host C to their MAC address table and send the data frame to host A in the form of unicast.
5) at this time, the communication between host A and host C is A unicast transmission of data frames. The communication between host B and host C is the same as the above process, therefore, the MAC address table of vswitch 2 records that the MAC addresses of host A and host B correspond to interface f 0/1.
Conclus
MySQL query cache and MySQL Cache
MySQL query cache improves the performance of a single node in just a few ways. The cache is the first, because the memory performance is much higher t
address table of switch 2 records the MAC address of host A and Host B corresponds to the interface F 0/1.Summary: From the above two pictures can be seen, the switch has the ability to dynamically learn the source MAC address, and one interface of the switch can correspond to multiple MAC addresses, but a MAC address can only one interface.Note: The MAC address of switch dynamic learning is only valid for 300S by default, and if there is no communic
cached;(2) query_cache_min_res_unit: sets the minimum memory size allocated by the Query Cache each time, that is, the minimum memory space occupied by the Cache for each Query;(3) query_cache_size: Set the memory size used by the Query Cache. The default value is 0. The size must be an integer multiple of 1024. If it is not an integer multiple,
. This 2011-year record will not affect the 2010 partition table. At this point, if the user repeatedly query the shipment information for 2010, as long as they use the same SQL statement (no different query criteria), then you can enjoy the benefits of caching mechanism, improve the application system query effect.Three, the impact of multiple applications on the cache.Typically, the cache for the
internal temporary disk table is a MyISAM table. You can use the check status value 'created _ tmp_disk_tables 'to learn the details.Innodb_buffer_pool_size:InnoDB uses this parameter to specify the memory size to buffer data and indexes. This is the most influential parameter in the Innodb engine.Innodb_additional_mem_pool_size: memory pool size used by InnoDB to store data dictionaries and other internal
the internal temporary disk table is a MyISAM table. You can use the check status value 'created _ tmp_disk_tables 'to learn the details.
Innodb_buffer_pool_size:InnoDB uses this parameter to specify the memory size to buffer data and indexes. This is the most influential parameter in the Innodb engine.
Innodb_additional_mem_pool_size: memory pool size used by InnoDB to store data dictionaries and other in
temporary disk table is the MyISAM table, and you also use this value. You can use the Check status value ' Created_tmp_disk_tables ' for details.
innodb_buffer_pool_size:InnoDB uses this parameter to specify the size of memory to buffer the data and index, which is the most performance-affecting parameter in the InnoDB engine.
Innodb_additional_mem_pool_size: Specifies the size of the memory pool that
Label: MySQL Memory usage instructions (global cache + thread cache) First, let's look at a formula in which the memory in MySQL is divided into global memory and thread memory (in fact not all, just the larger part):Per_thread_buffers= (read_buffer_size+read_rnd_buffer_size+sort_buffer_size+thread_stack+join_buffer_si
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.