friendica/doc/database/db_locks.md

27 lines
1019 B
Markdown
Raw Normal View History

2015-12-27 20:50:25 -05:00
Table locks
===========
2021-06-14 02:10:11 -04:00
2021-06-14 04:53:37 -04:00
Fields
------
2021-06-14 02:10:11 -04:00
| Field | Description | Type | Null | Key | Default | Extra |
| ------- | ---------------------------- | ------------ | ---- | --- | ------------------- | -------------- |
| id | sequential ID | int unsigned | NO | PRI | NULL | auto_increment |
| name | | varchar(128) | NO | | | |
| locked | | boolean | NO | | 0 | |
| pid | Process ID | int unsigned | NO | | 0 | |
| expires | datetime of cache expiration | datetime | NO | | 0001-01-01 00:00:00 | |
2015-12-27 20:50:25 -05:00
2021-06-14 04:53:37 -04:00
Indexes
------------
2021-06-14 08:15:10 -04:00
| Name | Fields |
| ------------ | ------------- |
| PRIMARY | id |
2021-06-14 04:53:37 -04:00
| name_expires | name, expires |
2015-12-27 20:50:25 -05:00
Return to [database documentation](help/database)