¿À¶óŬ DB »ý¼º
1. DB »ý¼º
2. Å×ÀÌºí ½ºÆäÀ̽º »ý¼º
3. »ç¿ëÀÚ »ý¼º°ú ±ÇÇÑ ºÎ¿©
1. DB »ý¼º
¢Ñ. Oracle Database Configuration Assistant ½ÇÇà
(¿À¶óŬ µ¥ÀÌŸº£À̽º ±¸¼º º¸Á¶)
Oracle - OraHome81
¡æ Database Administration
Database Configuration Assistant
¢º.¡®µ¥ÀÌÅͺ£À̽º »ý¼º¡¯À» ¼±ÅÃÇÑ´Ù.
¢º. ¡®±âº»(±ÇÀå»çÇ×)¡¯À» ¼±ÅÃÇÑ´Ù.
¢º. ¡®CD¿¡¼ ±âÁ¸ÀÇ µ¥ÀÌÅͺ£À̽º ÆÄÀÏÀ» º¹»çÇÕ´Ï´Ù.¡¯¸¦ ¼±ÅÃ.
¢º. Àü¿ª µ¥ÀÌÅͺ£À̽º¸í°ú SID¸¦ ÀÔ·ÂÇÑ´Ù.
¢º. C:\oracle\oradata\TEST ¿¡ µ¥ÀÌÅͺ£À̽º »ý¼ºÀ» ½ÃÀÛÇÑ´Ù°í
¸Þ½ÃÁö°¡ ³ª¿É´Ï´Ù.
¢º. Á¤º¸ ¸Þ½ÃÁö°¡ ³ª¿É´Ï´Ù.
¢º. µ¥ÀÌÅͺ£À̽º »ý¼º ÀÛ¾÷ ÁøÇà.
¢º. µ¥ÀÌÅͺ£À̽º°¡ »ý¼º µÇ¾ú½À´Ï´Ù.
¢Ñ. »ý¼ºÀü
¢Ñ. »ý¼ºÈÄ
¢Ñ. »ý¼ºÀü ¡®C:\oracle\oradata\TEST¡¯ ÀÌ Æú´õ ÀÚü°¡ ¾È º¸ÀδÙ.
¢Ñ. »ý¼ºÈÄ ¡®C:\oracle\oradata\TEST¡¯ ÀÌ Æú´õ º¸ÀδÙ.
C:\oracle\ora81\network\ADMIN ÀÇ tnsnames.ora ³»¿ë¿¡ ¾øÀ¸¸é Ãß°¡.
TEST =
(DEscRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = rjh)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = TEST)
)
)
2. Å×ÀÌºí ½ºÆäÀ̽º »ý¼º
-----------------Å×ÀÌºí½ºÆäÀ̽º »ý¼º ½ºÅ©¸³Æ®-------------------
rem Data Tablespace
CREATE TABLESPACE CHWD100G
DATAFILE
'C:\oracle\oradata\JOO\CHWD100G.dat' SIZE 500M
LOGGING
DEFAULT STORAGE (
INITIAL 1M
NEXT 1M
PCTINCREASE 0 )
ONLINE
PERMANENT
;
rem Index Tablespace
CREATE TABLESPACE CHWI100G
DATAFILE
'C:\oracle\oradata\JOO\CHWI100G.dat' SIZE 500M
LOGGING
DEFAULT STORAGE (
INITIAL 1M
NEXT 1M
PCTINCREASE 0 )
ONLINE
PERMANENT
;
rem Temporary Tablespace
CREATE TEMPORARY TABLESPACE CHAT0010
TEMPFILE
'C:\oracle\oradata\SAH1\CHAT0010.dat' SIZE 512M
EXTENT MANAGEMENT LOCAL UNIFORM SIZE 256M;
3. »ç¿ëÀÚ »ý¼º°ú ±ÇÇÑ ºÎ¿©
-----------------À¯Àú »ý¼º ½ºÅ©¸³Æ®------------------------
CREATE USER "DSUSR" IDENTIFIED BY "DSUSR"
DEFAULT TABLESPACE CHWD100G
TEMPORARY TABLESPACE CHWT100G
quota unlimited on CHWD100G
PROFILE DEFAULT;
----------------- ±ÇÇÑ ºÎ¿© --------------------------------
GRANT connect, resource TO DSUSR ;
-----------------À¯Àú »èÁ¦ ½ºÅ©¸³Æ®------------------------
DROP USER DSUSR CASCADE;
¢Ñ.. DBA ±ÇÇÑ ÁÖ±â
grant dba to DSUSR ;
|