I. Introduction
I have been using Linux for a long time. I have never studied hard tasks and system learning. Recently, I have to use MySQL in Linux for my work. I thought that I had experience using SQL Server in windows and thought it would be
Desc table name. (You can view the detailed information of the table)
Showuser; (view the current user)
Modify Field name: alter table [Table name] rename column old field name to new field name;
1) Select B. ID, B. Title, B. ndate, A. manag, ename
10.9 automatically register DSN and Create Table
When writing your own database applications, readers will soon encounter two headaches. First, you must manually register the DSN (Data Source Name) in the ODBC manager before accessing the ODBC data
Transaction Concept
A transaction is an atomic SQL query statement and can be considered as a unit of work. If the database engine can successfully apply all query statements to the database, it will execute all queries. If any query statement
Mysql partition and instance demonstration, mysql partition instance demonstration
I. Why partition?
Requirement: big data. Solution: divide and conquer. Divides large tables and large indexes into a smaller operation unit.
In mysql,
The update operation nodes of GoldenGate are not synchronized.Fault description: synchronization cannot be implemented after update is performed on node 1 and node 2.Solution Process:1. Regular inspection: Check the Process status: normalGGSCI (gc1)
HBase createTable server-side source code analysis, hbasecreatetable
All HBase request calls are implemented through the RPC mechanism. After the RPCServer listens to the request, it will parse the request content and then call the actual method
PostgreSQL tutorial (10): Performance Improvement tips and postgresql Performance Improvement
1. Use EXPLAIN:
PostgreSQL generates a query plan for each query, because selecting the correct query path has a critical impact on performance. PostgreSQL
Creating tables in Oracle to hook the same or consistent tables can also be used in many cases. Convenient.
For example, a department table exists as follows:
SQL> select * from dept;
DEPTNO DNAME LOC
------ --------------
Mysql table partitions are partitioned by day, and mysql partitions by day MySQL table partitioning refers to splitting a table into several small tables according to the set conditions. MySQL 5.1 and later versions support table partitioning,
In-depth interpretation of sequences in PostgreSQL and their related functions, and interpretation of postgresql
I. Introduction
A sequence object (also called a SEQUENCE generator) is a special single-row table created using create sequence. A
Oracle 11g realbench 2 (11.2.0.1) reports an error when exporting an empty table. After checking the cause, it turns out that an optimization was made in this version. During table creation, no storage space is allocated. The storage space is
MySQL version: 5.5.28
System Platform: RHEL 5.8 32-bit
(1) usage of Foreign keys:
The foreign key has two main functions:One is to allow the database to ensure data integrity and consistency through foreign keys.One is to increase the readability of
Mysql storage engine and mysql Storage08-mysql storage engine
---- Storage engine Introduction
(1 ),InnoDBEngine
InnoDB is a storage engine of mysql. innodb provides transaction logs, rollback, crash repair capabilities, and multi-version
About mysql stored procedure creation dynamic table name and parameter processing, mysql Stored ProcedureReprinted please indicate the source: curtain roll west wind column (http://blog.csdn.net/ljxfblog)
Recently, the game started its second
Add, query, modify, and delete operations on data in basic SQL statements1. create a database: create database ;For example, create database student;2. connect to an existing database: use ;For example, use student;3. delete a database: drop
We use PowerDesigner to create a table and generate an SQL script. Therefore, PhysicalDateModel is used to create a physical model.
Open PowerDesigner, click File> Now Model, and select Categories> Information> PhysicalData ), create a new name for
Solution for MySQL ibdata1 files being too largeHandling the problem that the ibdata1 file of MySQL is too large
I encountered a MySQL database installed in yum when installing zabbix monitoring. Later I used it for a while to find that the ibdata1
MySQL basic (DDL)SQL Classification
SQL statements can be divided into three categories.
DDL: Data Definition Language, defining data segments, databases, data tables, and other DML: data manipulation statements, used to add, delete, update,
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.