X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=doc%2Fdatabase%2Fdb_cache.md;h=27a11daa66c7dbe8af06a5ae292b7ec2ff6d5aac;hb=4930e77eb394a023e7d336ebcdad1209f69fea7c;hp=08ef1479b9055e90a4dadb98405eecf315007812;hpb=4095e6c9be01943c3b074d9a9061a01ff5fafcee;p=friendica.git diff --git a/doc/database/db_cache.md b/doc/database/db_cache.md index 08ef1479b9..27a11daa66 100644 --- a/doc/database/db_cache.md +++ b/doc/database/db_cache.md @@ -1,12 +1,25 @@ Table cache =========== + Stores temporary data -| Field | Description | Type | Null | Key | Default | Extra | -| ----- | ----------- | ---- | ---- | --- | ------- | ----- | -| k | cache key | varbinary(255) | NO | PRI | NULL | | -| v | cached serialized value | mediumtext | YES | | NULL | | -| expires | datetime of cache expiration | datetime | NO | | 0001-01-01 00:00:00 | | -| updated | datetime of cache insertion | datetime | NO | | 0001-01-01 00:00:00 | | +Fields +------ + +| Field | Description | Type | Null | Key | Default | Extra | +| ------- | ---------------------------- | -------------- | ---- | --- | ------------------- | ----- | +| k | cache key | varbinary(255) | NO | PRI | NULL | | +| v | cached serialized value | mediumtext | YES | | NULL | | +| expires | datetime of cache expiration | datetime | NO | | 0001-01-01 00:00:00 | | +| updated | datetime of cache insertion | datetime | NO | | 0001-01-01 00:00:00 | | + +Indexes +------------ + +| Name | Fields | +| --------- | ---------- | +| PRIMARY | k | +| k_expires | k, expires | + Return to [database documentation](help/database)