<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hirose31</author_name>
  <author_url>https://blog.hatena.ne.jp/hirose31/</author_url>
  <blog_title>（ひ）メモ</blog_title>
  <blog_url>https://hirose31.hatenablog.jp/</blog_url>
  <categories>
  </categories>
  <description>InnoDBなテーブルのお話です。とあるテーブルで、いくつかあるカラムのうち、ただひとつのカラムがunique keyになり得るものだとします。こういうときは、そのunique keyは無条件でprimary keyにしたほうがイイ！と思ってたんですが、調べてみると必ずしもそうでないようなので、今のところのモヤモヤをまとめてみます。教えて！ 偉い人！！ 予備知識 High Performance MySQL作者: Baron Schwartz,Peter Zaitsev,Vadim Tkachenko,Jeremy D. Zawodny,Arjen Lentz出版社/メーカー: Oreilly…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhirose31.hatenablog.jp%2Fentry%2F20090724%2F1248441468&quot; title=&quot; InnoDBテーブルでunique keyがある場合、それをprimary keyにするべきかどうか - （ひ）メモ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://images-fe.ssl-images-amazon.com/images/I/51iZpEJ6ecL._SL160_.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2009-07-24 22:17:48</published>
  <title> InnoDBテーブルでunique keyがある場合、それをprimary keyにするべきかどうか</title>
  <type>rich</type>
  <url>https://hirose31.hatenablog.jp/entry/20090724/1248441468</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
