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

oracleÈçºÎ½«Êý¾Ýµ¼Èëµ½ÁíÒ»¸ö±í¿Õ¼ä

oracleÈçºÎ½«Êý¾Ýµ¼Èëµ½ÁíÒ»¸ö±í¿Õ¼ä 
 
 Ä³¸öÓû§µÄÊý¾ÝÔÚUSER±í¿Õ¼äÀÈç¹û¶à¸öÓû§µÄÊý¾Ý¶¼ÔÚUSERS±í¿Õ¼äÄÚ£¬½«ÑÏÖØÓ°ÏìϵͳÐÔÄÜ£¬Ò»°ãÔÚϵͳǨÒƵÄʱºò£¬ÔÚеÄϵͳÀïÏ£Íûµ¼ÈëÒ»¸ö¶ÀÁ¢µÄÓû§±í¿Õ¼ä£¬µ«ÊǾ­³£ÎÞ·¨µ¼ÈëÓû§Ö¸¶¨µÄȱʡ±í¿Õ¼ä£¬Õâ¸öÎÊÌâ²úÉúµÄÔ­ÒòÊÇÈç¹ûÒ»¸öÓû§ÓÐDBAµÄȨÏÞ£¬µ¼ÈëÊý¾ÝµÄʱºò£¬¾Í»áд»ØÔ­±í¿Õ¼äusers
½â¾öÎÊÌâµÄ·½·¨ ,´´½¨Óû§µÄʱºò²»Òª¸³ÓèDBAµÄȨÏÞ
CREATE USER "GX"  PROFILE "DEFAULT"
    IDENTIFIED BY "gx" DEFAULT TABLESPACE "GX"
    TEMPORARY TABLESPACE "TEMP"
    ACCOUNT UNLOCK;
×¢ÒâÖ»ÒªÓÐconnect imp_full_database,resoure¾ÍÄܵ¼ÈëÓû§µÄÊý¾Ý£¬²»Òª¸³ÓèDBAȨÏÞ
GRANT "CONNECT" TO "GX";
GRANT "IMP_FULL_DATABASE" TO "GX";
GRANT "RESOURCE" TO "GX";
»ØÊÕÓû§ÎÞÏÞÖƵÄȨÏÞ£»
revoke unlimited tablespace from gx;
ÔÚUSERS±í¿Õ¼äµÄÅä¶îΪ0
alter user gx quota 0 on USERS;
ÔÚÓû§×Ô¼ºµÄȱʡ±í¿Õ¼äÄÚÅä¶îΪÎÞÏÞµÄ
alter user gx quota unlimited on GX;
ʹÓÃÓû§µ¼Èë
imp gx/gx file=gx.dmp fromuser=gx touser=gx
¿ÉÒÔ²éѯһÏÂÓû§µÄ±íÔÚÄǸö±í¿Õ¼ä
select table_name,tablespace_name from user_tables;
Èç¹û¸ö±ð±íȱʡ±í¿Õ¼äÓдí¿ÉÒÔʹÓÃÏÂÃæµÄÃüÁîÀ´Ð޸ıíËùÔڵıí¿Õ¼ä
ÏȲéѯһÏÂÓм¸¸öÕâÑùµÄ±í
select table_name,tablespace_name from user_tables where tablespace_name='USERS';
Ð޸ıíËùÔڵıí¿Õ¼ä
alter table test tablespace newtab;


Ïà¹ØÎĵµ£º

oracle ±í¿Õ¼ä²Ù×÷

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

oracle¸´Ï°£¨Ò»£© Ö®OracleÌåϵ½á¹¹

      ѧϰOracle DBAÒ²°ë¸ö¶àѧÆÚÁË£¬½ñÌìÃÍÈ»²Å·¢ÏÖ£¬Ô­À´ÎÒµÄÊ黹ÊǺÜеģ¬ÉϿβÙ×÷ʱºòÒ²Ö»ÊÇÖªµÀ´ó¸ÅÔõô×ö£¬µ«ÊÇÒªÕæµÄÈ«²¿×Ô¼º×ö£¬¶ø²»È¥·­Ê黹ÊÇÓÐÒ»¶¨µÄÄѶȵģ¬ËùÒÔÄØ£¬½ñÌ쿪ʼ½«DBA´ÓÍ·¸´Ï°Ò»±é£¬Í¬Ê±ÔÙ²Ù×÷Ò»±é¡£
      µÚÒ»Õ£¬Ñ§µÄÊÇOracleµÄÌåϵ½á¹¹£ ......

OracleÖкϲ¢×Ö·û´®×ܽá

ÔÚÊý¾Ý¿âÖо­³£ÒªºÏ²¢×Ö·û´®£¬¶øºÏ²¢×Ö·û´®µÄ·½·¨Óкܶ࣬ÏÖÔÚ×ܽáÈçÏ£º
--´´½¨»á»°¼¶ÁÙʱ±í
create global temporary table TMPA
(
  ID   INTEGER,
  NAME VARCHAR2(10)
)
on commit preserve rows;
--²åÈë¼Ç¼
insert into tmpa select 1,'aa' from dual;
insert into tmpa select 1,'bb ......

txtÎļþµ¼Èëoracle·½·¨

ÔÚʵ¼Ê¹¤×÷ÖУ¬¾­³£Òª´ÓÊý¾Ý¿âÖе¼³öÊý¾Ý»òÍùÊý¾Ý¿âÖе¼ÈëÊý¾Ý¡£µ±Óöµ½Êý¾ÝÁ¿½Ï´óʱ£¬¾ÍÐèÒªµ¼ÈëÎı¾¸ñʽµÄÊý¾Ý£¬Ò»°ãµ¼ÈëµÄÊý¾Ý¸ñʽÓÐtxt£¬csvµÈ¡£ÒÔÏÂÖ÷Òª½éÉÜÎÒÔÚʵ¼Ê¹¤×÷ÖÐÏòoracleÖе¼ÈëÊý¾ÝµÄÁ½¸öʵÀý¡£
1.ʹÓÃPL/SQL DeveloperµÄText Importer
£¨1£©´Ó²Ëµ¥ÖÐÑ¡È¡Text Importer¹¦ÄÜ¡£
    Tool&mda ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ