Redis Design and Implementation Study NotesPreface
This book focuses on the implementation of the underlying Redis layer, which is divided into four parts:
Data Structure and Object
Standalone Database implementation
Implementation of
Fast paging using ROW_NUMBER
The method of listing by page in Linq uses Skip () and Take ().
However, how do I write paging using SQL scripts?
First, we can sort by ROW_NUMBER () OVER and get a view with serial numbers. Then, we can use the
Comparison of several MySQL environment problems
Sometimes there are environmental problems. comparison is a good method. If the comparison is proper, you can avoid repeated problems. You can infer some possible situations or problems based on the
CentOS 6.5 system installation Oracle11.2.0.4 basic steps
CentOS 6.5 system installation Oracle11.2.0.4 basic steps
1. Modify the hosts file (simple, not described in detail)Vim/etc/hosts
2. Modify the sysctl. conf file.
Vim/etc/sysctl. conf
Kernel.
MongoDB upgraded from 3.0.7 to MongoDB3.2
Mongodb3.2 version was just released on the day before yesterday, for: https://www.mongodb.org/downloads#production
Starting in 3.2, MongoDB uses the WiredTiger as the default storageengine.
Mongodb uses
MySQL stored procedures and triggers
I. Stored Procedure
The basic format of the stored procedure is as follows:
-- Declare the Terminator-- Create a stored procedureDELIMITER $ -- declare the end of the stored procedureCreate procedure pro_test () -
Oracle viewing Object Information
1. View information about all objects of a user:
SELECT owner, object_type, status, COUNT (*) count #FROM all_objectsWhere owner = 'xxx'Group by owner, object_type, statusOrder by 2;
2. view the number of rows in
Upgrade MySQL 5.6.23 to MySQL 5.7.9
Upgrade MySQL 5.6.23 to MySQL 5.7.9
New Features of MySQL 5.7.9
I. Security
1.1. The plugin field of mysql. user cannot be blank. The default value is mysql_native_password instead of mysql_old_password. The old
Oracle 12c R2 new feature dbca command can create standby Database
Since version 12c R2, the dbca command provides the syntax for creating the standby slave database:
Syntax:
Dbca-silent-plain-gdbName BOS.domain.com-sid BOS1-sysPassword
Filter MySQL slow query logs using commands
An exception occurred on a web server.All requests are blocked due to CPU depletion, which may take 5 to 10 minutes.
During this period, the overall database load is normal.
Use the command to query slow
Solve the Problem of MySQL Slave Synchronization
Solution:1. stop the Slave service first: slave stop;2. Check the host status on the master server:
Record the value corresponding to File and Position.Mysql> show master status;+ ------------------
Install innobackupex in binary mode
Purpose
Install innobackupex in binary mode
Environment
OS: CentOS 6.6 32bit
Introduction
Official Website: https://www.percona.com/
Https://www.percona.com/downloads/XtraBackup/LATEST/
After opening the webpage,
Connect Oracle to MySQL on Linux
[Preface] The method for connecting Oracle to MySQL on the Windows platform has been introduced. Most of Oracle and MySQL are now on the Linux platform, and this requirement is also available recently, let's record
How to evaluate real concurrent sessions in Oracle
In Oracle, you can view concurrent sessions in the dba_hist_active_sess_history view. You can use the following script to query the maximum concurrency, current connections, and maximum connections
MySQL 5.7.9 source code compilation and installation instructions
I. Environment Description
1. Operating System
System Version: RHEL 6.3X64
Operating system installation type: Basic
System installation package: gcc-c ++ bzip2 (default) bzip2-devel
Mysql backup and Restoration1. mysqldump1.1. backup method:
(1) Export the entire database and specify the character set (including data in the database)
Mysqldump-u root-p -- default-character-set = utf8 dbname> storage path
(2) Export the database
What is the difference between allocating undo rollback segments between mysql5.6 and mysql5.7? mysql5.6mysql5.7
1. mysql5.7 is divided into two types: Temporary tablespace rollback segments and common rollback segments.
2. mysql5.6 is not
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service