Replies: 15 comments 40 replies
|
@gsbelarus , write speed is affected by many factors. Please check this thread. |
|
Please, show table stats (gstat -r -t GD_DOCUMENT) for the start. Also, it is interesting to know how many random writes IOPS by 1-thread with queue depth 1 is possible to reach on this system. |
11616358 IOs / 65812 sec = 177 iops, looks like HDD |
|
Right now, I have run a stored procedure where there same updates are executed in blocks by 1000 records. Each update is run with parametrized statement in autonomous transaction. I'll come with the results. |
|
What is the output of |
|
|
So, I have started over. I did complete backup-restore and now going to execute update on the fresh database. The stats before start are as follows: BTW, the database restoration time is 4:10:00, which is not bad for a database file of 390 GB. I will come with the results tomorrow. |
|
So,
Now, the update operation even slower, nearing 20h. gstat output: By all means this machine is performant, but this update... how is it possible to be so slow? |
|
I'm asking for the solution because our customer gives us a 4-hour window to update the production database. I never thought that just assigning values to 3 fields could take so long. So, now I'm wondering what trick would be applied here to get the task done. And I'm confused because the restoration of the whole database takes just 4:10:00. Well, it is multithreaded, but even under FB3 it took 10 hours, twice as less... On the same server, on the same file. Weird. |
|
13 minutes instead of 18 hours. Wow! Amazing work by Vlad! Huge thanks — the donation's on me! |
I missed the actual solution from this long thread. Could you give a summary, how the problem was fixed? -tee- |






Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
The performance is just depressing. 18 hours....
All reactions