Oracle® TimesTen In-Memory Database Reference Release 11.2.1 Part Number E13069-03 |
|
|
View PDF |
The following sections list all TimesTen system limits and defaults.
Specific operating system limits may take precedence over these values. For more information, see "Installation prerequisites" in Oracle TimesTen In-Memory Database Installation Guide.
Each process connected to a TimesTen data store keeps at least one operating-system file descriptor open from the time of the first connection until the process terminates. Additional file descriptors may be opened for each data store connection:
Connections to data stores that have logging to disk enabled require an additional two file descriptors for the duration of the connection.
An additional file descriptor is needed for the duration of data store checkpoints issued by the process.
Additional file descriptors may be opened during transaction commit or rollback operations.
For multithreaded applications that maintain many concurrent TimesTen data store connections, the default number of open files permitted to each process by the operating system may be too low.
On HP-UX, the default is 4096 open files per process and may be raised through the tunable parameter maxfiles
or with the ulimit
command (limit
for csh users). You can also set the per-process limit programmatically with setrlimit
.
On Solaris, the default limit is 256 open files and may be raised for a session with the ulimit
command (limit
for csh users). You can also set the per-process limit programmatically with setrlimit
.
On AIX, the limit is 2,048 open files, so you are not likely to run into problems.
On Linux, the default limit is 1,024 open files, so you are not likely to encounter problems.
On Windows, the default limit is at least 2,000 open files, so you are not likely to encounter problems.
Most of the open file descriptors are used for reading and writing data store recovery log files. If a process fails to open a log file, the data store is marked as requiring recovery and all current connections to the data store are terminated.