<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>article Qlik Stitch: Google Cloud SQL PostgreSQL Temporary File Size Exceeds “temp_file_limit” in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Stitch-Google-Cloud-SQL-PostgreSQL-Temporary-File-Size/ta-p/2533905</link>
    <description>&lt;P&gt;This error occurs with the Google Cloud SQL PostgreSQL database integration and it displays as below in the extraction logs:&lt;/P&gt;
&lt;P style="padding-left: 40px;"&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;Fatal Error Occured - ERROR: temporary file size exceeds temp_file_limit&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Resolution&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;To resolve this issue, you need to increase the&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt; &lt;SPAN&gt;temp_file_limit&lt;/SPAN&gt;&lt;/STRONG&gt; &lt;/FONT&gt;parameter in your PostgreSQL configuration&lt;/P&gt;
&lt;P&gt;Here are the steps to fix it:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;
&lt;P&gt;&lt;STRONG&gt;Access your Google Cloud SQL instance settings.&lt;/STRONG&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&lt;STRONG&gt;Locate the database flags or parameters section.&lt;/STRONG&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&lt;STRONG&gt;Find the &lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;temp_file_limit&lt;/SPAN&gt;&lt;/FONT&gt; flag and increase its value.&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;P&gt;The value is specified in kilobytes (kB).&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;The default in PostgreSQL is &lt;CODE&gt;-1&lt;/CODE&gt;, which means &lt;STRONG&gt;no limit&lt;/STRONG&gt;. However, Cloud SQL may enforce a smaller custom value depending on your instance configuration.&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&lt;STRONG&gt;If you’re unsure about the appropriate value&lt;/STRONG&gt;, start by doubling the current limit and adjust as needed based on your workload. Increasing this limit allows larger queries to complete but may also increase storage usage, so monitor performance and disk space after making the change.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&lt;STRONG&gt;Save the changes.&lt;/STRONG&gt;&lt;BR /&gt;Updating database flags in Cloud SQL typically requires a restart of the instance for the new settings to take effect.&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;After modifying the &lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;&lt;SPAN&gt;temp_file_limit,&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&amp;nbsp;restart your PostgreSQL instance (if required) and run an extraction in Stitch.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;Cause&lt;/FONT&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/H3&gt;
&lt;P&gt;The error message indicates that the temporary file size has exceeded the &lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;temp_file_limit&lt;/STRONG&gt;&lt;/FONT&gt; in your Google Cloud SQL PostgreSQL database. This limit is set to control the maximum size of temporary files used during query execution.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Related Content&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;See Google’s documentation on configuring database flags here:&lt;BR /&gt;&lt;A href="https://cloud.google.com/sql/docs/postgres/flags?utm_source=chatgpt.com" target="_new"&gt;Configure database flags | cloud.google.com&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Environment&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;&lt;LI-PRODUCT title="Stitch" id="qlikStitch"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 23 Oct 2025 02:59:58 GMT</pubDate>
    <dc:creator>David_Apodaca</dc:creator>
    <dc:date>2025-10-23T02:59:58Z</dc:date>
    <item>
      <title>Qlik Stitch: Google Cloud SQL PostgreSQL Temporary File Size Exceeds “temp_file_limit”</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Stitch-Google-Cloud-SQL-PostgreSQL-Temporary-File-Size/ta-p/2533905</link>
      <description>&lt;P&gt;This error occurs with the Google Cloud SQL PostgreSQL database integration and it displays as below in the extraction logs:&lt;/P&gt;
&lt;P style="padding-left: 40px;"&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;Fatal Error Occured - ERROR: temporary file size exceeds temp_file_limit&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Resolution&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;To resolve this issue, you need to increase the&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt; &lt;SPAN&gt;temp_file_limit&lt;/SPAN&gt;&lt;/STRONG&gt; &lt;/FONT&gt;parameter in your PostgreSQL configuration&lt;/P&gt;
&lt;P&gt;Here are the steps to fix it:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;
&lt;P&gt;&lt;STRONG&gt;Access your Google Cloud SQL instance settings.&lt;/STRONG&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&lt;STRONG&gt;Locate the database flags or parameters section.&lt;/STRONG&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&lt;STRONG&gt;Find the &lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;temp_file_limit&lt;/SPAN&gt;&lt;/FONT&gt; flag and increase its value.&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;P&gt;The value is specified in kilobytes (kB).&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;The default in PostgreSQL is &lt;CODE&gt;-1&lt;/CODE&gt;, which means &lt;STRONG&gt;no limit&lt;/STRONG&gt;. However, Cloud SQL may enforce a smaller custom value depending on your instance configuration.&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&lt;STRONG&gt;If you’re unsure about the appropriate value&lt;/STRONG&gt;, start by doubling the current limit and adjust as needed based on your workload. Increasing this limit allows larger queries to complete but may also increase storage usage, so monitor performance and disk space after making the change.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&lt;STRONG&gt;Save the changes.&lt;/STRONG&gt;&lt;BR /&gt;Updating database flags in Cloud SQL typically requires a restart of the instance for the new settings to take effect.&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;After modifying the &lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;&lt;SPAN&gt;temp_file_limit,&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&amp;nbsp;restart your PostgreSQL instance (if required) and run an extraction in Stitch.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;Cause&lt;/FONT&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/H3&gt;
&lt;P&gt;The error message indicates that the temporary file size has exceeded the &lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;temp_file_limit&lt;/STRONG&gt;&lt;/FONT&gt; in your Google Cloud SQL PostgreSQL database. This limit is set to control the maximum size of temporary files used during query execution.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Related Content&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;See Google’s documentation on configuring database flags here:&lt;BR /&gt;&lt;A href="https://cloud.google.com/sql/docs/postgres/flags?utm_source=chatgpt.com" target="_new"&gt;Configure database flags | cloud.google.com&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Environment&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;&lt;LI-PRODUCT title="Stitch" id="qlikStitch"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Oct 2025 02:59:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Stitch-Google-Cloud-SQL-PostgreSQL-Temporary-File-Size/ta-p/2533905</guid>
      <dc:creator>David_Apodaca</dc:creator>
      <dc:date>2025-10-23T02:59:58Z</dc:date>
    </item>
  </channel>
</rss>

