Kernel.shmmax = 2147483648 Kernel.shmmni = 4096 Kernel.sem = 32000 Net.ipv4.ip_local_port_range = 9000 65500 Net.core.rmem_default = 4194304 Net.core.rmem_max = 4194304 Net.core.wmem_default = 262144 Net.core.wmem_max = 1048576
5) Edit/etc/profile, enter the command: Vi/etc/profile, Press the I key to enter the editing mode, the following content to join the file.
if [$USER = "Oracle"]; The
in the Oracle 11g , open Archive Log mode, the default archive directory is db_recovery_file_dest specified. This parameter can be specified in Pfile/spfile:Show Parameter Db_recovery_file_destdb_recovery_file_dest= /oracle/11g/flash_recovery_areaChange Archive modeneed to be MountState, change the archive mode. sql>
"Introduction to this article"Recently, because of the needs of a project, from zero to learn from Oracle, now learn to share a record of things.The first is the installation, in the WIN8 installed 10G has failed, online various methods have tried, and finally have to give up, choose 11G.The installation of 11G is very simple, basically is "next"-"complete" mode, this article just describes which steps need
system (for example, OCFS2 or ACFS), and adding new nodes to the cluster is simplified because the software does not need to be reinstalled on the new node. Patching is also simplified-only one Oracle home directory needs to be patched. But patches cannot be installed in rolling, so downtime is unavoidable. During the installation, Oracle Universal installer will alert the administrator to install or upgra
sensitive.
In SQL * Plus, each SQL statement must end with a semicolon. If the statement is long, You can distribute the statement text to multiple rows and end with a semicolon.
2.1 common Oracle 11g Data Types
Character Type
CHAR type
CHAR indicates a fixed-length string. If the length is insufficient, spaces are used to supplement the string. Up to 2000 byt
-productionCORE 11.2.0.1.0 ProductionTNS for Linux:version 11.2.0.1.0-productionNlsrtl Version 11.2.0.1.0-productionsql> drop table test purge;Sql> CREATE TABLE Test as SELECT * from Dba_objects;sql> INSERT INTO Test select * from Dba_objects;Sql> commit;Sql> Select COUNT (*) from test;COUNT (*)----------149012Sql> Set Timing onSql> ALTER TABLE test add col1 char () DEFAULT ' LARGE COLUMN ' not null;Time used: 00:00:00.07sql> SELECT SUM (BYTES)/1024/1024 | | ' M ' from user_segments WHERE segmen
database to local, error is as follows:Encountering errors in Export logfileExp-00008:oracle Error # encounteredora-01455:converting column overflows integer datatype2, in 11g environment with EXP will export data, and then through IMP user/[email protected] remote way to import, error is as follows:IMP-00015: Because an object already existsDescription: Before
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
Create an Oracle 11g database using commands
This document describes how to create an Oracle database that complies with the OFA specification using the create database Command of the Oracle database.
1. Set the environment variable (vi. bash_profile or save it as an executable file for creation)
ORACLE_BASE =/u01/app
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 _
Tags: Oracle 11g NULL table cannot be exportedRecently in Oracle 11G. An issue was found when importing data exports: Oracle does not export empty tables with no data. The
The crs_stat command in Oracle 11g RAC has many new resource types compared with the previous version. By default, crs_stat-t is used to check that resources are a large piece of data, it looks really laborious. The author Paul Elbow and Enkitec provided us with a crsstat script to display all the resource types under Oracle
After Oracle 11g RAC is installed, why does crsd on the second node fail to start? The error message is CRS-4535: cannot communicate with cluster ready services. The specific error information must be viewed in the crsd. log.
1. Environment [root @ linux2 ~] # Cat/etc/issue Enterprise Linux Server Release 5.5 (Carthage) kernel \ r on an \ m [root @ linux2 bin] #. /crsctl query CRS activeversion
Http://blog.sina.com.cn/s/blog_7c855cf70100shrv.html
Oracle 11g and EM cannot be started. It may be because the IP address has changed. So I used the emca command to reconfigure Oracle em. The specific process is as follows:I: \ Documents ents and Settings \ geshaoqing> emca-config dbcontrol DB-repos recreateEmca started at 11:16:40Em configuration assistant 10.2
restriction can be used only when there is no record in the table or the default value is specified.1.3 DescriptionThrough the above description, I have a certain understanding of add column. Before Oracle 11g, if we want to add a column that is not empty, we need to specify the default value. If the table is very large, after adding the column, update all records in the table and add new default values. T
I. Overview of table SpacesThe tablespace is the largest logical storage structure in Oracle and corresponds to the data files in the operating system;Basic tablespace: A permanent tablespace used by the user to store the user's persistent dataTemporary tablespace: Primarily used to store temporary data generated during sorting or summarization;Large file tablesp
The result of the Oracle 11g RAC crs_stat command shows that the crs_stat command in Oracle 11g RAC has many new resource types compared with the previous version. By default, the use of crs_stat-t to view resources is a large piece of data that looks really laborious. The a
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.