MYSQL 3: Full text search 1. Full text search www.2cto.com 1. MyISAM supports full text search, but InnoDB does not. 2. When using full text search, MySQL does not need to view each row separately, and does not need to analyze and process each word
Original article:
Http://www.phpwell.com /? P = 174
PostgreSQL
MySQL
Service startup:1) # service PostgreSQL start2) #/etc/init. d/PostgreSQL start3) # Su-PostgreSQL$ Pg_ctl startPostgreSQL process number: 1210, 1207,
Practical SQL statement Daquan bitsCN.com
I. Basics
1. description: create a database
Create database database-name
2. description: Delete a database.
Drop database dbname
3. description: back up SQL server
--- Create a device for the backup
SQL statement reference, including access, MySQL, and SQL ServerBase Creation DatabaseDeleting a databasedrop database dbnameBacking up SQL Server
To create a device that backs up data USE masterEXEC sp_addumpdevice ‘disk‘, ‘testBack‘,
The reasons for the slow query are many, and the following are common:1, no index or no index (this is the most common problem of slow query, is the defect of program design)2, I/O throughput is small, forming a bottleneck effect.3. No computed
The new content about the database. The reasons for the slow query are many, and the following are common:1, no index or no index (this is the most common problem of slow query, is the defect of program design)2, I/O throughput is small, forming a
------------------------------------------------------------------------------------Search is divided into two types:1. Search for structured data: SQL statements query the content stored in the database.2. Search for unstructured data: text, images,
Sphinx1 Downloads Sphinxhttp://sphinxsearch.com/2 compiling the installationTAR-ZXVF sphinx.tar.gz./configure--prefix=/usr/local/sphinx--with-mysql=/usr/local/mysql make && make installImportant Three commands in Sphinx (Sphinx installed bin
I. Query Optimization
1. Use Indexes
When there is too much data in the table, creating an index can significantly increase the query speed.
Create an index
SQL> CREATE INDEX name ON table (Field 1 [ASC, DESC], Field 2 [ASC, DESC]...)
Delete
The data source is MySQL and the target media is elasticsearch.1. Resources we can use 1.1 source data model
Source Library is someone else (inventory) data, divided into a,b,c three types of inventory model, it is necessary to integrate
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.