i have huge dataset ( 600.000 row)
im using windows 10 and toad for oracle 12.1
i have to import that to excel.
in my last attempt it took 2 hours but i have less time for that.
what should i do?
urgently, thanks for your support.
You can go to Schema Browser-Tables-Script to get the Create Table script. I am trying to get an idea of how long it should take. The more columns, the more data there is, the longer it is going to take. Please send the script so I can create the table here, fill it with fake data, and give you an idea of how fast I think it should go.
Oh 12.1, you said that at the beginning, sorry. I just saw "oracle 12.1"
Regarding statistics, is this a slow running query? I was thinking at first that you were just exporting from one table, but if it's a slow running query, then yes, maybe statistics will help.
If you are just exporting from a single table, or if the query executes quickly but exports slowly, then statistics probably will not help.
When you start exporting....
How long until you start to see the exported rowcounts increasing?
And once they start, how much longer until export is done?
I ask again:
When you start exporting....
How long until you start to see the exported rowcounts increasing?
And once they start, how much longer until export is done?
As a test, you could try:
Create table test_table as select * from your_view_name;
Then try to export test_table. Again, make sure that "Display all results in grid" is unchecked.
If it is suddenly fast, the problem is in the view. Updated statistics might help.
If it is still slow, then it is either the volume of data (do you have a lot of columns?) or maybe Toad is having a problem turning that data into an Excel file, or some combination of the two.
If you can create that table and export it and send it to me, I will try to reproduce the problem and fix if there is something to fix.
As a frame of reference, if I make a copy of DBA_TABLES and put 750,000 rows in it, I can export to Excel in about 8 minutes using Toad 13.3. I also tried this in 12.1 but there I ran out of memory and got an error. I forgot to mention that with a dataset of this size, you may need to use 64 bit Toad.
Another option that will not use as much memory - (as long as Display all results in grid" is unchecked) is exporting to CSV and then open the CSV file with Excel. CSV is the same as "Delimited Text" with a comma delimiter and string fields enclosed with quotes.