× {{alert.msg}} Never ask again
Get notified about new tutorials RECEIVE NEW TUTORIALS

Google Big Query + PHP -> How to fetch a large data set without running out of memory

Feb 03, 2015
<p>You can export your data directly from Bigquery </p> <p><a href="https://developers.google.com/bigquery/exporting-data-from-bigquery" rel="nofollow">https://developers.google.com/bigquery/exporting-data-from-bigquery</a></p> <p>You can use PHP to run a API call that does the export (you dont need the BQ tool)</p> <p>You need to set the jobs <code>configuration.extract.destinationFormat</code> see the <a href="https://developers.google.com/bigquery/docs/reference/v2/jobs#exporting" rel="nofollow">reference</a></p> <p>This tip was originally posted on <a href="http://stackoverflow.com/questions/22505307/Google%20Big%20Query%20+%20PHP%20-&gt;%20How%20to%20fetch%20a%20large%20data%20set%20without%20running%20out%20of%20memory/22505535">Stack Overflow</a>.</p>
comments powered by Disqus