diff --git a/doc/redis.md b/doc/redis.md index 2d231ddaa0..30efd5d594 100644 --- a/doc/redis.md +++ b/doc/redis.md @@ -8,7 +8,8 @@ The databases used by CartoDB are: - **queries_log**: stores an entry per request performed, storing the IP of the request and some information of the request - **threshold**: stores the number of queries run per user and per table, and the kind of those queries (selects, inserts....) - **api_credentials**: stores the credentials to access to CartoDB via API. This credentials are OAuth validated tokens and API keys - + - **0**: base DB used for nodejs tiler. Will change in future + ### tables_metadata database ### `tables_metadata` database stores metadata from the user tables. This metadata can be the privacy of the table, the owner identifier, the schema, and so on. @@ -67,3 +68,13 @@ The values of the hash are: - `user_id`: the identifier of the user which is associated to the token - `time`: the time which the token was created +### 0 ### + +`0` database holds information relating to the correct running of the cartoDB tileserver. In addition to storing primary key indeces and user specified map styles, it may eventually be used as a tile cache. The following keys are used: + + node:pkey - pk store + node:style: - style data store + node:user::styles - set of style keys belonging to user + node:style::users" - set of user keys belonging to a style + node:user::layer::style - Default style key per user/layer combo. used if user specifies a style. +