Mysql-stadard-5.0.24-linux-i686.tar.gz does not need to be compiled. I installed it in the/usr/local/directory.
Two commands
1. tar-zxvf mysql-stadard-5.0.24-linux-i686.tar.gz # extract the mysql-standard-5.0.24-linux-i386 name under the current
When interviewing MySQL DBA or those who intend to optimize MySQL performance, my favorite question is: what adjustments should I make after the MySQL server is installed according to the default settings?I was surprised how many people could not
The procedure is as follows:Software environment:1. Windows 2000 + Oracle 8.1.62. ORACLE installation path: C: \ ORANTImplementation Method:You can use the following statement:Select user_name, SQL _textFrom v $ open_cursorWhere sid in (select sid
After Apache + MySQL + PHP is installed in linux, phpMyAdmin is an excellent database management software.
1. Extract
// Because the current server software is installed under/opt/, which are/opt/apache,/opt/mysql,/opt/php, therefore, the root
The following is my last test record.Mysql versions later than 3.23.15 provide the database replication function. This feature allows you to synchronize two databases, master-slave mode, and mutual backup mode.The settings of the Database
Mysql can be connected to the web through PHP in two ways, one is mysql-related functions through php, and the other is ODBC-related functions through php.
The related functions are as follows:
MYSQL Functions
Mysql_affected_rows: obtain the number
1. Get the current configuration parametersTo optimize configuration parameters, you must first understand the current configuration parameters and running conditions. Use the following command to obtain the configuration parameters currently used
In the Like Query of MySQL, we find that Chinese search is always hard-earned. We have found several solutions on the Internet. You can refer to the following:
Method 1:
The solution is to add the "binary" attribute to a field that contains
Combination 1: MySQL + PHP + Linux/FreeBSD/SolarisCombination 2: Oracle + PHP + Linux Combination 3: Oracle +. NET + WindowsCombination 4: MySQL +. NET + Windows Solution:Build a LAN with two computers. A dedicated server provides database support.
Oracle closes and enables archiving logs
1. Archive Mode
1 SQL> archive log list; # Check whether the archive mode is used2 SQL> alter system set log_archive_start = true scope = spfile; # enable active ArchivingSQL> alter system set
1: Add the following configuration to tomcat_home/solr/config/solrconfig. xml:
data-config.xml
2: Create the data-config.xml file in tomcat_home/solr/config/(in the same directory as solrconfig. xml), add the following content
3: Add the
Hello everyone!
Today, I sorted out the steps for creating a physical volume uard for Oracle10g according to the official documents:
1.1 enable force logging Mode
Use the following statement to enable the force logging mode for the master database
Preparations for the operating system are omitted here:1. Create a respone FileDgdb-> cat db_install.rsp | grep-v ^ # | grep-v ^ $> db_install2013.rspDgdb-> more db_install2013.rspOracle. install. responseFileVersion
First understand under what circumstances Oracle will generate a ORA-01555 error:
Assume that there is a 60 million-Row Table testdb. It is estimated that it will take two hours to scan the entire table once. The reference process is as follows:
1.
---------- Full backup -----------Backup set: block BACKUP used in data filesImage copy: a complete COPY of all data files.---------- Incremental Backup -----------A backup of a database that has changed since a specific time point. This time point
Table Creation
Oracle includes five constraints, including primary key constraints (primary key, the value of this attribute cannot be blank, and cannot be repeated. By default, this column is automatically indexed) and foreign key constraints
This article records some Oracle Table Access Operations
For the stored procedure of displaying the execution plan in Oracle, see
(1) TABLE ACCESS FULL
Scan a table from a full table and access the table through a full table scan. Example:
SQL> exec
Download the installation patch p8202632_10205_linux-x86-64.zip for Oracle RACs. Patches for clusterware and database are included in this patch.
1. Upgrade the clusterware package
1) Stop all resources first. crs_stop-all is not recommended.
Oracle index access method
This article records some Oracle index access operations
For more information about table access, see:
For the stored procedure of displaying the execution plan, see
(1) INDEX UNIQUE SCAN
A unique index scan means a single
Sometimes, when the disk space is full and part of the tablespace or data files need to be migrated to the location, we will introduce three methods to move the data file next time. The same is true for moving the tablespace.
1. Use the OS MV mode.
2
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