Toad 10.5 GA.
I’m tracing a session in an Oracle 9208 database. I have checked the
oracle user on the server for ulimit:
$ ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 2097152
stack(kbytes) 131072
memory(kbytes) unlimited
coredump(blocks) 4194303
The database parameter MAX_DUMP_FILE_SIZE = 10240.
When starting the trace, I requested UNLIMITED dumpfile size.
The dumpfile is truncated with a message telling me that I’m limited to
“10,485,760 bytes”.
Running SQL Tracker, I see the following:
begin
sys.dbms_system.set_bool_param_in_session(12,
4174,‘timed_statistics’, true);
sys.dbms_system.set_int_param_in_session(12, 4174,‘timed_os_statistics’,
0);
sys.dbms_system.set_int_param_in_session(12,4174,‘max_dump_file_size’,
2147483647);
sys.dbms_system.set_ev(12,4174, 10046, 12, ‘’);
end;
I assume that 2,147,483,647 is the biggest int parameter that can be
set. (In a signed 32 bit integer.)
I thought I’d been silly and forgotten to choose the unlimited dump file
size, so I traced it again. Same result.
ALTER SYSTEM SET MAX_DUMP_FILE_SIZE=unlimited SCOPE=BOTH;
Worked a treat. I’m now tracing away merrily and have already got a huge
(201,094,010 byte) trace file. (That’s going to test my mettle at
reading trace files!)
Anyone got any clues as to why the dump file was limited to 10,485,760
bytes when everything I requested (and apparently set) was no-where near
this limit. Except, maybe, the MAX_DUMP_FILE_SIZE = 10240 (OS Blocks)
which matches exactly if the OS Block size is 1,024.
Cheers,
Norm. [TeamT]
Information in this message may be confidential and may be legally privileged. If you have received this message by mistake, please notify the sender immediately, delete it and do not copy it to anyone else. We have checked this email and its attachments for viruses. But you should still check any attachment before opening it. We may have to make this message and any reply to it public if asked to under the Freedom of Information Act, Data Protection Act or for litigation. Email messages and attachments sent to or from any Environment Agency address may also be accessed by someone other than the sender or recipient, for business purposes. If we have sent you information and you wish to use it please read our terms and conditions which you can get by calling us on 08708 506 506. Find out more about the Environment Agency at www.environment-agency.gov.uk
Information in this message may be confidential and may be legally privileged. If you have received this message by mistake, please notify the sender immediately, delete it and do not copy it to anyone else.
We have checked this email and its attachments for viruses. But you should still check any attachment before opening it.
We may have to make this message and any reply to it public if asked to under the Freedom of Information Act, Data Protection Act or for litigation. Email messages and attachments sent to or from any Environment Agency address may also be accessed by someone other than the sender or recipient, for business purposes.
If we have sent you information and you wish to use it please read our terms and conditions which you can get by calling us on 08708 506 506. Find out more about the Environment Agency at www.environment-agency.gov.uk