Create a file named Oracle
[root@stark init.d]# pwd
/etc/init.d
[root@stark init.d]# touch oracle
Add the following content to oracle:
#!/bin/bash
# chkconfig: 35 95 1
Take utf8 as an example. Assume that you have installed MySQL in Ubuntu (SEE) and the installation is successful.
1. Stop mysql
Sudo/etc/init. d/mysql. server stop
2. modify my. cnf
Sudo gedit/etc/my. cnf
Find the corresponding part and add the
I. installation and configuration
1. Installation
Download: wget-c http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-2.0.6.tgz
Unzip: tar zxvf mongodb-linux-x86_64-2.0.6.tgz
Establish a soft connection: ln-s mongodb-linux-x86_64-2.0.6
Summary:1. Primary keys and composite primary keys have the same query performance (the same index height and the appropriate use of indexes ).2. Primary keys and composite primary keys. The (update, insert) performance is different (because
VPD is used for development in the project. The creation of Database User B objects depends on user A. Because user A objects perform DDL, migration, dump, and other operations, this results in the INVALID of user B. User B is used as the data
Whether we use dbca for database creation or manual creation. After the database creation task is completed, three parameters are very important for future production and use. Generally, we need to open them.The first one is log_checkpoints_to_alert.
Deploying Spring applications to CloudFoundry.com is simple, as SpringSource says.
After you register your Cloud Foundry beta account, install CloudFoundry in STS for Eclipse. Here is a blog detailing how to install it. I will not describe it
The storage of the unique index is different from that of the non-unique index. The storage of the non-unique index needs to store the ROWID as a column, and the unique index stores the ROWID in the DATA area, the following shows how to store the
Oracle 11g provides new row and column conversion operations: Convert (row to column) and unconvert column to row. This document describes the unregister function.
The existing table src_table is as follows:
Product_Id (product ID)
DRCP is the Database Resident Connection Pool. The default Database is sys_default_connection_pool, but it is not opened.
Start DRCP:Sqlplus/as sysdbaExecute dbms_connection_pool.start_pool ();It can be executed on any instance in the RAC
1. When a table is created, double quotation marks are added. The case sensitivity of the table name will be retained and written to the database,
Note: Double quotation marks are not written into the database, and Oracle converts them to uppercase
Oracle backup:
Backup is redundancy. In essence, it refers to copying a few copies of the current data to other places, so that when the original data file is damaged due to various reasons, we can use the backup file to restore the status of the
Mysql ddl maintenance skills
During ddl maintenance of tables (such as adding fields), mysql locks the table. Unlike Oracle, mysql only updates the dictionary table, which is extremely fast, this is because mysql uses an intermediate table to
First, check the machine environment and check whether there are any residual database installation directories and related users. If they are found, they will be deleted.Check whether the/opt/IBM directory contains db2 files.Next, let's look at the
I. Problem Description
Database Error. Read alertlog, which repeats the following content:
Wed Jul 25 17:47:18 2012
Errors in file/oracle/admin/etldb/udump/etldb_ora_15674.trc:
ORA-07445: exception encountered: core dump [kghssgdmp () + 273] [SIGFPE]
Time-based recovery
Time-based recovery restores the database to a time point between the backup point and the failure point. Time-based recovery can be used not only when the media fails, but also when the database runs normally. For example, if a
When performing a multi-table joint query, if we view its execution plan, we will find a connection method between multiple tables. I was planningSqlplusThe execution plan is used, but the format looks
1. rollback and Revocation
Refer: In-depth Oracle parsing by eygle
(1) In order to ensure read consistency among multiple users and to roll back transactions, oracle provides the old values before the modification for the modified data.
(2)
Each Block in Oracle has a part called ITL, which is used to store transaction information.
The number of ITL of an object is determined by the initrans and maxtrans parameters of the object. The Oracle official documentation records that the
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