]> git.mxchange.org Git - friendica.git/blob - doc/database/db_cache.md
Merge remote-tracking branch 'origin/2022.12-rc' into fixes
[friendica.git] / doc / database / db_cache.md
1 Table cache
2 ===========
3
4 Stores temporary data
5
6 Fields
7 ------
8
9 | Field   | Description                  | Type           | Null | Key | Default             | Extra |
10 | ------- | ---------------------------- | -------------- | ---- | --- | ------------------- | ----- |
11 | k       | cache key                    | varbinary(255) | NO   | PRI | NULL                |       |
12 | v       | cached serialized value      | mediumtext     | YES  |     | NULL                |       |
13 | expires | datetime of cache expiration | datetime       | NO   |     | 0001-01-01 00:00:00 |       |
14 | updated | datetime of cache insertion  | datetime       | NO   |     | 0001-01-01 00:00:00 |       |
15
16 Indexes
17 ------------
18
19 | Name      | Fields     |
20 | --------- | ---------- |
21 | PRIMARY   | k          |
22 | k_expires | k, expires |
23
24
25 Return to [database documentation](help/database)