Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

as5°²×°oracle²½Öè


Ò»:½¨Á¢Óû§,Óû§×é:
groupadd dba
groupadd oinstall
useradd oracle -g oinstall -G dba
passwd oracle
¶þ:ÐÞ¸Ä˵Ã÷,¸ÄΪas4
vi /etc/redhat-release
Ð޸ĺóµÄÄÚÈÝ:
Red Hat Enterprise Linux AS release 4 (Nahant Update 4)
#Red Hat Enterprise Linux Server release 5.4 (Tikanga)
Èý:¸Ähost(²»±Ø,ÍøÉÏËµÍøÂç¼ì²éͨ²»¹ý,Æäʵ¿ÉÒÔ²»½øÐÐÍøÂç¼à²ì,ÔÚ°²×°oracleʱÓÐÒ»²½ÊǼì²é,°ÑÍøÂç¼à²ìµÄ¹´È¥µô¼´¿É)
vi /etc/hosts
Ð޸ĺóµÄÄÚÈÝ:
192.168.10.172               localhost.localdomain localhost
ËÄ:export LC_ALL=en_US(Èç¹ûas5°²×°Ê±ÊÇenglishʱ,²»±Ø)
Îå:ÔÚ/etc/sysctl.confÌí¼Ó
kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 4096
# semaphores: semmsl, semmns, semopm, semmni
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default=262144
net.core.rmem_max=262144
net.core.wmem_default=262144
net.core.wmem_max=262144
ʹ֮ÉúЧ:
/sbin/sysctl -p
Áù:ÔÚ/etc/security/limits.confÖÐÌí¼Ó
*               soft    nproc   2047
*               hard    nproc   16384
*               soft    nofile  1024
*               hard    nofile  65536
Æß:ÔÚ/etc/pam.d/loginÖÐÌí¼Ó
session    required     /lib/security/pam_limits.so
°Ë:½ûÖ¹secure linux
vi /etc/selinux/config
ÐÞ¸ÄÒÔÏÂÐÐ:
SELINUX=disabled
¾Å:vi ~/.bash_profile
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
        . ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin
export PATH
ORACLE_BA


Ïà¹ØÎĵµ£º

oracle 10gÏÂÔØµØÖ·

¼Ç¼һÏÂORACLE 10gR2µÄÈí¼þÏÂÔØµØÖ·£¬±¸Óá£
ÏÂÔØOTNÉϵÄÕâЩÈí¼þ£¬ÄãÐèÒªÒ»¸öOTNÃâ·ÑÕʺţ¬²»¹ýÈç¹ûͨ¹ýѸÀ×½øÐÐÏÂÔØ£¬¾Í²»ÓõǽOTNÁË£º
Oracle Database 10g Release 2 (10.2.0.1.0) Enterprise/Standard Edition for Microsoft Windows (32-bit)
http://download.oracle.com/otn/nt/oracle10g/10201/10201_database ......

oracleµÄÄÚ´æ½á¹¹

Êý¾Ý¿âµÄÄÚ´æ½á¹¹£º
    Memory structures are allocated to the Oracle instance when the instance is started.
The two major memory structures are known as the System Global Area(Also called the shared
Global Area)and the Program Global Area(also called the Private Global Area or the ......

Oracle DBMS_METADATA Ó÷¨Àý×Ó

rom£ºhttp://www.psoug.org/reference/dbms_metadata.html
General Information
Source
{ORACLE_HOME}/rdbms/admin/dbmsmeta.sql
First Available
9.0.1
¼¸¸ö³£Óùý³Ì»òº¯Êý£º
GET_DDL
Fetch DDL for objects
dbms_metadata.get_ddl(
object_type IN VARCHAR2,
name        IN VA ......

Oracle ·ÖÎöº¯Êý·Ö×éÀÛ¼Ó£¡

Óû§ºÅÂë µÇ½ʱ¼ä
1300000000 2010-01-01
1300000001 2010-01-01
1300000002 2010-01-02
1300000001 2010-01-02
1300000003 2010-01-03
1300000002 2010-01-03
1300000004 2010-01-04
1300000003 2010-01-04
1300000004 2010-01-02
1300000006 2011-01-04
1300000001 2011-01-04
 ÌÞ³ýÖØ¸´µ ......

oracleÐòÁвÙ×÷

--  ÐòÁвÙ×÷ --
-- ´´½¨ÐòÁÐ
CREATE SEQUENCE u_sales_SEQ INCREMENT BY 1 START WITH 1 MINVALUE 1 NOCYCLE NOCACHE NOORDER;
-- ²é³öËùÓдæÔÚµÄÐòÁÐ
SELECT * from  user_sequences  
-- ɾ³ýÐòÁÐ
DROP  SEQUENCE  U_SALES_SEQ;
-- ²é³öÏÂÒ»¸öÐòÁÐID
SELECT  U_SALES_SEQ. ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ