Parson Fortunes Ltd is an Asian-based department store operator with an extensive network of 131 stores, spanning approximately 4.1 million square meters of retail space across cities in India, China, Vietnam, Indonesia and Myanmar. Parson built a VPC to host their entire enterprise infrastructure on cloud.
Parson has large assets of data around 20 TB's of structured data and 45 TB of unstructured data and is planning to host their data warehouse on AWS and unstructured data storage on S3
The files sent from their on premise data center are also hosted into S3 buckets.
Parson IT team is well aware of the scalability, performance of AWS services capabilities.
Parson hosts their web applications, databases and the data warehouse built on Redshift in VPC.
The administrator want to improve the query improve and planning to implement Workload Management (WLM) in Redshift.
Suggest some of the best practices! select 4 options.
Click on the arrows to vote for the correct answer
A. B. C. D. E. F. G.Answer : A, B, E, G.
Option A is correct - Configure up to eight query queues and set the number of queries that can run in each of those queues concurrently.
You can set up rules to route queries to particular queues based on the user running the query or labels that you specify.
You can also configure the amount of memory allocated to each queue, so that large queries run in queues with more memory than other queues.
You can also configure the WLM timeout property to limit long-running queries.
https://docs.aws.amazon.com/redshift/latest/dg/cm-c-implementing-workload-management.htmlOption B is correct -Configure up to eight query queues and set the number of queries that can run in each of those queues concurrently.
You can set up rules to route queries to particular queues based on the user running the query or labels that you specify.
You can also configure the amount of memory allocated to each queue, so that large queries run in queues with more memory than other queues.
You can also configure the WLM timeout property to limit long-running queries.
https://docs.aws.amazon.com/redshift/latest/dg/cm-c-implementing-workload-management.htmlOption C is incorrect - Configure up to eight query queues and set the number of queries that can run in each of those queues concurrently.
You can set up rules to route queries to particular queues based on the user running the query or labels that you specify.
You can also configure the amount of memory allocated to each queue, so that large queries run in queues with more memory than other queues.
You can also configure the WLM timeout property to limit long- running queries.
https://docs.aws.amazon.com/redshift/latest/dg/cm-c-implementing-workload-management.htmlOption D is incorrect -Configure up to eight query queues and set the number of queries that can run in each of those queues concurrently.
You can set up rules to route queries to particular queues based on the user running the query or labels that you specify.
You can also configure the amount of memory allocated to each queue, so that large queries run in queues with more memory than other queues.
You can also configure the WLM timeout property to limit long-running queries.
https://docs.aws.amazon.com/redshift/latest/dg/cm-c-implementing-workload-management.htmlOption E is correct -Short query acceleration (SQA) prioritizes selected short-running queries ahead of longer-running queries.
SQA executes short-running queries in a dedicated space, so that SQA queries aren't forced to wait in queues behind longer queries.
SQA only prioritizes queries that are short-running and are in a user-defined queue.
With SQA, short-running queries begin running more quickly and users see results sooner.
If you enable SQA, you can reduce or eliminate workload management (WLM) queues that are dedicated to running short queries.
In addition, long-running queries don't need to contend with short queries for slots in a queue, so you can configure your WLM queues to use fewer query slots.
When you use lower concurrency, query throughput is increased and overall system performance is improved for most workloads.
https://docs.aws.amazon.com/redshift/latest/dg/wlm-short-query-acceleration.htmlOption F is incorrect -Short query acceleration (SQA) prioritizes selected short-running queries ahead of longer-running queries.
SQA executes short-running queries in a dedicated space, so that SQA queries aren't forced to wait in queues behind longer queries.
SQA only prioritizes queries that are short-running and are in a user-defined queue.
With SQA, short-running queries begin running more quickly and users see results sooner.
If you enable SQA, you can reduce or eliminate workload management (WLM) queues that are dedicated to running short queries.
In addition, long-running queries don't need to contend with short queries for slots in a queue, so you can configure your WLM queues to use fewer query slots.
When you use lower concurrency, query throughput is increased and overall system performance is improved for most workloads.
https://docs.aws.amazon.com/redshift/latest/dg/wlm-short-query-acceleration.htmlOption G is correct -Short query acceleration (SQA) prioritizes selected short-running queries ahead of longer-running queries.
SQA executes short-running queries in a dedicated space, so that SQA queries aren't forced to wait in queues behind longer queries.
SQA only prioritizes queries that are short-running and are in a user-defined queue.
With SQA, short-running queries begin running more quickly and users see results sooner.
If you enable SQA, you can reduce or eliminate workload management (WLM) queues that are dedicated to running short queries.
In addition, long-running queries don't need to contend with short queries for slots in a queue, so you can configure your WLM queues to use fewer query slots.
When you use lower concurrency, query throughput is increased and overall system performance is improved for most workloads.
https://docs.aws.amazon.com/redshift/latest/dg/wlm-short-query-acceleration.htmlRedshift Workload Management (WLM) is a powerful tool that enables Redshift administrators to control the query execution and resource allocation. WLM provides the ability to configure query queues, prioritize queries, and allocate resources to optimize the performance of the Redshift cluster. Here are some best practices for implementing WLM in Redshift:
A. Configure up to eight query queues and set the number of queries that can run in each of those queues concurrently: WLM provides the ability to define up to eight query queues. Each queue can have its concurrency and resource allocation limits. The administrator can allocate more resources to the queues handling the critical queries and fewer resources to the queues handling less critical queries.
B. Set up rules to route queries to particular queues based on the user running the query or labels: Redshift provides the ability to route queries to specific queues based on the user running the query or the label associated with the query. For example, queries run by the finance team can be directed to a finance queue, and queries run by the marketing team can be directed to a marketing queue.
C. Configure the amount of CPU allocated to each queue, so that large queries run in queues with more CPU than other queues: WLM allows the administrator to allocate CPU resources to each queue based on the importance of the query. Large queries require more CPU resources, and hence they can be allocated to queues with more CPU resources.
D. Configure the WLM timeout property to limit short-running queries: WLM allows the administrator to define the timeout property to limit the execution time of short-running queries. This ensures that resources are not consumed by queries that do not require extensive computation.
E. Short query acceleration (SQA) prioritizes selected short-running queries ahead of longer-running queries in a dedicated space: Short query acceleration (SQA) is a feature of WLM that accelerates the execution of short-running queries. The administrator can define which queries are considered short-running, and they are prioritized over long-running queries. This feature ensures that short-running queries are executed quickly, and they do not contend with long-running queries for resources.
F. If you enable Short query acceleration (SQA), long-running queries contend with short queries for slots in a queue: If SQA is enabled, long-running queries contend with short queries for slots in the queue. Hence, it is essential to define the number of slots for each queue to ensure that the resources are allocated effectively.
G. If you enable Short query acceleration (SQA), you can reduce or eliminate workload management (WLM) queues that are dedicated to running short queries: SQA reduces the need for dedicated WLM queues for short queries. The administrator can consider reducing or eliminating the queues dedicated to running short queries if SQA is enabled.
In summary, Redshift Workload Management is a powerful tool that enables administrators to control the query execution and resource allocation. By implementing WLM best practices, administrators can ensure that the queries are executed efficiently, and the resources are allocated effectively.