æ¥æ¬ãªã©ã¯ã«ã¯10æ15æ¥ã4代ç®ã¨ãªã社å¡ç¬ããã£ã³ãã£ãã®å ¥ç¤¾å¼ãé½å ã®ãªã©ã¯ã«éå±±ã»ã³ã¿ã¼ã§éå¬ããã 4代ç®ç¤¾å¡ç¬ãã£ã³ãã£ã¨é è¤ç¤¾é·ã®2ã·ã§ãã ãã£ã³ãã£ã¯2010å¹´7æ23æ¥çã¾ã(çå¾ç´3ãµæ)ã®ãªã¼ã«ãã¤ã³ã°ãªãã·ã¥ã·ã¼ãããã°(ã¡ã¹)ãåºèº«å°ã¯å¾³å³¶çãååã¯å社社å ã§ã®å ¬åçµæã«ãããã®ã§ããWe Can Do ITãã®ãCan Doãã®é³é»ããã®ç±æ¥ã¨ãªã£ã¦ããã¨ã®ãã¨ã å ¥ç¤¾å¼ã§ãã£ã³ãã£ã«è¾ä»¤ã交ä»ããå社 代表å·è¡å½¹ ç¤¾é· æé«çµå¶è²¬ä»»è é è¤ééæ°ã¯ãITæ¥ç㯠"ããã°ã¤ã¤ã¼" ã¨å¼ã°ããããã¾ãã«ãããªæ¥çã«ãµãããã "ããã°"ãã¨èªã£ããã¾ãããã¹ãã¬ã¹ãå¤ãã¨ãããITæ¥çã«ããã¦ããã£ã³ãã£ã®ãã㪠"çã" ã®åå¨ã¯éè¦ãã¨ããããããã¦ç¤¾å¡ç¬ã®åå¨æ義ã説æããã ãªãããã£ã³ãã£ã®å¤åå°ã¯æ¥æ¬ãªã©ã¯ã«æ¬ç¤¾(ãªã©ã¯ã«éå±±ã»ã³ã¿ã¼)ã§ã2010å¹´
Get Oracle news, views, and how-tos delivered to your inbox.
ãã1ã¤ã®ãDBã®ããã¡ãåæ£Key-Valueã¹ãã¢ã¨ã¯ï¼åæ£Key-Valueã¹ãã¢ã®æ¬å½ãBigtableãï¼1ï¼ï¼1/3 ãã¼ã¸ï¼ RDBã¨ã¯å¥ã®ãã¯ã©ã¦ãæ代ã®ãã¼ã¿ãã¼ã¹ã¨ãã¦æ³¨ç®ãæµ´ã³ã¦ãããåæ£Key-Valueã¹ãã¢ãããã®æ¬å½ã¨ãããããGoogleã®æ°ã ã®ãµã¼ãã¹ã®åºç¤æè¡ãBigtableãã«ã¤ãã¦å¾¹åºè§£èª¬ ã¯ã©ã¦ãæ代ã®ãã¼ã¿ãã¼ã¹ãåæ£Key-Valueã¹ãã¢ã ã°ã¼ã°ã«ãã¤ã³ã¿ã¼ãããã®ä¸çãããã¾ã§å¸ããã§ããæ大ã®çç±ã¯ä½ã§ãããããå®ã¯ãããã¯å社ã®åªããæ¤ç´¢æè¡ã§ã¯ããã¾ãããã°ã¼ã°ã«ãæãéããæã大ããªãã¬ã¼ã¯ã¹ã«ã¼ã®1ã¤ã¯ãå社ãçã¿åºãã巨大ãªåæ£ãã¼ã¿ã¹ãã¢ããBigtableãã«ããã¾ãã Bigtableã¯ãGoogleæ¤ç´¢ãã¯ãããYouTubeãGoogle MapãGoogle EarthãGoogle AnalyticsãGoog
ããã¼ã¿ãã¼ã¹ã¯ãã©ãã¯ããã¯ã¹ãã©ããªSQLæãæãããã©ããªçµæãè¿ã£ã¦ãããããç¥ã£ã¦ããã°ããã---ããæã£ã¦ãã人ãå¤ãããããã¾ããã ãããï¼æ¬ç©ã®ã½ããã¦ã¨ã¢ã»ã¨ã³ã¸ãã¢ãç®æãã®ã§ããã°ï¼ãã¼ã¿ãã¼ã¹ãåãä»çµã¿ãå¦ã¶ãã¨ã¯é¿ãã¦éãã¾ãããããã©ã¼ãã³ã¹ãªã©ã«åé¡ãçããã¨ãã©ãããæãä»ãã¦ããã®ãçç®è¦å½ãã¤ããªãï¼ã¨ãã£ãäºæ ã«é¥ãããã¾ããã å¸è²©ã®RDBMSã®å é¨ã¯ããªãè¤éã§ããï¼åºæ¬çãªé¨åãç解ããã®ã¯ããã»ã©é£ããããã¾ããããã®ç¹éã§ãã¼ã¿ãã¼ã¹ã®åãä»çµã¿ãç解ãã¦ãã ããã ã¤ã³ãã âãã©ãã¯ããã¯ã¹ã®ã¾ã¾ã§ããã®ï¼ åºç¤ããç解ãããã¼ã¿ãã¼ã¹ã®ããã¿ï¼1ï¼ ï¼°ï½ï½ï½ï¼ âSQLæã¯ã©ã®ããã«å®è¡ãããã®ã åºç¤ããç解ãããã¼ã¿ãã¼ã¹ã®ããã¿ï¼2ï¼ åºç¤ããç解ãããã¼ã¿ãã¼ã¹ã®ããã¿ï¼3ï¼ åºç¤ããç解ãããã¼ã¿ãã¼ã¹ã®ããã¿ï¼4ï¼ åº
PostgreSQLããã¥ã¼ãã³ã°ããæ©ä¼ããã£ãã®ã§ ãã®æã«èª¿ã¹ããã¥ã¼ãã³ã°é ç®ãåå¿é²ã¨ãã¦æ®ãã¦ããã¾ãã ãã¼ã¸ã§ã³ã®éãããµã¼ãã®è¦æ¨¡ãªã©ã«ãã£ã¦ã å¹æã¯å¤ãã£ã¦ããã¨æãã®ã§ããã¾ã§åèç¨åº¦ã®ãã®ã§ããã ã»shared_buffers 7ç³»ã§ã¯8000ã10000ç¨åº¦ã¾ã§å¼ãä¸ãã 8ç³»ã§ã¯150000ç¨åº¦ã¾ã§å¼ãä¸ãããã¨ãå¯è½ã100000ç¨åº¦ãæ§è½ã®ãã¼ã¯ ããã«å¤ãå²ãå½ã¦ãããOSã®ãããã¡é åã¨ãã¦ä½¿ãæ¹ãæ§è½ãåä¸ãã ãã¼ãã«ãµã¤ãºãå²ãåºãã¦è¨å®ããã®ããã¹ã ç°¡åã«è¨å®ãããªãæè¼ã¡ã¢ãªéã®1/4ãæè¼ã¡ã¢ãªãå¤ããã°1/2ãããã§ãå¯ ã»max_connections 7ç³»ã§ã¯256ç¨åº¦ã8ç³»ã§ã¯1000ç¨åº¦ãæ§è½ã®ãã¼ã¯ ã»work_mem(sort_mem) é©åãªãµã¤ãºã«èª¿æ´ããã2048ã4096ç¨åº¦ ããã»ã¹æ¯
ãããããªæ¬ããã¡ã¢ã£ã¦ããã¡ã¢ã®ã¡ã¢ãåºå ¸ãæ¸ãã¦ããã®ãå¿ãããæãåºã次第è£å®ããããã deleteã®ã³ã¹ãã¯é«ãã®ã§ãç¡å¹åã示ããã£ã¼ã«ããä½ã£ã¦updateãã¹ã slow query logã«è¦æ³¨æ å¤ãã®ã¨ã³ããªã§ã»ã¨ãã©ã®ãã£ã¼ã«ããåãå¤ãæã¤å ´åã¯ã¤ã³ããã¯ã¹ã®å¹æãå°ãã âè¤åã¤ã³ããã¯ã¹ã®å¹æã大ãã è¤åã¤ã³ããã¯ã¹ã¯æå®ã®é çªã大åãAã¨Bã¨ããæå®ã®å ´åãAåç¬ã§ãã¤ã³ããã¯ã¹ã®å¹æããããéã¯çã§ãªãã ã¤ã³ããã¯ã¹ã使ãããå ´é¢ã¯ ãã£ã¼ã«ãå¤ãå®æ°ã¨æ¯è¼ããã¨ã (where name = 'hogehoge') ãã£ã¼ã«ãå¤ã§JOINããã¨ã (where a.name = b.name) ãã£ã¼ã«ãå¤ã®ç¯å²ãæ±ããã¨ã (<,>,between) LIKEå¥ãæååããå§ã¾ãã¨ã (where name like 'hoge%') min(),
Begin transaction Select *ãinto 俺 from å·èµåº« where 種é¡='é ' order by ã¢ã«ã³ã¼ã«åº¦æ° Select *ãinto 俺 from å·èµåº« where 種é¡='é ' order by ã¢ã«ã³ã¼ã«åº¦æ° Select *ãinto 俺 from å·èµåº« where 種é¡='é ' order by ã¢ã«ã³ã¼ã«åº¦æ° Goto 便æ 便æ: Rollback INSERTINTOãã³ã³VALUES(æ¼ãã®ããªã«ãã³ã) INSERTINTOãã³ã³VALUES(æ¼ãã®ããªã«ãã³ã) INSERTINTOãã³ã³VALUES(æ¼ãã®ããªã«ãã³ã) INSERTINTOãã³ã³VALUES(æ¼ãã®ããªã«ãã³ã) INSERTINTOãã³ã³VALUES(æ¼ãã®ããªã«ãã³ã) INSERTINTOãã³ã³VALUES(æ¼ãã®ç²¾æ¶²)
2007å¹´01æ19æ¥ ä¿ºçã³ã¼ãã£ã³ã°ã«ã¼ã« SQLç·¨ ããã¸ã§ã¯ãã®ã³ã¼ãã£ã³ã°ã«ã¼ã«ãããã§ãªããã°ãããªãã¨ããä»äººã«å¼·å¶ããããã§ã¯ãªãããèªåèªèº«ã§ä¸è²«æ§ã®ç¡ãã³ã¼ããæ¸ãã®ã¯æ°æã¡æªãã®ã§ããªã¬ãªã¬ã«ã¼ã«ã決ãã¦ããããã大æµã¯ ãã»ãã¡ã¯ãçãªã«ã¼ã«ã«æ²¿ãå½¢ã§æ¸ããã¨ãå¤ãã®ã ããSQL ã PL/SQL ã«é¢ãã¦ã¯ãªããªãããã¡ã¯ãã¨å¼ã¹ããã®ããªãã®ã§(ããã®ã?)ãã¡ã¢çã«æ¸ãã¨ãã¦ããã ååãã¼ã¯ã¼ãå°æåãªãã¸ã§ã¯ãå大æåã«ã³ãã¯å¾ãã¤ã³ãã³ãã¯åè§ã¹ãã¼ã¹ã§ 2ä¸ã¤ã® SQL æã§ãã¼ã¯ã¼ãæ¯ã«ã¤ã³ãã³ãããªã(å¯ååãé¤ã) ã¾ãã1.2. ã«ä»ãã¦ãªã®ã ããæã¯ããã¼ã¯ã¼ãï¼å¤§æåãã¨ããæå³ä¸æãªå å ¥è¦³ã§å¤§æåã§æ¸ãã¦ããããã ãããã 㨠PL/SQL ã®ãã¼ã¯ã¼ãã大æåããªãã¸ã§ã¯ãåã大æåã§çµå±ã»ã¨ãã©å¤§æåã«ãªã£ã¦ãã¾ãã®ã¨ãShift æ¼ã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}