Oracle Study case -- rebuilding Database Control Files
System Environment:
Operating System: Linux RH6
Database: Oracle 11gR2
Case Analysis:
All control files in the Oracle database are accidentally damaged. Non-archive databases rebuild control
Install MySQL 5.6.21 in CentOS 6.5Install MySQL
MySQL is the most widely used database in Linux. The version installed using the online yum method lags behind several minor versions on the MySQL website. This section tests and installs the new
Common Redis commands and master-slave Database Configuration
Redis provides a variety of commands to operate databases and various data types.
(1) keys
Returns all key values that meet the specified pattern. For example, to return all keys, use:
Notes for Oracle GoldenGate upgrade
Oracle GoldenGate is being upgraded recently. refer to the following documents:How To Upgrade Goldengate From 11.2.1.x to 11.2.1.y for Oracle Database (Document ID 1601971.1)This document makes it clear:2. Stop
Considerations for new features of Oracle 11g
After upgrading from Oracle 10g to Oracle 11g, you need to understand the new features of Oracle 11G. These features may affect the application and performance and need to be adjusted.
1. Oracle11g
Summary of MySQL remote connection
For a long time, I have never had the habit of summing up the problems encountered in the project. I feel that from today on, regardless of the problems encountered, note that it is necessary to summarize the
Oracle uses a cursor to query a string that combines the names of all fields in a specified data table. oracle cursor
Application Scenario: refer to the Code for querying all field names of a data table on the Internet, and use a cursor to generate
Django -- about Managers, django -- ManagersDefault managers
If you use objecm Manager objects, take note that the first Manager Django encounters (in the order in which they're defined in the model) has a special status. django interprets the first
Can't connect to local MySQL server through socket '/tmp/mysql. sock' (2), connectmysql. sock
When mysql is installed in linux, the following error occurs: Can't connect to local MySQL server through socket '/tmp/mysql. sock' (2)
This error occurs,
Rollup and cube, oralcerollup of Oralce advanced SQLIn oracle SQL query, oracle provides some advanced functions to simplify SQL query statements and improve query performance. The following describes the usage and difference of rollup and cube.1.
Oracle performance optimization operation 11: try to match the like clause at the front end. oracle clause
Because the like parameter is frequently used, if the like clause can be indexed, the query efficiency will be greatly improved.
Example:
MySQL (9) -- string function (2), mysql string(8) Delete the TRIM (s1 FROM s) function of the specified string)
TRIM (s1 FROM s2) deletes all substrings s1 at both ends of string s. S1 is an optional direction. If no direction is specified, spaces
Oracle Data insertion and oracle Data insertion
Syntax structure:Insert into Table Name (column name 1, column name 2 ......) VALUES (value 1, value 2 ......)
Code Demonstration:
SQL> INSERT INTO INFOS VALUES (①2 's10010', 'lin chong', 'male', 22, 2,
[Oracle] uses the CONFIGURE command to reconfigure the recovery window to 60 days, configurecommand
You set the recovery window to seven days and the backup optimiza
Tion to ON using the CONFIGURE command of Recovery Manager (RMAN).
Most recent
Specify the date to query the number of Oracle databases and specify the date to query the oracle database
1. First, introduce the to_char function.
TO_CHAR converts a date or number to a string and cannot specify the string length.Use the TO_CHAR
The unreasonable setting of MAXPIECESIZE and FORMAT causes RMAN backup to fail.Today, I went to the customer to build the DG. When I created the RMAN backup set, I encountered a problem, causing the backup set to never be generated. Because the
SQL vertical table to horizontal table, SQL vertical table
Converts a vertical table to a horizontal table in the database.
Database vertical table data
The SQL statement is as follows:
Select cardid, max (case t. projectcode when 'ia-002'
[Chapter 3. Detailed Configuration [section B],3.4 Table Triggers
Mongoricds uses a database trigger to capture the data to be synchronized. The TRIGGER of metrics ricds is defined in the TRIGGER table. SymmetricDS uses a row of records to generate
Memcached status analysis, memcached status
1. memcache status stats description:
Pid memcache server process ID uptime server has run seconds time server current unix timestamp version memcache version pointer_size pointer size of the current
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