diff --git a/og.install b/og.install
index 9c72070..8cac972 100644
--- a/og.install
+++ b/og.install
@@ -123,6 +123,9 @@ function og_schema() {
       ),
     ),
     'primary key'       => array('nid', 'uid'),
+    'indexes' => array(
+      'uid' => array('uid'),
+    ),
   );
   $schema['og_ancestry'] = array(
     'description'     => '',
@@ -443,6 +446,15 @@ function og_update_6204() {
   return $ret;
 }
 
+/**
+ * Add an index on og_uid.uid.
+ */
+function og_update_6205() {
+  $ret = array();
+  db_add_index($ret, 'og_uid', 'uid', array('uid'));
+  return $ret;
+}
+
 // end updates //
 
 function og_uninstall() {
