ããæè¿åãçµãã§ãã Arrow_Fdw æ©è½ãããããåãããã«ãªã£ãã®ã§ãæ§è½ãã³ããã¼ã¯ãè¡ã£ã¦ã¿ãã ä»åã®ã¨ã³ããªã§ã¯é ã追ã£ã¦èª¬æããäºã«ãã¦ã¿ããã Arrow_Fdwã¨ã¯ PostgreSQLã«ã¯FDW (Foreign Data Wrapper) ã¨ããæ©è½ããããPostgreSQL管çä¸ã«ãããã¼ã¿ï¼ãã¼ãã«ãªã©ï¼ã ãã§ãªããå¤é¨ã®ãã¼ã¿ã½ã¼ã¹ããããããã¼ãã«ã§ãããã®ããã«èªã¿åºãäºãã§ãããä¸é¨ã®ã¢ã¸ã¥ã¼ã«ã§ã¯æ¸è¾¼ã¿ã«ã対å¿ãã¦ããã ä¾ãã°ãCSVãã¡ã¤ã«ã¯æ§é åãã¼ã¿ã表ç¾ããããã®æ¹æ³ã®ä¸ã¤ã§ããããã¡ãããPostgreSQLã®å é¨å½¢å¼ã¨ãã¼ã¿å½¢å¼ãéãã®ã§ããã®ã¾ã¾ã§ã¯ã³ã¬ãSQLã®ä¸çããåãæ±ãäºãã§ããªãããéã«file_fdwã¨ããã¢ã¸ã¥ã¼ã«ãä»å¨ããäºã§ãCSVâPostgreSQLã®å é¨å½¢å¼ã¸ã¨ãã¼ã¿å½¢å¼ãå¤æãã¦ããã ãã®æ çµã¿ã¯å¤ç¨®
å ã«ã¾ã¨ãã㨠ãã£ã¹ã¯I/Oã«é«ãè² è·ããããã·ã¹ãã ã§NVMeããã¤ã¹ã使ãã¨ãweekly cron jobã§fstrimãèµ°ãç¶æ³ã«ãªã£ã¦ããåæ¢ãã ãããªãã¨fstrimãèµ°ã£ãç¬éã«I/Oããã©ã¼ãã³ã¹ãåºãã£ã¦æ»ã¬ fstrimãåæ¢ãããªãdiscard mount optionãæå¹åããããã ããã®ç¶æ ã§ã®I/Oæ§è½ã§åé¡ãªããã©ãã測ã£ã¦ãã discard mount optionãæå¹åãã¦ã大ãããã¡ã¤ã«ã®åé¤ã«ã¯æ°ãã¤ãããããfstrimã¿ããã«ãªãã 追è¨ãããã°ããã§å¤§ãããªããã¡ã¤ã«(ããã¦åé¤ããããã¡ã¤ã«)ã¯NVMeãããªãããã¤ã¹ã«ç½®ãã¨ã é«I/Oã¹ã«ã¼ããããæå¾ ããã·ã¹ãã ã§ã®NVMeã¨fstrim 社å ã§å°ããã®ã¤ã³ã¹ã¿ã³ã¹ãå¤ã並ã¹ã¦ãã©ãã£ãã¯ãæãã¦ãã®ãè²ã è¦ä»¶ããã£ã¦å¤§ããã®ã¤ã³ã¹ã¿ã³ã¹ã«ã¾ã¨ãããããªã·ã¹ãã ã¢ãããã¼ããã
ã¯ããã« PCI Expressï¼PCIeï¼ã¯ãã¯ã©ã¤ã¢ã³ãã¨ã¨ã³ã¿ã¼ãã©ã¤ãºä¸¡è ã®ã³ã³ãã¥ã¼ ãã£ã³ã°ã»ã¢ããªã±ã¼ã·ã§ã³ã§ä½¿ç¨ãããå¤ç®çãã¹ã»ã¤ã³ã¿ã¼ãã§ã¤ã¹ã§ãã æ¢åã®å¤§å®¹éè¨æ¶è£ ç½®ã¤ã³ã¿ã¼ãã§ã¤ã¹ï¼SATAãSASï¼ã®å ´åãPCIeã¤ã³ã¿ã¼ ãã§ã¤ã¹ã«æ¥ç¶ãããã¹ãã»ã¢ããã¿ã«ãã£ã¦ããã¹ãã»ã³ã³ãã¥ã¼ã¿ã«æ¥ç¶ã ã¾ãã SATAã¤ã³ã¿ã¼ãã§ã¤ã¹ã¯ãã¼ããã£ã¹ã¯ã»ãã©ã¤ã (HDD) ã¤ã³ã¿ã¼ãã§ã¤ã¹ã¨ ãã¦è¨è¨ãããã®ã«å¯¾ããSASã¤ã³ã¿ã¼ãã§ã¤ã¹ã¯ããã¤ã¹ã»ã¤ã³ã¿ã¼ãã§ã¤ã¹ ã¨ã¹ãã¬ã¼ã¸ã»ãµãã·ã¹ãã ã»ã¤ã³ã¿ã¼ãã§ã¤ã¹/ã¤ã³ãã©ã¹ãã©ã¯ãã£ã¨ãã¦è¨ è¨ããã¾ãããããé«éãªã¤ã³ã¿ã¼ãã§ã¤ã¹ã¨æ°æ©è½ãå¿ è¦ã¨ããªããHDDãã· ã¹ãã ã®è¦ä»¶ãé²åããä¸ãSATAã¤ã³ã¿ã¼ãã§ã¤ã¹ã¨SASã¤ã³ã¿ã¼ãã§ã¤ã¹ã« ã¯å¹¾ãã³ãæ¹è¯ãæ½ããã¦ãã¾ãã ã½ãªããã»ã¹ãã¼ãã»ãã©ã¤ã (SSD)
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}