èªã¿è¾¼ã¿ï¼æ¸ãè¾¼ã¿ãªãã¼ã¿ãã¼ã¹ã ã¨ãå®ä½åãã¥ã¼ (materialized view) ã使ã£ã¦èªã¿è¾¼ã¿é度ãä¸ããã£ã¦ã®ã¯æå¹ãªææ³ ã¡ãªã¿ã« MySQL ã PostgreSQL ã ã¨å®ä½åãã¥ã¼ã¯ããªã¬ã¼ã使ã£ã¦æ¸ã *1 ã§ã¯ãããªã¬ã¼ãã¼ã¹ã®å®ä½åãã¥ã¼ãå¾ãã追å ããå ´åã«ãã©ããã£ã¦æ¢åãã¼ã¿ãæ°ãããã¥ã¼ã«åæ ãããã®ãã UPDATE ããªã¬ãããã¥ã¼ã®å´ã«å¯¾å¿ãããã¼ã¿ããªãå ´å㯠INSERT ããªã¬ã¨åæ§ã®åä½ãããããã«å®è£ ããã°ãã (å ¸åçã«ã¯ REPLACE INTO æã使ã)ããã¥ã¼ã®åæãã¼ã¿å 填㯠UPDATE src_table SET id=id; MySQL ã 㨠CREATE INDEX CONCURRENTLY ããªãããå¯ã¤ã³ããã¯ã¹ä½æã¯ã¹ã¬ã¼ãã§ãã£ãããã*2ãã©ãä¸ã® UPDATE ã LIMIT ã¤ãã§åããã¨ã§ããã¥ã¼ãã¤
{{#tags}}- {{label}}
{{/tags}}