Skip to content

Commit 3dc05cc

Browse files
authored
Merge pull request #10201 from blakem-412/patch-1
Fixed column name.
2 parents 0504381 + 09c4ec2 commit 3dc05cc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/relational-databases/system-catalog-views/sys-query-store-plan-transact-sql.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Contains information about each execution plan associated with a query.
4040
| `is_parallel_plan` | **bit** | Plan is parallel.<br /><br />**Note:** [!INCLUDE [ssazuresynapse_md](../../includes/ssazuresynapse-md.md)] always returns `1`. |
4141
| `is_forced_plan` | **bit** | Plan is marked as forced when user executes stored procedure `sys.sp_query_store_force_plan`. The forcing mechanism *doesn't guarantee* that this exact plan will be used for the query referenced by `query_id`. Plan forcing causes query to be compiled again, and typically produces exactly the same or a similar plan to the plan referenced by `plan_id`. If plan forcing doesn't succeed, `force_failure_count` is incremented, and `last_force_failure_reason` is populated with the failure reason.<br /><br />**Note:** [!INCLUDE [ssazuresynapse_md](../../includes/ssazuresynapse-md.md)] always returns `0`. |
4242
| `is_natively_compiled` | **bit** | Plan includes natively compiled memory optimized procedures. (0 = `FALSE`, 1 = `TRUE`).<br /><br />**Note:** [!INCLUDE [ssazuresynapse_md](../../includes/ssazuresynapse-md.md)] always returns `0`. |
43-
| `force_failure_count` | **bigint** | Number of times that forcing this plan has failed. It can be incremented only when the query is recompiled (*not on every execution*). Resets to `0` every time `is_plan_forced` is changed from `FALSE` to `TRUE`.<br /><br />**Note:** [!INCLUDE [ssazuresynapse_md](../../includes/ssazuresynapse-md.md)] always returns `0`. |
43+
| `force_failure_count` | **bigint** | Number of times that forcing this plan has failed. It can be incremented only when the query is recompiled (*not on every execution*). Resets to `0` every time `is_forced_plan` is changed from `FALSE` to `TRUE`.<br /><br />**Note:** [!INCLUDE [ssazuresynapse_md](../../includes/ssazuresynapse-md.md)] always returns `0`. |
4444
| `last_force_failure_reason` | **int** | Reason why plan forcing failed.<br /><br />0: no failure, otherwise error number of the error that caused the forcing to fail<br />3617: `COMPILATION_ABORTED_BY_CLIENT`<br />8637: `ONLINE_INDEX_BUILD`<br />8675: `OPTIMIZATION_REPLAY_FAILED`<br />8683: `INVALID_STARJOIN`<br />8684: `TIME_OUT`<br />8689: `NO_DB`<br />8690: `HINT_CONFLICT`<br />8691: `SETOPT_CONFLICT`<br />8694: `DQ_NO_FORCING_SUPPORTED`<br />8698: `NO_PLAN`<br />8712: `NO_INDEX`<br />8713: `VIEW_COMPILE_FAILED`<br />\<other value>: `GENERAL_FAILURE`<br /><br />**Note:** [!INCLUDE [ssazuresynapse_md](../../includes/ssazuresynapse-md.md)] always returns `0`. |
4545
| `last_force_failure_reason_desc` | **nvarchar(128)** | Textual description of `last_force_failure_reason`.<br /><br />`COMPILATION_ABORTED_BY_CLIENT`: client aborted query compilation before it completed<br />`ONLINE_INDEX_BUILD`: query tries to modify data while target table has an index that is being built online<br />`OPTIMIZATION_REPLAY_FAILED`: The optimization replay script failed to execute.<br />`INVALID_STARJOIN`: plan contains invalid StarJoin specification<br />`TIME_OUT`: Optimizer exceeded number of allowed operations while searching for plan specified by forced plan<br />`NO_DB`: A database specified in the plan doesn't exist<br />`HINT_CONFLICT`: Query can't be compiled because plan conflicts with a query hint<br />`DQ_NO_FORCING_SUPPORTED`: Can't execute query because plan conflicts with use of distributed query or full-text operations.<br />`NO_PLAN`: Query processor couldn't produce query plan, because forced plan couldn't be verified as valid for the query<br />`NO_INDEX`: Index specified in plan no longer exists<br />`VIEW_COMPILE_FAILED`: Couldn't force query plan because of a problem in an indexed view referenced in the plan<br />`GENERAL_FAILURE`: general forcing error (not covered with other reasons)<br /><br />**Note:** [!INCLUDE [ssazuresynapse_md](../../includes/ssazuresynapse-md.md)] always returns `NONE`. |
4646
| `count_compiles` | **bigint** | Plan compilation statistics. |

0 commit comments

Comments
 (0)