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 ;
Ïà¹ØÎĵµ£º
Ò»£¬Ó²¼þÅäÖÃ×îµÍÒªÇó£º
32루X86£©£º
¸öÈËÈÏΪÖÁÉÙ1GÄڴ棨linux ÉÏ512M ¿ÉÒÔ£¬µ«Ì«¹ýÓÚÃãÇ¿ÁË£¬ÄÇÑùÈÝÒ×ËÀ»ú»ò¿¨×¡²»¶¯£¬»áÈÃÈË×¥¿ñµÄ;
windows 512M µÄ¿Ï¶¨²»ÐУ©
10GµÄ¿ÉÓô ......
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 ³ÌÐò½Ó¿Ú
½ø³Ì½éÉÜ
ËùÓÐÁ¬ ......
¹«Ë¾Ê¹ÓÃlinux¿ª·¢»ú½øÐгÌÐò¿ª·¢Ê±£¬ÓÉÓÚ¿ª·¢ÓÃOracleÊý¾Ý¿âÊÇÓÉÈÕ·½Ìṩ£¬ËùÒÔ¾³£Ê¹ÓÃsqlplusÁ¬½Óµ½Ô¶³ÌÊý¾Ý¿âÉϽøÐпª·¢,ÀýÈ磺
sqlplus username/password@servicename
ÓÚÊÇÏ룬ÓÃÎÒµÄÁ½Ì¨µçÄÔË«»ú»¥ÁªÊÔÒ»ÊÔ£¬Ò²Íæ¸ö“Ô¶³ÌÁ¬½Ó”¡£ÊµÑéÈçÏ£º
Ê×ÏÈÔÚÎÒµĄ̈ʽ»úÉÏ°²×°ÁËOracle9iµÄÊý¾Ý¿â¹ÜÀíϵͳ£¬ ......
£¨Ò»£©Data blocks £¬Extents£¬Segment
Õâ¾ÍÊÇËûÃÇÖ®¼äµÄÂß¼½á¹¹¡£
ÏÈ¿´Data blocks£¨Ò²½ÐÂß¼¿é£¬oracle¿é£¬Ò³£©°É£¬oracle´æ´¢Êý¾Ý¶¼ÊÇÔÚÕâЩÊý¾Ý¿éÖУ¬Ò»¸öÊý¾Ý¿éÊÇ´ÅÅÌÉÏÊý¾Ý¿âÎïÀí¿Õ¼äһϵÁÐÎïÀí×Ö½ÚµÄ×é³É¡£
±ÈData blocks¸ü¸ßÒ»²ãµÄÂß¼Êý¾Ý¿é¿Õ¼äÊÇe ......
'
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 ' ......