on 2011 May 02 5:22 PM
Has anyone notices that the dbunload will slow down to in the middle of its process. I have 800 tables to unload and reload (going from 8 to 12 using -ar). At about 270 table processed it goes from using 40 percent of the CPU to under 1 percent. Sometimes is goes to 0 for upto a minute. The database is 30 gig in size and the process is at a virtual standstill. It work out to about 15 minutes for the first 260 tables and the next 5 have taken over 30 minutes and counting. Here is the command line I used.
"C:\\Program Files\\SQL Anywhere 12\\Bin32\\dbunload.exe" -v -c "UID=dba;PWD=####;DBF=E:\\ASA12work\\ASA8Extract\\ksWicfull.db" -ii -ar "E:\\ASA12Messages"
ASA version info: SQL Anywhere Personal Server Version 12.0.1.3298
Request clarification before answering.
I stopped the procees and rebooted my desktop and now things seem to be moveing along just fine. I expect that it will take somewhere around 14 hours to complete. The working enviroment is a USB drive not the best but I needed the room to work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There could be a number of reasons why you are seeing the unload appear to slow down:
You could try using -u switch so that the data is unloaded unordered to see if this improves the unload time. Increasing the cache size (-c switch) may also help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Mark, the process has been stuck on a single table for about 50 minutes now. I am the only one using the computer and not doing anything but watching to see the progress. The process has unload tables of over 8,000,000 rows earlier and not spent more than 2 minutes. It is now siting at the same listed file. The database window keeps reporting the cache size is being adjusted but the value reported is the same as the last cache adjustment. PROCEXP show no cpu actiity and no disk IO to speak of. Would you recommend that I start fresh?
Your description does make it sound like the unload is stuck. The question is "Is it really stuck" or is it just moving really slowly for some reason.
The fact that the cache size is constantly changing size (presumably increasing in size?) could mean that the server is thrashing. Stopping and then restarting with a large cache size could help. What size is the server currently using?
How many rows are in the table where the server appears stuck?
Can you determine if any progress is being made - e.g. is the size of any of the dat files increasing in size?
Do you have any dbspaces?
User | Count |
---|---|
87 | |
10 | |
9 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.