When creating an Oracle database, we use dbca in most cases, which is simple, convenient, and automated;
Today, we will try to create a database manually using the command line method.
Oracle software version: 10gR2
Operating system version: win
Editor's note: expansion of existing systems is a big or small challenge for each technical team. Especially for banking businesses, it is not easy to implement expansion by modifying the architecture or rewriting the system because we need to take
Xtrabackup is an open-source project of percona to implement the innodb Hot Backup function similar to InnoDB's official Hot Backup tool. It can quickly back up and restore mysql databases. Xtrabackup contains two tools:
Xtrabackup is a tool used
1. Run the TOPAS command in the AIX system.
It is found that the cpu in the user is too high, and the Oracle process CPU is relatively high.
For example, the highest process pid in Oracle is 1138782, accounting for 27% of the CPU.
2. Identify sid
Currently, most websites using MySQL use Memcache as the key-value cache at the same time. Although such an architecture is extremely popular and there are many successful cases, it relies too much on Memcache to virtually make Memcache the root
To eliminate the connection problem between the client and the server, first check whether the client configuration is correct (the client configuration must be consistent with the database server listening configuration), and then solve the problem
Create and use Oracle DBLINK
How to create? How to use it?
Describes how to create and use Oracle database links.
A simple application scenario for Oracle DBLINK
If there are two Oracle databases, one day the business needs to make the data of one
DataGuardAbbreviationDGIs a database-levelHAThe main functions of the solution are redundancy, data protection, and fault recovery,DGProduction database"Transaction consistencyCopy ",Use the physicalCopyAfter the slave database is created, the
Count the number of employees in the Department (number of employees = number of employees in the department + number of lower-level departments)Department table: Employee table: SQL statement:
With Temp As(
SelectT1.deptidAsId, t1.supdeptid
Recently, there are a bunch of Delete statements to be executed. The 34 Delete statements are written as one PROCEDURE for execution, but the execution plan and time of a single DELETE statement cannot be seen during execution, think of using
Today, at the customer's request, the password for creating a user must be the same as that for the source database. However, I found that the source database password is 123456, which is very simple and starts with a number. This Oracle is not
Database ora-27100: solution to shared memory realm already exists errors
Environment:Operating System Platform Windows Service 2003 R2 x86Database Version: Oracle Enterprise 9.2.0.1 for windows x86
Today a customer database cannot start,
A recently written data collection program generates a file containing more than million rows of data. The data consists of four fields, and the second field must be deleted as required, no suitable tool was found in linux. stream processing tools
When using spfile, you can use the v $ parameter. ISSYS_MODIFIABLE field to determine the initialization parameters that can take effect without restarting.
V $ parameter. ISSYS_MODIFIABLE parameter
Indicates whether the parameter can be changed
There are many ways to get the execution plan of Oracle. Here we only introduce a few of them.(1) To get plan from MemoryFor SQL ID:Select * from table (dbms_xplan.display_cursor ('& SQL _id '));Select * from table (dbms_xplan.display_cursor ('& SQL
1. Create a tablespace1. Create a common tablespace to specify the initial size, which is automatically expanded. Maximum Size:(The maximum size of a single smallfile data file allowed by Oracle is 4194302 * blocksize, and the maximum size of a
Run the following command
Sqlplus/as sysdba
Create tablespace test datafile '/data/test01.dbf' size 10240 M;
Quit;
EOF
Run the ps-ef | grep sqlplus command to obtain the process id of the Command executed above: 12345
(1) v $ process
If the
This command uses a statement to update and insert data to a table from one or more data sources. in Oracle 9i, the UPDATE and INSERT keywords must be specified at the same time. ORACLE 10g has made the following changes.1. insert and update 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