-
MySQL Full Vs Incremental Backups
A full backup includes all data managed by a MySQL server at a given point in time. An incremental backup consists of the changes made to the data during a given time span (from one point in time to another). MySQL has different ways to perform full backups, such as those described earlier in this…
-
MySQL Full Versus Point-in-Time (Incremental) Recovery
A full recovery restores all data from a full backup. This restores the server instance to the state that it had when the backup was made. If that state is not sufficiently current, a full recovery can be followed by recovery of incremental backups made since the full backup, to bring the server to a…
-
SHOW PROCESSLIST Statement
The MySQL process list indicates the operations currently being performed by the set of threads executing within the server. The SHOW PROCESSLIST statement is one source of process information. For a comparison of this statement with other sources, see Sources of Process Information. If you have the PROCESS privilege, you can see all threads, even those belonging to other users.…
-
Important PS (Power shell) Scripts
$a = get-eventlog -logname system -message *SQL* -newest 1 $a | select-object -property * ————————————————————————————————————- EventID : 7036 MachineName : ABCD Data : {83, 0, 81, 0…} Index : 4281381 Category …
-
MySQL Uptime
MySQL Uptime SELECT VARIABLE_VALUE AS Uptime_seconds, NOW() AS “Now”, NOW() – INTERVAL VARIABLE_VALUE SECOND AS “Up since”, DATEDIFF(NOW(), NOW() – INTERVAL VARIABLE_VALUE SECOND) AS “Uptime_days” FROM performance_schema.session_status WHERE VARIABLE_NAME = ‘Uptime’; Output Example: +—————-+———————+—————————-+————-+ | Uptime_seconds | Now | Up since …
-
MySQL join_buffer_size, sort_buffer_size, read_buffer_size and read_rnd_buffer_size
join_buffer_size, sort_buffer_size, read_buffer_size read_rnd_buffer_size These four buffers are allocated per connection. So think twice before alerting. For example, if you set join buffer size=2 M and max connections=800, MySQL will allocate an extra 2 M per connection (2 M x 800). The same is true for the remaining three buffers. Again, everything is per-connection. In almost…
-
innodb_change_buffer_max_size
With MySQL 5.6.2, you can set the maximum size of the change buffer as a percentage of the total size of the buffer pool using the innodb change buffer max size configuration option. The default value for innodb change buffer max size is 25. The maximum number of characters is 50. On a MySQL server…
-
CPU Components
CPU consists of 6 main components: 1. CU Control unit 2. ALU Arithmetic logic unit 3. Registers 4. Cache 5. Buses 6. Clock All the components work together to allow processing and system control. Control Unit (CU) It fetches, decodes, and executes instructions. It issues control signals that control hardware. It moves data around the…
-
Cache Memory
Hey guys, In this blog I am going to explain you about Cache Memory Cache is a small amount of high-speed random-access memory (RAM) built directly within the processor. It is used to temporarily hold data and instructions that the processor is likely to reuse. This allows for faster processing as the processor does not…