Oracle³£ÓÃÃüÁî
1. ÐÞ¸Äredo log file´óС
SQL> select group#,status from v$log;
SQL> alter database add logfile group 4 'F:\oracle\product\10.2.0\oradata\orcl\REDO04.LOG' size 512m;
SQL> alter system switch logfile;
SQL> select group#,status from v$log;
2. ÐÞ¸Älarge_pool_size´óС
SQL> alter system set large_pool_size=150m scope=both;
3. ²é¿´oracle°æ±¾
select * from product_component_version;
4. ²é¿´ËùÓÐdirectory
select * from dba_directories;
5. ´´½¨Ò»¸ödirectory
create directory dmpdir as 'c:\temp\dump';
GRANT READ,WRITE ON DIRECTORY dmpdir to system;
6. ɾ³ýdirectory
drop directory dmpdir
6. È·ÈÏÒÑÓеıí¿Õ¼ä
select a.TS# ,a.NAME , b.NAME from v$tablespace a,v$datafile b where a.TS# = b.TS#;
Ïà¹ØÎĵµ£º
Temporary TablesÁÙʱ±í
1¼ò½é
ORACLEÊý¾Ý¿â³ýÁË¿ÉÒÔ±£´æÓÀ¾Ã±íÍ⣬»¹¿ÉÒÔ½¨Á¢ÁÙʱ±ítemporary tables¡£ÕâЩÁÙʱ±íÓÃÀ´±£´æÒ»¸ö»á»°SESSIONµÄÊý¾Ý£¬
»òÕß±£´æÔÚÒ»¸öÊÂÎñÖÐÐèÒªµÄÊý¾Ý¡£µ±»á»°Í˳ö»òÕßÓû§Ìá½»commitºÍ»Ø¹örollbackÊÂÎñµÄʱºò£¬ÁÙʱ±íµÄÊý¾Ý×Ô¶¯Çå¿Õ£¬
µ«ÊÇÁÙʱ± ......
ÏÖÔÚµÄÏîÄ¿±È½Ï½ô£¬¼ÓÉÏ×Ô¼ºÒ²±È½ÏÀÁ£¬ÊµÔÚÊǓûʱ¼ä”д°¡£¬ºÇºÇ£¬×òÌì¿´µ½Ò»ÆªÍ¦ºÃµÄOracle´æ´¢¹ý³ÌµÄÀý×Ó£¬ÕýºÃ×î½üÒªÓã¬×ª¹ýÀ´´ó¼ÒÒ»Æð·ÖÏíһϣ¬Ð»Ð»£¨³¿¹âӳϼ£©£¬Ô×÷µØÖ·£ºhttp://blog.csdn.net/xuyabao/archive/2008/03/20/2200205.aspx¡£
--------------------×Ô¶¨Ò庯Êý¿ªÊ¼-------------- ......
ͨ¹ýwindowsÊý¾ÝÔ´¹ÜÀí£¬½¨Á¢ODBCÊý¾ÝÔ´¡£
ÎÒµÄÊÇ»ùÓÚoracle10g¡£
´ò¿ªWindowsµÄ¿ØÖÆÃæ°å
´ò¿ª¹ÜÀí¹¤¾ß
´ò¿ªÊý¾ÝÔ´(ODBC)
Ñ¡ÔñÄãÒª²Ù×÷µÄÊý¾Ý¿âÀàÐÍ
1.ÎÒÑ¡ÔñµÄʱºò±¨Î´ÕÒµ½¿Í»§¶Ë×é¼þºÍһЩ¿Í»§ ......
ÓÃoracle¶ÁÈ¡±¾µØÎļþ
Ê×ÏÈÒªÔÚoracleÖд´½¨Îļþ¼Ð£¬È»ºó¸³ÓèÏàÓ¦µÄ¶ÁдȨÏÞ£¬È»ºóÊý¾Ý¿â²ÅÄܶÁȡϵͳÖеÄÎļþ
--´´½¨Îļþ¼Ð ²¢¸³ÓèȨÏÞ¸øÓû§
create or replace directory DIRNAME as 'D:\skybook2';
grant read,write on directory DIRNAME as to USERNAME;
GRANT EXECUTE ON utl_file TO USERNAME;
´´½¨³É¹¦¿ÉÒÔ² ......
×¢: ÕâÊǸöÈË¿´OracleÊÓƵʱдϵıʼÇ, ¶àÓдíÎó, Íû¸÷λÇÐÎðÁßϧ´Í½Ì.
1. Dos
ϵǽ³¬¼¶¹ÜÀíÔ±
£º
sqlplus sys/
ÃÜÂë
as sysdba
2.
¸ü¸Ä¹ÜÀíÔ±
£º
alter user scott account unlock;
3.
Êý¾ÝµÄ±¸·Ý
.
A
µ¼³ö
:
Cmd
ÏÂ
: ......