What is a transactional data system?

Rather than being the object of transactions like the product being purchased or the identity of the customer, it is more of a reference data describing the time, place, prices, payment methods, discount values, and quantities related to that particular transaction, usually at the point of sale.

Advertisement

Techopedia Explains Transactional Data

Transactional data describes an internal or external event which takes place as the organization conducts business and can be financial, logistical or any business-related process involving activities such as purchases, requests, insurance claims, deposits, withdraws, etc.

Transactional data support ongoing business operations and are included in the information and application systems that are used to automate an organization’s key business processes such as online transaction processing (OLTP) systems.

It is grouped with its associated and references master data such as product information and billing sources.

Transactional data, in the context of data management, is the information recorded from transactions. 

A transaction, in this context, is a sequence of information exchange and related work (such as database updating) that is treated as a unit for the purposes of satisfying a request. Transactional data can be financial, logistical or work-related, involving everything from a purchase order to shipping status to employee hours worked to insurance costs and claims.

As a part of transactional records, transactional data is grouped with associated master data and reference data. Transactional data records a time and relevant reference data needed for a particular transaction record. 

 

This was last updated in July 2013

Continue Reading About transactional data

  • Definitions of data categories

Related Terms

data meshData mesh is a decentralized data management architecture for analytics and data science. See complete definitiondata source name (DSN)A data source name (DSN) is a data structure containing information about a specific database to which an Open Database ... See complete definitionWhat is data management and why is it important?Data management is the process of ingesting, storing, organizing and maintaining the data created and collected by an ... See complete definition

Word of the Day

adversarial ML

Adversarial machine learning is a technique used in machine learning to fool or misguide a model with malicious input.

Single document operations have always been atomic in MongoDB. MongoDB added support for multi-document ACID transactions in version 4.0, and MongoDB expanded that support to include distributed transactions in version 4.2.

You can implement a transaction in a variety of programming languages using any of MongoDB's official drivers. See the MongoDB Drivers documentation for more information on how to implement transactions in a specific programming language.

Transaction example code

Let's continue with the online book store example from the previous section. Below is a code snippet that updates the inventory and records the order when a user purchases a book. The database operations happen inside of a transaction.

await session.withTransaction(async () => {
           // Update the inventory to reflect the book has been sold
           const updateInventoryResults = await inventoryCollection.updateOne(
               { _id: bookId },
               { $inc: { numberInStock: quantity * -1 } },
               { session });
           if (updateInventoryResults.modifiedCount !== 1) {
               await session.abortTransaction();
               return;
           }
 
           // Record the order in the orders collection
           const insertOrderResults = await ordersCollection.insertOne(
               { "userId": userId , bookId: bookId, quantity: quantity, status: status },
               { session });
       }, transactionOptions);

Code snippet that shows how to implement a MongoDB transaction in Node.js.

The first line of the code snippet calls session.withTransaction(). withTransaction() starts the transaction, executes the callback function, and commits or aborts the transactions appropriately.

The callback function includes the database operations that are part of the transaction. In this case, the transaction includes operations to update the book's inventory and record the order in the orders collection.

To view the full Node.js script and try the code yourself, visit the Quick Start: Node.js and MongoDB GitHub Repo.

What type of data is transactional?

Transactional data describe an internal or external event or transaction that takes place as an organization conducts its business. Examples include sales orders, invoices, purchase orders, shipping documents, pass- port applications, credit card payments, and insurance claims.

What is transactional and non transactional data?

Transactional table means, if data manipulation done with in transaction then rollback / commit will work. For Non Transactional table, You need to rollback the changes with manual code. No Impact of rollBack and commit. These tables are useful for performing the statements with high performance.

Which is a transactional data in SAP system?

Master records contain information regarding a business partner or material. Settings made on the master record drive how transactions are processed in SAP. Transactional data is data created from processing business transactions in the system.

What are the characteristics of a transactional database?

A database transaction's essential features are atomic, coherent, isolated, and durable, or ACID for abbreviation.