Tagging and Folksonomy Schema Design for Scalability and Performance The document discusses schema designs for tagging and folksonomy in SQL databases. It proposes a normalized schema with separate tables for tags, tag mappings between items and tags, and tag statistics. It provides examples of common queries for related items, related tags, and filtering results based on multiple included and exc
ã¿ã°ã¨ã¯ä½ã del.icio.usã®What are tags?ãã ããã¯ãã¼ã¯ãªã©ãæ´çãããå¾ã§æãåºãããã«ãèªåã§èªç±ã«ä¸ãã1èªã®èª¬æ ã¿ã°ã¯é層ããªãèªç±ãªã®ã§ããã¦ããã¶ã¡ã®åé¡ã«ç¡çã«åãããè¦å´ããªããæ±ãããã ã»ãã®äººã®ã¿ã°ã¨åããã¦ãé¢å¿äºé ã«ã¤ãã¦ã®å調åã¬ãã¸ããªãæ§ç¯ã§ãã çµ±å¶ãããªãèªç±ãªãã¼ã¯ã¼ã æ軽ã«å©ç¨ã§ããæ°ããç¾è±¡ãããã¿ã°ã«ã§ãã æ¢åã®çµ±å¶èªå½ã§ã¯æ°ããåãã«å¯¾å¿ã§ããªã ä¸æ¹ãå¤æ°ã®ã¦ã¼ã¶ãä¸ãããã¼ã¯ã¼ãã«ã¯ãå義èªãå¤ç¾©èªãå¿ ç¶çã«å«ã¾ãã ä½ç³»åã®ãªããã©ãããªç©ºé é層ã§ã¯ãªãããã¼ã¯ã¼ãã®çµã¿åããã§è©³ç´°æ¦å¿µãæè»ã«è¡¨ç¾ ä¸æ¹ãé層ãå©ç¨ããã°ã«ã¼ãåãé¢é£æ¦å¿µã®æ¤ç´¢ã¯ã§ããªã çµ±è¨çãªã°ã«ã¼ããé¢é£ä»ãã¯ããç¨åº¦å¯è½ ã¿ã°ã®ãã㡠対象ãã¦ã¼ã¶ããã¼ã¯ã¼ãã®3大è¦ç´ ã¿ã°ã¯ãã¿ã°ãä¸ãã対象ãã¿ã°ãä¸ããã¦ã¼ã¶ãã¿ã°ã«ç¨ã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}