Managing Memory to Improve Performance

GeoRaster has its own buffer system to read and write raster (LOB) data. This system is separate from the Oracle AI Database buffer system. The following table lists parameters that can be used to configure the GeoRaster buffer system, which is used for all I/O operations on GeoRaster objects.

Table: GeoRaster Buffering Parameters

Parameter Name Description Default Value
MemMaxSize Upper limit size of the memory that can be used for GeoRaster buffering for each GeoRaster object. 17 MB
MemReadBlockSize Internal data block size for read-only operations for caching raster data. 32 KB
MemWriteBlockSize Internal data block size for read/write operations for caching raster data. 64 KB

You can get and set the values of these parameters using the following PL/SQL subprograms:

Because the parameters are set using PL/SQL, their values are defined for the duration of the database session. For any subsequent sessions, if you want to use any nondefault values for any of the parameters, you must set them using the appropriate procedures.

In general, using large values for the parameters improves performance for GeoRaster I/O operations. The following are some specific considerations and guidelines.