Questions tagged [oltp]

Online or Operational transaction processing (OLTP) refers to a class of systems or processes that manage database or commercial transactions. OLTP workloads are characterized by small, interactive transactions that generally require sub-second response times.

Online transaction processing (OLTP), is a class of information systems that facilitate and manage transaction-oriented applications, typically for data entry and retrieval transaction processing. The OLTP workloads are characterized by small, interactive transactions that generally require sub-second response times. It is very common for such systems to have high concurrent requirements with a read/write ratio ranging from 60/40 to as low as 98/2.

Modifications are predominantly singleton statements, and most queries are constrained to simple joins. The joins are limited to as few tables as possible. Standard practices call for indexing strategies, targeting an increase in concurrency versus query support. However more indexes can be created than is desired to reach acceptable query performance. The lower the proportion of write operations, the higher the level of indexing that can be tolerated. Database plan usually start with Third normal form (3NF) enforced with referential integrity (RI) constraints and the selectively deviate to Second normal form (2NF) when necessary to boost performance.

The term OLTP is somewhat ambiguous; some understand a "transaction" in the context of computer or database transactions, while others (such as the Transaction Processing Performance Council) define it in terms of business or commercial transactions. The "O" in the acronym can also stand for Operational.

OLTP has also been used to refer to processing in which the system responds immediately to user requests. An automatic teller machine (ATM) for a bank is an example of a commercial transaction processing application.

References:

74 questions
365
votes
4 answers

What are OLTP and OLAP. What is the difference between them?

Actually what do they mean? All articles I find about them don't give me an idea, or my knowledge is too insufficient to understand it. Will some one give me some resources with which I can learn this from scratch.
Amarnath R Shenoy
  • 5,121
  • 8
  • 24
  • 32
22
votes
2 answers

What is database throughput?

Well, not much to ask apart from the question. What do you mean when you say a OLTP DB must have a high throughput. Going to the wiki. "In communication networks, such as Ethernet or packet radio, throughput or network throughput is the…
Ricko M
  • 1,784
  • 5
  • 24
  • 44
16
votes
9 answers

Which NoSQL DB is best fitted for OLTP financial systems?

We're designing an OLTP financial system. it should be able to support 10.000 transactions per second and have reporting features. So we have come to the idea of using: a NoSQL DB as our main storage a MySQL DB (Percona server actually) making some…
SDReyes
  • 9,798
  • 16
  • 53
  • 92
12
votes
2 answers

Is a star schema a denormalized schema?

An OLAP database consists of data in denormalized form. This means data redundancy and this data redundancy helps retrieve data through less number of joins, hence facilitating faster retrieval. But a popular design for OLAP database is…
Victor
  • 16,609
  • 71
  • 229
  • 409
9
votes
2 answers

Cannot Find oltp test on sysbench

I'm trying to run benchmark on mySQL database using sysbench. However, it says it cannot find built-in test oltp. Detail: I've installed mySQL, and sysbench on my local machine. Also, I've created database dbtest inside the mySQL. And then I…
Kyungsu Stanley Kim
  • 195
  • 1
  • 1
  • 10
7
votes
1 answer

Does CQRS With OLTP and OLAP Databases Make Sense?

I have several OLTP databases with API's talking to them. I also have ETL jobs pushing data to an OLAP database every few hours. I've been tasked with building a custom dashboard showing hight level data from the OLAP database. I want to build…
Muhammad Rehan Saeed
  • 35,627
  • 39
  • 202
  • 311
5
votes
4 answers

High performance approach to greatest-n-per-group SQL query

I'm attempting to build an infrastructure for quickly running regressions on demand, pulling apache requests from a database that contains all historic activity on our webservers. To improve coverage by making sure that we still regress requests…
Trevor
  • 75
  • 1
  • 7
5
votes
5 answers

Transforming OLTP Relational Database to Data Warehousing Model

What are the common design approaches taken in loading data from a typical Entity-Relationship OLTP database model into a Kimball star schema Data Warehouse/Marts model? Do you use a staging area to perform the transformation and then load into the…
Russ Cam
  • 124,184
  • 33
  • 204
  • 266
5
votes
15 answers

GUIDs as Primary Keys - Offline OLTP

We are working on designing an application that is typically OLTP (think: purchasing system). However, this one in particular has the need that some users will be offline, so they need to be able to download the DB to their machine, work on it, and…
Daniel Magliola
  • 30,898
  • 61
  • 164
  • 243
5
votes
2 answers

How are OLAP, OLTP, data warehouses, analytics, analysis and data mining related?

I'm trying to understand what OLAP, OLTP, data mining, analytics etc. are about, and I feel like my understanding about some of these concepts is still a bit vague. Information about these subjects tend to be explained in a very complex manner on…
user1534664
  • 3,258
  • 8
  • 40
  • 66
5
votes
3 answers

Why we use Dimensional Model over Denormalized relational Model?

I am confused in some questions. I need their answers. If our relational model is also De-normalize then why we prefer dimensional model ? What is the reason we prefer dimensional model over relational model ? Your historical data can also stored in…
4
votes
3 answers

Choosing a strategy for BI module

The company I work for produces a content management system (CMS) with different various add-ons for publishing, e-commerce, online printing, etc. We are now in process of adding "reporting module" and I need to investigate which strategy should be…
mindas
  • 26,463
  • 15
  • 97
  • 154
4
votes
2 answers

How do I create a realtime copy of my SQL Server 2005 database?

I have a web app that is used on multiple continents. The underlying transaction DB is locking up when large reports are run. I want to: make a realtime of the SQL Server 2005 database to a reports DB direct all reporting to the reports DB In…
Tarzan
  • 4,270
  • 8
  • 50
  • 70
4
votes
2 answers

Is mongo db suited for OLTP or Data warehouse operations ?

Is mongo db suited for OLTP or DW operations? What is the response time and effiency of mongodb in OLTP operations? Is it secure to use mongodb as a backend of a web application? In mongodb itself we can do map reduce operation. Then what is the…
Nithin
  • 9,661
  • 14
  • 44
  • 67
3
votes
0 answers

creating SQL memory table visual studio

I'm trying to setup an SQL database project (using Visual Studio 2017). I want this to create a dacpac that could be run on either SQL Server or Azure SQL, would create a database from scratch with a single publishing. However, I'm running into…
1
2 3 4 5