Closed ghost closed 8 years ago
Interesting. A few things to note:
Adam, are you interested in working on any of this? Let me know and I can help out. If not I'll probably take a crack at some of this at some point.
I was incorrect in blaming ecpg for the slowness. It was in pgsanity itself and a bunch of performance improvements were made in 0.2.5. With that said, a progress bar is a neat idea and may still come in handy for very large files. I'll leave this issue open to document the progress bar idea.
Midnight inspiration: you may be able to do this with a program called pv, or something similar.
I'm currently syntax checking a 600mb SQL file and it'd be nice to know how far through pgsanity is.
Bonus: it's currently maxing out a single core of my VM and using 1.3GB of RAM :D