â ãã¼ã ãï¼ å代ALF (@soudai1025) 2015, 8æ 24 ã¨ãã¼ã¡ã©ã³æãã¦è¦äºã«åºãã£ã¦ãã®ã§ä»ããè¨äºæ¸ãã 両ãµã¤ãã«ã¯ããªãå³ãã話ãããã俺ã®æ¬é³ãè´ãã¦ããï¼é¢ç½å®£è¨ï¼ ã¾ãæ´å²ã®é·ãRDBãªã®ã§ãäºãã®æ¯è¼è¨äºã¯æ²¢å±±ããã ãªã®ã§ãã«ãã¹ã¬ãã(MySQL)ã¨ãã«ãããã»ã¹(PostgreSQL)ã ã¨ãVACUUMã ã£ã¦è©±ã¯ããªãã ãããå®éã«ä½¿ã£ã¦ã¿ãéã®éããã«ãã©ã¼ã«ã¹ããã 1. SQLã®éã åºæ¬çã«MySQLã§ãã£ã¦ãããã¨ã¯PostgreSQLåºæ¥ãã ãããé¢æ°ã®æåã®éãã¯å¹¾ã¤ãããã ä¾ãã°æéããææ¥ã«è©²å½ããæ°åã«å¤æããå ´åã« MySQLãâãdate_format(time,"%w")ã0ããå§ã¾ããæ¥ææ¥ã«è©²å½ãã PostgreSQLãâãto_char(time,'D')ã1ããå§ã¾ããæ¥ææ¥ã«è©²å½ãã ãªã©æåã«äºææ§
{{#tags}}- {{label}}
{{/tags}}