Wow... I thought this little excercise would be no problem for "ULTRA"edit. I am using UE 15.
I had to retrieve approx 1 million rows of data (only approx 120 char per record{row}) into a flat file (or files) and email it. It was data by month for a whole year.
Ugh!... but I had to get it done, bosses didn't want to hear why this was stupid.
Data output from SQL2008 created a 65MB csv file.
Zipping the file created an 11MB file. We have a 10MB limit on sending email attachments. So, I thought simple... Suck a copy of the file into Ultraedit find the halfway mark in the file (first 6 month mark) and zap the remainder of the file (last 6 months of data) and save the truncated file to a new file name. This would give me a file for half the year that would zip to less then 10MB. I would do this again for the other half of the data and then do two separate emails of the zipped files. (Not pretty but I was in a just "get'er done" mode with a deadline)
The big 65mb file loaded into Ultraedit. It was pretty slow but it did all load. (Running XP SP3 with 3GB). I did a seek to the bottom of the file (to see the last rows in the file) and everything appeared normal. Approx 1.1 million rows of data were in the file I had loaded in Ultraedit. I found the halfway mark and then selected the 500,000 rows to the bottom of the file. I then deleted them. I then saved this adjusted file to a new file name. The new file was created and the file size of the new file seemed reasonable (it was approx 1/2 the number of bytes of the orginal file). I closed UltraEdit and then re-opened the original 65mb file to re-do the process again but this time creating a file with the 2nd half of the year.
Well... the 65mb original file (which was never saved or adjusted in UE) now only had the half of the data in it. The first half of the year was all that was in the file. I closed UE and tried again... same thing. I opened the orginal file in notepad (that's a long wait) and it only had half the data. So I pulled a fresh copy of the data from the SQL server again to a new CSV file and tried the whole process all over again. Same results.
Conclusion... Ultraedit seems to really choke on files this big.
It doesn't make sense to me.
I seem to remember be able to do this type of work with V11. I may reload an old copy of UE to test it out.
Anyone else have problems editing very large files.
I had to retrieve approx 1 million rows of data (only approx 120 char per record{row}) into a flat file (or files) and email it. It was data by month for a whole year.
Ugh!... but I had to get it done, bosses didn't want to hear why this was stupid.
Data output from SQL2008 created a 65MB csv file.
Zipping the file created an 11MB file. We have a 10MB limit on sending email attachments. So, I thought simple... Suck a copy of the file into Ultraedit find the halfway mark in the file (first 6 month mark) and zap the remainder of the file (last 6 months of data) and save the truncated file to a new file name. This would give me a file for half the year that would zip to less then 10MB. I would do this again for the other half of the data and then do two separate emails of the zipped files. (Not pretty but I was in a just "get'er done" mode with a deadline)
The big 65mb file loaded into Ultraedit. It was pretty slow but it did all load. (Running XP SP3 with 3GB). I did a seek to the bottom of the file (to see the last rows in the file) and everything appeared normal. Approx 1.1 million rows of data were in the file I had loaded in Ultraedit. I found the halfway mark and then selected the 500,000 rows to the bottom of the file. I then deleted them. I then saved this adjusted file to a new file name. The new file was created and the file size of the new file seemed reasonable (it was approx 1/2 the number of bytes of the orginal file). I closed UltraEdit and then re-opened the original 65mb file to re-do the process again but this time creating a file with the 2nd half of the year.
Well... the 65mb original file (which was never saved or adjusted in UE) now only had the half of the data in it. The first half of the year was all that was in the file. I closed UE and tried again... same thing. I opened the orginal file in notepad (that's a long wait) and it only had half the data. So I pulled a fresh copy of the data from the SQL server again to a new CSV file and tried the whole process all over again. Same results.
Conclusion... Ultraedit seems to really choke on files this big.
It doesn't make sense to me.
I seem to remember be able to do this type of work with V11. I may reload an old copy of UE to test it out.
Anyone else have problems editing very large files.