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

oracle dbtimezoneÐÞ¸Ä

select dbtimezone from dual ;  --²é¿´Êý¾Ý¿âʱÇø
select sessiontimezone from dual ;  --²é¿´»á»°Ê±Çø
1.select u.name || '.' || o.name || '.' || c.name TSLTZcolumn
       from sys.obj$ o, sys.col$ c, sys.user$ u
         where c.type# = 231
                    and o.obj# = c.obj#
                    and u.user# = o.owner#;
  Ö´Ðд˾䣬Èç¹ûÄܲéѯµ½Êý¾Ý½øÐеÚ2²½²Ù×÷£¬·ñÔòתµ½3
2.Ö´ÐÐÏÂÁÐÓï¾ä
  --´´½¨Ò»¸öÁÙʱ±í
  create table ttt(
     order_id number ,
     oeder_Date date
  );
  --µ¼ÈëÊý¾Ý
  insert into ttt(order_id,oeder_date) select order_id,order_date from oe.orders
  --ÐÞ¸Äoe.orders±í
  alter table oe.orders drop column order_date
  alter table oe.orders add order_date date
  --½«ÁÙʱ±íÖеÄÊý¾Ý»Ö¸´µ½oe.orders
  update oe.orders a set order_date = (select oeder_Date from ttt b where a.order_ID = b.order_id);
  --ɾ³ýÁÙʱ±í
  drop table ttt
3.ÐÞ¸Ä DBTIMEZONE
  alter database set time_zone='+08:00';
4.²é¿´DBTIMEZONE
  select DBTIMEZONE from dual ;


Ïà¹ØÎĵµ£º

redhat enterprise linux5.4 °²×° oracle 11g R2

Ò»£¬Ó²¼þÅäÖÃ×îµÍÒªÇó£º
32루X86£©£º
¸öÈËÈÏΪÖÁÉÙ1GÄڴ棨linux ÉÏ512M ¿ÉÒÔ£¬µ«Ì«¹ýÓÚÃãÇ¿ÁË£¬ÄÇÑùÈÝÒ×ËÀ»ú»ò¿¨×¡²»¶¯£¬»áÈÃÈË×¥¿ñµÄ;
windows 512M µÄ¿Ï¶¨²»ÐУ©

10GµÄ¿ÉÓô ......

Oracle ¸ÅÄOracle 10.2£© ½ø³Ì½á¹¹

http://blog.csdn.net/flysyq/archive/2009/02/26/3939877.aspx
Oracle ¸ÅÄOracle 10.2£©
9¡¢½ø³Ì½á¹¹
ÕâÒ»ÕÂÂÛÊöÁËOracleÊý¾Ý¿âϵͳµÄ½ø³ÌºÍOracleϵͳµÄ¿ÉÓõIJ»Í¬ÅäÖá£
ÕâÒ»Õ°üº¬ÏÂÁÐÖ÷Ì⣺
u ½ø³Ì½éÉÜ
u Óû§½ø³Ì¸ÅÊö
u Oracle½ø³Ì¸ÅÊö
u ¹²Ïí·þÎñÆ÷¼Ü¹¹
u רÓ÷þÎñÆ÷ÅäÖÃ
u ³ÌÐò½Ó¿Ú
½ø³Ì½éÉÜ
ËùÓÐÁ¬ ......

Oracle Á¬½ÓÔ¶³ÌÊý¾Ý¿â

¹«Ë¾Ê¹ÓÃlinux¿ª·¢»ú½øÐгÌÐò¿ª·¢Ê±£¬ÓÉÓÚ¿ª·¢ÓÃOracleÊý¾Ý¿âÊÇÓÉÈÕ·½Ìṩ£¬ËùÒÔ¾­³£Ê¹ÓÃsqlplusÁ¬½Óµ½Ô¶³ÌÊý¾Ý¿âÉϽøÐпª·¢,ÀýÈ磺
sqlplus  username/password@servicename
ÓÚÊÇÏ룬ÓÃÎÒµÄÁ½Ì¨µçÄÔË«»ú»¥ÁªÊÔÒ»ÊÔ£¬Ò²Íæ¸ö“Ô¶³ÌÁ¬½Ó”¡£ÊµÑéÈçÏ£º
Ê×ÏÈÔÚÎÒµĄ̈ʽ»úÉÏ°²×°ÁËOracle9iµÄÊý¾Ý¿â¹ÜÀíϵͳ£¬ ......

Oracle Data blocks £¬Extents£¬Segment

£¨Ò»£©Data blocks £¬Extents£¬Segment
    Õâ¾ÍÊÇËûÃÇÖ®¼äµÄÂß¼­½á¹¹¡£
    ÏÈ¿´Data blocks£¨Ò²½ÐÂß¼­¿é£¬oracle¿é£¬Ò³£©°É£¬oracle´æ´¢Êý¾Ý¶¼ÊÇÔÚÕâЩÊý¾Ý¿éÖУ¬Ò»¸öÊý¾Ý¿éÊÇ´ÅÅÌÉÏÊý¾Ý¿âÎïÀí¿Õ¼äһϵÁÐÎïÀí×Ö½ÚµÄ×é³É¡£
    ±ÈData blocks¸ü¸ßÒ»²ãµÄÂß¼­Êý¾Ý¿é¿Õ¼äÊÇe ......

oracle¹ÜÀí±í¿Õ¼äºÍÊý¾ÝÎļþ

'
ALTER TABLESPACE app_data
      ADD DATAFILE 'u01/oradata/userdata03.dbf'
SIZE 200M;
'´´½¨±í¿Õ¼ä
CREATE TABLESPACE userdata
DATAFILE 'u01/oradata/userdata03.dbf' SIZE 100M
AUTOEXTEND ON NEXT 5M MAXSIZE 200M;
'´´½¨»Ø¹ö±í¿Õ¼ä
CREATE UNDO TABLESPACE undo1
DATAFILE ' ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ