30k records taking several hours sounds reasonable...
# suitescript
c
30k records taking several hours sounds reasonable for NetSuite. Lots of factors to look at. It most likely comes down to just not having enough processors to do what you need to fast enough.