I. Nullable
When designing a table, a column is sometimes allowed to use the default Null value ).
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131229/211U45539-0.png "title =" null.png "alt =" 110227268.png"/>
I. Security username and password)
Find requirepass in redis-conf and change it to requirepass *****.
There are two methods to use the password
1. Go to redis-cli and then auth ******
2. redis-cli-******
Ii. Master-slave Replication
1. The Master
1. Install cmakeMySQL 5.5 and later versions have been replaced by the cmake tool./configure compilation and configuration method.Therefore, we must first compile and install the cmake tool in the system source code.
# Wgethttp: //
Mysql hot standby1. Check the mysql version to ensure that the master database is less than or equal to the slave Database2 master Database Configuration:A needs to enable the log support function: log-bin = mysql-binB provides server-id: server-id =
Mysql-uroot-p
Enter the password.
An error occurred!
ERROR 1045 (28000): Access denied for user 'root' @ 'localhost' (using password: YSE)
Leave the password Blank
Or error!
ERROR 1045 (28000): Access denied for user 'root' @ 'localhost' (using
Step 1:
Download from http://www.mongodb.org/downloads
Step 2:
Decompress the downloaded file to a location on the disk and copy its bin path, for example, H: \ DevelopmentTools \ mongodb2.4.6 \ bin.
And add
Step 3:
Create a configuration file
DML statement restrictions:
1. If the DML statement uses the degree of parallelism, you must set the alter session enable parallel dml for both HINT and directly set the degree of parallelism on the table. This step is essential!
2. If the
1. Role of tnsnames. ora in listener
The database only reads the content in tnsnames. ora during the startup process to parse LOCAL_LISTENER. After that, tnsnames changes have nothing to do with listening.
--- Set LOCAL_LISTENER, port 1522
SQL>
Job functions:Database Engineer/Administrator
Job description:Responsibilities:Continuous Configuration and optimization of database managementManage and support large Oracle Database SystemsMonitors online database systems and responds to
From MySQL5.6, a new parameter innodb_page_size can be set to 8 K and 4 K for Innodb data pages. The default value is 16 K. This parameter must be added to my. cnf at the beginning of initialization. If a table has been created and modified, an
1: persistence is not enabled in the redis Master/Slave environment;When the master instance goes down, data from the instance is not affected;After the master instance recovers, the data on the master instance will continue to be synchronized to
Under the CBO (cost-based optimizer mode) condition, the execution plan of SQL statements is determined by the statistical information. If no statistical information is available, the execution plan is determined by dynamic sampling! It can be said
A production DB2 database needs to back up all its data and then restore and import it to a test database. Some problems have been encountered and finally solved successfully, the steps are recorded for easy learning and analysis.
System Environment:
This is an SQL statement they developed
Select id, title, createdate from table name order by createdate asc limit 334570,10;
The person who asked this question meant reading the oldest news title and reading 10 records from 334570 rows of
1. Permission System introduction:
The implementation of the MySQL permission system is relatively simple. The relevant permission information is mainly stored in mysql. User, mysql. db, mysql. Host, mysql_table_priv, and mysql. column_priv tables.
I. Scenario Description
Database Version: 11.2.0.1 64bit active partition uard
Operating system version: centos 5.8 64bit
In the morning, the database routinely checks and finds that the undo tablespace data file is too large. After querying the
1. Permission related:
1. ModifySQL security
SQL code
Alter procedure www SQL SECURITY INVOKER;
Alter procedure www SQL SECURITY DEFINER;
1) the MySQL Stored Procedure specifies the actual user who executes the stored procedure by specifying the SQL
Database link details
By creating database links between databases, you can easily perform DML operations on the data of a user in a remote database, but cannot perform DDL operations,
Two Methods of database link:
Public link: public database link
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