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

Oracle ¸ü¸Ä±í¿Õ¼äλÖõľßÌå²½Öè

[oracle]> sqlplus /nolog
SQL*Plus: Release 10.2.0.1.0 – Production on Tue Aug 19 03:46:29 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
SQL> conn /as sysdba
Connected.
SQL> shutdown immediate
ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORACLE instance started.
Total System Global Area 167772160 bytes
Fixed Size 1977208 bytes
Variable Size 104862856 bytes
Database Buffers 58720256 bytes
Redo Buffers 2211840 bytes
Database mounted.
Database opened.
SQL> alter tablespace users offline;
Tablespace altered.
SQL> host mv /opt/oracle/oradata/ora10g/users01.dbf /opt/oracle/oradata_bak/
SQL> exit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 – 64bit Production
With the Partitioning, OLAP and Data Mining options
[oracle]> ls
control01.ctl control03.ctl redo01.log redo03.log system01.dbf undotbs01.dbf
control02.ctl example01.dbf redo02.log sysaux01.dbf temp01.dbf users01.dbf
[oracle]> mv /opt/oracle/oradata/ora10g/users01.dbf /opt/oracle/oradata_bak/
[oracle]> sqlplus /nolog
SQL*Plus: Release 10.2.0.1.0 – Production on Tue Aug 19 03:52:19 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
SQL> conn /as sysdba
Connected.
SQL> alter tablespace users
2 rename datafile ‘/opt/oracle/oradata/ora10g/users01.dbf’ to ‘/opt/oracle/oradata_bak/users01.dbf’;
Tablespace altered.
SQL> alter tablespace users online;
Tablespace altered.
¼ûЧ¹û
=============================================
RMAN> report schema
2> ;
Report of database schema
List of Permanent Datafiles
===========================
File S


Ïà¹ØÎĵµ£º

oracle ±í¿Õ¼ä²Ù×÷

oracle±í¿Õ¼ä²Ù×÷Ïê½â
  1
  2
  3×÷Õߣº   À´Ô´£º    ¸üÐÂÈÕÆÚ£º2006-01-04 
  5
  6 
  7½¨Á¢±í¿Õ¼ä
  8
  9CREATE TABLESPACE data01
 10DATAFILE '/ora ......

raw oracleÈ«½â

1£®Ê²Ã´½Ð×öÂãÉ豸£¿
¡¡¡¡ÂãÉ豸£¬Ò²½ÐÂã·ÖÇø£¨Ô­Ê¼·ÖÇø£©£¬ÊÇÒ»ÖÖûÓо­¹ý¸ñʽ»¯£¬²»±»Unixͨ¹ýÎļþϵͳÀ´¶ÁÈ¡µÄÌØÊâ×Ö·ûÉ豸¡£ËüÓÉÓ¦ÓóÌÐò¸ºÔð¶ÔËü½øÐжÁд²Ù×÷¡£²»¾­¹ýÎļþϵͳµÄ»º³å¡£
¡¡¡¡
¡¡¡¡2£®ÈçºÎ±æ±ðÂãÉ豸£¿
¡¡¡¡ÔÚUnixµÄ/dev Ŀ¼Ï£¬ÓÐÐí¶àÎļþ£¬ÆäÖÐÓÐÁ½¸ö´óÀࣺ×Ö·ûÉ豸ÎļþºÍ¿éÉ豸Îļþ¡£
¡¡¡¡× ......

oracle³£Óñí

 user_objects Óû§¶ÔÏóÐÅÏ¢
user_source Êý¾Ý¿âÓû§µÄËùÓÐ×ÊÔ´¶ÔÏóÐÅÏ¢
user_segments Óû§µÄ±í¶ÎÐÅÏ¢
user_tables Óû§µÄ±í¶ÔÏóÐÅÏ¢
user_tab_columns Óû§µÄ±íÁÐÐÅÏ¢
user_constraints Óû§µÄ¶ÔÏóÔ¼ÊøÐÅÏ¢
user_sys_privs µ±Ç°Óû§µÄϵͳȨÏÞÐÅÏ¢
user_tab_privs µ±Ç°Óû§µÄ¶ÔÏóȨÏÞÐÅÏ¢
user_col_privs µ± ......

Oracle ASM´æ´¢·½Ê½Ç³Îö


AU
ASMµÄ×îС·ÖÅäµ¥Ôª£¬Ä¬ÈÏÊÇ1M£¬¿ÉÒÔÔÚ´´½¨diskgroupʱָ¶¨¡£ÔÚdiskgroupÖеÄÿ¸öÅ̶¼±»ÇзÖΪºÜ¶à¸öAU£¬¿ÉÒÔÊÇ1, 2, 4, 8, 16, 32, or 64MB¡£
File Extent
ÓÉÒ»¸ö»ò¶à¸öAU×é³É£¬Ò»¸öfile extent×ÜÊÇÔÚÒ»¿é´ÅÅÌÉÏ£¨²»¿ç´ÅÅÌ·ÖÅäAU£©£¬ÕâÀïµÄfile extentºÍÊý¾Ý¿âÖеÄextentÊDz»Í¬µÄ£¬ÎÒÃÇ¿ÉÒÔÕâÑùÀí½â£¬ÕâÀïµÄfile ex ......

oracle 10g pl/sql ѧϰ

Ñ¡Ôñ10gÊÇÒòΪ¶ÔÍø¸ñ¼¼Êõ±È½ÏºÃÆ棬ºÃÏñ»¹Ã»µÃµ½¹ã·ºÓ¦Óã¬Ò²¾ÍÎÞËùνÓëÇ°Ãæ°æ±¾ÓкܴóÇø±ðÁË¡£
ÔÚѸÀ×ÉÏÏÂÁ˸öÈí¼þ£¬ÔËÐÐsqlplusw£¬È»ºóÕÕ×ÅÊ飬¿ñÇÃÁËÒ»·­£¬ÓÐÔÚÍøÉÏÏÂÁ˸öÊÓƵ½Ì³Ì£¨MLDNħÀֿƼ¼_Oracle¿ÎÌã©£¬½²µÃͦºÃµÄ£¬¾ÍÊÇʱ¼ä³¤Á˵㣬²»Èç¿´ÊéÀ´µÃ¿ì¡£·´ÕýÏÖÔÚÖ»ÊÇÏëÊìϤһÏ»ù±¾Óï¾ä¡£
¿´ÁËÁ½ÌìÊéÁË¡£Á˽âÁËÒ» ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ