Introduction to MySQL Binlog
Basic definition of binlog: Binary logs are also binary logs that record SQL statements that have occurred or potentially changed data and are saved in the disk in binary format;
Role: MySQL is similar to Oracle archive
In-depth analysis of RMAN-Incarnation application (Incomplete recovery)
CASE Environment:
Operating System: RedHat EL5
Oracle: Oracle 11gR2
When you use resetlogs to open the database during incomplete restoration of Media Recover, Incarnation
Create an Oracle whitelist for RAC
Due to business needs, you need to use a whitelist to restrict the addresses of users logging on to the database, and decide to use the database whitelist function!
Generally, you only need to add the following
11g ASM Single Instance dbca error prcr-1006 crs-0259 prcr-1071
11g ASM dbca error prcr-1006 crs-0259 prcr-1071 When creating a single instance DB Using ASM, it appears when running DBCAPRCR-1006: Failed to add resource ora. orcl. db for orclPRCR-107
Oracle cross-origin access to other instance data in dblink Mode
When you want to access data in another database table across local databases, dblink of the remote database must be created in the local database, dblink allows you to access data in
View All Tables and fields and Table comments. Field comments in Oracle
View All Tables and fields and Table comments. Field comments in Oracle
Get table:
Select table_name from user_tables; // The table owned by the current user Select table_name
MySQL performance profiling tool (pt-query-digest)
This tool is also from percona-toolkitOther tools in this tool setTroubleshooting of abnormal shutdown of MySQL Slave (pt-slave-restart) Verify MySQL master-slave consistency (pt-table-checksum & pt-
MySQL multi-instance configuration (1), mysql instance Configuration
For centralized O & M of MySQL databases, you can deploy multiple MySQL instances on one MySQL database server. This function is implemented through mysqld_multi. Mysqld_multi is
SQL Left, Right Join, and other operators.1. query all the data in tableA and tableB and the data in tableA in tableB.Select * from tableA A left join tableB B on A. key = B. key2. query and exclude the data in tableB and the remaining data in
Oracle Database experience series-Article 1 and Article 11) change the date display type of the query results in SQL developer in oracle 11g r2, that is, the setting of the session date type:Alter session set nls_date_format = 'yyyy-MM-DD HH24: MI:
Use Mybatis to pass multiple parameters (three solutions) and mybatis Solution
There are three methods to transmit multiple parameters that I have come into contact.
Solution 1
DAO layer Function Method
Public User selectUser(String name,String
SetParameter and setParameterList in hibernate pre-compiled SQL statements, and hibernate pre-compiled
Use pre-compiled SQL statements and placeholder parameters (which is in jdbc ?), This avoids the complexity of concatenating SQL statements with
One mysql optimization experience and one mysql optimization experience
One day, O & M suddenly said that the channel page interface of the wireless terminal had a large amount of traffic, and the memcache cache could not handle it. As a result, the
Create views and primary foreign keys in SQLserver, and create views in sqlserverI. background
I have learned the relevant content of the database, but I have never practiced it in the form of a database. Now, when I am working on a data center, I
Dbca create database ORA-01034 ORACLE not available, dbcaora-01034
SYMPTOMS
When using dbca to create a database, when all the parameters are set up, the ORA-01034 ORACLE not available,
For example
CAUSE
There's a script in
Install MySQL and Navicat, and connect to MyEclipse, navicatmyeclipse
1. Download and install MySQL
1) Go to http://dev.mysql.com/downloads/download the mysqlcommunity edition serverand the ororused for jdbc. You can install MySQL by default.
Hanganalyze 3 analysis summary (test ),Hanganalyze 3 analysis summaryOne is session-level:Alter session set events 'immediate trace name HANGANALYZE level ';One is the instance level:ORADEBUG hanganalyze One is the cluster scope:ORADEBUG
Oracle blocking (blocked), blocking
Blocking is a common situation for DBAs. especially poor application design blocking can cause serious performance degradation until the database crashes. For DBA, it is necessary to know how to locate the system
Background:On the local machine (Win7 64-bit flagship Edition) Install the Oracle 11g Client32-bit ORACLE clientIf the 64-bit ORACLE client is installed, you cannot enter the sqlplus/nolog command in the CMD command, that is, the command cannot be
Common Character sets include ASCII, GB2312, GBK, UTF-8, Unicode
First, you must know
ASCII code:
One byte is used to identify 0-9 numbers, uppercase and lowercase letters, and some punctuation and invisible characters. 1 byte, 8 bits, can have 256
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