Processing device
The processing apparatus addresses throughput issues in parallel data output by using a temporary storage unit and writing unit to add serial numbers and control information, enabling efficient and ordered data output without exclusive control.
Patent Information
- Application Number
- JP2024003178
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2024-01-12
- Publication Date
- 2025-07-25
AI Technical Summary
Existing systems face challenges in improving throughput while ensuring the orderliness of data output from multiple applications executing in parallel, particularly in large-scale systems, due to lock waits caused by exclusive control when accessing the same key.
A processing apparatus and method that includes a temporary storage unit to store output during transaction processing and a writing unit to write data to a file with added serial numbers and control information corresponding to the transaction end time, allowing for distributed file writing and reading without exclusive control.
This approach enhances throughput by allowing parallel applications to output data efficiently without waiting for locks, ensuring the orderliness of data output.
Smart Images

Figure 2025109351000001_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a processing apparatus, a processing method, and a program.
Background Art
[0002] It is known that a plurality of applications and the like perform transaction processing in parallel.
[0003] As a related technique, for example, there is Patent Document 1. Patent Document 1 describes a transaction processing system that decomposes a transaction into basic processing units and executes them in parallel according to the data and control dependencies between the basic processes. For example, according to Patent Document 1, the system handles data distribution characterized by executing the basic unit on a processor in which data related to the basic processing unit is stored.
Prior Art Documents
Patent Documents
[0004]
Patent Document 1
Summary of the Invention
Problems to be Solved by the Invention
[0005] When ensuring the order of data output from each of a plurality of applications executed in parallel, data output may be performed using the same key. In this case, as shown in FIG. 1, when access using the same key is performed from a plurality of applications, it becomes a lock wait due to exclusive control, and the output from subsequent applications is awaited. As a result, while the output of the same key can be processed sequentially, the output from subsequent applications is delayed, making it difficult to improve the output throughput. In particular, the above problems become more prominent in large-scale systems with a large amount of data output. Thus, there has been a problem that it may be difficult to improve the throughput while ensuring the order of data output.
[0006] Therefore, an object of the present invention is to provide a processing apparatus, a processing method, and a program capable of solving the above-described problems.
Means for Solving the Problems
[0007] A processing apparatus according to one embodiment of the present disclosure for achieving such an object includes a temporary storage unit that stores output from an application during transaction processing in a temporary storage device, a writing unit that writes the data stored in the temporary storage device to a file in response to a transaction end process performed by the application, and has when the writing unit performs writing, it adds a serial number corresponding to the output order and control information corresponding to the time when the transaction process is terminated to the data record and performs the writing and has and has such a configuration.
[0008] Further, a processing method according to another embodiment of the present disclosure is where an information processing apparatus stores output from an application during transaction processing in a temporary storage device, In response to the transaction termination process performed by the application, the data stored in the temporary storage device is written to a file. When writing, a serial number corresponding to the output order and control information corresponding to the time when the transaction process is terminated are added to the data record and written. It has such a configuration.
[0009] Also, the program which is another form of the present disclosure to the information processing apparatus stores the output from the application during the transaction process in the temporary storage device, in response to the transaction termination process performed by the application, writes the data stored in the temporary storage device to a file, When writing, a serial number corresponding to the output order and control information corresponding to the time when the transaction process is terminated are added to the data record and written. It is a program for realizing the process.
Effect of the Invention
[0010] According to each configuration as described above, the above-described problems can be solved.
Brief Description of the Drawings
[0011]
Figure 1
Figure 2
Figure 3
Figure 4
Figure 5
Figure 6
Figure 7
Figure 8
Figure 9
Figure 10
Mode for Carrying Out the Invention
[0012] [First Embodiment] The first embodiment of the present invention will be described with reference to FIGS. 2 to 7. FIG. 2 is a block diagram showing an example of the configuration of a processing device 100. FIG. 3 is a diagram for explaining an example of processing when writing data. FIGS. 4 and 5 are diagrams for explaining an example of processing when reading data. FIG. 6 is a diagram showing an operation example of a processing device when writing data. FIG. 7 is a diagram showing an operation example of a processing device when reading data. In the present disclosure, the drawings may be associated with one or more of the embodiments.
[0013] In the first embodiment of the present disclosure, a processing device 100, which is an information processing device capable of executing a plurality of applications in parallel, will be described. As will be described later, when the processing device 100 outputs data from each application that executes transaction processing, it temporarily stores the output data without performing file access. Then, at the end of transaction processing such as commit processing, the processing device 100 writes the temporarily stored data to distributed files. For example, the processing device 100 holds a distribution number in advance as definition information, and determines the destination distributed file by using a round-robin counter for each application process or the like. Then, the processing device 100 writes the data to the determined destination. Further, when writing the data, the processing device 100 can perform the writing by adding control information or the like, which is information corresponding to the time when the transaction processing ends, into the data record. Thereby, the processing device 100 can perform acquisition control using the control information when reading the data or the like.
[0014] Also, when reading the data, the processing device 100 acquires the read start time of the distributed files. Then, the processing device 100 reads the data written in a distributed manner to the destination distributed file according to the acquired read start time. For example, the processing device 100 reads the data targeted at the data whose commit time in the record is before the acquired read start time according to the acquired read start time. Thereby, the processing device 100 can prevent the reversal of the data due to the access timing at the time of data reading while writing to the distributed files.
[0015] Figure 2 shows a configuration example of the processing device 100. Referring to Figure 2, the processing device 100 includes an application execution unit 110, an output temporary storage unit 120, a file writing unit 130, and a file reading unit 140. For example, the processing device 100 includes an arithmetic device such as a CPU (Central Processing Unit) and a storage device. For example, the arithmetic device can read and execute a program stored in the storage device from the storage device, and cooperate with the hardware and the program to realize each of the above processing units.
[0016] In addition, the processing device 100 can include a temporary storage device 150 and a storage device 160. Here, the temporary storage device 150 is, for example, a memory or the like. The processing device 100 can allocate a process memory 151 from the temporary storage device 150 in units of applications or processes. The storage device 160 may be a general storage device such as an HDD (Hard Disk Drive) or an SSD (Solid State Drive). For example, the processing device 100 can include a plurality of storage devices 160. Note that at least a part of the storage devices 160 used by the processing device 100 may be provided outside the processing device 100. In other words, the processing device 100 can be communicably connected to one or more external storage devices 160 with or instead of having the storage device 160.
[0017] Note that instead of the above-described CPU, the processing device 100 may have any arithmetic device such as a GPU (Graphic Processing Unit), a DSP (Digital Signal Processor), an MPU (Micro Processing Unit), an FPU (Floating point number Processing Unit), a PPU (Physics Processing Unit), a TPU (Tensor Processing Unit), a quantum processor, a microcontroller, or a combination thereof.
[0018] The application execution unit 110 executes an application that performs any task. The application execution unit 110 can execute a plurality of applications in parallel, for example, by using a plurality of cores included in the arithmetic unit.
[0019] In addition, the application executed by the application execution unit 110 can output arbitrary data such as an update log. At this time, the application can output data by specifying a key when it is desired to guarantee the order of data output. Here, the key is information used when guaranteeing the order of data output. For example, the application can indicate that it is necessary to guarantee the order in the data for which the same key is specified by specifying the same key in a plurality of data. In this way, the application executed by the application execution unit 110 can perform data output considering the exclusive unit.
[0020] The output temporary storage unit 120 stores the output from the application executed by the application execution unit 110 in the temporary storage device 150. For example, the output temporary storage unit 120 can store the data that is the output from the application during the transaction process which is a series of processes, when a key is specified in the output from the application. At this time, the output temporary storage unit 120 may store information indicating the key together with the data in the temporary storage device 150.
[0021] In addition, the output temporary storage unit 120 can store data for each application. For example, the output temporary storage unit 120 may store the corresponding data in the process memory 151 assigned for each application, etc.
[0022] The file writing unit 130 writes the data temporarily stored in the temporary storage device 150 to distributed files in response to the transaction end processing performed by the application executed by the application execution unit 110. For example, the file writing unit 130 holds the number of distributions in advance as definition information, and determines the destination distributed file using a round-robin counter for each application process. Then, the file writing unit 130 writes the data to the determined distribution destination. In this way, the file writing unit 130 can write the data to the storage device 160 corresponding to the determined distribution destination.
[0023] Also, when performing the above-described writing, the file writing unit 130 can allocate a sequential number and add control information corresponding to the time when the transaction process is terminated to the data record to perform the writing. Here, the sequential number is a value determined according to the output order from the application. For example, the file writing unit 130 may allocate a sequential number for each destination distributed file according to the order in which the data is written to the temporary storage device 150. Also, the control information is, for example, the commit time which is the time when the commit process starts. The control information may be a value corresponding to the end of the transaction process other than the commit time.
[0024] FIG. 3 shows a specific processing example at the time of data writing. Referring to FIG. 3, in the application execution unit 110, Application 1 and Application 2 are being executed in parallel. Also, both Application 1 and Application 2 output data such as update logs for the purpose of leaving business records. At this time, in the case illustrated in FIG. 3, both Application 1 and Application 2 are performing the same business. Therefore, Application 1 and Application 2 output the data by designating Key A which is the same key.
[0025] According to the outputs from Application 1 and Application 2 respectively, the Output Temporary Storage Unit 120 stores the outputs from each application in the temporary storage device 150. At this time, the Output Temporary Storage Unit 120 can collect the outputs from each application in the process memory 151 per application unit. For example, in the case shown in FIG. 3, the Output Temporary Storage Unit 120 stores the output from Application 1 in the process memory 151-1 and stores the output from Application 2 in the process memory 151-2. In this way, according to the outputs from Application 1 and Application 2 respectively, the Output Temporary Storage Unit 120 stores the data output on the temporary storage device 150 without performing actual file access.
[0026] Also, the File Writing Unit 130 writes the data stored in the temporary storage device 150 to a distributed file according to the commit process performed at the end of the transaction process in each application. For example, the File Writing Unit 130 writes the output from Application 1 temporarily stored according to the commit process performed by Application 1 to the data file A-1 (storage device 160-1) which is the distribution destination. Also, the File Writing Unit 130 writes the output from Application 2 temporarily stored according to the commit process performed by Application 2 to the data file A-2 (storage device 160-2) which is the distribution destination. In this way, the File Writing Unit 130 can write the output from Application 1 and the output from Application 2 to each distribution destination at different timings respectively.
[0027] According to the above-described configuration, data output within the same transaction has the same commit time, and thus has the same control information. For example, in the case shown in FIG. 3, data [1-a] and data [1-b], which are outputs from application 1, both have control information [time 09:10:30.123]. On the other hand, in each piece of data, a serial number is assigned in the output order within the output destination file. For example, in the case of FIG. 3, serial number [1] is assigned to data [1-a], and serial number [2] is assigned to data [1-b]. Therefore, the file reading unit 140 described later can take out data within the same transaction having the same control information in the output order by checking the serial number.
[0028] Also, according to the above-described configuration, lock acquisition corresponding to file writing by the file writing unit 130 is performed only from the start to the end of file writing in response to the commit process. Therefore, compared with the case exemplified in FIG. 1, the time for waiting for the lock can be shortened.
[0029] For example, the processing device 100 can write data according to the flow exemplified above. In this way, although both application 1 and application 2 output data with the same key, the actual output destination files are divided into files for each distribution destination. With such a mechanism, each application executed by the processing device 100 can output files without awareness of file dispersion and without exclusivity.
[0030] The file reading unit 140 acquires the data written in a distributed manner in response to a reading instruction from an application or the like, and sequentially inputs the data to the application that is the instruction source. For example, the file reading unit 140 reads data from the files at each distribution destination. Also, the file reading unit 140 sorts the read data in ascending order of the commit time, and sorts the data with the same commit time in sequential order. Thereafter, the file reading unit 140 sequentially inputs the data to the application in order from the data with the oldest commit time according to the sorting result.
[0031] Also, as described above, the file reading unit 140 acquires the file reading start time. And when the file reading unit 140 reads data from the files at each distribution destination, it can read the data only for the data in the record whose commit time is before the acquired reading start time.
[0032] FIG. 4 shows an example of the processing at the time of data reading. Referring to FIG. 4, data is written in a distributed manner in the data file A-1 and the data file A-2 by the file reading unit 140. Under the above situation, the file reading unit 140 reads data from the files at each distribution destination. For example, in the case shown in FIG. 4, the file reading unit 140 reads the data [1-a] and the data [1-b] from the data file A-1, and reads the data [2-c] and the data [2-d] from the data file A-2. Thereafter, the file reading unit 140 sorts the read data in ascending order of the commit time, and sorts the data with the same commit time in sequential order. As a result, each of the read data is sorted in the order of the data [1-a], the data [1-b], the data [2-c], and the data [2-d]. Thereafter, the file reading unit 140 sequentially inputs the data to the application according to the sorting result.
[0033] Also, FIG. 5 shows an example of processing when performing processing according to the file reading start time. For example, in the case shown in FIG. 5, the file reading unit 140 acquires [reading start time 09:10:31.100] as the reading start time. In response to this, the file reading unit 140 reads data only for data whose commit time is before the acquired [reading start time 09:10:31.100]. For example, in the case shown in FIG. 5, when reading the data file A-1, there is no data in the data file A-1. Therefore, the file reading unit 140 does not read data from the data file A-1. Also, when reading the data file A-2, data [2-f] exists in the data file A-2. However, the commit time of the data [2-f] is [09:10:31.234], and the data [2-f] is not data whose commit time is before the [reading start time 09:10:31.100]. Therefore, the file reading unit 140 does not read data from the data file A-2 either. For example, as described above, the file reading unit 140 reads data according to the reading start time, thereby preventing data reversal due to the access timing at the time of data reading.
[0034] The above is an example of the configuration of the processing device 100. Subsequently, with reference to FIGS. 6 and 7, an example of the operation of the processing device 100 will be described. First, with reference to FIG. 6, an example of the operation of the processing device 100 at the time of data writing will be described.
[0035] FIG. 6 shows an example of the operation of the processing device 100 at the time of data writing. Referring to FIG. 6, during transaction processing, the application designates a key and outputs data (step S101). In response to this, the output temporary storage unit 120 stores the output data in the temporary storage device 150 (step S201).
[0036] The application performs a commit process as a process at the end of transaction processing (step S102). In response to this, the file writing unit 130 determines the destination file for distribution (step S202). Thereafter, the file writing unit 130 writes the data to the determined destination for distribution (step S203). At this time, the file writing unit 130 can allocate a sequential number and add control information to the data record before performing the writing.
[0037] The above is an example of the operation of the processing device 100. Note that in FIG. 6, the case where one application is running is illustrated, but in the processing device 100, a plurality of applications may be executed in parallel. Subsequently, with reference to FIG. 7, an example of the operation of the processing device 100 when reading data will be described.
[0038] FIG. 7 shows an example of the operation of the processing device 100 when reading data. Referring to FIG. 7, the file reading unit 140 acquires the start time of file reading (step S301).
[0039] The file reading unit 140 reads data from each distribution destination only for data whose commit time in the record is before the acquired start time of reading (step S302). Thereafter, the file reading unit 140 sorts the read data (step S303). For example, the file reading unit 140 sorts the read data in ascending order of the commit time and, for data with the same commit time, sorts them in ascending order of the sequential number. Thereafter, the file reading unit 140 sequentially inputs the data to the application in order from the data with the oldest commit time according to the sorting result (step S304).
[0040] The above is an example of the operation of the processing device 100 when reading data.
[0041] As described above, the processing device 100 includes an output temporary storage unit 120 and a file writing unit 130. With such a configuration, the output temporary storage unit 120 can store the output from the application executed by the application execution unit 110 in the temporary storage device 150. Further, the file writing unit 130 can write the data temporarily stored in the temporary storage device 150 to a distributed file in response to a transaction end process or the like performed by the application executed by the application execution unit 110. As a result, each application executed by the processing device 100 can output files without awareness of the files being distributed and without exclusivity. As a result, throughput can be improved while ensuring the orderliness of data output.
[0042] Further, according to the above-described configuration, even if the keys are the same and the output destinations of the data specified by the application are the same, the output destinations can be dispersed using a predefined number of divisions. As a result, data output can be performed efficiently, and throughput can be improved.
[0043] [Second Embodiment] Next, a second embodiment of the present disclosure will be described with reference to FIGS. 8 to 10. FIG. 8 is a diagram showing a hardware configuration example of the processing device 200. FIG. 9 is a block diagram showing a configuration example of the processing device 200. FIG. 10 is a flowchart showing an operation example of the processing device 200.
[0044] In the second embodiment of the present disclosure, a processing device 200, which is an information processing device capable of executing transaction processing in parallel, will be described. FIG. 8 shows a hardware configuration example of the processing device 200. Referring to FIG. 8, the processing device 200 has, as an example, the following hardware configuration. · CPU (Central Processing Unit) 201 (arithmetic unit) · ROM (Read Only Memory) 202 (storage device) ·RAM (Random Access Memory) 203 (Memory device) ·Program group 204 loaded into RAM 203 ·Memory device 205 that stores program group 204 ·Drive device 206 that reads and writes to recording medium 210 outside the information processing device ·Communication interface 207 connected to communication network 211 outside the information processing device ·Input / output interface 208 that performs data input / output ·Bus 209 that connects each component
[0045] Also, the processing device 200 can realize the functions as the temporary storage unit 221 and the writing unit 222 shown in FIG. 9 when the CPU 201 acquires the program group 204 and the CPU 201 executes it. Note that the program group 204 is stored in the storage device 205 or the ROM 202 in advance, for example, and is loaded and executed by the CP201 into the RAM 203 or the like as needed. Also, the program group 204 may be supplied to the CPU 201 via the communication network 211, or may be stored in the recording medium 210 in advance, and the drive device 206 may read the program and supply it to the CPU 201.
[0046] Note that FIG. 8 shows an example of the hardware configuration of the processing device 200. The hardware configuration of the processing device 200 is not limited to the above-described case. For example, the processing device 200 may be configured from a part of the above-described configuration, such as not having the drive device 206. Also, the CPU 201 may be a GPU or the like exemplified in the first embodiment.
[0047] The temporary storage unit 221 temporarily stores the output from the application during the transaction process in a temporary storage device. For example, the temporary storage unit 221 may store in the temporary storage device the output for which a key, which is information used to guarantee the order of data output among the outputs from the application, is specified.
[0048] The writing unit 222 writes the data stored in the temporary storage device to a file in response to the transaction end process performed by the application. Also, when performing the writing, the writing unit 222 adds the serial number according to the output order and the control information according to the time when the transaction process is terminated to the data record and then performs the writing.
[0049] The above is a configuration example of the processing device 200. Next, an operation example of the processing device 200 will be described with reference to FIG. 10.
[0050] The temporary storage unit 221 stores the output from the application during the transaction process in the temporary storage device (step S401).
[0051] The writing unit 222 writes the data stored in the temporary storage device to a file in response to the transaction end process performed by the application. Also, when performing the writing, the writing unit 222 adds the serial number according to the output order and the control information according to the time when the transaction process is terminated to the data record and then performs the writing (step S402).
[0052] The above is an operation example of the processing device 200.
[0053] As described above, the processing device 200 includes the temporary storage unit 221 and the writing unit 222. With such a configuration, the writing unit 222 can write the data stored in the temporary storage device by the temporary storage unit 221 to a file in response to the transaction end process performed by the application. Also, when performing the writing, the writing unit 222 can add the serial number according to the output order and the control information according to the time when the transaction process is terminated to the data record and then perform the writing. As a result, the application can output to the file without waiting for a lock. As a result, it is possible to improve the throughput while ensuring the orderliness of data output.
[0054] Incidentally, the above-described processing device 200 can be realized by incorporating a predetermined program into an information processing device such as the processing device 200. Specifically, a program according to another aspect of the present invention causes an information processing device such as the processing device 200 to store the output from the application during transaction processing in a temporary storage device, and in response to the transaction end processing performed by the application, write the data stored in the temporary storage device to a file. When writing, a serial number corresponding to the output order and control information corresponding to the time when the transaction processing is terminated are added to the data record and the writing is performed. This is a program for realizing the processing.
[0055] Further, a processing method executed by an information processing device such as the above-described processing device 200 stores the output from the application during transaction processing in a temporary storage device, and in response to the transaction end processing performed by the application, writes the data stored in the temporary storage device to a file. When writing, a serial number corresponding to the output order and control information corresponding to the time when the transaction processing is terminated are added to the data record and the writing is performed.
[0056] Even in the invention of the program, or the computer-readable recording medium recording the program, or the processing method having the above-described configuration, the object of the present disclosure described above can be achieved in order to achieve the same operations and effects as those of the above-described processing device 200.
[0057] <Supplementary Note> Some or all of the above embodiments can also be described as follows. Hereinafter, an outline of a processing device and the like in the present invention will be described. However, the present invention is not limited to the following configuration.
[0058] (Supplementary Note 1) A temporary storage unit that stores the output from the application during transaction processing in a temporary storage device A writing unit that writes the data stored in the temporary storage device to a file according to the transaction end process performed by the application; It has When performing the writing, the writing unit adds a serial number according to the output order and control information according to the time when the transaction process ends to the data record and then performs the writing. Processing device. (Appendix 2) The processing device according to Appendix 1, wherein When performing the writing, the writing unit adds a commit time, which is the time to start the commit process performed at the end of the transaction process, to the data record and then performs the writing. Processing device. (Appendix 3) The processing device according to Appendix 1 or Appendix 2, wherein According to the transaction end process performed by the application, the writing unit determines a destination file for each application process and writes the data to the determined destination file. Processing device. (Appendix 4) The processing device according to any one of Appendices 1 to 3, wherein The writing unit acquires a lock from the start to the end of writing the data stored in the temporary storage device. Processing device. (Appendix 5) The processing device according to Appendix 3, wherein According to the read instruction from the application, it has a reading unit that reads the data written in a distributed manner to the destination file and inputs the data to the application of the instruction source. Processing device. (Appendix 6) The processing device according to Appendix 5, wherein The reading unit sorts the read data according to the control information and inputs the data to the application of the instruction source according to the sorting result. Processing device. (Appendix 7) The processing device according to Supplementary Note 5 or Supplementary Note 6, wherein the reading unit acquires the file reading start time, and reads data that has been distributed and written to the distributed destination file according to the acquired reading start time. Processing device. (Supplementary Note 8) The processing device according to Supplementary Note 7, wherein the reading unit reads data targeting data whose time indicated by the control information is before the acquired reading start time according to the acquired reading start time. Processing device. (Supplementary Note 9) An information processing apparatus stores the output from the application during transaction processing in a temporary storage device, writes the data stored in the temporary storage device to a file according to the transaction end processing performed by the application, and when performing the writing, adds a serial number according to the output order and control information according to the time when the transaction processing is terminated to the data record and performs the writing. Processing method. (Supplementary Note 10) In an information processing apparatus, stores the output from the application during transaction processing in a temporary storage device, writes the data stored in the temporary storage device to a file according to the transaction end processing performed by the application, and when performing the writing, adds a serial number according to the output order and control information according to the time when the transaction processing is terminated to the data record and performs the writing. A program for realizing the processing.
[0059] Note that some or all of the configurations described in Appendices 2 to 8, which are subordinate to the processing device described in Appendix 1, may also be subordinate to the processing method described in Appendix 9, the program described in Appendix 10, etc. in the same subordinate relationship. Furthermore, not limited to Appendices 9 and 10, within the scope not departing from the above-described embodiments, similarly, some or all of the configurations described as appendices can be made subordinate to various hardware, software, various recording means for recording software, or systems.
[0060] Also, the programs described in the above embodiments and appendices are stored in a storage device or recorded on a computer-readable recording medium. For example, the recording medium is a portable medium such as a flexible disk, an optical disk, a magneto-optical disk, and a semiconductor memory.
[0061] As described above, the present invention has been described with reference to the above embodiments. However, the present invention is not limited to the above-described embodiments. Various changes that can be understood by those skilled in the art can be made to the configuration and details of the present invention within the scope of the present invention.
Explanation of Reference Numerals
[0062] 100 Processing device 110 Application execution unit 120 Output temporary storage unit 130 File writing unit 140 File reading unit 150 Temporary storage device 151 Process memory 160 Storage device 200 Processing device 201 CPU 202 ROM 203 RAM 204 Program group 205 Storage device 206 Drive device 207 Communication interface 208 Input / output interface 209 Bus 210 Recording medium 211 Communication network 221 Temporary storage unit 222 Writing unit
Claims
1. A temporary storage unit that stores the output from an application during transaction processing in a temporary storage device, A writing unit that writes the data stored in the temporary storage device to a file in response to a transaction end process performed by the application, having, When the writing unit performs writing, it adds a serial number corresponding to the output order and control information corresponding to the time when the transaction process ends to the data record and performs writing Processing device.
2. The processing device according to claim 1, The writing unit adds a commit time, which is the time to start a commit process performed at the end of the transaction process, to the data record as the control information and performs writing Processing device.
3. The processing device according to claim 1, The writing unit determines a distribution destination file for each application process in response to a transaction end process performed by the application, and writes the data to the determined distribution destination file Processing device.
4. The processing device according to claim 1, The writing unit acquires a lock from the start to the end of writing the data stored in the temporary storage device Processing device.
5. The processing device according to claim 3, having a reading unit that reads the data written in a distributed manner to the distribution destination file in response to a read instruction from the application and inputs the data to the application that is the instruction source Processing device.
6. The processing device according to claim 5, The reading unit sorts the read data according to the control information and inputs the data to the application that is the instruction source according to the sorting result Processing device.
7. The processing device according to claim 5, The reading unit acquires the file reading start time, and reads the data written in a distributed manner to the distribution destination file according to the acquired reading start time Processing device.
8. The processing device according to claim 7, The reading unit reads the data for which the time indicated by the control information is before the acquired reading start time according to the acquired reading start time Processing device.
9. An information processing device, stores the output from an application during transaction processing in a temporary storage device, In response to the transaction termination process performed by the application, write the data stored in the temporary storage device to a file. When performing the writing, add a serial number corresponding to the output order and control information corresponding to the time when the transaction process is terminated to the data record and perform the writing. Processing method.
10. In an information processing apparatus, Store the output from the application during the transaction process in a temporary storage device. In response to the transaction termination process performed by the application, write the data stored in the temporary storage device to a file. When performing the writing, add a serial number corresponding to the output order and control information corresponding to the time when the transaction process is terminated to the data record and perform the writing. A program for realizing the processing.
Citation Information
Patent Citations
Parallel transaction processing system for processing data distribution
JP1992360265A