1. the fastest possible implementation speed of Oracle Database paging is 1> 2> 3
First, layer-4 rowid is used.The second method is to use rownum to paging three layers (oracle stipulates that rownum can be used only once in each query)The third
/Etc/my. cnf Configuration
[Mysqld]Datadir =/var/lib/mysqlSocket =/var/lib/mysql. sockUser = mysql# Default to using old password format for compatibility with mysql 3.x# Clients (those using the mysqlclient10 compatibility package ).Old_passwords =
Starting from 1gR2, Oracle introduced init. ohasd and configured it in the/etc/inittab to start and manage clusterware-related resources.
Pre 11R2
/Etc/inittab
H1: 2: respawn:/etc/init. evmd run>/dev/null 2> & 1
H2: 2: respawn:/etc/init.css d fatal>
If the prompt says no... /oracle/11g/Solaris/j2ee/oc4j_applications/applications/em. ear file.
After downloading the Oracle 11g, decompress the package and there are two folders. This error occurs because the file copy is incomplete, you only need
I.Library Cache Lock
Library cacheHandle stores the lock and pin information. In addition, both the Library cache handle and child cursor have lock and pin. These are called library cache lock and library cache pin.
Library cachelock/pin is
Some people say that the rules of the timestamp field are "weird ". The Manual describes the complex rules of timestamp fields in MySQL.
Divided into two parts
Define rules:
1. The timestamp field has three attributes:
A) whether to allow NULL. The
1 ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql. sock' (2)
MySQL not started
2 ERROR 1045 (28000): Access denied for user 'root' @ 'localhost' (using password: NO)
The password is incorrect. Modify the
Because the original ASM shared disk capacity is small, archive logs and backup files cannot be installed. Therefore, we decided to add a disk.
1. Add a virtual disk to node 1 and place it in the original shared directory named ASM4.
Select SCSI and
This document will introduce the following content:
1. Configure master-slave replication for mysql2. Configure semi-sync3. SSL-based Replication4. Copy Filtering5. Master Model I. System Environment Master: 192.168.56.101Slave: 192.168.56.102MySQL-5
Create index idx_p_merchant_detail_id on D_ORDER_DETAIL (merchant_detail_id) Online;
After the index is created for a long time, it is not reflected. Then, when the index is deleted, the following error is returned: Error: ORA-08104: this index
1. First, use a statement to query data segments with a capacity greater than 1 GB.
Select segment_name, sum (bytes)/1024/1024 from dba_segments group by segment_name having sum (bytes)/1024/1024> 1000;
The following result is displayed:
SYS_LOB00
Today's duty in case of really many, mirror database a large number of rollback, can not be started normally; A database inexplicable downtime; also within a month the second encountered a ORA-600, is it time to burn incense.Or simply record this
Incorrect database listening status$ Lsnrctl status
LSNRCTL for IBM/aix risc System/6000: Version 10.2.0.5.0-Production on 05-NOV-2012 08:54:08
Copyright (c) 1991,201 0, Oracle. All rights reserved.
Connecting to (DESCRIPTION = (ADDRESS = (PROTOCOL =
Oracle11.2.0.10
File 1
Http://download.oracle.com/otn/nt/oracle11g/112010/win64_11gR2_database_1of2.zip
File 2
Http://download.oracle.com/otn/nt/oracle11g/112010/win64_11gR2_database_2of2.zip
After downloading, pressurize files 1 and 2 and
1. Read only table description
Before Oracle 11g, if we want to set a table to read-only, we can grant some users the select permission. But for the table owner, it is still read/write.
In Oracle 11g, we can directly set the table's read and write
Manage databases
1. create a database: create database name;
2. Connect to the database: use database name;
3. delete a database: drop the database name;
Manage tables
1. create a table: create table Name (
Table Name Data Type (length ),
Table Name
Mr. Huang took an SQL statement and asked me if I could optimize it. After reading it, the data volume is not large and the query is not complex. The record optimization process is as follows:DB: PostgreSQL 9.1OS: CentOS 6Count
Rename a data file
If the primary database re-commands one or more data files, the modification will not be automatically transmitted to the standby database.
If you want to make standby and data files consistent with primary, you can only manually
After Oracle 11g r2 is installed and the database is created, start em and report OC4J_DBConsole_source_ora11g not found error. em cannot start.
[Oracle @ source ~] $ Emctl start dbconsole
Enter the Configuration
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