-
Notifications
You must be signed in to change notification settings - Fork 6
Hints to overload protection and ANALYZE command #325
Conversation
docs/performance/inserts/tuning.rst
Outdated
.. _refresh_interval: https://crate.io/docs/crate/reference/en/latest/sql/reference/create_table.html#refresh-interval | ||
.. _Solid-State Drives: https://en.wikipedia.org/wiki/Solid-state_drive | ||
.. _surrogate primary key: https://en.wikipedia.org/wiki/Surrogate_key | ||
.. _system column: https://crate.io/docs/crate/reference/en/latest/sql/administration/system_columns.html | ||
.. _translog.durability: https://crate.io/docs/crate/reference/en/latest/sql/reference/create_table.html#translog-durability | ||
.. _turning column indexes off: https://crate.io/docs/crate/reference/en/latest/sql/ddl/indices_full_search.html#disable-indexing | ||
:: _Overload Protection: https://cratedb.com/docs/crate/reference/en/latest/config/cluster.html#overload-protection |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a better way to link to other Spinx documentation, like, in this case:
:ref:`crate-reference:overload_protection`
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Build still seems to fail due to warnings and broken links (r-project.org seems to be down at the moment?) WARNING: myst-parser 0.12.10 does not provide the extra 'linkify' cc: @amotl |
708efcb
to
4e0c158
Compare
@@ -307,3 +311,4 @@ throughput of your cluster with different setups and under different loads. | |||
.. _translog.durability: https://crate.io/docs/crate/reference/en/latest/sql/reference/create_table.html#translog-durability | |||
.. _UNNEST reference documentation: https://crate.io/docs/crate/reference/en/latest/sql/statements/insert.html?highlight=unnest#description | |||
.. _UNNEST: https://crate.io/docs/crate/reference/en/latest/sql/table_functions.html#unnest-array-array | |||
.. _Overload Protection: https://cratedb.com/docs/crate/reference/en/latest/config/cluster.html#overload-protection |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
JFYI: We usually sort those alphabetically, instead of just adding new links at the bottom.
Overload Protection | ||
------------------- | ||
|
||
The `Overload Protection`_ settings control how many resources operations like | ||
``INSERT INTO FROM QUERY`` or ``COPY`` can use. | ||
|
||
The default values serve as a starting point for an algorithm that dynamically | ||
adapts the effective concurrency limit based on the round-trip time of requests. | ||
Whenever one of these settings is updated, the previously calculated effective | ||
concurrency is reset. | ||
|
||
Please update the settings accordingly, especially if you are benchmarking insert | ||
performance. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi. I've forward-ported your patch to the new instance of this documentation, also addressing a few suggestions right away. Thank you again. |
Summary of the changes / Why this is an improvement
Checklist