Install ORACLE 11g R2 on CentOS 5.5. Tutorial 1: prerequisites 1. Prepare CentOS. First, what is the most important: partition is the most important. Obviously, the larger the partition, the better, especially the larger the SWAP space, at least 2 GB. Second, for beginners, there are two points to note. First, it is best to install the software in full compliance; second, remove the firewall, SElinux, and s
> list datafilecopy all; rman> Delete Expired backupcopy; Rman> crosscheck datafilecopy All; rman> Delete Expired backupcopy;If this is due to the Flash recovery area capacity limit, you can modify the path and capacity of the flash recovery area:Sql> alter system set db_recovery_file_dest= '/data/app/oracle/test ';Sql> alter system set db_recovery_file_dest_size=10g;Rman Incremental BackupWhen you use Backup database, it is a full-library backup, whi
Oracle 11g EM Dbconsole reconstruction tutorial, 11 gdbconsole
Overview: You can use command lines and graphical interfaces to manage the daily management of oracle databases. command lines include commands such as sqlplus, srvctl, and crsctl, the graphic interface includes
Oracle 11g Data Loading Methods
Data Loading:
SQL * LOADER
External table
Import/Export
SQL * LOADER:
SQL * LOADER is an Oracle tool that can load data from external data files to databases.
The command for running SQL * LOADER is sqlldr.
Two Sqlldr usage methods:
1. Use only one control file, which contains data
The Oracle installation and configuration process is closely related to the operating system, storage, and network. Especially in Linux and AIX environments, the configuration process is relatively complex. A link error may cause a series of faults in the future.In addition, the steps and methods for executing the same installation project vary greatly with the Oracle version. For example, Data Guard has th
After the CentOS system is installed, you can start the installation of Oracle 11g. First, you must make some preparations.
Use commands to create an Oracle account and corresponding user groups
Create a folder and grant the Oracle user permissions, as shown in the commandUse the root account to make a series of chan
, Emp_name("*" is indicated before the statement)The a command is used to add characters directly to the end of the current line, such as when the above statement is run:A, emp_deptThen the executed instruction becomes:SELECT emp_id, Emp_name, emp_deptFrom EmployeesWHERE emp_age > 30The C command modifies the characters in the current statement, such as typing after the statement is run:The c/emp_name/emp_a
How to fix the standby database after ORACLE 11G replica uard Failover, and restore uardfailoverProblem scenarios after failover:Due to the failover test, a standby database has been changed to the primary database. How can I change this new primary database (the original standby database) back to the standby database?Both are primary, p1, and p2. How can I set one primary database 1 to p1, And the other pr
Redhat 7 oracle 11g Silent Installation step tutorial, redhat11g
I. Preparations before installation
1. Modify the Host Name
sed -i "s/HOSTNAME=localhost.localdomain/HOSTNAME=oracledb.01/" /etc/sysconfig/network
2. Add the host name to correspond to the IP address
vim /etc/hosts
Append at the end: 192.168.0.71 oracledb.01
3. Disable seLinux
sed -i "s/SELINUX=enforcing/SELINUX=disabled/" /etc/selinux/confi
of the Tnsnames.ora file. For example, my machine is: d:/instantclient_11_2/network/admin4, set the language of Oracle, add the environment variable Nls_lang, the value is simplified Chinese_china. Zhs16gbkAssuming that the Oracle language of the remote database is unclear, SSH or telnet to the remote machine, enter in the command interface, and connect to the d
example, my machine is: d:/instantclient_11_2/network/admin4. Set the Oracle language, add the environment variable Nls_lang, and the value is simplified Chinese_china. Zhs16gbkIf you do not know the Oracle language of the remote database, you can ssh or telnet to the remote machine, enter it at the command interface, and connect to the database using the
and over again to get the elusive exclusive lock-up time available.
Since everyone encountered the same problem when changing tables during system busy periods, they found this new feature very helpful. Therefore, DBA would like to know whether the behavior can be set as the default behavior, so that it does not need to execute the alter session Statement every time?
Yes, yes. If you executeAlter system set DDL_LOCK_TIMEOUT = 10, The session will automatically wait for this period of time durin
Some ASP. NET + Oracle 11G systems write-and-learn essays, including Oracle's "batch Update" and Oracle's internal encoding set to the Unicode Character Set. (4) Oracle "batch Update", "batch Add", and "batch Delete" Syntax Oracle can still isolate Multiple SQL statements using semicolons (;), such as SQL Server and
of11029786628Rman>rman> restore database from '/pddata2/oracle/backup/data/2015-03-30/full_powerdes_20150330_3395.bak ';Starting restore at 02-apr-15Using channel Ora_disk_1rman-00571:===========================================================RMAN-00569: =============== ERROR Messagestack follows ===============rman-00571:===========================================================Rman-03002:failure of restore com
the following query: [Email protected] rc.d]$ find-name ' k*oracledb ' ./rc2.d/k10oracledb ./rc4.d/k10oracledb ./rc6.d/k10oracledb ./rc1.d/k10oracledb ./rc0.d/k10oracledb [Email protected] rc.d]$ find-name ' s*oracledb ' ./rc5.d/s80oracledb ./rc3.d/s80oracledb [Email protected] rc.d]$ chkconfig--list oracledb OracleDB 0:off 1:off 2:off 3:on 4:off 5:on 6:off As in the previous OracleDB file, the first two lines of comments may not be written, you can use the file link: # ln-s/etc/init.d/oracledb
In addition to the simple backup and recovery functions, RMAN has been given more and more responsibilities, such as creating Standby databases, such as cross-platform transfer of table space conversion. Oracle 11G's RMAN does not have many sudden updates.
1. Customize the archivelog deletion policy
We know that before 11 GB, only the deletion policy of backupset can be defined, such as how long the backup is retained or how many valid backups are ret
configuration, you can start the data listener, instance, ASM instances directly with the Dbstart command, but have not started oracle10g em,oracle the use of Web page management database is quite convenient, It is also a feature of the 10g, so it should be started with the service. $ORACLE _home/bin/emctl Start Dbconsole So we can use the rc.local or Redhat ser
end of the installation, you will be prompted to execute two scripts: Execute the two scripts again with the root user.Note: When the second script executes, it depends on the information returned. [[emailprotected] ~]#/u01/app/11.2.0/grid/root.sh Running Oracle 11g root.sh script ... The following environment variables is set as:oracle_owner= ORACLE oracle_ho
user_tables where
Num_rows=0
' Altertable ' | | table_name| | ' allocateextent; '
-----------------------------------------------------------
ALTER TABLE part_time_employees allocate extent;
ALTER TABLE emp_1 allocate extent;
ALTER TABLE T allocate extent;
ALTER TABLE hourly_employees allocate extent;
So for some online on the oracle11g on the first use of manual distribution extent and then use EXP to guide the database, in fact, the effect is not very much, but is a number of direct u
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.