Slow exporting using DDP / Python

Discussion created by e_hajek on May 18, 2011
Latest reply on May 26, 2011 by e_hajek
Hello all,
I'm creating a DDP mapbook of around 90 24x36 maps. I've been using some of the new (at least, to me) tools such as Tiled Labels to Annotation and a python script to export the maps. I keep all the data stored in a single File GDB on my local drive, with the exception of the aerial.

My issue is, when exporting at 300 dpi with "Better" Resample ratio, it's taking around 2 hours for each panel to export. Based on previous experience this seems like way too long. Is this what other people are experiencing?

Random information that hopefully is helpful:
All of my annotation is done using the Tiled Labels to Annotation tool, so for instance I have 20k road labels, but using the DDP Definition Query it's only showing my current panel's road labels. So, there are at least 6 of these definition queries going on for each panel, but there are no more than 400 labels total on even the busiest map, none are feature-linked, and the entire GDB itself is around 125mb, with the majority of that being the county-wide floodplain and roads. The roads are symbologized in two different ways (different data frames) using representations inside the GDB. There are 3 data frames, but two of them are small, aerial-less locator maps.

Here is the python script I've been using to export, it's basically a sample from the help I've modified:
import arcpy
from time import strftime, localtime
mxd = arcpy.mapping.MapDocument(r"C:\Documents and Settings\MXD.mxd")
print  strftime("%d %b %Y %H:%M:%S",localtime()), mxd.filePath, " Loaded Successfully"
pageNameList = ["I4", "I5", "I6", "J5", "H2", "H3", "H4", "F3", "G2", "G3"]
for pageName in pageNameList:
    pageID = mxd.dataDrivenPages.getPageIDFromName(pageName)
    mxd.dataDrivenPages.currentPageID = pageID
    print  strftime("%d %b %Y %H:%M:%S",localtime()), "Printing ", pageName
    mxd.dataDrivenPages.exportToPDF(r"C:\Documents and Settings\Mapbook", "CURRENT", "", "PDF_MULTIPLE_FILES_PAGE_NAME", "300", "BETTER", "RGB", True, "ADAPTIVE", "RASTERIZE_BITMAP", False, True, "NONE", True, 80 )
    print  strftime("%d %b %Y %H:%M:%S",localtime()), pageName, "Printed."
del mxd

Has anyone run into an issue with anything similar? I'm hoping that one particular thing is slowing it down a lot, but any advice about speeding it up in general would be helpful as well.