Use Django to clear data in the database
Clean up data in the database
Problem description: in my system, due to history and various reasons, the data recorded in the table in the database is faulty, with duplicate and incomplete data.
Solution:
MySQL fuzzy query: LIKE and REGEXP Modes
MySQL fuzzy query provides two modes: LIKE mode and REGEXP mode.LIKE Mode
The LIKE mode uses the LIKE or not like comparison operator to perform fuzzy queries.
SELECT field FROM table WHERE field LIKE [not
Oracle deletes log files
The syntax for deleting a log file is as follows:Alter database drop logfile member logfile_name;Note the following when deleting a log file:1. The log file group of the log file cannot be in the current status. You need to
Create a temporary tablespace group in Oracle
After Oracle 11g, you can create a temporary tablespace group. A temporary tablespace group can contain one or more temporary tablespaces.A temporary tablespace group must consist of at least one
Oracle clusters and cluster tables
A cluster consists of multiple tables that share the same data block. It stores the related rows of these tables in the same data block, which can reduce the disk read volume required to query data. After creating
Six things that MySQL should learn
Because of its small size and efficient operations, MySQL is increasingly used in database applications. As an important part of LAMP or WAMP development, MySQL deserves the attention and earnest learning of PHP
Use of database indexes and database Indexes
I found a problem today. The problem is probably like this. I can query the interface information and use the local database locally for access. However, the access speed will be very busy after being
Kettle _ error caused by deleting the "shared output table"
Original Works are from the blog of "Deep Blue blog". You are welcome to repost them. Please indicate the source when you repost them. Otherwise, the copyright will be held legally
Left and right connections of SQL, and SQL connectionsExternal ConnectionWhen an external connection is used for multi-table queries, the returned query results only contain rows with query conditions and connection conditions. Except for
High concurrency: Memcached practice lesson 10th-code sharing in part of "Memcached Get data"High concurrency: Memcached practice lesson 10th-code sharing of "Memcached Get data"
First, write a class related to the data to be stored:
public class
CentOS 6.5 mysql installation, centosmysql
1. Uninstall the original mysql
Mysql databases are too popular in Linux, so the mainstream Linux system versions currently downloaded are basically integrated with mysql databases, run the following
Oracle uses the using Keyword, oracleusing keywordOracle using KeywordThe SQL/92 standard can use the using keyword to simplify the connection query, but only when the query meets the following two conditionsSimplify with the using keyword.1. the
Group by, improve SQL running speed, groupsql
Data Table dh_order_detail contains a total of 169247 data records.
Original SQL
SELECTFROM_UNIXTIME (order_time, '% H: % I') 'time', city, district, LEFT (company, 6) company, goods_num,
When Oracle makes adjustments to partitions, add update global indexes and oracleindexes.
When you perform ddl operations on a partition, the global index of the partition is invalid. You need to add the keyword update global indexes.
SQL> select *
MySQL server connection process analysis, mysql server process
Mysqld is the master process on the MySQL server. It can be said that mysqld is the real core of MySQL, and all work is carried out around the mysqld process. Therefore, mysqld code is
[PLSQL] use of the package, plsqlpackage**************************************** ********************************* *** Original article: blog.csdn.net/clark_xu Xu changliang's column**************************************** ***************************
Automatically back up the mysql database and send it to the e-mail method, mysqlemail
A blog, the most important thing for a website is a database, so it is necessary to back up data frequently.WordPressThere is a plug-in for regular data backup,
CBO Full Table Scan, cbofulltablescan
Reprinted please indicate the source: http://blog.csdn.net/guoyjoe/article/details/44261859
**************************************** *******I. Full Table Scan-FTS algorithm of CBO*********************************
047-q1,Zookeeper
QUESTION 1You need to load information about new MERs from the NEW_CUST table into the tables CUST and CUST_SPECIAL. if a new customer has acredit limit greater than 10,000, then the details have to be inserted into
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