on 2014 Feb 05 8:36 AM
I am doing export of 4.7x200 production on windows. I skipped update statistics step, R3szchk ran for 8 hours without progress. I checked R3szchk but no process activity found, like it hanged. So I aborted the process. All R3 progs are of latest version. Couple of days ago I ran export but I did not skip step to update statistics and it went ok, but update of statistics took a long time to finish, about 9 hours, but this was not production system so it was alright.
- is it possible to run the same update of statistics manually (as in update statistics step)?
brconnect -u / -c -f stats -o SAPSID -t all -m +I -s P10 -f allset,collect,method,precision,keep -p 4
- will it be harmful for productive system during office hours for end users?
- do I have to be in some special directory when I start update of statistics manually?
If I can do this, I will update statistics manually during office hours and after I can bring productive down for export, start export but skip update of statistics process since I already ran it manually. Is this viable scenario for export?
Hello
- is it possible to run the same update of statistics manually (as in update statistics step)?
brconnect -u / -c -f stats -o SAPSID -t all -m +I -s P10 -f allset,collect,method,precision,keep -p 4
Yes
- will it be harmful for productive system during office hours for end users?
No
- do I have to be in some special directory when I start update of statistics manually?
No. The standard one is enough. /oracle/SID/sapcheck
Regards
RB
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello
Later when I start export in sapinst even if I skip step update statistics, statistics I made manually will be available for r3szchk?
Absolutely.
Has skipping of step update statistics during export caused r3szchk to hang?
I don't think that could be the reason for a hung r3szchk session.
But I would check at the DB level for the sessions.
Regards
RB
I found few interesting notes:
1047369 - Faster DB accesses for R3szchk using Oracle DBSL
554031 - Creating space statistics with BRCONNECT
Unfortunately, running manually statistics update for export can actually be harmful in a way that it locks indexes so users will feel that and since index updates won't be possible I guess it is not a good idea to run it with the users in the system, it would be best to shut down R/3. (note 554031 caution 7).
About sessions, you mean to find out weather R3szchk session is active or not?
I could also look at oracle trace files, would be easier if there were tail in windows.
I hope it will work fine if I let sapinst export run step with statistics update... and this means working on weekend.
Hi,
As said by Deepak, update statistics can be done online and it should be done periodically to have better database performance.
Regards,
Nick Loy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sasa,
Are you using the latest versions of r3trans, r3szchk and r3ta before running the export prepartion and export db steps ?
If not it is recommendation to downloaded the latest version and then perform export and import.
Updating the statistics can be done online before you bring the system down. There is no impact on production users.
Hope this helps.
Regards,
Deepak Kori
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes r3 programs are in latest version.
We are doing update of statistics from db13. But I do not think those statistics are useful for export process and R3szchk. Calls for update of statistics in db13 (brconnect -c -f stats -t ALL) differs from sapinst export process update of statistics (brconnect -u / -c -f stats -o SAPSID -t all -m +I -s P10 -f allset,collect,method,precision,keep -p 4)
During export process the last step is deleting collected statistics.
User | Count |
---|---|
69 | |
10 | |
8 | |
7 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.