I'm using PHP OCI8 to retrieve data from oracle database into MS Excel Spreadsheet by using PHP Excel Function. The data consist of 23 column and more then 65k row. I consider this as big data and its fail to write to Excel and showing this error
Fatal error: Maximum execution time of 900 seconds exceeded in C:\inetpub\wwwroot\Classes\PHPExcel\Writer\Excel2007\Worksheet.php on line 1058
My question is how to calculate the right amount of time needed with the data that Im extracting?
What is the best practice of extracting this large data into Spreadsheet or CSV file?
in the code is already set oci_set_prefetch($stid1, 400);
and if data less then 65k the system will allow to write to the file (.xls
)