DB2 cross-Database Access Table
Today, let's talk about how DB2 implements cross-database access to tables? It took a long time for me to test successfully, so I decided to share with you!
Okay, you don't have to talk about it anymore! Let's get
Install MySQL5.6 in Linux compilation and modify Character Set
Environment preparation:After mysql5.5, The./configure compilation method will be changed to the cmake tool for compilation.Install the dependency package: yum install-y cmake gcc-c ++
Oracle sequence reset, oracle Sequence
Question 1: How to reset the oracle Sequence After the oracle sequence is created, if you want to reset the sequence from 0 to 1, you can use the following stored procedure:
Create or replaceprocedure
Foreign key constraint columns are not indexed, resulting in a large number of library cache pin/library cache locks and librarypinThe foreign key constraint column is not indexed, resulting in a large number of library cache pin/library cache locks.
Redis client protocol parsing, redisprotocol
On the official website, visit http://redis.io/topics/protocolto describe the rediscommunication agreement.For the following reasons, I want to parse the redis client protocol:
1. Be familiar with
Mysql Data File Deletion, operating system level recovery file, mysql level
Under what backup conditions is the Data File deleted and restored?Restrictions
1. Do not use data blocks to be restored2. The file system is not damaged.
Use tool
Understanding of listening for static registration configuration, listening for static Configuration
Global_dbname In the Listener. ora configuration file can be configured at will;
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = ora1
Use JDBC to connect to the MySQL database-Typical Case Analysis (8)-implement paging query of employee data, jdbcmysql
Reprinted Please note: http://blog.csdn.net/uniquewonderq
Problem:
Use JDBC to connect to the Mysql database and implement the
Oracle creates dblink and scheduled tasks, and oracle creates dblink
Recently, we are working on a task, specifically, to regularly insert data to the middle table of another user's database.
The first thing we need to do is create an oracle dblink
Database review 3-database integrity, review database integrityDatabase review CH5 integrity 5.1 integrity constraints
Database integrityIt refers to the logical consistency, correctness, validity, and compatibility of data in the database.Integrity
Create the PSU 11.2.0.3.8, and then the database, 11.2.0.3.8psu.
SQL> alter session set nls_date_format = 'yyyy-mm-dd hh24: mi: ss'; Session altered. SQL> select created from v $ database; CREATED --------------------------------------- -------------
About innodb purge thread and master thread, innodbpurge
ByInnodb_purge_threads controls the number of purge threads.
(> = 5.6.5) The default value is 1 and the maximum value is 32. The default value 1 indicates that the purge operation of innodb
Oracle Database comprehensive questions, oracle Database questions
Table Structure Description:
Create table employee
(
Id number (10) not null, -- employee id
Salary number (10, 2) default 0 not null, -- salary
Name varchar2 (24) not null -- name
);
Data Table field attribute query, data table field attribute
--- Query all database table namesSelect id, name from sysobjects where xtype = 'U' order by name--- Query all the field attributes of a tableSelect * from syscolumns where id = object_id
Extended map and extended map of associated queries
select one.*,tw.id sid,tw.catlevel slevel,tw.name sname,tw.code scode,thr.id tid,thr.catlevel tlevel,thr.name as tname, thr.code as tcode from tb_sort one join tb_sort tw on
How to Use union, except t, and INTERSECT in SQL, unionintersectThere is a reason to put these three together, because they all operate on two or more result sets, and these result sets have the following restrictions:The columns and columns in all
Oracle converts numbers to formatted strings, oracle strings
Problem description If oracle stores number (0.00) data, the value 0 indicates 2.1, the value 2.10 indicates 3.88, and the value 3.88 indicates,If the corresponding information is taken
[Solution] solve the Mysql Character Set Problem and solve the mysql Character Set Problem.
[Author]: kwu
Solve Mysql Character Set Problems
1. Add the following content to vi/etc/my. cnf:
[Client] port = 3306 socket =/var/lib/mysql. sock
Mysql time operation functions and stored procedures, mysql function stored procedures
Because the business needs to collect a batch of data, mysql time operation functions and stored procedures are used, and the problem has been basically solved.
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