dbnccl03=> \d+ oc_filecache
Table "nccl03.oc_filecache"
Column | Type | Collation | Nullable | Default | Storage | Stats target | Description
------------------+-------------------------+-----------+----------+----------------------------------------------+----------+--------------+-------------
fileid | bigint | | not null | nextval('oc_filecache_fileid_seq'::regclass) | plain | |
storage | bigint | | not null | 0 | plain | |
path | character varying(4000) | | | NULL::character varying | extended | |
path_hash | character varying(32) | | not null | ''::character varying | extended | |
parent | bigint | | not null | 0 | plain | |
name | character varying(250) | | | NULL::character varying | extended | |
mimetype | bigint | | not null | 0 | plain | |
mimepart | bigint | | not null | 0 | plain | |
size | bigint | | not null | 0 | plain | |
mtime | bigint | | not null | 0 | plain | |
storage_mtime | bigint | | not null | 0 | plain | |
encrypted | integer | | not null | 0 | plain | |
unencrypted_size | bigint | | not null | 0 | plain | |
etag | character varying(40) | | | NULL::character varying | extended | |
permissions | integer | | | 0 | plain | |
checksum | character varying(255) | | | NULL::character varying | extended | |
Indexes:
"oc_filecache_pkey" PRIMARY KEY, btree (fileid)
"fs_storage_path_hash" UNIQUE, btree (storage, path_hash)
"fs_id_storage_size" btree (fileid, storage, size)
"fs_mtime" btree (mtime)
"fs_parent_name_hash" btree (parent, name)
"fs_size" btree (size)
"fs_storage_mimepart" btree (storage, mimepart)
"fs_storage_mimetype" btree (storage, mimetype)
"fs_storage_size" btree (storage, size, fileid)
Access method: heap
Created
February 5, 2023 12:20
-
-
Save flaf/7548f4568a3e275eead950b46ac9a9ff to your computer and use it in GitHub Desktop.
PostgreSQL and slow requests
Author
flaf
commented
Feb 6, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment