First, build a database in Ubuntu, such as temp.
Mysql-h localhost-u root-p temp
You will be prompted to enter the password.
2. import data:
The syntax is mysqldump-opt database name
The example is mysqldump-hlocalhost-uroot-p123456 zf
1. Stop database-related processesStop the database on two machines respectivelySqlplus "/as sysdba ";SQL> shutdown immediateLsnrctl stop
Read: EXP-00056 error reported when exporting data after Oracle10201 RAC upgrade to 10204
You can also use the
Set an auto-increment primary key for a table in the project today
Mysql> alter table 'users' CHANGE 'id''' id' INT (11) not null AUTO_INCREMENT;
ERROR 1062 (23000): Duplicate entry '1' for key 1
The original data in the table is as follows:+ ----
ASM is an outstanding new feature in Oracle Database 10 Gb. It provides file system, logical volume manager, software RAID and other services in a platform-independent manner. ASM can strip and mirror disks, so as to add or remove disks and
Format of mysqladmin tool:
Mysqladmin [option] command [command option] command ......
Option options:
-C number indicates the number of automatic runs, which must be used with-I.
-How long is the I number interval repeated?
Check the status of the
To delete an archive file of the master database in the Maximum Availability and Maximum Performance modes of Oracle Data Guard, the archive file must be deleted after the backup database is applied.
For Maximum Protection mode, logs in this
1. Start dbconsole
Oracle@www.bkjia.com ~ $ Emctl start dbconsole
If the message is displayed, the command is displayed, which indicates that the Configuration is not configured or the Configuration is not
RMAN> report obsolete
Direct delete will report this error:RMAN> delete obsolete;The RMAN retention policy is applied to this command.Set the RMAN retention policy to redundancy 1.Allocated channel: ORA_DISK_1Channel ORA_DISK_1: sid = 136 devtype =
I. Description
See an ASM upgrade document on the official website, as shown below:
How To Upgrade ASM from 10.2 to 11.1 (RAC)
Unable To Open Database After ASM Upgrade From Release 11.1 To Release 11.2
For database upgrades under RAC,
1. Install RedHat Enterprise Client 5.3
Now the Redhat installation process has been very user-friendly, and the entire installation process is not too complicated. During the installation process, the most important thing to note is the Linux swap
On the Linux Virtual Machine Installed Oracle client, you need to use perl to capture the data in the database, so you need to install perl DBI and DBD package, respectively, DBI-1.616 and DBD-Oracle-1.28. You must use root to install DBI and DBD.
Jonathan Gennick has been an OTN member since 2001.
Oracle Database 10GEnhanced support for hierarchical or tree-like Data Query
Recently, I wrote an article in OTN titled query hierarchy: the best support, which discusses Oracle's support for
It took me a week to install rac, and I had a lot of detours. I hope to help people who encounter similar problems in the future. First of all, I would like to thank Lei Yu for following his steps. You can install it according to his subsidy, and he
Test Plan (GB8567--88)
1Introduction
Testing is required when the project's basic code is completed, which plays an important role in troubleshooting and fixing vulnerabilities.
1.1Purpose
The main purpose of the test is to find as many
Problem:
"System. Data. SqlClient. SqlException" type unprocessed exceptions occur in System. Data. dll. Other information: truncates string or binary data.
This is a problem encountered when setting the basic data of the data room charging system.
Oracle 11g, when backing up a database with the exp command, if the table does not have a datagram EXP-00011 error, the corresponding table does not exist. As a result, the corresponding empty table cannot be backed up.
Cause: by default, a segment
How can I forget the root password of MySQL in Linux?
Verification Environment:[Root @ localhost ~] # Rpm-qa | grep mysqlMysql-5.1.71-1.el6.i686Mysql-server-5.1.71-1.el6.i686Mysql-libs-5.1.71-1.el6.i686
[Root @ localhost ~] # Lsb_release-LSB Version:
Linux:
1. Memory: physical memory must be higher than 1 GB
Check memory size: grep MemTotal/proc/meminfo
2. swap space: generally twice the memory size. For example, you can set the swap partition size to 3 GB for 1 GB memory.
1) Check the swap
Hardware: IBM P770
OS: AIX 5.3.1.2
DB: 9.2.0.1 (upgrade to 9.2.0.8)
Figure: XManager 3.0 and XManager 4.0
Recently, I was working on a data migration project. The installation of the Oracle 9i Database was stuck. No error was reported when I
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