]> git.mxchange.org Git - friendica.git/blobdiff - doc/database/db_item-uri.md
Merge pull request #11845 from annando/performance
[friendica.git] / doc / database / db_item-uri.md
index 8e4be669af325758379747854f41ed0ddf8efa48..c6d1c4c3763378f5a79894f02c6faaff8ca3416c 100644 (file)
@@ -1,11 +1,25 @@
 Table item-uri
 ===========
+
 URI and GUID for items
 
-| Field | Description                     | Type           | Null | Key | Default | Extra          |    
-| ----- | ------------------------------- | -------------- | ---- | --- | ------- | -------------- |    
-| id    |                                 | int unsigned   | NO   | PRI | NULL    | auto_increment |    
-| uri   | URI of an item                  | varbinary(255) | NO   |     | NULL    |                |    
-| guid  | A unique identifier for an item | varbinary(255) | YES  |     | NULL    |                |    
+Fields
+------
+
+| Field | Description                     | Type           | Null | Key | Default | Extra          |
+| ----- | ------------------------------- | -------------- | ---- | --- | ------- | -------------- |
+| id    |                                 | int unsigned   | NO   | PRI | NULL    | auto_increment |
+| uri   | URI of an item                  | varbinary(255) | NO   |     | NULL    |                |
+| guid  | A unique identifier for an item | varbinary(255) | YES  |     | NULL    |                |
+
+Indexes
+------------
+
+| Name    | Fields      |
+| ------- | ----------- |
+| PRIMARY | id          |
+| uri     | UNIQUE, uri |
+| guid    | guid        |
+
 
 Return to [database documentation](help/database)