Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Which does Spanner prioritize, high-priority tasks or non-priority tasks?

Which does Spanner prioritize, high-priority tasks or non-priority tasks?

Solved Solved
0 3 529
1 ACCEPTED SOLUTION

In Spanner, high-priority tasks are prioritized over non-priority tasks. Spanner uses a priority system to manage various operations, where high-priority tasks, such as schema updates, backup and restore operations, and other critical system tasks, are given precedence over non-priority tasks like regular query execution or lower-priority background tasks. This ensures that critical operations are completed promptly, even if it means delaying or throttling lower-priority tasks.

This prioritization helps maintain the overall performance and consistency of the Spanner database, especially in environments with high workloads or during essential maintenance activities.

View solution in original post

3 REPLIES 3

In Spanner, high-priority tasks are prioritized over non-priority tasks. Spanner uses a priority system to manage various operations, where high-priority tasks, such as schema updates, backup and restore operations, and other critical system tasks, are given precedence over non-priority tasks like regular query execution or lower-priority background tasks. This ensures that critical operations are completed promptly, even if it means delaying or throttling lower-priority tasks.

This prioritization helps maintain the overall performance and consistency of the Spanner database, especially in environments with high workloads or during essential maintenance activities.

Thank you very much.

@ms4446 

Thank you very much.