Requirement: migrate the Oracle 9205 database of the original system to a new server and array. The original system has GB of data and needs to stop the services of the original system for cold backup and recovery.
The solution is as follows:
◆ 1.
1. What is registration?
Registration is to register the database as a service to the listener. The client does not need to know the Database Name and Instance name. It only needs to know the service name provided by the database to external users
According to the definition of NULL, NULL indicates unknown. Therefore, the results of two NULL comparisons are neither equal nor unequal, and the results are still unknown. According to this definition, the existence of multiple NULL values should
1. Go to the oracle server AMX currently used, execute
[Oracle @ lnxas4-ce2 ~] $ Sqlplus/nolog
SQL * Plus: Release 10.2.0.1.0-Production on Wed Jan 12 07:18:47 2011
Copyright (c) 1982,200 5, Oracle. All rights reserved.
SQL> connect/as
Today, I used hibernate to access the oracle database and found a problem;Java code icacert IcaCaCert = icaCaCert. findByCertSerialNumber (certSerial); An exception is reported: the stream is disabled.
Looking at the database, we found that there
Symptom: Anyone who has used Oracle in a multi-language environment must have encountered such a problem,
Date_v date; date_v: = to_date (2010/11/16); -- different Oracle clinet may not work for the same server on 2010/11/16.
Cause: If the
1. First create a custom package, which contains the declaration of the cursor variable
Create or replace package POLICE. pkg_package
As
Type type_cursor is ref cursor;
End;
2. Use of Stored Procedures
Create or replace procedure POLICE. DangXmList (
I encountered a problem a few days ago. It took more than eight hours to recreate the index of a table. Later, I checked carefully to create a slow index and found that the index was basically a global index and was rebuilt ONLINE. The
Two meanings of table size in OracleOne is the number of physical spaces allocated to a table, regardless of whether the space is used or not. You can query the number of bytes as follows:Select segment_name, bytesFrom user_segmentsWhere
In Oracle, a statement block is used as a default transaction. That is to say, if you only execute a block of ORACLE statements, it is executed in the form of transactions by default.
Create or replace procedure sp_EditInlayOut (
Fid number, --
Manage table column table operations 1. Change column Definitions
alter table .....modify
2. Add Columns
Alter table hr. admin_emp ADD (bonus NUMBER (); if you ADD columns to the table of basic compression, you cannot specify the default value. If
Oracle 10046 event tracking is generally not recommended for 10046 events, because if the performance of the instance to be processed in front of you is poor, 10046 event tracking, it may make your instance performance worse. In general, we can
How to Set the control file size in oracle because the control file is a file frequently operated by the Oracle server, this file should be configured as small as possible. However, Oracle does not provide a direct way to configure the Oracle size.
To implement conditional statistics in the count () function, use the SUM function to replace the count () function and use the SUM function to implement conditional statistics, you can use the case when statement or Decode function to convert the
Memory of oracle-Spur (2) pga is not shared in the Process of the operating system or a memory area specific to the thread. Because pga is specified by a process, it is not allocated in sga. Pga is a memory heap that contains session variable
Run the following statement to view the deadlock:
Select/* + rule */lpad ('', decode (l. xidusn, 0, 3, 0) | l. oracle_username User_name, o. owner, o. object_name, o. object_type, s. sid, s. serial #, p. spidfrom v $ locked_object l, dba_objects o,
A colleague from the analysis and optimization team of a node "downtime" of a RAC database received a notification that a set of RAC databases in Beijing had "crashed" at on January 1, July 1 ", it is unknown whether all the machines are down or if
ORACLE Control File Management 1. Control File: a binary file that records the physical structure of the database. 2. The control file mainly includes the Database Name (DB_NAME) data file name and location, REDOLOG file name and location database
Oracle AWR conducts in-depth research and analysis on how to use AWR, formerly known as statspack. Of course, AWR is still in use, but everyone is using it because it is convenient, simple, intuitive, and visual. AWR is a built-in oracle tool. It
How Does Oracle create an index for the big data database in a hundred million-level record table? 1. in the previous phase, a project was created, and a data in the production system needs to be exported to the backup machine. This table contains
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.