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

oracleʵÀýÃû¡¢Êý¾Ý¿âÃûÓë·þÎñÃûµÄÀí½â תÌù²Ì¿¡

    ʵÀýÃû£¨instance_name£©£¬Ò»¸öÓÃÓÚÊý¾Ý¿âºÍ²Ù×÷ϵͳ֮¼äͨÐŵıêÖ¾£¬Êý¾Ý¿âºÍ²Ù×÷ϵͳ֮¼äÒª½øÐн»»¥ÓõľÍÊÇʵÀýÃû£¬ÊµÀýÃû¿ÉÒÔºÍÊý¾Ý¿âÃûÏàͬ£¬Ò»»áÔÙ˵Êý¾Ý¿âÃû£¬Ò»°ãÒ»¸öÊý¾Ý¿âÃû¶ÔÓ¦Ò»¸öʵÀýÃû£¬Ò»¶ÔÒ»¹Øϵ£¬µ«ÔÚoracleµÄ¼¯ÈºÓ¦ÓÃÖУ¬Êý¾Ý¿âÃûºÍʵÀýÃû¾ÍÊÇÒ»¶Ô¶àµÄ¹ØϵÁË¡£
¡¡¡¡²é¿´ÊµÀýÃû£ºselect instance_name from v$instance;
¡¡¡¡oracle_sidÓëinstance_nameµÄ¹Øϵ£ºÍ¬Ñù¶¼ÊÇʵÀýÃû£¬instance_nameÊÇoracleÊý¾Ý¿â²ÎÊý£¬¶øoracle_sidÊDzÙ×÷ϵͳ»·¾³±äÁ¿£¬²Ù×÷ϵͳËù·ÃÎʵÄʵÀýÃû£¬±ØÐëÊÇoracle_sid£¬oracle_sid±ØÐëÓëinstance_nameÒ»Ö¡£
¡¡¡¡Êý¾Ý¿â£¨db_name£©Ãû¾ÍÊÇÊý¾Ý¿âµÄΨһ±êʶ£¬Ï൱ÓÚÈ˵ÄÉí·ÝÖ¤Ò»Ñù£¬Êý¾Ý¿âÃûÔÚ´´½¨Ê±Ó¦¸Ã¾ÍÒª¿¼ÂǺ㬺óÃ澡Á¿²»ÒªÐ޸ģ¬ÒòÉæ¼°Ð޸ĵĵط½±È½Ï¶à£¬ÈÝÒ׳ö´í£¬ÔÚ´´½¨Êý¾Ý¿âcreate databaseʱ£¬ÆäÖеIJÎÊý±ØÐëÊÇDB_name£¬·ñÔò»á³ö´í£¬ÐÞ¸ÄÊý¾Ý¿âʱͬÀí¡£×¢£¬Õâ±ßµÄ´´½¨Êý¾Ý¿âÆäʵÊÇ´´½¨Êý¾Ý¿âÎļþ£¬Ò²¾ÍÊÇË׳ƵÄÓû§¡£
¡¡¡¡²é¿´µ±Ç°Êý¾Ý¿âÃû£ºselect name from v$database;
¡¡¡¡·þÎñÃû£¨service_name£©£¬Ò»°ãÀ´½²£¬Êý¾Ý¿â·þÎñÃûÓëÊý¾Ý¿âÃûÏàͬ¡£
¡¡¡¡²é¿´·þÎñÃû£ºselect value from v$parameter where name = 'service_name';
 
ÉÏÊö¾ùΪ¸öÈ˹۵㣬ÈçÓ⻶ÔÇë¶à¶àÖ¸Õý£¬¹²Í¬½ø²½£¡


Ïà¹ØÎĵµ£º

ÈçºÎÐÞ¸ÄOracleĬÈÏÓû§ÃÜÂëÓÐЧÆÚʱ¼ä


ÈçºÎÐÞ¸ÄOracleĬÈÏÓû§ÃÜÂëÓÐЧÆÚʱ¼ä
1¡¢²é¿´Óû§µÄproifleÊÇÄĸö£¬Ò»°ãÊÇdefault£º
sql>SELECT username,PROFILE from dba_users;
2¡¢²é¿´Ö¸¶¨¸ÅÒªÎļþ£¨Èçdefault£©µÄÃÜÂëÓÐЧÆÚÉèÖãº
sql>SELECT * from dba_profiles s WHERE s.profile='DEFAULT' AND resource_name='PASSWORD_LIFE_TIME';
3¡¢½«ÃÜÂëÓÐÐ ......

oracle³£ÓÃÊý¾ÝÀàÐÍ

author£ºskate
time£º2010/03/03
oracle³£ÓÃÊý¾ÝÀàÐÍ
½ñÌìͬÊÂÎÊЩÊý¾ÝÀàÐ͵ÄÎÊÌ⣬ÓеĻ¹ÕæÓеã¼Ç²»ÇåÁË£¬ÓÚÊǾͼòµ¥×ܽáϳ£ÓõÄÊý¾ÝÀàÐÍÒÔ±¸ÈÕºó²éÓÃ
1¡¢Char
¶¨³¤¸ñʽ×Ö·û´®£¬ÔÚÊý¾Ý¿âÖд洢ʱ²»×ãλÊýÌî²¹¿Õ¸ñ£¬ËüµÄÉùÃ÷·½Ê½ÈçÏÂCHAR(L)£¬LΪ×Ö·û´®³¤¶È£¬
ȱʡΪ1£¬×÷Ϊ±äÁ¿×î´ó32767¸ö×Ö·û£¬×÷ΪÊý¾Ý´æ´¢ÔÚORA ......

OracleÊý¾Ý¿â·þÎñÆô¶¯Óë¹Ø±Õ

¿ªÆô£º
net start oracledbconsoleorcl
net start oracleOraDb10g_home1iSQL*Plus
net start oracleOraDb10g_home1TNSListener
net start oracleServiceORCL
net start oraclejobschedulerorcl //¿ÉÒÔ½ûÓÃ
¹Ø±Õ£º
net stop oracledbconsoleorcl
net stop oracleOraDb10g_home1iSQL*Plus
net stop oracleOraDb10g_h ......

oracleÖÐtimestampÎÊÌâ

ÎÊÌâÃèÊö£º
µ±Êý¾Ý¿âµÄ×Ö·û¼¯ÎªÖÐÎÄʱ£¬timestampÀàÐ͵Ä×Ö¶ÎΪÒÔϸñʽ£º
04-3ÔÂ -10 03.57.41.631000 ÏÂÎç
ÎÒÔÚÓÃJDOM½«Êý¾Ýµ¼³öΪXMLʱ£¬timestampÀàÐÍ×ֶεÄÖµ·´ÉúÁ˱仯£¬±ä³ÉÁËһϸñʽ
<CREATE_DATE>2010-3-4.15.57. 30. 505000000</CREATE_DATE>
½â¾ö·½°¸£º
ÔÚ²éѯ¸Ã×Ö¶ÎʱÊ×ÏÈÓÃto_char£¨£©º¯Êý½ ......

OracleÊý¾Ý¿â·ÖÇø±í²Ù×÷·½·¨


OracleÊý¾Ý¿â·ÖÇø±í²Ù×÷·½·¨
(2009-10-19 16:20:45)
±êÇ©£º
ÔÓ̸
 
ÕªÒª£ºÔÚ´óÁ¿ÒµÎñÊý¾Ý´¦ÀíµÄÏîÄ¿ÖУ¬ÄÜ¿¼ÂÇʹÓ÷ÖÇø±íÀ´Ìá¸ßÓ¦ÓÃϵͳµÄÐÔÄܲ¢·½±ãÊý¾Ý¹ÜÀí£¬±¾ÎÄÖÜÏê½éÉÜÁË·ÖÇø±íµÄʹÓá£
¡¡¡¡ÔÚ´óÐ͵ÄÆóÒµÓ¦ÓûòÆóÒµ¼¶µÄÊý¾Ý¿âÓ¦ÓÃÖУ¬Òª´¦ÀíµÄÊý¾ÝÁ¿Í¨³£ÄÜ´ïµ½¼¸Ê®µ½¼¸°ÙGB£¬ÓеÄÉõÖÁÄܵ½TB¼¶¡£ËäÈ»´æ´¢ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ