diff --git a/presto-docs/src/main/sphinx/troubleshoot/query.rst b/presto-docs/src/main/sphinx/troubleshoot/query.rst index 3232454d8697d..af51240d6b040 100644 --- a/presto-docs/src/main/sphinx/troubleshoot/query.rst +++ b/presto-docs/src/main/sphinx/troubleshoot/query.rst @@ -44,4 +44,7 @@ Edit ``config.properties`` for the Presto coordinator, and set the value of the http-server.max-request-header-size=5MB -See :ref:`admin/properties:\`\`http-server.max-request-header-size\`\``. \ No newline at end of file +See :ref:`admin/properties:\`\`http-server.max-request-header-size\`\``. + +Alternatively, avoid using prepared statements for large queries. Prepared statements +place the SQL template in request headers, which can exceed the header size limit. \ No newline at end of file