In-memory processing
The term in-memory processing is used for two different things: # In computer science, in-memory processing, also called compute-in-memory (CIM) or processing-in-memory (PIM), is a computer architecture in which data operations are available directly on the data memory, rather than having to be transferred to CPU registers first. This may improve the power usage and performance of moving data between the processor and the main memory. # In software engineering, in-memory processing is a software architecture where a database is kept entirely in random-access memory (RAM) or flash memory so that usual accesses, in particular read or query operations, do not require access to disk storage. This may allow faster data operations such as joins, and faster reporting and decision-making in business. Extremely large datasets may be divided between co-operating systems as in-memory data grids.
The term in-memory processing is used for two different things: In computer science, in-memory processing, also called compute-in-memory (CIM) or processing-in-memory (PIM), is a computer architecture in which data operations are available directly on the data memory, rather than having to be transferred to CPU registers first. This may improve the power usage and performance of moving data between the processor and the main memory. In software engineering, in-memory processing is a software architecture where a database is kept entirely in random-access memory (RAM) or flash memory so that usual accesses, in particular read or query operations, do not require access to disk storage. This may allow faster data operations such as joins, and faster reporting and decision-making in business. Extremely large datasets may be divided between co-operating systems as in-memory data grids. ==Hardware (PIM)== PIM could be implemented by: Processing-using-memory (PuM) Adding limited processing capability (e.g., floating-point multiplication units, 4K row operations such as copy or zero, bitwise operations on two rows) to conventional memory modules (e.g., DIMM modules); or Adding processing capability to memory controllers so that the data that is accessed does not need to be forwarded to the CPU or affect the CPU' cache, but is dealt with immediately. Processing-near-memory (PnM) 3D arrangements of silicon with memory layers and processing layers. ==Software== ====Data structures==== With disk-based technology, data is loaded on to the computer's hard disk in the form of multiple tables and multi-dimensional structures that queries are run against. Disk-based technologies are often relational database management systems (RDBMSes), often based on the structured query language (SQL), such as SQL Server, MySQL, Oracle, and many others. RDBMSes are designed for the requirements of transactional processing. Using a database that supports insertions and updates as well as performing aggregations, joins (typical in BI solutions) are typically very slow. Another drawback is that SQL is designed to efficiently fetch rows of data, while BI queries usually involve fetching of partial rows of data involving heavy calculations. To improve query performance, multidimensional databases or OLAP cubes also called multidimensional online analytical processing (MOLAP) may be constructed. Designing a cube may be an elaborate and lengthy process, and changing the cube's structure to adapt to dynamically changing business needs may be cumbersome. Cubes are pre-populated with data to answer specific queries, and although they increase performance, they are still not optimal for answering all ad-hoc queries. Information technology (IT) staff may spend substantial development time on optimizing databases, constructing indexes and aggregates, designing cubes and star schemas, data modeling, and query analysis. ====Processing speed==== Reading data from the hard disk is much slower (possibly hundreds of times slower) when compared to reading the same data from RAM. Especially when analyzing large volumes of data, performance is severely degraded. Though SQL is a very powerful tool, arbitrary complex queries with a disk-based implementation take a relatively long time to execute and often result in bringing down the performance of transactional processing. In order to obtain results within an acceptable response time, many data warehouses have been designed to pre-calculate summaries and answer specific queries only. Optimized aggregation algorithms are needed to increase performance. The advent of 64-bit operating systems, which allow access to far more RAM (up to 100 GB or more) than the 2 or 4 GB accessible on 32-bit systems. By providing terabytes (1 TB = 1,024 GB) of space for storage and analysis, 64-bit operating systems make in-memory processing scalable. The use of flash memory enables systems to scale to many terabytes more economically. Increasing volumes of data have meant that traditional data warehouses may be less able to process the data in a timely and accurate way. The extract, transform, load (ETL) process that periodically updates disk-based data warehouses with operational data may result in lags and stale data. In-memory processing may enable faster access to terabytes of data for better real-time reporting. In-memory processing may be available at a lower cost compared to disk-based processing, and can be more easily deployed and maintained. According to Gartner survey, deploying traditional BI tools can take as long as 17 months. In-memory processing offers decreased power consumption and increased throughput due to a lower access latency, greater memory bandwidth, and hardware parallelism.
References
No reference rows published for this article.
Cite this article
MLA
"In-memory processing." encyclopegia.org, 2026, https://encyclopegia.org/wiki/in-memory-processing. Accessed 24 November 2026.
Chicago
"In-memory processing." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/in-memory-processing.
APA
encyclopegia.org. (2026). In-memory processing. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/in-memory-processing
Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON