I'm attempting to export an attribute table that contains 30 million rows (with 10 columns) to a .txt file. I've been able to export smaller portions of it (e.g. selecting and exporting the first 100 records), but the sheer number of rows slows the export process to a crawl or just crashes it.
Clarification: I have a raster that covers about 90% of Venus with ~4 km resolution, and I need to extract the latitude, longitude, and pixel value for each pixel. I thought the best way would be to use Raster to Point, then Add XY Coordinates, and export the table of the resulting shapefile. If there's a better way, I'd love to learn!
Using the ArcPy script described in the answers worked on a similar, but smaller shapefile (~10% of Venus, same resolution), but when run on the larger shapefile of 90% of Venus, the IDLE shell quit without warning after an hour of running. Any ideas of what caused/could prevent this?