You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
140531: gceworker: better handling of firewall for home use r=dhartunian a=dhartunian
Previously, creating a gceworker from outside the office would fail because firewall rules wouldn't get updated prior to ssh-ing in.
We now update the firewall prior to ssh-ing, and also delete the home ssh rule on destroy.
Release note: None
142924: sql: support disabling full auto stats independent of partial auto stats r=rytaft a=rytaft
This commit adds support for enabling and disabling full auto stats collection independent of whether or not partial auto stats are enabled/disabled.
This commit also fixes a flake in the `distsql_automatic_partial_stats` logictest.
Fixes#132697
Release note (sql change): It is now possible to automatically collect partial table statistics, but disable automatic collection of full table statistics. The new cluster and table settings to enable/ disable automatic collection of full table statistics (without affecting the settings for partial stats) are:
- `sql.stats.automatic_full_collection.enabled`/ `sql_stats_automatic_full_collection_enabled`
- Defaults to `true`
Co-authored-by: David Hartunian <[email protected]>
Co-authored-by: Rebecca Taft <[email protected]>
sql.stats.automatic_collection.fraction_stale_rows float 0.2 target fraction of stale rows per table that will trigger a statistics refresh application
345
345
sql.stats.automatic_collection.min_stale_rows integer 500 target minimum number of stale rows per table that will trigger a statistics refresh application
346
+
sql.stats.automatic_full_collection.enabled boolean true automatic full statistics collection mode application
sql.stats.automatic_partial_collection.fraction_stale_rows float 0.05 target fraction of stale rows per table that will trigger a partial statistics refresh application
348
349
sql.stats.automatic_partial_collection.min_stale_rows integer 100 target minimum number of stale rows per table that will trigger a partial statistics refresh application
<tr><td><divid="setting-sql-stats-automatic-collection-fraction-stale-rows" class="anchored"><code>sql.stats.automatic_collection.fraction_stale_rows</code></div></td><td>float</td><td><code>0.2</code></td><td>target fraction of stale rows per table that will trigger a statistics refresh</td><td>Serverless/Dedicated/Self-Hosted</td></tr>
300
300
<tr><td><divid="setting-sql-stats-automatic-collection-min-stale-rows" class="anchored"><code>sql.stats.automatic_collection.min_stale_rows</code></div></td><td>integer</td><td><code>500</code></td><td>target minimum number of stale rows per table that will trigger a statistics refresh</td><td>Serverless/Dedicated/Self-Hosted</td></tr>
301
+
<tr><td><divid="setting-sql-stats-automatic-full-collection-enabled" class="anchored"><code>sql.stats.automatic_full_collection.enabled</code></div></td><td>boolean</td><td><code>true</code></td><td>automatic full statistics collection mode</td><td>Serverless/Dedicated/Self-Hosted</td></tr>
<tr><td><divid="setting-sql-stats-automatic-partial-collection-fraction-stale-rows" class="anchored"><code>sql.stats.automatic_partial_collection.fraction_stale_rows</code></div></td><td>float</td><td><code>0.05</code></td><td>target fraction of stale rows per table that will trigger a partial statistics refresh</td><td>Serverless/Dedicated/Self-Hosted</td></tr>
303
304
<tr><td><divid="setting-sql-stats-automatic-partial-collection-min-stale-rows" class="anchored"><code>sql.stats.automatic_partial_collection.min_stale_rows</code></div></td><td>integer</td><td><code>100</code></td><td>target minimum number of stale rows per table that will trigger a partial statistics refresh</td><td>Serverless/Dedicated/Self-Hosted</td></tr>
0 commit comments