can modify the parameters of the main library by using the following commands. After modification, create Pfile.ora = '/backup/pfile.ora from spfile= '/oracle/product/11.2.3/dbs/initjlprojct1.ora '; sql> ALTER SYSTEM SET log_archive_dest_1= ' Location=+arch/jlprojct/archivelog valid_for= (all_logfiles,all_roles) Db_unique_name=jlprojct '; System altered. sql
Some ASP. NET + Oracle 11G systems write and learn essays, including Oracle's "rownum" and "sequence serial number 」. (6) Oracle rownum, equivalent to the select top of other databases Oracle does not support the select top syntax. to retrieve the maximum or minimum records, you must use the rownum keyword and subque
from the master database to the Standby DB:SQL> alter system set log_archive_dest_state_2 = defer;Re-enable log transmission after flashing back:SQL> alter system set log_archive_dest_state_2 = enable;
Oracle 11g environment:The steps are simpler. The new features of Snapshot Standby Database are added to the 11g, which is actually a package of the above 10g fun
How to export an empty table in Oracle 11g
Because of the new features created by the delay segment of Oracle 11g, Oracle does not allocate data segments when there is no data insertion, leading to exp being unable to export the empty table of the
I recently looked at a blog and found that Oracle 11g provided the new feature of user rename. In a 10g environment, if you want to rename a user, you should first create a new user and authorize it, import all objects under the original user and delete the old user! Next we will introduce this new feature in the 11g rac environment!
1. Create a test user xxx and
used and that the different invocations of the statement use the same execution plan. A bound peek is no longer useful for generating a valid execution plan if different invocations of the statement derive significant benefits from different execution plans.
A schedule does not always apply to all bound values, and in order to resolve this problem as much as possible, Oracle Database 11g introduces adapti
---------- ----------------------------------------1 First row of data3 third row of dataNext, perform a recovery operation on the data you just deleted:1. Turn on the mobile function of the tableSql> ALTER TABLE TB_FLASH1 enable row movement2/The table has changed.2. Restore the table to the time when the data was deleted (note that the time is as close as possible to the time you deleted the data or slightly forward)Sql> Flashback table Tb_flash1 to
After migrating the data of a test system from Oracle 10 Gb to 11 GB, I heard the developers say that they failed to execute an SQL statement to create an index, but it can be executed normally in 10 Gb. This index is a function index with duplicate columns. It may be incorrect and this index is not useful. Therefore, you have never paid attention to this index. I felt quite interesting, so I tried it mysel
pfile= ' $ORACLE _home/dbs/initicsdb.ora 'Sql> create SPFile from Pfile;Run the following script:CREATE DATABASE IcsdbUSER SYS identified by Sys_passwordUSER SYSTEM identified by System_passwordLOGFILE GROUP 1 ('/ora_data/icsdb/redo01a.log ', '/ora_data/icsdb/redo01b.log ') SIZE 100M BLOCKSIZE 512,GROUP 2 ('/ora_data/icsdb/redo02a.log ', '/ora_data/icsdb/redo02b.log ') SIZE 100M BLOCKSIZE 512,GROUP 3 ('/or
Solution for Oracle 11g forgetting SYS and SYSTEM passwords
Oracle 11g forgets the SYS and SYSTEM passwords. The answer is simple: change the password!
1. First, log on to the SYS account using the operating SYSTEM authentication method and change the SYSTEM account password.
$ Sqlplus/as sysdba
With the upgrade of the Oracle version, RMAN is also enhanced. RMAN in Oracle11g supports the use of different operating systems and different databases. For the compatibility of RMAN, refer:
Oracle RMAN compatibility and FAQs between different versions and different platforms
This article demonstrates an example of restoring 10 Gb to 11 GB in linux.
Target end:
OS: Ora
synonym SMP_EMD_AVAIL_OBJ FOR SMP_EMD_AVAIL_OBJ*ERROR at line 1:ORA-00955: name is already used by an existing object
Finally, we can use this SQL statement to check which Common synonyms are used to clean up sysman.Select 'drop' | OWNER | 'synonym' | SYNONYM_NAME | ';' from dba_synonyms where TABLE_owner = 'sysmanc ';
It is found that there are nearly 20 such public synonymAfter cleaning up again, the installation of EM is successfully completed.How
Label:OS: Oracle Linux Server Release 5.7 Db: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0-64bit Production 1. Check the Listening status: sql>!lsnrctl Status Lsnrctl for linux:version 11.2.0.3.0-production on 12-nov-2013 01:36:29 Copyright (c) 1991, Oracle. A
Before Oracle 11g, we can create pfile from spfile or use pfile to create spfile. In Oracle 11g, spfile management is enhanced. You can use memory to create pfile and spfile.
Syntax:
Create pfile [= 'pfile _ name']
From {spfile [= 'spfile _ name']} | memory };
Create spfile [= 'spfile _ name']
From {pfile [= 'pfile _
Before Oracle 11g, we can create pfile from spfile or use pfile to create spfile. In Oracle 11g, spfile management is enhanced. You can use memory to create pfile and spfile.
Syntax:
Create pfile [= 'pfile _ name']
FROM {SPFILE [= 'spfile _ name']} | MEMORY };
Create spfile [= 'spfile _ name']
FROM {PFILE [= 'pfile _
The Oracle HR example uses 10g, 11g, and oracle11g.
Oracle HR example users can create 10g, 11g
First, add the 10. SQL files in the attachment (see the end of the article) to this path:
$ ORACLE_HOME/demo/schema/human_resources
Script Name
Description
After successfully installing the Oracle 11g Database, you will find that your computer runs slowly, and your computer with low configuration may even experience very bad conditions, by disabling non-essential Oracle services, you can speed up your computer. So what should we do?
After Oracle
The following error occurred while starting the Oracle 11g RAC database, only one of the nodes could be started, and the other node could not start, possibly due to a previous modification of the Cluster_database parameter. This parameter must be set to true in the Oralc RAC schema.
Error message:
ora-01102:cannot Mount Database in EXCLUSIVE mode
Work
vote disk, which is restarted when a node with >=3 vote disk connection times out due to network or storage reasons. When one or two vote disk is damaged, it does not affect the operation of the cluster.How to view the configuration of an existing systemFor an existing system, the following methods can be used to confirm the heartbeat configuration of the DB instance, including the NIC name, IP address, and network protocol used.? The simplest method can be obtained in the database background a
Oracle 11g statistics collection-collecting multi-column statistics
When writing an SQL statement, we may encounter multiple conditions following the where clause, that is, we can filter the data based on the conditions of multiple columns. By default, Oracle will multiply multiple columns to obtain the selectivity of
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.