/** The core solution is to generate a column from 1 to 10 as the "secondary column "**/Select level l FROM dual connect by level [Problem]Two tables A BTable:Id pidA1 1A2 2A3 3Table B:Pid pnumber1 22 33 5Generate such information based on the
Oracle cursor type as input and output parameters:
-- Cursor type input parameterDECLARE/* CURSOR cur_ttt ISSELECT 1 a FROM dual ;*/TYPE typ_cur is ref cursor;Val_cur typ_cur;PROCEDURE temp_sp1 (x_cur OUT typ_cur) ISBEGINOPEN x_cur for select 1 a
This is a problem where RMAN is used in the Oracle database for database operations. The backup performance is slow to unacceptable due to the improper configuration in the default configuration.
The entire problem solving process involves storage
OracleThere are two types of database parameter files:Pfile (Initialize the parameter file)And the other isSpfile (Server initialization parameter file); ActuallySpfileYesPfileA new parameter file derived from the Application9iFor later
Restore the database if the archive log is lost and the data file is damaged. Restore with rman, archive loss, recovery to the specified sequence1. When the database is open, perform some operations to determine the archive log file of these
Starting from 11.2.0.2, Redundant Interconnect with Highly Available IP (HAIP) was added to the cluster software Grid Infrastructure (GI) of Oracle to achieve high availability and load balancing for the private network of the cluster.Before 11.2.0.2
After RAC is started, crs_stat-t displays two resources in the unknown status, as shown below:
Oracle @ RAC1 [/home/oracle] crs_stat-tName Type Target State Host------------------------------------------------------------Ora... SM1.asm application
Logon to MySQL:
Check whether/etc/init. d/MySQL start is enabled for mysql.
Mysql-u root-p
After the password is entered, the ERROR message is as follows: ERROR 1045 (28000): Access denied for user 'root' @ 'localhost' (using password: YES),
How To Configure Server Side TransparentApplication Failover [ID 460982.1]
1. CreateTAFService
[Oracle @ db1 bin] $./srvctl add service-d orcl-s server_taf-r "orcl1, orcl2"-P BASIC
-- Here, orcl is the database name, And orcl1 and orcl2 are instance
1. query timeSQL> select to_char (sysdate, 'yyyy-mm-dd hh24: mi: ss') from dual; TO_CHAR (SYSDATE, 'yy-------------------2012-07-22 14:27:13 2. delete user SCOTT and objectsSQL> drop user scott cascade; 3. Set the system time format$ Export NLS_DATE_
Because the work requires a new database instance in the Oracle 11gR2 database. We recommend that you use oracle to perform the following operations. The order is as follows:
1. Create a parameter file for instance startup. Modify the default
Create an xtdwtest tableCreate table xtdwtest as select * from dba_objectsSQL> select object_id, data_object_id from dba_objects where object_name = 'xtdwtest ';OBJECT_ID DATA_OBJECT_ID------------------------59436 59436 Execution Plan---------------
A set of Oracle RAC 10 Gb database, check that the undotbs tablespace is in the recover status, the remote processing process is as follows:
1. Check the database status:
Select file #, status from v $ datafile where status = 'recover ';
FILE #
I. Basic ConditionsGraphic InterfaceNetworkingIt is best not to start selinux 2. Prepare the software to be installed: (this is very important. The first installation failure is because the software package is not fully loaded)Rpm-qa xxx *Yum
Global_name and db domain in Oracle
1. YouConnect ToSALES.US.EXAMPLE.COMAndQuery the GLOBAL_NAMEDataDictionaryView ToDetermineCurrent DatabaseGlobal name:
CONNECTSYSTEM@Sales.Us.Example.Com
SELECT * FROMGLOBAL_NAME;
GLOBAL_NAME
------------
1. Install Oracle asmlib
Download the appropriate driver on oracle.com. The version must be the same as that of the operating system kernel.
Currently, only the linux operating system has the asmlib package, and other systems do not. Asmlib
1. primary serverConfirm it is master: primarySelect database_role from v $ database;
Alter database commit to switchover to physical standby with session shutdown;Shutdown immediate;Startup nomount;Alter database mount standby database;
2.
In Oracle 10 Gb, the following table's OBJECT_ID_FACTORY record is repeated. This is a dictionary table used to generate record primary key values for some tables. Duplicate key values cause some business operations to fail.
This problem has
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