-
Notifications
You must be signed in to change notification settings - Fork 1
Continuous Aggregates Views Structure
ERAS utilizes Continuous aggregates which are materialized views bucketed by time in order to optimize some of it's queries. Continuous aggregates can be queried similarly as a postgres table.
Listed below are our current continuous aggregates and its structures.
This continuous aggregate records for each day how many total classifications have been done for that day. (Day is in UTC)
| Column Name | Type |
|---|---|
| day | timestamp |
| classification_count | integer |
This continuous aggregate records for each day how many total classifications have been done for that day for a specific project. (Day is in UTC)
| Column Name | Type |
|---|---|
| day | date |
| project_id | integer |
| classification_count | integer |
This continuous aggregate records for each day how many total classifications have been done for that day for a specific workflow. (Day is in UTC)
| Column Name | Type |
|---|---|
| day | date |
| workflow_id | integer |
| classification_count | integer |
This continuous aggregate records for each day how many total classifications have been done for that day for a specific user and how long those classifications take . (Day is in UTC)
| Column Name | Type |
|---|---|
| day | date |
| user_id | integer |
| classification_count | integer |
| total_session_time | float (in seconds) |
This continuous aggregate records for each day how many total classifications have been done for that day for a specific user for a specific project and how long those classifications take . (Day is in UTC)
| Column Name | Type |
|---|---|
| day | date |
| user_id | integer |
| project_id | integer |
| classification_count | integer |
| total_session_time | float (in seconds) |
This continuous aggregate records for each day how many total classifications have been done for that day for a specific user for a specific workflow and how long those classifications take . (Day is in UTC)
| Column Name | Type |
|---|---|
| day | date |
| user_id | integer |
| workflow_id | integer |
| classification_count | integer |
| total_session_time | float (in seconds) |
This continuous aggregate records for each day how many total classifications have been done for that day for a specific user group and how long those classifications take . (Day is in UTC)
| Column Name | Type |
|---|---|
| day | date |
| user_group_id | integer |
| classification_count | integer |
| total_session_time | float (in seconds) |
This continuous aggregate records for each day how many total classifications have been done for that day for a specific user group for a specific project and how long those classifications take . (Day is in UTC)
| Column Name | Type |
|---|---|
| day | date |
| user_group_id | integer |
| project_id | integer |
| classification_count | integer |
| total_session_time | float (in seconds) |
This continuous aggregate records for each day how many total classifications have been done for that day for a specific user group for a specific workflow and how long those classifications take . (Day is in UTC)
| Column Name | Type |
|---|---|
| day | date |
| user_group_id | integer |
| workflow_id | integer |
| classification_count | integer |
| total_session_time | float (in seconds) |
This continuous aggregate records for each day how many total classifications have been done for that day for a specific user group for a specific user and how long those classifications take . (Day is in UTC)
| Column Name | Type |
|---|---|
| day | date |
| user_group_id | integer |
| user_id | integer |
| classification_count | integer |
| total_session_time | float (in seconds) |
This continuous aggregate records for each day how many total classifications have been done for that day for a specific user group for a specific user for a specific project and how long those classifications take . (Day is in UTC)
| Column Name | Type |
|---|---|
| day | date |
| user_group_id | integer |
| user_id | integer |
| project_id | integer |
| classification_count | integer |
| total_session_time | float (in seconds) |
This continuous aggregate records for each day how many total classifications have been done for that day for a specific user group for a specific user for a specific workflow and how long those classifications take . (Day is in UTC)
| Column Name | Type |
|---|---|
| day | date |
| user_group_id | integer |
| user_id | integer |
| workflow_id | integer |
| classification_count | integer |
| total_session_time | float (in seconds) |
This continuous aggregate records for each day how many comments have been done for that day . (Day is in UTC)
| Column Name | Type |
|---|---|
| day | date |
| comment_count | integer |
This continuous aggregate records for each day how many comments have been done for a specific user for that day . (Day is in UTC)
| Column Name | Type |
|---|---|
| day | date |
| user_id | integer |
| comment_count | integer |
This continuous aggregate records for each day how many comments have been done for a specific user for a specific user for that day . (Day is in UTC)
| Column Name | Type |
|---|---|
| day | date |
| project_id | integer |
| user_id | integer |
| comment_count | integer |
Are you... Ready for it?
Home
User Groups Stats Visibility Levels
Data Tables
Mappings from Source Tables to ERAS
Continuous Aggregates
Decisions Around Session Time Caps