ORACLEÊý¾Ýµ¼Èë
ÔÚÀûÓÃNETWORK_LINK·½Ê½µ¼³öµÄʱºò£¬³öÏÖÁËÕâ¸ö´íÎó¡£
Ïêϸ´íÎóÐÅÏ¢ÈçÏ£º
bash-3.00$ expdp yangtk/yangtk directory=d_temp dumpfile=jiangsu.dp network_link=test113 logfile=jiangsu.log tables=cat_org
Export: Release11.1.0.6.0 - 64bit Production onÐÇÆÚ¶þ, 16 9ÔÂ, 2008 17:08:22
Copyright (c) 2003, 2007, Oracle. All rights reserved.
Á¬½Óµ½: Oracle Database11gEnterprise Edition Release11.1.0.6.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
ORA-31631:ÐèҪȨÏÞ
ORA-39149:ÎÞ·¨½«ÊÚȨÓû§Á´½Óµ½·ÇÊÚȨÓû§
¼ì²éOracleµÄ´íÎóÊֲ᣺
ORA-39149: cannot link privileged user to non-privileged user
Cause: A Data Pump job initiated be a user with EXPORT_FULL_DATABASE/IMPORT_FULL_DATABASE roles specified a network link that did not correspond to a user with equivalent roles on the remote database.
Action: Specify a network link that maps users to identically privileged users in the remote database.
´íÎóÃèÊöµÄ±È½ÏÇå³þ£¬²»¹ýÕâ¸ö´íÎóºÜÄÑÀí½â£¬ÄѵÀÒ»¸öȨÏÞ´óµÄÓû§²»ÄÜͨ¹ýÊý¾Ý¿âÁ´µ¼³öÒ»¸öȨÏÞСµÄÓû§¡£
µ±È»£¬Á˽âÁËÕâ¸ö´íÎóµÄÔÒò£¬ÆäʵÎÊÌâºÜÈÝÒ×½â¾ö¡£ÔÚ±¾µØ´´½¨Ò»¸öÐÂÓû§£¬²»ÒªÊÚȨEXP_FULL_DATABASE/IMP_FULL_DATABASE½ÇÉ«£¬¾Í¿ÉÒÔµ¼³ö£º
bash-3.00$ sqlplus "/ as sysdba"
SQL*Plus: Release11.1.0.6.0 - Production onÐÇÆÚ¶þ9ÔÂ16 16:53:48 2008
Copyright (c) 1982, 2007, Oracle. All rights reserved.
Á¬½Óµ½:
Oracle Database11gEnterprise Edition Release11.1.0.6.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> col grantee format a15
SQL> col granted_role format a15
SQL> select grantee, granted_role from dba_role_privs
2 where grantee = 'YANGTK';
GRANTEE GRANTED_ROLE
--------------- ---------------
YANGTK CONNECT
YANGTK RESOURCE
YANGTK DBA
SQL> drop user test cascade;
Óû§Ò
Ïà¹ØÎĵµ£º
oracle±í¿Õ¼ä²Ù×÷Ïê½â
1
2
3×÷Õߣº À´Ô´£º ¸üÐÂÈÕÆÚ£º2006-01-04
5
6
7½¨Á¢±í¿Õ¼ä
8
9CREATE TABLESPACE data01
10DATAFILE '/ora ......
Ŀ¼
1. °²×°×¼±¸
1.1. ÉèÖÃÓû§
1.2. ´´½¨Ä¿Â¼ºÍÉèÖÃȨÏÞ
1.3. ¸ü¸ÄÅäÖÃ
1.4. °²×°
1.5. Æô¶¯/Í£Ö¹Oracle
1. °²×°×¼±¸
°²×°¿ªÊ¼Ç°£¬È·ÈÏÄãµÄϵͳ·ûºÏOracleµÄ×îС°²×°ÒªÇó:
* 500 MB ÄÚ´æ
......
ORA-00704: bootstrap process failure
ORA-1092 signalled during: alter database open...
½øÐÐÈçϲÙ×÷ºóOK.
SQL>startup upgrade
For Windows
SQL>@d:\oracle\product\10.2.0\db_1/rdbms/admin/catupgrd.sql
For Linux
SQL>@/u01/app/oracle/product/10.2.0/db_1/rdbms/admin/catupgrd.sql
´ýcatupgrd ......
Ð¶ÔØOracle £º
1¡¢Í£Ö¹ËùÓÐOracle·þÎñ£¬µãUniversal InstallerÐ¶ÔØ
2¡¢É¾³ý×¢²á±íÖеÄËùÓйØÓÚOracleÏî
£¨1£©ÔÚHKEY_LOCAL_MACHINE\SOFTWAREÏ£¬É¾³ýOracleĿ¼
£¨2£©ÔÚHKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\ServicesÏ£¬É¾³ýËùÓÐOracleÏî
£¨3£©ÔÚHKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\ServicesÏ£¬É¾³ýË ......
Êý¾Ý×Öµädict×ÜÊÇÊôÓÚOracleÓû§sysµÄ¡£
¡¡¡¡1¡¢Óû§£º
¡¡¡¡¡¡select username from dba_users;
¡¡¡¡¸Ä¿ÚÁî
¡¡¡¡¡¡alter user spgroup identified by spgtest;
¡¡¡¡2¡¢±í¿Õ¼ä£º
¡¡¡¡¡¡select * from dba_data_files;
¡¡¡¡¡¡select * from dba_tablespaces;//±í¿Õ¼ä
¡¡¡¡¡¡select tablespace_name,sum(bytes), sum(b ......