Platform: ms SQL 2008
Set the foreign Key contact. The primary Key must be Unique. Generally, it is Key.
Set foreign key:
1:
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131229/205K410S-0.png "title =" QQ20130922224245.png
When MySQL uses the innodb engine, the page size defaults to 16 KB, which is too large for many applications, many applications that run well in ORACLE, for example, migrate data to innodb, find that the IO pressure is too high. MySQL does not
According to the company's plan recently, we need to incrementally fetch data from some tables in the previous SQL Server database to the ORACLE database and decide to use the newly added CDC Change Data Capture function in SQL Server.
The procedure
This blog post aims to read and understand your own books and use this picture to explain. If there are any mistakes, I hope you can correct them and share them with us for the purpose of mutual discussion.First, let's introduce the source of the
SQLArticle:1. Full list of classic SQL statements
2. MySQL database backup and recovery
3. SQL2K database development tutorial
4. Study Notes of SQLServer 2005
5. Configure SQL Servel 2005 in VMWare
6. SQL Server backup and recovery
7. Storage
Today, a colleague asked me a question: "After the mysql master uses binlog_ignore_db as a database, all statements executed using mysql-e will not write binlog? "
I asked him about the situation. He tried to check his my. in cnf configuration,
Today, my buddy told me that some modules in OA are invalid. After checking the system logs, it turns out that the temporary tablespace of the Oracle database is full, during lunch, I restarted the database. This method is the easiest and not prone
MySQL triggers are simple. Most of them are used to update third-party tables. Today I will demonstrate the functions of MySQL triggers in Data creation.The result of the base table is as follows:
CREATE TABLE `tb1` (
`id` varchar(255) NOT
For large tables based on secondary indexes), range scanning will lead to many random IO. the bottleneck of a general disk is that the random IO performance is poor. In MySQL5.6, this situation is optimized, the emergence of a new term Multi-Range
These days, it was too busy. The provincial leaders on the 12th wanted to check the progress, so the project team was really a mess. Get off work at every night, and do not rest at noon. Learning over time has become a luxury. Over the past few days,
This is an SQL statement they developed to delete duplicate data and the row whose id is the minimum value is not deleted:
delete from jd_chapter a where a.`id` in
(select `id` from jd_chapter group by book_id,chapter_id having count(*)>1)
Note: This article is from the linux O & M training of Old Boys-MySQL database training course series1) video tutorial directory1. MySQL service operation .................................... ........................................ 31.1 start and
Reference: http://www.360doc.com/content/12/0403/01/9623234_200390473.shtml
You can use the RMANDUPLICATE command to create a DuplicateDatabase Based on the backup of the target database (TargetDatabase) while retaining the target database ). This
MySQL 5.6 brings us the memcached fof innodb api. The main advantage is that we can read and write the MEMCACHED plug-in through the most familiar SQL statements.I will not introduce installation and configuration. If necessary, visit the official
A basic principle for massive data performance optimization is "Partitioning"Also called "sharding). Partitioning is actually the principle of drawer in daily work and life: we put our items into multiple small drawers according to some logic, which
First, popularize the basic knowledge here:
In earlier versions, online table modification, for example, adding a field, works as follows:
1. create table tmp like t1 to create a temporary table)
2. insert into tmp select * from t1 copy the original
When I completed the student management system, I found that to use this software, the database data source must be configured. So I want to get a version that is out of the data source.
Constructor:
650) this. width = 650; "src ="
External table: The data in the table is stored as an operating system file. Currently, the data in the table is not stored inDatabaseBut on the operating system,OracleProvides a mechanism for Directly Reading external data.
Benefits of External
Today, some netizens are51cto Technical Forum inquiryDatabase-the automatic growth value is 12800%. for help, I saw this wonderful name, so I decided to go in and see if I could do my best.
After reading this, I did not expect it to help me.
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