Ƽº£·Î Á¦3Àå µ¥ÀÌÅͺ£À̽º ¼³Ä¡
https://technet.tmaxsoft.com/upload/download/online/tibero/pver-20140808-000002/tibero_install/ch03_install.html
Á¦3Àå µ¥ÀÌÅͺ£À̽º ¼³Ä¡
³»¿ë ¸ñÂ÷
º» Àå¿¡¼´Â TiberoÀÇ ¼³Ä¡ ¹æ¹ý¿¡ ´ëÇÏ¿© ¼³¸íÇÑ´Ù.
Tibero¿¡¼´Â Á¦Ç° ¼³Ä¡¸¦ À§ÇÑ ¹æ¹ýÀ» ´ÙÀ½ÀÇ ÇüÅ·ΠÁ¦°øÇÏ°í ÀÖ´Ù.
tibero5_<fixset>_<platform>.[bin|exe] ÇüÅ·Π¼³Ä¡ ÆÄÀÏÀÌ Á¦°øµÇ¸ç ÇØ´ç ÀνºÅç·¯·Î Á¦°øµÇ´Â ¼³Ä¡ ¹æ¹ýÀº ¾Æ·¡¿Í °°´Ù.
GUI ¸ðµå(Windows)
ÄÜ¼Ö ¸ðµå(Linux)
¸ðµç Ç÷§Æû¿¡ ´ëÇÏ¿© tibero5-bin-<fixset>_<platform>.tar.gz ÇüÅ·ΠÁ¦°øµÈ´Ù.
Windows ȯ°æ¿¡¼ Tibero¸¦ ¼³Ä¡ÇÏ´Â ¼ø¼´Â ´ÙÀ½°ú °°´Ù.
Tibero ¼³Ä¡ CD¸¦ CD-ROM¿¡ ³ÖÀº ÈÄ tibero5_<fixset>_<platform>.exe ÆÄÀÏÀ» ´õºíŬ¸¯Çϸé Tibero ÀνºÅç·¯°¡ ½ÇÇàµÈ´Ù.
[Âü°í]
JVM(ÀÚ¹Ù °¡»ó ¸Ó½Å)ÀÌ ¼³Ä¡µÇÁö ¾ÊÀº ȯ°æ¿¡¼ ÀνºÅç·¯¸¦ ½ÇÇàÇÏ´Â °æ¿ì ¾Æ·¡¿Í °°Àº Alert âÀÌ Ãâ·ÂµÇ¸ç ÀνºÅç·¯°¡ ½ÇÇàµÇÁö ¾Ê´Â´Ù. ÀÌ·¯ÇÑ °æ¿ì ÀνºÅç·¯¸¦ ¼³Ä¡ÇÏ°íÀÚ ÇÏ´Â ¸Ó½ÅÀÇ JAVA ȯ°æÀ» Á¡°ËÇÑ´Ù.
Á¤»óÀûÀ¸·Î ½ÇÇàµÆ´Ù¸é ´ÙÀ½°ú °°Àº ȸ鿡¼ ¼³Ä¡ ¾È³» ¸Þ½ÃÁö¿¡ Ãâ·ÂÇÒ ¾ð¾î¸¦ ¼±ÅÃÇÑ ÈÄ¿¡ [OK] ¹öÆ°À» Ŭ¸¯Çؼ ÁøÇàÇÑ´Ù. Tibero ÀνºÅç·¯¿¡¼ Á¦°øÇÏ´Â ¼³Ä¡ ¾È³» ¸Þ½ÃÁö´Â "Çѱ¹¾î"¿Í "¿µ¾î" µÎ °¡Áö¸¦ Á¦°øÇÑ´Ù.
Tibero¸¦ ¼³Ä¡ÇÒ µð·ºÅ͸®¸¦ ¼±ÅÃÇϴ ȸéÀÌ ³ªÅ¸³´Ù.
µðÆúÆ® µð·ºÅ͸®·Î 'C:\Tibero\tibero5'°¡ ¼³Á¤µÇ¾î ÀÖ´Ù. ¼³Ä¡ °æ·Î·Î ¼³Á¤ÇÑ À§Ä¡¿¡ Tibero°¡ ¼³Ä¡µÇ¸ç ÀÌ À§Ä¡´Â »ç¿ëÀÚÀÇ È¯°æ¼³Á¤ ÆÄÀÏ Áß TB_HOMEÀ¸·Î ÀԷµȴÙ. À̶§ µð·ºÅ͸®¸í¿¡ °ø¹éÀ» ÀÔ·ÂÇؼ´Â ¾È µÈ´Ù.
¼³Ä¡ °æ·Î¸¦ º¯°æÇÏ·Á¸é [Choose...] ¹öÆ°À» Ŭ¸¯ÇÏ¿© Tibero°¡ ¼³Ä¡µÉ µð·ºÅ͸®ÀÇ À§Ä¡¸¦ ¼±ÅÃÇÑ´Ù. ÀÌ·¸°Ô º¯°æµÈ ¼³Ä¡ °æ·Î¸¦ ´Ù½Ã µðÆúÆ® µð·ºÅ͸®·Î º¹¿øÇÏ·Á¸é [Restore Default Folder] ¹öÆ°À» Ŭ¸¯ÇÑ´Ù. ¼³Ä¡ °æ·Î°¡ Á¤ÇØÁö¸é [Next] ¹öÆ°À» Ŭ¸¯ÇÏ¿© ´ÙÀ½ ´Ü°è·Î ÁøÇàÇÑ´Ù.
Tibero ¼³Ä¡ÇÒ ¶§ Ãß°¡·Î ¼³Ä¡ÇÒ ¿É¼ÇÀ» ¼±ÅÃÇÑ´Ù.
°¢ ¿É¼Ç¿¡¼ ¼±Åð¡´ÉÇÑ Ç׸ñÀº ´ÙÀ½°ú °°´Ù.
¿É¼Ç ¼³¸í Tibero Server (default) Tibero µ¥ÀÌÅͺ£À̽º¸¦ ¼³Ä¡ÇÑ´Ù. ÇØ´ç ¿É¼ÇÀº ±âº»À¸·Î ¼³Ä¡µÇ´Â ´ë»óÀÌ´Ù. ODBC ODBC µ¥ÀÌÅÍ ¿øº» °ü¸®ÀÚ¿¡ Tibero ODBC Driver °ø±ÞÀÚ¸¦ µî·ÏÇÑ´Ù. OLE DB OLE DB ¸ðµâÀ» ¼³Ä¡ÇÑ´Ù.
OLE DB ¸ðµâÀÇ °æ¿ì ODBC ¸ðµâ°ú º°°³·Î ¼³Ä¡ÇÒ ¼ö ¾ø´Ù.
32bit / 64bit ODBC¿Í OLE DB¸¦ ¼³Ä¡ÇÏ°íÀÚ ÇÏ´Â ºñÆ®¸¦ ¼±ÅÃÇÑ´Ù.
32bit Ç÷§Æû : 32bit ¼±Åà °¡´É
64bit Ç÷§Æû : 32bit / 64bit ¼±Åà °¡´É
Tibero ¶óÀ̼±½º ÆÄÀÏÀÇ °æ·Î¸¦ ¼³Á¤ÇÑ´Ù.
¶óÀ̼±½º ÆÄÀÏÀÇ °æ·Î¸¦ ¼³Á¤ÇÒ ¶§ ¶óÀ̼±½º ÆÄÀϸí(license.xml)±îÁö Æ÷ÇÔÇÑ Àüü °æ·Î¸¦ ¼³Á¤ÇØ¾ß ÇÑ´Ù. µ¥¸ð ¶óÀ̼±½º ÆÄÀÏÀº Å×Å©³ÝÀ» ÅëÇÏ¿© ¹ß±Þ¹ÞÀ» ¼ö ÀÖ´Ù. ÀÚ¼¼ÇÑ ¼³¸íÀº ¡°1.2.2. ¼ÒÇÁÆ®¿þ¾î ¹èÆ÷¡±¸¦ Âü°íÇÑ´Ù.
Tibero ¼³Ä¡ ¿Ï·á ÈÄ ¹Ù·Î°¡±â ¾ÆÀÌÄÜÀÇ »ý¼º ¿©ºÎ¸¦ ¼³Á¤ÇÏ°í [Next] ¹öÆ°À» Ŭ¸¯ÇÏ¿© ´ÙÀ½ ´Ü°è·Î ÁøÇàÇÑ´Ù.
¼³Ä¡ ½ÃÀÛºÎÅÍ Áö±Ý±îÁö ¼³Á¤ÇÑ ¼³Ä¡ Á¤º¸¸¦ È®ÀÎÇÒ ¼ö ÀÖµµ·Ï ¿ä¾à Á¤º¸¸¦ º¸¿©ÁØ´Ù.
¼³Ä¡ °æ·Î µî ¼³Á¤ÀÌ ¿Ã¹Ù¸¥Áö È®ÀÎÇÏ°í TiberoÀÇ ¼³Ä¡¸¦ ÁøÇàÇϱâ À§ÇØ [Install] ¹öÆ°À» Ŭ¸¯ÇÑ´Ù.
Tibero µ¥ÀÌÅͺ£À̽º ÀνºÅϽº »ý¼ºÀ» À§ÇÑ È¯°æ ¼³Á¤ ¹× ÆÄÀÏ ¾ÐÃà ÇØÁ¦ °úÁ¤µéÀ» ÁøÇàÇÑ´Ù.
Tibero »çÀü ¼³Ä¡ °úÁ¤ÀÌ ¿Ï·áµÇ¸é ´ÙÀ½°ú °°ÀÌ µ¥ÀÌÅͺ£À̽º ÀνºÅϽº »ý¼º ÁøÇà ¿©ºÎ¿¡ ´ëÇÑ È®ÀÎÀ» À§ÇÑ Alert âÀÌ Ãâ·ÂµÈ´Ù. µ¥ÀÌÅͺ£À̽º »ý¼º °úÁ¤À» ÁøÇàÇÏ´Â °æ¿ì [Yes]¸¦ Ŭ¸¯ÇÑ´Ù.
°¢ ¼±Åà °¡´ÉÇÑ ¹öÆ°¿¡ ´ëÇÑ ¼³¸íÀº ´ÙÀ½°ú °°´Ù.
¿É¼Ç ¼³¸í Quit µ¥ÀÌÅͺ£À̽º »ý¼ºÀ» À§ÇÑ Wizard¸¦ Á¾·áÇÑ´Ù. Typical µ¥ÀÌÅͺ£À̽º »ý¼ºÀ» À§ÇÑ "DB_NAME, PORT, PASSWORD"¿Í °°Àº ¼³Á¤ °ª¸¸ »ç¿ëÀÚ°¡ Á¤ÀÇÇÏ°í, ³ª¸ÓÁö´Â ±âº» °ªÀ¸·Î ¼³Á¤ÇÏ¿© ¼³Ä¡¸¦ ÁøÇàÇÑ´Ù. Custom µ¥ÀÌÅͺ£À̽º »ý¼ºÀ» À§ÇÑ ¼¼ºÎÀûÀÎ ¼³Á¤À» »ç¿ëÀÚ°¡ Á¤ÀÇÇÏ¿© ¼³Ä¡¸¦ ÁøÇàÇÑ´Ù. ¸¸¾à ÇØ´ç °úÁ¤¿¡¼ [Quit]¸¦ Ŭ¸¯Çϰųª »ç¿ëÀÚ°¡ º°µµ·Î ½ÇÇàÇÏ°íÀÚ ÇÏ´Â °æ¿ì¿¡´Â Windows Ä¿¸Çµå âÀ» "°ü¸®ÀÚ ±ÇÇÑ"À¸·Î ½ÇÇàÇÑ ÈÄ ´ÙÀ½ÀÇ ¸í·É¾î¸¦ ÅëÇØ Wizard¸¦ ¼öÇàÇÏ¿© µ¥ÀÌÅͺ£À̽º ¼³Ä¡¸¦ ÁøÇàÇÒ ¼ö ÀÖ´Ù.
Typical Mode
%TB_HOME%\client\bin\runWizard -m gui -d Y
Custom Mode
%TB_HOME%\client\bin\runWizard -m gui
´ÙÀ½°ú °°ÀÌ Tibero µ¥ÀÌÅͺ£À̽º »ý¼ºÀ» À§ÇÑ Wizard°¡ ½ÇÇàµÈ´Ù.
ÇØ´ç °úÁ¤¿¡¼ Wizard¿¡¼ ¼³Ä¡ ¾È³» ¸Þ½ÃÁö¿¡ Ãâ·ÂÇÒ ¾ð¾î¸¦ ¼±ÅÃÇÑ ÈÄ¿¡ °¡ Ãâ·ÂÀÌ µÇ°í Wizard¿¡¼ »ç¿ëÇÒ ¾ð¾î¸¦ ¼±ÅÃÇÑ ÈÄ¿¡ [Next] ¹öÆ°À» Ŭ¸¯Çؼ ÁøÇàÇÑ´Ù. Tibero Wizard¿¡¼ Á¦°øÇÏ´Â ¼³Ä¡ ¾È³» ¸Þ½ÃÁö´Â "Çѱ¹¾î"¿Í "¿µ¾î" µÎ °¡Áö¸¦ Á¦°øÇÑ´Ù.
µ¥ÀÌÅͺ£À̽º¸¦ ¼³Ä¡Çϱâ À§ÇÑ È¯°æ¼³Á¤ Á¤º¸¸¦ ¼³Á¤ÇÏ°í [Next] ¹öÆ°À» Ŭ¸¯ÇÑ´Ù.
°¢ ¼³Ä¡ ¿É¼Ç¿¡¼ ÀÔ·ÂÇÏ´Â Ç׸ñµé¿¡ ´ëÇÑ ¼³¸íÀº ´ÙÀ½°ú °°´Ù.
¿É¼Ç ¼³¸í TB_HOME Tibero ¹ÙÀ̳ʸ®°¡ ¼³Ä¡µÈ °æ·Î¸¦ ¼±ÅÃÇÑ´Ù.
%TB_HOME%À¸·Î ÁöÁ¤µÈ µð·ºÅ͸® °æ·Î¸¦ ¼±ÅÃÇÑ´Ù.
TB_SID ÇØ´ç ¸Ó½Å¿¡¼ Tibero ÀνºÅϽº¸¦ ¿î¿µÇÒ ¶§ »ç¿ëÇÒ ¼ºñ½º ID¸¦ ÀÔ·ÂÇÑ´Ù. Database Name µ¥ÀÌÅͺ£À̽º À̸§À» ¼³Á¤ÇÑ´Ù. (±âº»°ª: tibero) Listener Port ¸®½º³Ê°¡ »ç¿ëÇÒ Æ÷Æ® ¹øÈ£¸¦ ¼³Á¤ÇÑ´Ù. (±âº»°ª: 8629) TB_SID ¹× Database NameÀ» ÀÔ·ÂÇÒ ¶§ ´ÙÀ½ »çÇ׿¡ À¯ÀÇÇÑ´Ù.
SID´Â ¼¹ö ³»¿¡¼ À¯ÀÏÇÑ °ªÀ̾î¾ß ÇÑ´Ù. (±âº»°ª: tibero)
SID´Â '¼ýÀÚ, ¹®ÀÚ, -, _'ÀÇ Á¶ÇÕÀ¸·Î ¸¸µé ¼ö ÀÖ´Ù.
SID¸¦ ¸¸µé ¶§ ù ¹®ÀÚ·Î ¼ýÀÚ¸¦ ÀÔ·ÂÇÏ¸é ¾È µÇ°í, Áß°£¿¡ Ư¼ö¹®ÀÚ¸¦ ÀÔ·ÂÇÏ¸é ¾È µÈ´Ù.
Tibero µ¥ÀÌÅͺ£À̽º¸¦ ¼³Ä¡ÇÏ´Â °úÁ¤¿¡ ¼³Á¤ÇÒ ÃʱâÈ ÆĶó¹ÌÅ͸¦ ¼³Á¤ÇÑ´Ù. ÀÌ °úÁ¤Àº Typical Mode·Î ¼öÇàÇÏ´Â °æ¿ì¿¡´Â »ý·«µÈ´Ù.
±âº»À¸·Î ¼³Á¤ÇÏ´Â ÃʱâÈ ÆĶó¹ÌÅÍ¿¡ ´ëÇÑ ¼³¸íÀº ´ÙÀ½°ú °°´Ù.
¿É¼Ç ¼³¸í CONTROL_FILES ÄÁÆ®·Ñ ÆÄÀÏÀÌ Á¸ÀçÇÏ´Â À§Ä¡·Î¼ Àý´ë °æ·Î·Î ¼³Á¤ÇÑ´Ù. DB_NAME µ¥ÀÌÅͺ£À̽º À̸§À» ¼³Á¤ÇÑ´Ù. (±âº»°ª: tibero) MAX_SESSION_COUNT µ¥ÀÌÅͺ£À̽º¿¡ Á¢¼Ó °¡´ÉÇÑ ÃÖ´ë ¼¼¼Ç ¼ö¸¦ ¼³Á¤ÇÑ´Ù. (±âº»°ª: 20) MEMORY_TARGET µ¥ÀÌÅͺ£À̽º°¡ »ç¿ëÇÒ ¼ö ÀÖ´Â ¸Þ¸ð¸®ÀÇ ÃÑ Å©±â¸¦ ¼³Á¤ÇÑ´Ù. TOTAL_SHM_SIZE µ¥ÀÌÅͺ£À̽ºÀÇ ÀνºÅϽº ³»¿¡¼ »ç¿ëÇÒ Àüü °øÀ¯ ¸Þ¸ð¸®ÀÇ Å©±â¸¦ ¼³Á¤ÇÑ´Ù. LISTENER_PORT ¸®½º³Ê°¡ »ç¿ëÇÒ Æ÷Æ® ¹øÈ£¸¦ ¼³Á¤ÇÑ´Ù. (±âº»°ª: 8629) »ç¿ëÀÚ°¡ º°µµ·Î ÃʱâÈ ÆĶó¹ÌÅ͸¦ [Add] ¶Ç´Â [Del] ¹öÆ°À» ÀÌ¿ëÇÏ¿© Ãß°¡ ¶Ç´Â »èÁ¦ÇÒ ¼ö ÀÖÀ¸¸ç, ¶ÇÇÑ [Edit] ¹öÆ°À» ÀÌ¿ëÇÏ¿© ¼³Á¤µÈ °ªÀ» ÆíÁýÇÒ ¼ö ÀÖ´Ù. ¸¸¾à, Ãß°¡ ¼³Á¤ÇÑ °ªµéÀ» ¿øº¹ÇÏ°íÀÚ ÇÑ´Ù¸é [Restore Default] ¹öÆ°À» Ŭ¸¯Çؼ ÃʱâÈÇÑ´Ù.
Âü°í
ÃʱâÈ ÆĶó¹ÌÅÍ¿¡ ´ëÇÑ ÀÚ¼¼ÇÑ ¼³¸íÀº "Tibero ÂüÁ¶ ¾È³»¼"¸¦ Âü°íÇÑ´Ù.
Tibero ½Ã½ºÅÛ »ç¿ëÀÚÀÇ Æнº¿öµå Á¤º¸¿Í µ¥ÀÌÅͺ£À̽º »ý¼ºÀ» À§ÇÑ Á¤º¸µéÀ» ¼³Á¤ÇÑ µÚ [Next] ¹öÆ°À» Ŭ¸¯Çؼ ´ÙÀ½À¸·Î ÁøÇàÇÑ´Ù.
µ¥ÀÌÅͺ£À̽º »ý¼º ÈÄ¿¡ »ç¿ëÀÚ°¡ Ãß°¡·Î ½ÇÇàÇÏ°íÀÚ ÇÏ´Â ½ºÅ©¸³Æ® ÆÄÀÏÀ» ¼³Á¤ÇÑ ÈÄ [Create] ¹öÆ°À» Ŭ¸¯Çؼ µ¥ÀÌÅͺ£À̽º ¼³Ä¡¸¦ ÁøÇàÇÑ´Ù.
[Add] ¶Ç´Â [Delete] ¹öÆ°À» ÀÌ¿ëÇÏ¿© »ç¿ëÀÚ Á¤ÀÇ SQL ½ºÅ©¸³Æ® ÆÄÀÏÀ» Ãß°¡ ¶Ç´Â »èÁ¦ ÇÒ ¼ö ÀÖ´Ù.
±âº»À¸·Î %TB_HOME%\scripts\example_users.sql ½ºÅ©¸³Æ®¸¦ ½ÇÇàÇϵµ·Ï ¼³Á¤µÇ¾î ÀÖÀ¸¸ç, ÇØ´ç ½ºÅ©¸³Æ®¸¦ ½ÇÇàÇÏ¸é ´ÙÀ½°ú °°Àº »ùÇà »ç¿ëÀÚ °èÁ¤À» »ý¼ºÇÑ´Ù.
°èÁ¤ ¼³¸í TIBERO CONNECT, RESOURCE, DBA ¿ªÇÒÀÌ ºÎ¿©µÈ »ùÇà »ç¿ëÀÚ °èÁ¤ÀÌ´Ù. TIBERO 1 CONNECT, RESOURCE, DBA ¿ªÇÒÀÌ ºÎ¿©µÈ »ùÇà »ç¿ëÀÚ °èÁ¤ÀÌ´Ù. Á¤»óÀûÀ¸·Î µ¥ÀÌÅͺ£À̽º »ý¼ºÀ» À§ÇÑ ¼³Á¤ÀÌ ¿Ï·áµÇ¾ú´Ù¸é ´ÙÀ½°ú °°ÀÌ ¼³Ä¡°¡ ÁøÇàµÇ´Â °ÍÀ» È®ÀÎÇÒ ¼ö ÀÖ´Ù. ¸¸¾à, ¼³Ä¡ °úÁ¤¿¡¼ ¿¡·¯°¡ ¹ß»ýÇÏ´Â °æ¿ì ¼³Ä¡ °úÁ¤ÀÌ ¸ðµÎ ·Ñ¹éµÇ¾îÁö¸ç ¼³Ä¡´Â ¿¡·¯·Î Á¾·áµÈ´Ù.
µ¥ÀÌÅͺ£À̽º »ý¼ºÀÌ ¿Ï·áµÇ¸é ´ÙÀ½°ú °°Àº ȸéÀÌ Ãâ·ÂµÈ´Ù.
Linux ȯ°æ¿¡¼ Tibero¸¦ ¼³Ä¡ÇÏ´Â ¼ø¼´Â ´ÙÀ½°ú °°´Ù.
Tibero ÀνºÅç·¯ ÆÄÀÏ¿¡ ½ÇÇà ±ÇÇÑÀ» ´ÙÀ½°ú °°ÀÌ ºÎ¿©ÇÑ´Ù.
$ chmod u+x tibero5_FS02_Linux_x86_64.bin
Äֿܼ¡¼ tibero5_FS02_Linux_x86_64.bin ÆÄÀÏÀ» ½ÇÇàÇÑ´Ù.
$ ./tibero5_FS02_Linux_x86_64.bin Preparing to install... Extracting the installation resources from the installer archive... Configuring the installer for this system's environment... Launching installer... ================================================================ Tibero (created with InstallAnywhere) ------------------------------------------------------------------------------- Preparing CONSOLE Mode Installation... ================================================================ Introduction ------------ Welcome to the Installer for Tibero. This installation will guide you through the installation process. Press <ENTER> to proceed with the installation. To cancel installation, enter 'quit'. PRESS <ENTER> TO CONTINUE:
Tibero°¡ ¼³Ä¡µÉ µð·ºÅ͸®¸¦ ¼±ÅÃÇÑ´Ù.
µðÆúÆ® µð·ºÅ͸®¸¦ »ç¿ëÇÏ·Á¸é <ENTER>¸¦ ´©¸£°í, º¯°æÇÏ·Á¸é Àý´ë °æ·Î·Î ¼³Ä¡¸¦ ¿øÇÏ´Â µð·ºÅ͸®¸¦ ÀÔ·ÂÇÑ ÈÄ¿¡ <ENTER>¸¦ ´·¯ ÁøÇàÇÑ´Ù.
ÇØ´ç °æ·Î´Â »ç¿ëÀÚ È¯°æ¼³Á¤ ÆÄÀÏ¿¡ TB_HOMEÀ¸·Î ÀÔ·ÂÀÌ µÇ¸ç, °ø¹éÀÌ ÀÔ·ÂµÇ¸é ¾È µÈ´Ù.
=============================================================================== Specify a home directory ------------------------ Specify a database home directory. The value you specified here will be set to the environment variable, TB_HOME. Where would you like to install? Default Install Folder: /home/tibero/tibero5 ENTER AN ABSOLUTE :
Tibero ¶óÀ̼±½º ÆÄÀÏÀ» ¼±ÅÃÇÑ´Ù.
=============================================================================== Input a License File -------------------- Please input a license file with the absolute path. The demo license can be downloaded at TechNet (http://technet.tmaxsoft.com). Location (Default: /home/tibero/license.xml):
µ¥¸ð ¶óÀ̼±½º ÆÄÀÏÀº Å×Å©³ÝÀ» ÅëÇÏ¿© ¹ß±Þ¹ÞÀ» ¼ö ÀÖ´Ù. ÀÚ¼¼ÇÑ ¼³¸íÀº ¡°1.2.2. ¼ÒÇÁÆ®¿þ¾î ¹èÆ÷¡±¸¦ Âü°íÇÑ´Ù.
»ç¿ëÀÚ°¡ ¼³Ä¡ °úÁ¤ Áß¿¡ ¼±ÅÃÇÑ ¼³Á¤ °ªµéÀ» È®ÀÎÇÒ ¼ö ÀÖµµ·Ï ȸ鿡 Ãâ·ÂÇÏ¿© º¸¿©ÁØ´Ù. ÇØ´ç ¼³Á¤ °ªµéÀÌ ¿Ã¹Ù¸¥Áö È®ÀÎÇÑ ÈÄ <ENTER> Å°¸¦ ´·¯¼ ¼³Ä¡¸¦ ÁøÇàÇÑ´Ù.
Pre-Installation Summary ------------------------ Please Review the following before continung: Product Name Tibero Installation Directory /home/tibero/tibero5 Disk Space Information (for Installation Target): Required: 294,464,229 Bytes Available: 209,164,701,696 Bytes PRESS <ENTER> TO CONTINUE:
TiberoÀÇ ¼³Ä¡°¡ ÁøÇàµÈ´Ù. ÇØ´ç °úÁ¤¿¡¼ ¼ÒÇÁÆ®¿þ¾î º¹»ç¿Í ¸µÅ© ÀÛ¾÷µéÀÌ ÁøÇàµÈ´Ù.
=============================================================================== Installing... ------------- [==================|==================|========
µ¥ÀÌÅͺ£À̽º ÀνºÅϽº »ý¼ºÀ» À§ÇÑ wizard¸¦ ½ÇÇàÇÒ ¶§ µ¥ÀÌÅͺ£À̽º ¼³Ä¡ ¿É¼ÇÀ» ¼±ÅÃÇÑ´Ù.
================================================================ Choose An Install Mode ---------------------- Choose an install mode. ->1- Typical mode 2- Custom mode ENTER THE NUMBER OF THE DESIRED CHOICE, OR PRESS <ENTER> TO ACCEPT THE DEFAULT: 2
°¢ ¿É¼Ç¿¡ ´ëÇÑ ¼³¸íÀº ´ÙÀ½°ú °°´Ù.
¿É¼Ç ¼³¸í Typical mode µ¥ÀÌÅͺ£À̽º »ý¼ºÀ» À§ÇÑ "DB_NAME, PORT, PASSWORD"¿Í °°Àº ¼³Á¤ °ª¸¸ »ç¿ëÀÚ°¡ Á¤ÀÇÇÏ°í, ³ª¸ÓÁö´Â ±âº» °ªÀ¸·Î ¼³Á¤ÇÏ¿© ¼³Ä¡¸¦ ÁøÇàÇÑ´Ù. Custom mode µ¥ÀÌÅͺ£À̽º »ý¼ºÀ» À§ÇÑ ¼¼ºÎÀûÀÎ ¼³Á¤À» »ç¿ëÀÚ°¡ Á¤ÀÇÇÏ¿© ¼³Ä¡¸¦ ÁøÇàÇÑ´Ù. Tibero »çÀü ¼³Ä¡ °úÁ¤ÀÌ ¿Ï·áµÇ¸é ´ÙÀ½°ú °°ÀÌ µ¥ÀÌÅͺ£À̽º ÀνºÅϽº »ý¼ºÀ» À§ÇÑ wizard ½ÇÇà ¹æ¹ý¿¡ ´ëÇÑ ¾È³» ¸Þ½ÃÁö°¡ Ãâ·ÂÀÌ µÈ´Ù. <ENTER> Å°¸¦ ´·¯ ÀνºÅç·¯¸¦ Á¾·áÇÑ´Ù.
================================================================ Install complete ---------------- Congratulations! Tibero has been successfully installed to: /home/tibero/tibero5 Execute the Wizard to configure your database. Execute the /home/tibero/tibero5/client/bin/install.sh file. Example). /home/tibero/tibero5/client/bin/install.sh PRESS <ENTER> TO EXIT THE INSTALLER:
$TB_HOME/client/bin/install.shÀº ÀνºÅç·¯ °úÁ¤ÀÌ ¿Ï·áµÈ ÈÄ¿¡ ¼öÇàÇÏ´Â ÀÛ¾÷À¸·Î ÇØ´ç ½ºÅ©¸³Æ®¿¡¼ ¼öÇàÇÏ´Â µ¿ÀÛÀº ´ÙÀ½°ú °°´Ù.
µ¥ÀÌÅͺ£À̽º ¼³Ä¡¸¦ À§ÇÑ È¯°æº¯¼ö Àû¿ë
µ¥ÀÌÅͺ£À̽º ¼³Ä¡¸¦ À§ÇÑ $TB_HOME/client/bin/runWizard.sh ½ºÅ©¸³Æ® ¼öÇà
»ç¿ëÀÚ°¡ º°µµ·Î Wizard¸¦ ¼öÇàÇÏ°íÀÚ ÇÏ´Â °æ¿ì¿¡´Â ȯ°æº¯¼ö Àû¿ë ÈÄ¿¡ ´ÙÀ½°ú °°Àº ¸í·É¾î¸¦ ¼öÇàÇÏ¿© ÁøÇàÇÒ ¼ö ÀÖ´Ù.
Typical Mode
$ sh $TB_HOME/client/bin/runWizard.sh -m cmd -d Y
Custom Mode
$ sh $TB_HOME/client/bin/runWizard.sh -m cmd
Tibero µ¥ÀÌÅͺ£À̽º ÀνºÅϽº »ý¼º °úÁ¤À» ÁøÇàÇϱâ À§ÇØ "install.sh"¸¦ ½ÇÇàÇÑ´Ù. °è¼ÓÇؼ ¼³Ä¡¸¦ ÁøÇàÇÏ·Á¸é <<ENTER>> Å°¸¦ ´©¸¥´Ù.
ÇØ´ç °úÁ¤Àº Custom mode¸¦ ±âÁØÀ¸·Î ¼³¸íÇÑ´Ù.
$ sh /home/tibero/tibero5/client/bin/install.sh ====================================================== Introduction -------------------------- Start to create Tibero Database. To cancel installation, enter ¡®quit¡¯. Press <ENTER> to proceed with the installation.
Tibero ¹ÙÀ̳ʸ®°¡ ¼³Ä¡µÈ µð·ºÅ͸®¸¦ ¼±ÅÃÇÑ´Ù. Áï, $TB_HOMEÀ¸·Î ÁöÁ¤µÈ µð·ºÅ͸® °æ·Î¸¦ ¼±ÅÃÇÑ´Ù.
TB_HOME (DEFAULT: /home/install/TmaxData/Tibero5) :
Tibero ÀνºÅϽº¸¦ ¿î¿µÇÒ ¶§ »ç¿ëÇÒ ¼ºñ½º ID¸¦ ÀÔ·ÂÇÑ´Ù.
TB_SID (DEFAULT : tibero) :
µ¥ÀÌÅͺ£À̽º À̸§À» ¼³Á¤ÇÑ´Ù.
Database name (DEFAULT : tibero) :
¸®½º³Ê°¡ »ç¿ëÇÒ Æ÷Æ® ¹øÈ£¸¦ ¼³Á¤ÇÑ´Ù.
Port (DEFAULT : 8629) :
Tibero µ¥ÀÌÅͺ£À̽º¸¦ ¼³Ä¡ÇÒ ¶§ ¼³Á¤ÇÒ ÃʱâÈ ÆĶó¹ÌÅ͸¦ ¼³Á¤ÇÑ´Ù. ÀÌ °úÁ¤Àº Typical Mode·Î ¼öÇàÇÏ´Â °æ¿ì¿¡´Â »ý·«µÈ´Ù.
====================================================== Initialization Parameter -------------------------- Configure initialization parameters. ALL : Displays all parameters. M : Mandatory. Displays the parameters that are required during system booting. O : Optional. Displays additional parameters that do not affect system booting. If unspecified, the default value is used. S : Static. Displays the parameters that cannot be modified when the system is running. D : Dynamic. Displays the parameters that can be modified when the system is running. P : Persistent. Displays the parameters that cannot be modified after a database is created. A : Adjustable. Displays the parameters that can be modified after a database is created. Enter 'ALL', one of the listed letters above, a parameter number, or the parameter itself to check the parameters. Press <ENTER> to proceed to the next step:
Âü°í
ÃʱâÈ ÆĶó¹ÌÅÍ¿¡ ´ëÇÑ ÀÚ¼¼ÇÑ ¼³¸íÀº "Tibero ÂüÁ¶ ¾È³»¼"¸¦ Âü°íÇÑ´Ù.
Tibero ½Ã½ºÅÛ »ç¿ëÀÚÀÇ Æнº¿öµå Á¤º¸¸¦ ¼³Á¤ÇÑ´Ù.
====================================================== SYS password -------------------------- Enter the password to be used for the SYS account. PASSWORD : CONFIRM PASSWORD : ====================================================== SYSCAT password -------------------------- Enter the password to be used for the SYSCAT account. PASSWORD : CONFIRM PASSWORD : ====================================================== SYSGIS password -------------------------- Enter the password to be used for the SYSGIS account. PASSWORD : CONFIRM PASSWORD : ====================================================== OUTLN password -------------------------- Enter the password to be used for the OUTLN account. PASSWORD : CONFIRM PASSWORD :
»ý¼ºÇÒ µ¥ÀÌÅͺ£À̽ºÀÇ ¹®ÀÚ ÁýÇÕÀ» ¼±ÅÃÇÑ´Ù.
====================================================== Character Set -------------------------- Select the character set of the database. 0. ASCII 1. EUCKR ->2. MSWIN949 3. UTF8 4. UTF16 ......Áß°£ »ý·«...... 18. WE8ISO8859P15 19. CL8KOI8R 20. CL8ISO8859P5 Enter one of the listed numbers above or press <ENTER> to use the selected character set:
Âü°í
Tibero¿¡¼ Áö¿øÇÏ´Â ¹®ÀÚ ÁýÇÕ¿¡ ´ëÇÑ ÀÚ¼¼ÇÑ ¼³¸íÀº ¡°Appendix C. Tibero Áö¿ø ¹®ÀÚ ÁýÇÕ¡±À» Âü°íÇÑ´Ù.
»ý¼ºÇÒ µ¥ÀÌÅͺ£À̽ºÀÇ ³»¼Å³Î ¹®ÀÚ ÁýÇÕÀ» ¼±ÅÃÇÑ´Ù.
====================================================== National Character Set -------------------------- Select the national character set of the database. 0. UTF8 ->1. UTF16 ENTER THE NUMBER ABOVE, OR PRESS <ENTER> TO ACCEPT THE SELECTED NATIONAL CHARACTER SET :
µ¥ÀÌÅͺ£À̽º »ý¼ºÀ» À§ÇÑ Á¤º¸µéÀ» ¼³Á¤ÇÑ´Ù.
====================================================== MAXDATAFILES -------------------------- Enter the maximum number of data files to be used in the database. -> DEFAULT : 100 ......Áß°£ »ý·«...... TABLESPACE -------------------------- The TABLESPACE can be configured. 1. DEFAULT 2. TEMPORARY 3. UNDO SELECT ONE OF THE NUMBER ABOVE, OR PRESS <ENTER> TO CONTINUE :
ÇØ´ç °úÁ¤¿¡¼ ¼³Á¤ °¡´ÉÇÑ Á¤º¸µéÀº ´ÙÀ½°ú °°´Ù.
Ç׸ñ ¼³¸í MAXDATAFILES µ¥ÀÌÅͺ£À̽º¿¡¼ »ç¿ëÇÒ µ¥ÀÌÅÍ ÆÄÀÏÀÇ ÃÖ´ñ°ªÀ» ¼³Á¤ÇÑ´Ù. (±âº»°ª: 100) MAXLOGGROUPS ·Î±× ±×·ìÀÇ ÃÖ´ñ°ªÀ» ¼³Á¤ÇÑ´Ù. (±âº»°ª: 255) MAXLOGMEMBERS ·Î±× ±×·ì ³»ÀÇ ·Î±× ÆÄÀÏÀÇ ÃÖ´ñ°ªÀ» ¼³Á¤ÇÑ´Ù. (±âº»°ª: 8) ARCHIVE LOG mode ·Î±× ¾ÆÄ«ÀÌºê ¸ðµå¸¦ ¼³Á¤ÇÑ´Ù. (±âº»°ª: NO) LOG Group LOG GROUPÀ» ¼³Á¤ÇÑ´Ù. SYSTEM Tablespace ½Ã½ºÅÛ Å×ÀÌºí ½ºÆäÀ̽ºÀÇ µ¥ÀÌÅÍ ÆÄÀÏÀ» ¼³Á¤ÇÑ´Ù. TABLESPACE Å×ÀÌºí ½ºÆäÀ̽º¸¦ ¼³Á¤ÇÑ´Ù. µ¥ÀÌÅͺ£À̽º »ý¼º ÈÄ¿¡ »ç¿ëÀÚ°¡ Ãß°¡·Î ½ÇÇàÇÏ°íÀÚ ÇÏ´Â ½ºÅ©¸³Æ® ÆÄÀÏÀ» ¼³Á¤ÇÑ´Ù.
====================================================== USER DEFINED SQL -------------------------- YThe user-defined SQL can be added. 0. /home/tibero/tibero5/scripts/example_users.sql CAN BE DELETE BY 'DEL <number>', OR PRESS 'Y'/'N' :
±âº»À¸·Î $TB_HOME\scripts\example_users.sql ½ºÅ©¸³Æ®¸¦ ½ÇÇàÇϵµ·Ï ¼³Á¤µÇ¾î ÀÖÀ¸¸ç, ÇØ´ç ½ºÅ©¸³Æ®¸¦ ½ÇÇàÇÏ¸é ´ÙÀ½°ú °°Àº »ùÇà »ç¿ëÀÚ °èÁ¤À» »ý¼ºÇÑ´Ù.
°èÁ¤ ¼³¸í TIBERO CONNECT, RESOURCE, DBA ¿ªÇÒÀÌ ºÎ¿©µÈ »ùÇà »ç¿ëÀÚ °èÁ¤ÀÌ´Ù. TIBERO 1 CONNECT, RESOURCE, DBA ¿ªÇÒÀÌ ºÎ¿©µÈ »ùÇà »ç¿ëÀÚ °èÁ¤ÀÌ´Ù. ¾Õ¿¡¼ ¼³Á¤ÇÑ Á¤º¸µéÀ» ¹ÙÅÁÀ¸·Î µ¥ÀÌÅͺ£À̽º »ý¼ºÀ» ÁøÇàµÇ¸ç, Á¤»óÀûÀ¸·Î ¼³Ä¡°¡ Á¾·áµÇ¸é µ¥ÀÌÅͺ£À̽º°¡ »ý¼ºµÈ´Ù.
====================================================== Wizard Process -------------------------- 0 50 100 (%) |======|======|======| All operations are complete. Thank you.
Tibero°¡ Áö¿øÇÏ´Â ¸ðµç Ç÷§Æû¿¡ ´ëÇÏ¿© µ¥ÀÌÅͺ£À̽º¸¦ ¼öµ¿À¸·Î ¼³Ä¡ÇÒ ¼ö ÀÖ´Ù. À̸¦ ¼öµ¿ ¼³Ä¡¶ó Á¤ÀÇÇÑ´Ù.
´ÙÀ½Àº Windows ȯ°æ¿¡¼ ¼öµ¿À¸·Î Tibero¸¦ ¼³Ä¡ÇÏ´Â °úÁ¤¿¡ ´ëÇÑ ¼³¸íÀÌ´Ù. Windows ȯ°æ¿¡¼ÀÇ ¼³Ä¡ °úÁ¤Àº ¹Ýµå½Ã °ü¸®ÀÚ ±ÇÇÑÀ¸·Î ÁøÇàµÇ¾î¾ß ÇÑ´Ù.
´ÙÀ½ÀÇ µÎ °¡Áö ÆÄÀÏÀÌ ÁغñµÇ¾ú´ÂÁö È®ÀÎÇÑ´Ù.
¹ÙÀ̳ʸ® ½ÇÇà ÆÄÀÏ(tar.gz)
¶óÀ̼±½º ÆÄÀÏ(license.xml)
[½ÃÀÛ] > [¼³Á¤] > [Á¦¾îÆÇ] > [½Ã½ºÅÛ] > [°í±Þ] ÅÇ¿¡¼ [ȯ°æº¯¼ö] ¹öÆ°À» Ŭ¸¯ÇÏ¿© ȯ°æº¯¼ö¸¦ ¼³Á¤ÇÑ´Ù. º» ¿¹Á¦¿¡¼´Â ´ÙÀ½°ú °°ÀÌ È¯°æº¯¼ö¸¦ ¼³Á¤ÇÑ´Ù.
ȯ°æº¯¼ö ¼³Á¤°ª %TB_HOME% C:\Tibero\tibero5 %TB_SID% tibero PATH C:\Tibero\tibero5\bin;C:\Tibero\tibero5\client\bin C:\Tibero µð·ºÅ͸®¿¡¼ ¾ÐÃàµÈ ¹ÙÀ̳ʸ® ½ÇÇà ÆÄÀÏ(tar.gz)À» ÇØÁ¦ÇÑ´Ù. ±× ÈÄ¿¡ %TB_HOME%ÀÇ license¶ó´Â ÇÏÀ§ µð·ºÅ͸®¿¡ ¹ß±Þ¹ÞÀº ¶óÀ̼±½º ÆÄÀÏ(license.xml)À» º¹»çÇÑ´Ù.
%TB_HOME%\bin µð·ºÅ͸®¿¡¼ ´ÙÀ½ÀÇ ¸í·É¾î¸¦ ÀÔ·ÂÇÑ´Ù. À̶§ ¼ºñ½º¸íÀº »ý·«ÇÒ ¼ö ÀÖ´Ù.
tbinstall %TB_HOME% %TB_SID% [-s ¼ºñ½º¸í]
ÀÌ ¸í·ÉÀÌ ½ÇÇàµÇ¸é Tibero°¡ Windows ¼ºñ½º¿¡ µî·ÏµÈ´Ù. µî·ÏµÈ Windows ¼ºñ½º´Â [½ÃÀÛ] > [¼³Á¤] > [Á¦¾îÆÇ] > [°ü¸® µµ±¸] > [¼ºñ½º]¿¡¼ È®ÀÎÇÒ ¼ö ÀÖ´Ù.
¿À¸¥ÂÊ ¸¶¿ì½º¸¦ Ŭ¸¯Çؼ [°ü¸®ÀÚ ±ÇÇÑÀ¸·Î ½ÇÇà]À¸·Î ¸í·É ÇÁ·ÒÇÁÆ® âÀ» ½ÇÇàÇÑ´Ù.
C:\Tibero\tibero5\bin>tbinstall %TB_HOME% %TB_SID% Microsoft (R) Windows Script Host ¹öÀü 5.6 Copyright (C) Microsoft Corporation 1996-2001. All rights reserved. TB_HOME = C:\Tibero\tibero5 TB_SID = tibero service account = LocalSystem Tibero_tibero installed successfully.
%TB_HOME%\config µð·ºÅ͸®¿¡¼ ´ÙÀ½ÀÇ ¸í·É¾î¸¦ ÀÔ·ÂÇÑ´Ù.
gen_tip.bat
ÀÌ ¸í·ÉÀÌ ½ÇÇàµÇ¸é ȯ°æ ÆÄÀÏ(.tip)°ú tbdsn.tbr, psm_commands.bat ÆÄÀÏÀÌ »ý¼ºµÈ´Ù.
C:\Tibero\tibero5\config>gen_tip.bat Using TB_SID [tibero] C:\Tibero\tibero5\config\tibero.tip generated C:\Tibero\tibero5\client\config\tbdsn.tbr generated. C:\Tibero\tibero5\config\psm_commands.bat generated
Âü°í
1. tbdsn.tbr ÆÄÀÏ ¼³Á¤¿¡ ´ëÇØ ÀÚ¼¼ÇÑ ³»¿ëÀº "Tibero °ü¸®ÀÚ ¾È³»¼"ÀÇ "Appendix A. tbdsn.tbr"À» Âü°íÇÑ´Ù.
2. %TB_SID%.tip ÆÄÀÏ ¼³Á¤¿¡ ´ëÇØ ÀÚ¼¼ÇÑ ³»¿ëÀº "Tibero ÂüÁ¶ ¾È³»¼"ÀÇ "Appendix A. ÃʱâÈ ÆĶó¹ÌÅÍÀÇ ¼³Á¤ ¿¹Á¦"¸¦ Âü°íÇÑ´Ù.
Tibero ¼¹ö¸¦ 'NOMOUNT ¸ðµå'·Î ±âµ¿ÇÑ´Ù.
C:\Tibero\tibero5\bin>tbboot nomount Tibero instance started up (NOMOUNT mode).
tbSQL À¯Æ¿¸®Æ¼¸¦ ÀÌ¿ëÇÏ¿© µ¥ÀÌÅͺ£À̽º¿¡ Á¢¼ÓÇÑ´Ù. º» ¿¹Á¦¿¡¼´Â 'sys' »ç¿ëÀÚ·Î Á¢¼ÓÇÑ´Ù.
C:\Tibero\tibero5\bin>tbsql sys/tibero tbSQL 5 SP1 Copyright (c) 2008, 2009, 2011, 2012 TmaxData Corporation. All rights reserved. Connected to Tibero.
CREATE DATABASE ¹®À» ÀÌ¿ëÇÏ¿© ¿øÇÏ´Â µ¥ÀÌÅͺ£À̽º¸¦ »ý¼ºÇÑ´Ù. º» ¿¹Á¦¿¡¼´Â 'tibero'·Î »ý¼ºÇÑ´Ù.
SQL> create database "tibero" user sys identified by tibero maxinstances 8 maxdatafiles 100 character set MSWIN949 logfile group 1 'log001.log' size 100M, group 2 'log002.log' size 100M, group 3 'log003.log' size 100M maxloggroups 255 maxlogmembers 8 noarchivelog datafile 'system001.dtf' size 100M autoextend on next 100M maxsize unlimited default temporary tablespace TEMP tempfile 'temp001.dtf' size 100M autoextend on next 100M maxsize unlimited extent management local autoallocate undo tablespace UNDO datafile 'undo001.dtf' size 100M autoextend on next 100M maxsize unlimited extent management local autoallocate; Database created. SQL> quit;
Âü°í
CREATE DATABASE ¹®¿¡ ´ëÇÑ ÀÚ¼¼ÇÑ ³»¿ëÀº "Tibero SQL ÂüÁ¶ ¾È³»¼"¸¦ Âü°íÇÑ´Ù.
µ¥ÀÌÅͺ£À̽º »ý¼ºÀÌ ¿Ï·áµÇ¸é tbboot ¸í·É¾î·Î Tibero¸¦ ´Ù½Ã ±âµ¿ÇÑ´Ù.
C:\Tibero\tibero5\bin>tbboot Tibero instance started up (NORMAL mode)
±âº» ½ºÅ©¸³Æ® È£½ºÆ®¸¦ cscript·Î º¯°æÇÑ´Ù. cscript·Î ¼³Á¤µÇ¾î ÀÖÁö ¾ÊÀº °æ¿ì vbs ÆÄÀÏÀ» ½ÇÇàÇÒ ¶§ »ç¿ëÀÚ ÀÔ·Â ºÎºÐ¿¡¼ alert âÀ¸·Î Ãâ·ÂµÇ¾î ¼³Ä¡¸¦ ÁøÇàÇÒ ¼ö ¾ø´Â Çö»óÀÌ ¹ß»ýÇÑ´Ù.
C:\Tibero\tibero5\scripts> cscript //H:CScript Microsoft (R) Windows Script Host ¹öÀü 5.6 Copyright (C) Microsoft Corporation 1996-2001. All rights reserved. ±âº» ½ºÅ©¸³Æ® È£½ºÆ®°¡ ÀÌÁ¦ "cscript.exe"·Î ¼³Á¤µÇ¾ú½À´Ï´Ù.
%TB_HOME%\scripts µð·ºÅ͸®¿¡¼ system.vbs ¸í·É¾î¸¦ ÀÔ·ÂÇϸé ÇöÀç µð·ºÅ͸®¿¡ ÀÖ´Â SQL ¹®ÀÌ ÀúÀåµÈ ÆÄÀÏ(*.sql, ÀÌÇÏ SQL ÆÄÀÏ)ÀÌ ¼öÇàµÈ´Ù.
SQL ÆÄÀÏÀ» ¼öÇàÇϸé role, System user, view, package µîÀÌ »ý¼ºµÈ´Ù. »ç¿ëµÇ´Â sys ¹× syscat °èÁ¤¿¡ ´ëÇÑ ±âº» ¾ÏÈ£´Â °¢°¢ tibero , syscatÀÌ´Ù.
C:\Tibero\tibero5\scripts>system.vbs Microsoft (R) Windows Script Host ¹öÀü 5.6 Copyright (C) Microsoft Corporation 1996-2001. All rights reserved. Creating the role DBA... Running C:\Tibero\tibero5\scripts\create_dba_gen.sql... Creating system users & roles... Running C:\Tibero\tibero5\scripts\system_users.sql... Creating virtual tables(1)... Running C:\Tibero\tibero5\scripts\vt_drop_gen.sql... Creating virtual tables(2)... Running C:\Tibero\tibero5\scripts\vt_create_gen.sql... Granting public access to _VT_DUAL... Running C:\Tibero\tibero5\scripts\vt_dual.sql... Creating the system generated sequences... Running C:\Tibero\tibero5\scripts\create_seq.sql... Creating internal dynamic performance views... Running C:\Tibero\tibero5\scripts\dpvx.sql... Creating system packages: Running C:\Tibero\tibero5\scripts\pkg\pkg_standard.sql... Running C:\Tibero\tibero5\scripts\pkg\pkg_dbms_output.sql... Running C:\Tibero\tibero5\scripts\pkg\pkg_dbms_lob.sql... Running C:\Tibero\tibero5\scripts\pkg\pkg_dbms_utility.sql... Running C:\Tibero\tibero5\scripts\pkg\pkg_dbms_obfuscation.sql... ......Áß°£ »ý·«...... Creating dynamic performance view descriptions... Running C:\Tibero\tibero5\scripts\dpv_dict.sql... Creating spatial meta tables and views ... Running C:\Tibero\tibero5\scripts\create_gis.sql... Creating internal system tables... Running C:\Tibero\tibero5\scripts\sys_tbl.sql...
Âü°í
system.vbs ½ÇÇàÇÒ ¶§ ȯ°æº¯¼ö¿¡ ¼³Á¤ÇÑ "%TB_SID%"¸¦ °¡Áö°í DB¿¡ Á¢¼ÓÇϱ⠶§¹®¿¡[Á¦¾îÆÇ] > [°ü¸®µµ±¸] > [µ¥ÀÌÅÍ ¿øº»(ODBC)]¿¡ %TB_SID%¿Í °°Àº À̸§ÀÇ DSNÀÌ Á¸ÀçÇÏÁö ¾Ê´ÂÁö ÁÖÀÇÇØ¾ß ÇÑ´Ù. ÀÌ´Â µ¥ÀÌÅÍ ¿øº»(ODBC)¿¡ "%TB_SID%"¿Í °°Àº À̸§ÀÇ DSNÀÌ Á¸ÀçÇÒ °æ¿ì µ¥ÀÌÅÍ ¿øº»(ODBC)¿¡ ÀÖ´Â DSN¿¡ ¼³Á¤µÈ DB·Î Á¢¼ÓÀ» ½ÃµµÇÏ¿© system.vbs°¡ ¼öÇàµÇ±â ¶§¹®ÀÌ´Ù. system.sh(.vbs)¿¡¼ Á¦°øµÇ´Â °¢ ¿É¼Ç¿¡ ´ëÇÑ ¼³¸íÀº ¡°Appendix D. system.sh¡±¸¦ Âü°íÇÑ´Ù.
TiberoÀÇ ¼³Ä¡°¡ Á¤»óÀûÀ¸·Î ¿Ï·áµÇ¸é tblistener, tbsvr ÇÁ·Î¼¼½º°¡ ½ÇÇàµÈ´Ù. ÇØ´ç ÇÁ·Î¼¼½º´Â Windows ÀÛ¾÷ °ü¸®ÀÚÀÇ [ÇÁ·Î¼¼½º] ÅÇÀ» ÅëÇØ È®ÀÎÇÒ ¼ö ÀÖ´Ù.
À̹ÌÁö À̸§ »ç¿ëÀÚ À̸§ CPU ¸Þ¸ð¸® »ç¿ë ... tblistener.exe SYSTEM 00 2,804 KB tbsvr.exe SYSTEM 00 216,056 KB ...
´ÙÀ½Àº UNIX ȯ°æ¿¡¼ ¼öµ¿À¸·Î Tibero¸¦ ¼³Ä¡ÇÏ´Â ¼ø¼¿¡ ´ëÇÑ ¼³¸íÀÌ´Ù.
´ÙÀ½ÀÇ µÎ °¡Áö ÆÄÀÏÀÌ ÁغñµÇ¾ú´ÂÁö È®ÀÎÇÑ´Ù.
¹ÙÀ̳ʸ® ½ÇÇà ÆÄÀÏ(tar.gz)
¶óÀ̼±½º ÆÄÀÏ(license.xml)
ÇØ´ç ¿î¿µÃ¼Á¦ÀÇ »ç¿ëÀÚ °èÁ¤º°·Î Á¸ÀçÇϴ ȯ°æ¼³Á¤ ÆÄÀÏ(.bashrc, .bash_profile, .profile µî)¿¡ ȯ°æº¯¼ö¸¦ ¼³Á¤ÇÑ´Ù. º» ¿¹Á¦¿¡¼´Â ´ÙÀ½°ú °°ÀÌ È¯°æº¯¼ö¸¦ ¼³Á¤ÇÑ´Ù.
export TB_HOME=/home/tibero/Tibero/tibero5 export TB_SID=tibero export LD_LIBRARY_PATH=$TB_HOME/lib:$TB_HOME/client/lib export PATH=$PATH:$TB_HOME/bin:$TB_HOME/client/bin
Âü°í
1. ȯ°æº¯¼ö¸¦ º¯°æÇÏ´Â ¹æ¹ýÀº OS¿¡ µû¶ó ´Ù¸£¹Ç·Î, ÀÚ¼¼ÇÑ ³»¿ëÀº °¢ OS ¾È³»¼¸¦ Âü°íÇÑ´Ù.
2. °¢ ȯ°æº¯¼ö °ª¿¡ ´ëÇÑ ¼³¸íÀº ¡°3.4.2. »ç¿ëÀÚ È¯°æ¼³Á¤ ÆÄÀÏÀÇ Àû¿ë ¹× È®ÀΡ±À» Âü°íÇÑ´Ù.
/home/tibero/Tibero µð·ºÅ͸®¿¡¼ ¾ÐÃàµÈ ¹ÙÀ̳ʸ® ½ÇÇà ÆÄÀÏ(tar.gz)À» ÇØÁ¦ÇÑ´Ù. ±× ÈÄ¿¡ ¹ß±Þ¹ÞÀº ¶óÀ̼±½º ÆÄÀÏ(license.xml)À» $TB_HOME/license µð·ºÅ͸®¿¡ º¹»çÇÑ´Ù.
$TB_HOME/config µð·ºÅ͸®¿¡¼ ´ÙÀ½ÀÇ ¸í·É¾î¸¦ ÀÔ·ÂÇÑ´Ù.
gen_tip.sh
ÀÌ ¸í·ÉÀÌ ½ÇÇàµÇ¸é ȯ°æ ÆÄÀÏ(.tip)°ú tbdsn.tbr, psm_commands ÆÄÀÏÀÌ »ý¼ºµÈ´Ù.
tibero@Tibero:~/Tibero/tibero5/config$ gen_tip.sh Using TB_SID "tibero" /home/tibero/Tibero/tibero5/config/tibero.tip generated /home/tibero/Tibero/tibero5/config/psm_commands generated /home/tibero/Tibero/tibero5/client/config/tbdsn.tbr generated. Running client/config/gen_esql_cfg.sh Done.
Tibero ¼¹ö¸¦ 'NOMOUNT ¸ðµå'·Î ±âµ¿ÇÑ´Ù.
tibero@Tibero:~/Tibero/tibero5/bin$ tbboot nomount Change core dump dir to /home/tibero5/tibero5/bin/prof. Listener port = 8629 Tibero 5 SP1 TmaxData Corporation Copyright (c) 2008-. All rights reserved. Tibero instance started up (NOMOUNT mode).
tbSQL À¯Æ¿¸®Æ¼¸¦ ÀÌ¿ëÇÏ¿© µ¥ÀÌÅͺ£À̽º¿¡ Á¢¼ÓÇÑ´Ù. º» ¿¹Á¦¿¡¼´Â 'sys' »ç¿ëÀÚ·Î Á¢¼ÓÇÑ´Ù.
tibero@Tibero:~/Tibero/tibero5/client/bin$ tbsql sys/tibero tbSQL 5 SP1 TmaxData Corporation Copyright (c) 2008-. All rights reserved. Connected to Tibero. SQL>
CREATE DATABASE ¹®À» ÀÌ¿ëÇÏ¿© ¿øÇÏ´Â µ¥ÀÌÅͺ£À̽º¸¦ »ý¼ºÇÑ´Ù. º» ¿¹Á¦¿¡¼´Â 'tibero'·Î »ý¼ºÇÑ´Ù.
SQL> create database "tibero" user sys identified by tibero maxinstances 8 maxdatafiles 100 character set MSWIN949 logfile group 1 'log001.log' size 100M, group 2 'log002.log' size 100M, group 3 'log003.log' size 100M maxloggroups 255 maxlogmembers 8 noarchivelog datafile 'system001.dtf' size 100M autoextend on next 100M maxsize unlimited default temporary tablespace TEMP tempfile 'temp001.dtf' size 100M autoextend on next 100M maxsize unlimited extent management local autoallocate undo tablespace UNDO datafile 'undo001.dtf' size 100M autoextend on next 100M maxsize unlimited extent management local autoallocate; Database created. SQL> quit Disconnected.
Âü°í
CREATE DATABASE ¹®¿¡ ´ëÇÑ ÀÚ¼¼ÇÑ ³»¿ëÀº "Tibero SQL ÂüÁ¶ ¾È³»¼"¸¦ Âü°íÇÑ´Ù.
µ¥ÀÌÅͺ£À̽º »ý¼ºÀÌ ¿Ï·áµÇ¸é tbboot ¸í·É¾î·Î Tibero¸¦ ´Ù½Ã ±âµ¿ÇÑ´Ù.
tibero@Tibero:~/Tibero/tibero5/bin$ tbboot Change core dump dir to /home/Tibero/tibero5/bin/prof. Listener port = 8629 Tibero 5 SP1 TmaxData Corporation Copyright (c) 2008-. All rights reserved. Tibero instance started up (NORMAL mode).
$TB_HOME/scripts µð·ºÅ͸®¿¡¼ system.sh ¸í·É¾î¸¦ ÀÔ·ÂÇÑ´Ù. ÀÌ ¸í·É¾î¸¦ ÀÔ·ÂÇϸé, ÇöÀç µð·ºÅ͸®¿¡ ÀÖ´Â SQL ÆÄÀÏÀÌ ¼öÇàµÈ´Ù. SQL ÆÄÀÏÀ» ¼öÇàÇϸé role, System user, view, package µîÀÌ »ý¼ºµÈ´Ù. »ç¿ëµÇ´Â sys ¹× syscat °èÁ¤¿¡ ´ëÇÑ ±âº» ¾ÏÈ£´Â °¢°¢ tibero, syscatÀÌ´Ù.
tibero@Tibero:~/Tibero/tibero5/scripts$ system.sh Enter SYS password: Enter SYSCAT password: Creating the role DBA... create default system users & roles?(Y/N): Creating system users & roles... Creating virtual tables(1)... Creating virtual tables(2)... Granting public access to _VT_DUAL... Creating the system generated sequences... Creating internal dynamic performance views... Creating outline table... Creating system package specifications: Running /home/tibero/Tibero/tibero5/scripts/pkg/pkg_standard.sql... Running /home/tibero/Tibero/tibero5/scripts/pkg/pkg_dbms_output.sql... Running /home/tibero/Tibero/tibero5/scripts/pkg/pkg_dbms_lob.sql... Running /home/tibero/Tibero/tibero5/scripts/pkg/pkg_dbms_utility.sql... ......Áß°£ »ý·«...... Creating spatial meta tables and views ... Creating internal system jobs... Creating internal system notice queue ... Done. For details, check /home/tibero6/tibero6/instance/tibero/log/system_init.log.
Âü°í
system.sh(.vbs) ¿¡¼ Á¦°øµÇ´Â °¢ ¿É¼Ç¿¡ ´ëÇÑ ¼³¸íÀº ¡°Appendix D. system.sh¡±¸¦ Âü°íÇÑ´Ù.
TiberoÀÇ ¼³Ä¡°¡ Á¤»óÀûÀ¸·Î ¿Ï·áµÇ¸é Tibero ÇÁ·Î¼¼½º°¡ ½ÇÇàµÈ´Ù. ÀÌ ÇÁ·Î¼¼½º´Â ´ÙÀ½ÀÇ ¸í·É¾î¸¦ ½ÇÇàÇϸé È®ÀÎÇÒ ¼ö ÀÖ´Ù.
tibero@Tibero:~/Tibero/tibero5/scripts$ ps -ef | grep tbsvr tibero 31697 31696 0 21:12 pts/2 00:00:00 tbsvr ... tibero 31698 31697 0 21:12 pts/2 00:00:00 tbsvr_WT001 ... tibero 31699 31697 11 21:12 pts/2 00:00:12 tbsvr_WT002 ... tibero 31700 31697 0 21:12 pts/2 00:00:00 tbsvr_SEQW ... tibero 31701 31697 0 21:12 pts/2 00:00:00 tbsvr_LOGW ... tibero 31702 31697 0 21:12 pts/2 00:00:00 tbsvr_LOGA ... tibero 31703 31697 0 21:12 pts/2 00:00:00 tbsvr_CKPT ... tibero 31704 31697 0 21:12 pts/2 00:00:00 tbsvr_BLKW000 ... tibero 32040 6771 0 21:14 pts/2 00:00:00 grep tbsvr ...
º» Àý¿¡¼´Â Tibero°¡ ¼³Ä¡µÈ ÈÄ Á¤»óÀûÀÎ ¼³Ä¡ ¿©ºÎ¸¦ È®ÀÎÇÏ´Â ¹æ¹ý¿¡ ´ëÇؼ ¼³¸íÇÑ´Ù.
Tibero°¡ ¼³Ä¡µÇ¸é ´ÙÀ½°ú °°Àº µð·ºÅ͸®°¡ »ý¼ºµÈ´Ù.
$TB_HOME +- bin | +- client | | | +- bin | +- config | +- include | +- lib | +- ssl | | | | | +- man | | | +- man1 | | | +- man3 | | | +- man5 | | | +- man7 | | +- misc | +- epa | | | | | +- java | | | | | +- config | | +- lib | +- win32 | +- win64 | +- config | +- database | +- $TB_SID | | | +- psm | +- instance | | | +- $TB_SID | | | +- audit | +- log | | +- dbmslog | | +- lsnr | | +- tracelog | +- path | +- lib | +- license | | | +- oss_licenses | +- scripts +- pkg
À§ÀÇ µð·ºÅ͸® ±¸Á¶¿¡¼ $TB_SID¶ó°í º¸ÀÌ´Â ºÎºÐÀº °¢°¢ÀÇ ½Ã½ºÅÛ È¯°æ¿¡ ¸Â´Â ¼¹öÀÇ SID·Î ¹Ù²ã¼ Àоî¾ß ÇÑ´Ù.
Tibero¿¡¼ »ç¿ëÇÏ´Â °íÀ¯ÀÇ µð·ºÅ͸®´Â ´ÙÀ½°ú °°´Ù.
- bin
TiberoÀÇ ½ÇÇà ÆÄÀÏ°ú ¼¹ö °ü¸®¸¦ À§ÇÑ À¯Æ¿¸®Æ¼°¡ À§Ä¡ÇÑ µð·ºÅ͸®ÀÌ´Ù. ÀÌ µð·ºÅ͸®¿¡ ¼ÓÇÑ ÆÄÀÏ Áß¿¡¼ tbsvr°ú tblistener´Â Tibero¸¦ ±¸¼ºÇÏ´Â ½ÇÇà ÆÄÀÏÀ̸ç, tbboot¿Í tbdownÀº °¢°¢ Tibero¸¦ ±âµ¿ÇÏ°í Á¾·áÇÏ´Â ¿ªÇÒÀ» ´ã´çÇÑ´Ù.
tbsvr°ú tblistener ½ÇÇà ÆÄÀÏÀº ¹Ýµå½Ã tbboot ¸í·É¾î¸¦ ÀÌ¿ëÇÏ¿© ½ÇÇàµÇ¾î¾ß Çϸç, Àý´ë·Î Á÷Á¢ ½ÇÇàÇؼ´Â ¾È µÈ´Ù.
- client/bin
TiberoÀÇ Å¬¶óÀ̾ðÆ® ½ÇÇà ÆÄÀÏÀÌ ÀÖ´Â µð·ºÅ͸®ÀÌ´Ù. ÀÌ µð·ºÅ͸®¿¡´Â ´ÙÀ½°ú °°Àº À¯Æ¿¸®Æ¼°¡ ÀÖ´Ù.
À¯Æ¿¸®Æ¼¿¡ ´ëÇÑ ³»¿ëÀº "Tibero À¯Æ¿¸®Æ¼ ¾È³»¼"¸¦ Âü°íÇÑ´Ù. ´Ü, tbpc À¯Æ¿¸®Æ¼´Â "Tibero tbESQL/C ¾È³»¼"¸¦ Âü°íÇÑ´Ù.
- client/config
TiberoÀÇ Å¬¶óÀ̾ðÆ® ÇÁ·Î±×·¥À» ½ÇÇàÇϱâ À§ÇÑ ¼³Á¤ ÆÄÀÏÀÌ À§Ä¡ÇÏ´Â µð·ºÅ͸®ÀÌ´Ù.
- client/include
TiberoÀÇ Å¬¶óÀ̾ðÆ® ÇÁ·Î±×·¥À» ÀÛ¼ºÇÒ ¶§ ÇÊ¿äÇÑ Çì´õ ÆÄÀÏÀÌ À§Ä¡ÇÏ´Â µð·ºÅ͸®ÀÌ´Ù.
- client/lib
TiberoÀÇ Å¬¶óÀ̾ðÆ® ÇÁ·Î±×·¥À» ÀÛ¼ºÇÒ ¶§ ÇÊ¿äÇÑ ¶óÀ̺귯¸® ÆÄÀÏÀÌ À§Ä¡ÇÏ´Â µð·ºÅ͸®ÀÌ´Ù. ÀÌ¿¡ ´ëÇÑ ÀÚ¼¼ÇÑ ³»¿ëÀº "Tibero ¾ÖÇø®ÄÉÀÌ¼Ç °³¹ßÀÚ ¾È³»¼"¿Í "Tibero tbESQL/C ¾È³»¼"¸¦ Âü°íÇÑ´Ù.
- client/ssl
¼¹ö º¸¾ÈÀ» À§ÇÑ ÀÎÁõ¼¿Í °³ÀÎ Å°¸¦ ÀúÀåÇÏ´Â µð·ºÅ͸®ÀÌ´Ù.
- client/epa
External Procedure¿Í °ü·ÃµÈ ¼³Á¤ ÆÄÀÏ°ú ·Î±× ÆÄÀÏÀÌ ÀÖ´Â µð·ºÅ͸®ÀÌ´Ù. ÀÌ¿¡ ´ëÇÑ ÀÚ¼¼ÇÑ ³»¿ëÀº "Tibero External Procedure ¾È³»¼"¸¦ Âü°íÇÑ´Ù.
- client/win32
32bit Windows¿ë ODBC/OLE DB µå¶óÀ̹ö°¡ À§Ä¡ÇÏ´Â µð·ºÅ͸®ÀÌ´Ù.
- client/win64
64bit Windows¿ë ODBC/OLE DB µå¶óÀ̹ö°¡ À§Ä¡ÇÏ´Â µð·ºÅ͸®ÀÌ´Ù.
- config
TiberoÀÇ È¯°æ¼³Á¤ ÆÄÀÏÀÌ À§Ä¡ÇÏ´Â µð·ºÅ͸®ÀÌ´Ù. ÀÌ À§Ä¡¿¡ Á¸ÀçÇÏ´Â $TB_SID.tip ÆÄÀÏÀÌ TiberoÀÇ È¯°æ¼³Á¤À» °áÁ¤ÇÑ´Ù.
- database/$TB_SID
TiberoÀÇ µ¥ÀÌÅͺ£À̽º Á¤º¸¸¦ º°µµ·Î ¼³Á¤ÇÏÁö ¾Ê´Â ÇÑ ¸ðµç µ¥ÀÌÅͺ£À̽º Á¤º¸°¡ ÀÌ µð·ºÅ͸®¿Í ±× ÇÏÀ§ µð·ºÅ͸®¿¡ ÀúÀåµÈ´Ù. ÀÌ µð·ºÅ͸®¿¡´Â µ¥ÀÌÅÍ ÀÚü¿¡ ´ëÇÑ ¸ÞŸµ¥ÀÌÅÍ(metadata)»Ó¸¸ ¾Æ´Ï¶ó ´ÙÀ½°ú °°Àº Á¾·ùÀÇ ÆÄÀÏÀÌ ÀÖ´Ù.
- database/$TB_SID/psm
tbPSM ÇÁ·Î±×·¥À» ÄÄÆÄÀÏµå ¸ðµå(Compiled mode)·Î ÄÄÆÄÀÏÇÏ´Â °æ¿ì ÄÄÆÄÀÏµÈ ÆÄÀÏÀÌ ÀúÀåµÇ´Â µð·ºÅ͸®ÀÌ´Ù. ÇÏÁö¸¸ ÇöÀç Tibero¿¡¼´Â ÀÎÅÍÇÁ¸®ÅÍ ¸ðµå¸¸À» Áö¿øÇÏ°í ÀÖ´Ù. ÀÌ¿¡ ´ëÇÑ ÀÚ¼¼ÇÑ ³»¿ëÀº "Tibero tbPSM ¾È³»¼"¸¦ Âü°íÇÑ´Ù.
- instance/$TB_SID/audit
µ¥ÀÌÅͺ£À̽º »ç¿ëÀÚ°¡ ½Ã½ºÅÛ Æ¯±Ç ¶Ç´Â ½ºÅ°¸¶ °´Ã¼ Ư±ÇÀ» »ç¿ëÇÏ´Â °ÍÀ» °¨½Ã(Audit)ÇÑ ³»¿ëÀ» ±â·ÏÇÑ ÆÄÀÏÀÌ ÀúÀåµÇ´Â µð·ºÅ͸®ÀÌ´Ù.
- instance/$TB_SID/log
TiberoÀÇ Trace ·Î±× ÆÄÀÏ°ú DBMS ·Î±× ÆÄÀÏÀÌ ÀúÀåµÇ´Â µð·ºÅ͸®ÀÌ´Ù.
Trace ·Î±× ÆÄÀÏ°ú DBMS ·Î±× ÆÄÀÏÀº µ¥ÀÌÅͺ£À̽º¸¦ »ç¿ëÇÒ¼ö·Ï °è¼Ó ´©ÀûµÇ¾î ÀúÀåµÈ´Ù. ¶ÇÇÑ, Àüü µð·ºÅ͸®ÀÇ ÃÖ´ë Å©±â¸¦ ÁöÁ¤ÇÒ ¼ö ÀÖÀ¸¸ç, Tibero´Â ±× ÁöÁ¤µÈ Å©±â¸¦ ³Ñ¾î°¡Áö ¾Êµµ·Ï ¿À·¡µÈ ÆÄÀÏÀ» »èÁ¦ÇÑ´Ù.
DBMS ·Î±× ÆÄÀÏÀ» ¼³Á¤ÇÏ´Â ÃʱâÈ ÆĶó¹ÌÅÍ´Â ´ÙÀ½°ú °°´Ù.
ÃʱâÈ ÆĶó¹ÌÅÍ ¼³¸í DBMS_LOG_FILE_SIZE DBMS ·Î±× ÆÄÀÏ ÇϳªÀÇ ÃÖ´ë Å©±â¸¦ ¼³Á¤ÇÑ´Ù. DBMS_LOG_TOTAL_SIZE_LIMIT DBMS ·Î±× ÆÄÀÏÀÌ ÀúÀåµÈ µð·ºÅ͸®ÀÇ ÃÖ´ë Å©±â¸¦ ¼³Á¤ÇÑ´Ù. TRACE_LOG_FILE_SIZE Trace ·Î±× ÆÄÀÏ ÇϳªÀÇ ÃÖ´ë Å©±â¸¦ ¼³Á¤ÇÑ´Ù. TRACE_LOG_TOTAL_SIZE_LIMIT Trace ·Î±× ÆÄÀÏÀÌ ÀúÀåµÈ µð·ºÅ͸®ÀÇ ÃÖ´ë Å©±â¸¦ ¼³Á¤ÇÑ´Ù. - instance/$TB_SID/path
TiberoÀÇ ÇÁ·Î¼¼½º °£¿¡ Åë½ÅÀ» À§ÇÑ ¼ÒÄÏ ÆÄÀÏÀÌ ÀÖ´Â µð·ºÅ͸®ÀÌ´Ù. Tibero°¡ ¿î¿µ ÁßÀÏ ¶§ ÀÌ À§Ä¡¿¡ Á¸ÀçÇÏ´Â ÆÄÀÏÀ» Àаųª ¼öÁ¤Çؼ´Â ¾È µÈ´Ù.
- lib
Tibero ¼¹ö¿¡¼ Spatial°ú °ü·ÃµÈ ÇÔ¼ö¸¦ »ç¿ëÇϱâ À§ÇÑ ¶óÀ̺귯¸® ÆÄÀÏÀÌ ÀÖ´Â µð·ºÅ͸®ÀÌ´Ù.
- license
TiberoÀÇ ¶óÀ̼±½º ÆÄÀÏ(license.xml)ÀÌ ÀÖ´Â µð·ºÅ͸®ÀÌ´Ù. XML Çü½ÄÀ̹ǷΠÀÏ¹Ý ÅؽºÆ® ÆíÁý±â·Îµµ ¶óÀ̼±½ºÀÇ ³»¿ëÀ» È®ÀÎÇÒ ¼ö ÀÖ´Ù.
- license/oss_licenses
¹Ýµå½Ã ÁؼöÇØ¾ß ÇÏ´Â ¿ÀǼҽº ¶óÀ̼±½º¿¡ ´ëÇÑ Á¤º¸¸¦ È®ÀÎÇÒ ¼ö ÀÖ´Â µð·ºÅ͸®ÀÌ´Ù.
- scripts
TiberoÀÇ µ¥ÀÌÅͺ£À̽º¸¦ »ý¼ºÇÒ ¶§ »ç¿ëÇÏ´Â °¢Á¾ SQL ¹®ÀåÀÌ ÀÖ´Â µð·ºÅ͸®ÀÌ´Ù. ¶ÇÇÑ, TiberoÀÇ ÇöÀç »óŸ¦ º¸¿©ÁÖ´Â °¢Á¾ ºäÀÇ Á¤Àǵµ ÀÌ µð·ºÅ͸®¿¡ ÀÖ´Ù.
- scripts/pkg
Tibero¿¡¼ »ç¿ëÇÏ´Â ÆÐÅ°ÁöÀÇ »ý¼º¹®ÀÌ ÀúÀåµÇ´Â µð·ºÅ͸®ÀÌ´Ù.
Tibero°¡ ¼³Ä¡µÈ ÈÄ¿¡ »ç¿ëÀÚÀÇ È¯°æ¼³Á¤ ÆÄÀÏ¿¡´Â ´ÙÀ½ÀÇ ³»¿ëÀÌ Ãß°¡µÈ´Ù.
ȯ°æº¯¼ö | ¼³¸í |
---|---|
TB_HOME | Tibero°¡ ¼³Ä¡µÈ µð·ºÅ͸®ÀÌ´Ù. ¸¸¾à, Tibero¸¦ ¼³Ä¡ÇÏ´Â °úÁ¤¿¡¼ ¼³Ä¡ µð·ºÅ͸®¸¦ ÀÔ·ÂÇÏÁö ¾Ê¾Ò´Ù¸é ±âº»À¸·Î {»ç¿ëÀÚ È¨ µð·ºÅ͸®}/Tibero/tibero°¡ TB_HOMEÀ¸·Î ¼³Á¤µÈ´Ù. |
TB_SID | ¼³Ä¡ °úÁ¤ Áß¿¡ ÀÔ·ÂÇÑ SID°¡ ¿©±â¿¡ ÇØ´çÇÑ´Ù. ¼³Ä¡ °úÁ¤ Áß¿¡ ÀÔ·ÂÇÏÁö ¾Ê¾Ò´Ù¸é µðÆúÆ®·Î tibero°¡ SID·Î ¼³Á¤µÈ´Ù. |
LD_LIBRARY_PATH | Tibero¸¦ »ç¿ëÇÒ ¶§ ÇÊ¿äÇÑ °øÀ¯ ¶óÀ̺귯¸®°¡ À§Ä¡ÇÑ °æ·ÎÀÌ´Ù. ÇÊ¿äÇÑ ¶óÀ̺귯¸®´Â ¸ðµÎ $TB_HOME/lib¿Í $TB_HOME/client/lib ¾È¿¡ ÀÖ°í, OSº°·Î ȯ°æº¯¼ö°¡ ´Ù¸£°Ô ÁöÁ¤µÈ´Ù.
|
PATH | Tibero¸¦ »ç¿ëÇϱâ À§ÇÑ µð·ºÅ͸® °æ·ÎÀÌ´Ù. ±âº»À¸·Î ${TB_HOME}/bin°ú $TB_HOME/client/binÀÌ ¼³Á¤µÈ´Ù. |
UNIX¿¡¼´Â ºñÁ¤»óÀûÀ¸·Î ÇÁ·Î¼¼½º¸¦ Á¾·áÇÒ °æ¿ì °¡»ó ¸Þ¸ð¸® Á¤º¸¸¦ µð½ºÅ©·Î ³²±ä´Ù. (Core Dump)
ÀÌ °úÁ¤¿¡¼ ¸¹Àº ÄÄÇ»Æà ÀÚ¿øÀ» ¿ä±¸ÇÏ¿© ½Ã½ºÅÛ ¼º´ÉÀ» ¼ø°£ÀûÀ¸·Î ÀúÇϽÃÅ°¸ç, À̶§ »ý¼ºµÇ´Â Core ÆÄÀÏÀº ¸¹Àº µð½ºÅ© ¿ë·®À» ÇÊ¿ä·Î ÇÑ´Ù. µû¶ó¼ Tibero¿¡¼´Â ÀÌ ±â´ÉÀ» »ç¿ëÇϱ⸦ ±ÇÀåÇÏÁö ¾Ê´Â´Ù.
Core Dump ±â´ÉÀ» »ç¿ëÇÏÁö ¾ÊÀ¸·Á¸é »ç¿ëÀÚ °èÁ¤ÀÇ È¯°æ¼³Á¤ ÆÄÀÏ(.profile)¿¡ ´ÙÀ½ÀÇ ¸í·É¾î¸¦ Ãß°¡ÇÑ´Ù.
ulimit -c 0
À§¿Í °°ÀÌ »ç¿ëÀÚÀÇ È¯°æ¼³Á¤ ÆÄÀÏÀÌ »ý¼ºµÇ¾îµµ ½ÇÁ¦·Î Àû¿ëµÈ °ÍÀº ¾Æ´Ï´Ù. ȯ°æ¼³Á¤ ÆÄÀÏÀ» Àû¿ëÇϱâ À§Çؼ´Â ´ÙÀ½°ú °°Àº °úÁ¤À» °ÅÃÄ¾ß ÇÑ´Ù.
´ÙÀ½ÀÇ ¸í·É¾î¸¦ ÀÔ·ÂÇÏ¿© »ç¿ëÀÚ È¯°æ¼³Á¤ ÆÄÀÏÀ» Àû¿ëÇÑ´Ù. UNIX °è¿(LINUX Æ÷ÇÔ)¿¡¼¸¸ ¾Æ·¡ ¸í·É¾î¸¦ ÀÔ·ÂÇÑ´Ù.
sh .profile
ȯ°æ¼³Á¤ ÆÄÀÏÀÌ Á¦´ë·Î Àû¿ëµÇ¾ú´ÂÁö È®ÀÎÇÏ·Á¸é ´ÙÀ½ÀÇ ¸í·É¾î¸¦ ÀÔ·ÂÇÑ´Ù.
UNIX
echo $TB_HOME
Windows
echo %TB_HOME%
TiberoÀÇ ±âµ¿°ú Á¾·á´Â µ¥ÀÌÅͺ£À̽º °ü¸®ÀÚ(DBA: Database Administrator, ÀÌÇÏ DBA)¸¸ ÇÒ ¼ö ÀÖ´Ù.
±âµ¿
TiberoÀÇ ±âµ¿Àº tbboot ¸í·É¾î¸¦ »ç¿ëÇÑ´Ù. ¿É¼ÇÀ» Æ÷ÇÔÇÑ tbbootÀÇ ¸í·É¾î´Â ´ÙÀ½°ú °°´Ù.
tbboot [-h] [-v] [-l] [-C] [-t BOOTMODE]
¿É¼Ç | ¼³¸í |
---|---|
-h | tbboot ¸í·É¾îÀÇ µµ¿ò¸»À» º¸¿©ÁÖ´Â ¿É¼ÇÀÌ´Ù. |
-v | TiberoÀÇ ¹öÀü Á¤º¸¸¦ º¸¿©ÁÖ´Â ¿É¼ÇÀÌ´Ù. |
-l | TiberoÀÇ ¶óÀ̼±½º Á¤º¸¸¦ º¸¿©ÁÖ´Â ¿É¼ÇÀÌ´Ù. |
-C | Tibero°¡ Áö¿øÇÏ´Â ¹®ÀÚ ÁýÇÕÀÇ Á¤º¸¸¦ º¸¿©ÁÖ´Â ¿É¼ÇÀÌ´Ù. |
-t BOOTMODE | Tibero ¼¹ö¸¦ ±âµ¿ÇÒ ¼ö ÀÖ´Â ¿É¼ÇÀÌ´Ù. ÀÌ ¿É¼ÇÀº »ý·«ÀÌ °¡´ÉÇÏ´Ù. Tibero¿¡¼´Â tbboot ¸í·É¾î¿¡¼ ºÎÆ® ¸ðµå(bootmode)¸¦ Á¦°øÇÑ´Ù.
|
Á¾·á
TiberoÀÇ Á¾·á´Â tbdown ¸í·É¾î¸¦ »ç¿ëÇÑ´Ù. ¿É¼ÇÀ» Æ÷ÇÔÇÑ tbdownÀÇ ¸í·É¾î´Â ´ÙÀ½°ú °°´Ù.
tbdown [-h] [-t DOWNMODE]
¿É¼Ç | ¼³¸í |
---|---|
-h | tbdown ¸í·É¾îÀÇ µµ¿ò¸»À» º¸¿©ÁÖ´Â ¿É¼ÇÀÌ´Ù. |
-t | Tibero ¼¹ö¸¦ Á¾·áÇÒ ¼ö ÀÖ´Â ¿É¼ÇÀÌ´Ù. ÀÌ ¿É¼ÇÀº »ý·«ÀÌ °¡´ÉÇÏ´Ù. |
-t DOWNMODE | Tibero ¼¹ö¸¦ ±âµ¿ÇÒ ¼ö ÀÖ´Â ¿É¼ÇÀÌ´Ù. ÀÌ ¿É¼ÇÀº »ý·«ÀÌ °¡´ÉÇÏ´Ù. Tibero¿¡¼´Â tbdown ¸í·É¾î¿¡¼ ´Ù¿î ¸ðµå(downmode)¸¦ Á¦°øÇÑ´Ù.
|
tbSQL À¯Æ¿¸®Æ¼¸¦ ÀÌ¿ëÇÑ µ¥ÀÌÅͺ£À̽º Á¢¼Ó
tbsql ¸í·ÉÀ¸·Î µ¥ÀÌÅͺ£À̽º¿¡ Á¢¼ÓÇÑ´Ù. ´ÙÀ½°ú °°ÀÌ µ¥ÀÌÅͺ£À̽º »ç¿ëÀÚÀÇ ID¿Í Æнº¿öµå¸¦ ÇÔ²² ÀÔ·ÂÇÏ¿© Á¢¼ÓÇÒ ¼ö ÀÖ´Ù.
tbsql sys/tibero
¸®½º³Ê¸¦ ÅëÇÑ Á¢¼ÓÀ» À§Çؼ´Â ´ÙÀ½°ú °°ÀÌ µ¥ÀÌÅͺ£À̽º »ç¿ëÀÚ ID¿Í Æнº¿öµå µÚ¿¡ @À» ÀÔ·ÂÇÏ°í @ µÚ¿¡´Â tbdsn.tbr ÆÄÀÏ¿¡ ÁöÁ¤µÈ º°ÄªÀ» ÀÔ·ÂÇÑ´Ù.
tbsql sys/tibero@tibero
Tibero°¡ ¼³Ä¡µÇ¸é ¾Æ·¡¿Í °°Àº »ç¿ëÀÚ °èÁ¤ÀÌ ÀÚµ¿À¸·Î »ý¼ºµÈ´Ù.
°èÁ¤ | ¼³¸í |
---|---|
SYS | µ¥ÀÌÅͺ£À̽º °ü¸®¸¦ À§ÇÑ °èÁ¤À¸·Î¼ ½Ã½ºÅÛ ÆÐÅ°Áö, µ¿ÀǾî, »ç¿ëÀÚ, ¿ªÇÒ, °¡»ó Å×À̺í, ½ÃÄö½º, µ¿Àû ºä µîÀ» »ý¼ºÇÏ°í °ü¸®ÇÑ´Ù. |
SYSCAT | µ¥ÀÌÅͺ£À̽º °ü¸®¸¦ À§ÇÑ Á¤Àû Ä«Å»·Î±× ºä¸¦ »ý¼ºÇÏ°í °ü¸®ÇÏ´Â °èÁ¤ÀÌ´Ù. |
OUTLN | µ¿ÀÏÇÑ SQLÀ» ¼öÇàÇÒ ¶§ Ç×»ó °°Àº ÁúÀÇ Ç÷£(plan)À¸·Î ¼öÇàµÉ ¼ö ÀÖ°Ô °ü·Ã ÈùÆ®(hint)¸¦ ÀúÀåÇÏ´Â µîÀÇ ÀÏÀ» ÇÏ´Â °èÁ¤ÀÌ´Ù. |
SYSGIS | GIS(Geographic Information System)¿Í °ü·ÃµÈ Å×ÀÌºí »ý¼º ¹× °ü¸®¸¦ ÇÏ´Â °èÁ¤ÀÌ´Ù. |
TIBERO | CONNECT, RESOURCE, DBA ¿ªÇÒÀÌ ºÎ¿©µÈ »ùÇà »ç¿ëÀÚ °èÁ¤ÀÌ´Ù. |
TIBERO1 | CONNECT, RESOURCE, DBA ¿ªÇÒÀÌ ºÎ¿©µÈ »ùÇà »ç¿ëÀÚ °èÁ¤ÀÌ´Ù. |