SQL GROUP BY instance
We have the following "Orders" table:
O_Id
OrderDate
OrderPrice
Customer
1
2008/12/29
1000
Bush
2
2008/11/23
1600
Carter
3
2008/10/05
700
In Oracle RAC, in addition to the TAF Method Based on the client, there is also the TAF Method Based on the server. You can regard the TAF method of the server as an upgraded version of the TAF method of the client. The TAF of the server must be
I. Installation conditions
1. Prerequisites:
1). the source and target Oracle Database listening starts.2). gg installation directory:/u01/app/ogg3) The copied table must have a primary key.4) check whether the extraction log directory configured by
1. Change the password when the ROOT user password of the MYSQL database is known:
1. In the SHELL environment, use the mysqladmin command to set: mysqladmin-u root-p password "new password" and press enter to enter the old password.
2. In the
1. First introduce what is HBA.
The HBA mentioned here is the full name of fc hba, that is, the Fiber Channel Host Bus Adapter. In an FC network, a host, such as a server, needs to use an interface card to connect to an FC network or a FC storage
1. General steps
The steps for creating a standby database through RMAN backup are roughly as follows:
1) set the primary database to force loggin Mode
2) set the primary database to archived log mode.
3) configure the parameter files for the master
I. Optimistic lock complex transaction control
Optimistic lock: Based on the Data version. Add a version ID for the data. In the database table-based version solution, when you add a version field to the database table to read the data, read the
1. Migration of ASM files
ASM file migration refers to migrating database files located on the file system to the ASM disk group, or migrating database files located on the ASM disk group to the file system. As shown in:
Ii. migrate from the file
Lab environment:
AIX: OS Version: AIX 5L for POWER V5.1
IP address: 192.168.0.5
Assume Domain Name: king.com
Host Name: pp.king.com
As a Domain Name Server, a complete server is required to have the positive and reverse functions. Currently, many
Oracle 11.2.0.3 is selected for this installation. A total of seven installation packages are downloaded. The first two installation packages must be used for separate database installation. The installation steps are as follows:
1. Copy the
During SQL server startup, the startup information will be read from the Registry first. Sometimes, when SQL Server cannot be started, we need to modify the registry. But where is the SQL server information stored in the registry? I have been
Here, we use the LVM Logical Disk for speeding backup of Mongodb. mongodb has reached dozens of GB or more. The speed of using the mongodb tool for backup will make us feel quite slow, at this time, we can perform LVM snapshot backup in the data
1: a power outage occurred on the weekend. The newly configured Intranet Test Database active recovery uard environment is automatically disabled. The following error is reported after the master database is started this morning:
[oracle@db1 ~]$
Complete mysql backup and recovery practices
1. Environment Settings between backup Databases
1. Create Database test1, create table tt, and insert the following data
mysql> create database test1;Query OK, 1 row affected (0.04 sec)mysql> use
1. Upgrade the SLES9 kernel and install the asm package. Ensure that the version is consistent.2./etc/init. d/oracleasm configure the asm driver user as the oracle dba group and start automatically.3. Prepare the raw disk to use fdisk for
First, Oracle dictionary tables and views can be divided into three layers.
1.1 X $ table
This table is the basis for running Oracle databases. It is dynamically created by Oracle Applications When the database is started.
These sub-tables are
1. Preface
With the maturity of traditional database technology, the rapid development of computer network technology and the expansion of Application Scope, database applications have been widely established on computer networks. At this time, the
Mysql versions later than 3.23.15 provide the database replication function. This feature allows you to synchronize two databases, master-slave mode, and mutual backup mode. The settings of the Database Synchronization replication function are
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