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
1
vote
1 answer

How deep to go when denormalising

I denormalising a OLTP database for use in a DWH. At the moment I am denormalising studygroups. Each studygroup has a key pointing towards 1 project. Each project has a key pointing towards 1 department. Each department has a key pointing towards…
Henrov
  • 1,610
  • 1
  • 24
  • 52
1
vote
0 answers

How to generate/find TPC workloads traces

I'm trying to evaluate a particular cache design on my own simulator. I need traces of read and write operations. I found out that TPC workloads are memory stressful and I'd like to use them for my design evaluation. I was wondering if the traces…
samira
  • 399
  • 1
  • 3
  • 12
1
vote
0 answers

TSQL UPDATE Trigger on OLTP Table after change by MS Access via ADODB

I'm using an MS Access Database 2013 as frontend to connect to a MS SQL Server 2017. Dim rst As New ADODB.Recordset Dim cmd As New ADODB.Command Dim conn As New ADODB.Connection With conn .CursorLocation = adUseClient .ConnectionString…
1
vote
1 answer

What is the "Online" in Online Transaction Processing or Online Analytical Processing

On the web i can find lots of details and documents regarding OLAP and OLTP, but none of them defines what is the Online in Online Transaction/Analytical Processing
1
vote
2 answers

What's a sensible basic OLTP configuration for Postgres?

We're just starting to investigate using Postgres as the backend for our system which will be used with an OLTP-type workload: > 95% (possibly >99%) of the transactions will be inserting 1 row into 4 separate tables, or updating 1 row. Our test…
Steve Broberg
  • 4,255
  • 3
  • 28
  • 40
1
vote
2 answers

In Memory OLTP table is not visible in SQL Server 2016 Management Studio object explorer

I'm using SQL Server 2016 to learn about in-memory OLTP tables. I created a database mydatabase and then run alter commands on this to create a file group: ALTER DATABASE mydatabase ADD FILEGROUP [mydatabase_mod] CONTAINS MEMORY_OPTIMIZED_DATA;…
Learner
  • 1,277
  • 3
  • 15
  • 34
1
vote
3 answers

Highly-Distributed OLTP Architecture

Is there a known architectural solution for a highly-distributed OLTP situations where pre-conditions apply? For example, let's use a banking example. Person A wants to transfer $N to Person B. The pre-conditions for this to succeed are that Person…
Logicalmind
  • 3,436
  • 1
  • 16
  • 9
1
vote
1 answer

How to compare varchar parameters in a natively compiled stored procedure?

I am migrating some tables and stored procedures to in-memory optimized tables and natively compiled stored procedures. I'm getting stuck on string comparison. Comparison, sorting, and manipulation of character strings that do not use a *_BIN2…
ArMaN
  • 2,306
  • 4
  • 33
  • 55
1
vote
0 answers

In memory OLTP RAM requirement

I'm considering moving at least parts of a business application to memory optimized tables with SQL 2016. I'd also convert the current stored procedures into natively compiled procedures. I've read articles about in memory OLTP, but I have not…
Ashton
  • 1,265
  • 14
  • 23
1
vote
0 answers

Using SQL Server 2014 in memory table with arabic collation

I'm going to use SQL Server 2014 in memory table with a database which has Arabic_CI_AS collation but when I create in memory table is says oltp does not support this collation. Is there any way to solve this problem?
ehsandotnet
  • 1,050
  • 3
  • 16
  • 26
1
vote
1 answer

oltpbenchmark scale parameter for tpcc over mysql

What exactly does the "scale" parameter does in oltpbenchmark tool does (for tpcc when being run on mysql)? does it only increase the size of the DB? or does it do something else? (http://oltpbenchmark.com) Thanks
evenro
  • 2,626
  • 20
  • 35
1
vote
1 answer

Transforming Relational Database (OLTP) to Data Warehousing Model

This my first project around BI, i will create a Data Warehouse, based on existing relational database. I have a data base with 6 tables with many relations(One-To-Many) I would like to give you an idea about the existing schema of the relational…
archavin
  • 313
  • 2
  • 5
  • 12
1
vote
1 answer

Concurrent Reads from Highly Transactional Table

Currently, I have a highly transactional database with appx 100,000 inserts daily. Do I need to be concerned if I start allowing a large number of concurrent reads from my main transaction table? I am not concerned about concurrency, so much as…
unforgiven1987
  • 454
  • 1
  • 3
  • 18
1
vote
2 answers

Portable OLAP Database similar to SQLite or SQL CE

I am developing an application with C# and trying to choose the right database platform. My application is a some sort of data analysis tool. I will always make SELECT queries after the initial import of data into the database. I am planning to use…
noway
  • 2,585
  • 7
  • 41
  • 61
0
votes
1 answer

ASP.NET OLTP App - creating new version of records

My question is same as this question - but a little to add on to it. My problem is that the users of my web app are allowed to create new versions of a record. Every new version of a record results in creating corresponding "new versions" in 50…
Lalman
  • 946
  • 2
  • 11
  • 27