Export Limit/Max Overview (Excel, CSV, PDF, Database Views)Issue The following details the various features of the platform for returning and exporting data and the properties which can be used to control the number of records which are included Database Views The glide.db.max_view_records property is used for programs that are not using windowing. For example if I have a business rule or any script that does something like the following then that query will be limited based on this property, so that it can't bring the system to its knees. var gr = new GlideRecord('incident_metric'); gr.query(); while (gr.next()) { // do something } However, if the query is windowed, to limit result set to only records between 0 and 50000, then the glide.db.max_view_records property does not apply. Exports Exports are windowed by the property glide.ui.export.limit which has a default value of 50000. BUT, that does not apply to all exports and there are other limits. Excel You are going to get 50000 records (32000 in the first page, 18000 in the second page) unless you exceed the other limit which is that we will only export a maximum of 500,000 CELLS. The maximum number of cells is controlled by the property glide.excel.max_cells. This is also done so that an export can't bring a system down because of using all the memory. The limit of 32000 per page of excel output must be based on the code that we are using to create the excel document as I don't see that excel has this limit. CSV This is limited by the glide.ui.export.limit PDF PDF has its own limits which is controlled by the property glide.pdf.max_rows which has a default of 5000 and also limited to 5000. Users can, however, limit the size under the default value. The min of glide.pdf.max_rows and glide.ui.export.limit will be used to limit the output. XML The property com.glide.processors.XMLProcessor.max_record_count determines max record count for XML exports.