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
3
votes
1 answer

Graph OLAP processing - Giraph vs. Tinkerpop3 GraphComputer

My use case is a graph of several hundreds of millions of vertices (say 100M to 1B). Each vertex has a set of 10 properties which are basically scores that are computed based on the weights of the vertex's edges and the scores of the adjacent…
Fabien Coppens
  • 273
  • 4
  • 12
3
votes
1 answer

Amazon RedShift - How to query OLAP way

I'm coping MySQL databases to Red-Shift with the help of an ETL tool called Matillion, and I'm using the same tool to query the database. Most of the queries I've written are basic select queries with lots of joins, unions and sub-queries. Since…
CLOUGH
  • 691
  • 11
  • 16
3
votes
0 answers

Readpast lock in memory optimized table in SQL Server 2014?

I have a big problem in working with table in memory in SQL Server 2014. I know that there is no readpast lock in SQL Server. but in some scenarios it can cause decrease in performance. Suppose that there are 20 records in one table. Each record has…
2
votes
1 answer

Using non memory optimised tables in Natively Compiled Stored Procedure without custom table types

I am trying to rewrite a stored procedure to Natively compiled stored procedure. The procedure refers to 20 tables, these tables are normal tables (non memory optimised) and I am using 5 views related to it. Is it possible to create a Natively…
Rohith
  • 769
  • 7
  • 15
2
votes
2 answers

Normalization in OLAP and OLTP

Despite going through books and articles, I am not able to find a concrete answer for the below. What should be the minimum and maximum degree of normalization for OLAP and OLTP? I presume, the minimum for OLTP is 3rd Normal form and the maximum for…
Srini V
  • 11,045
  • 14
  • 66
  • 89
2
votes
1 answer

SSD performance benefit in OLTP vs OLAP

In which system is SSD disk better over HDD as far as performance is concerned ? An OLTP or an OLAP system ? My guess is that in OLTP an SSD disk is more valuable, because transactions are constantly occurring and we need the non-sequential…
dimitris93
  • 4,155
  • 11
  • 50
  • 86
2
votes
5 answers

SQL Server Query Execution flow

I am looking for information about how SQL Server actually handles query execution in finer details (like what data is kept in buffer/memory and how does it decide to get fresh data even if there is an update change in only one column of a table…
krprasad
  • 359
  • 1
  • 4
  • 17
2
votes
1 answer

Join query on OLAP and operations data

I manage in my database a list of tools with this schema: [id] int PRIMARY [name] varchar Every few seconds each tool emits a measurement. I will save it in an OLAP store with this schema: [toolID] int [time] timestamp [measurement] int (We have…
Yaron Naveh
  • 23,560
  • 32
  • 103
  • 158
2
votes
4 answers

Using Microstrategy on Highly Normalized SQL Server database

I am interested in comments and insights relating to using Microstrategy to report against a complex snowflake SQL Server database comprising of several transactional, normalized (3NF) tables. Specifically, what is the best approach or the…
dmedz
  • 191
  • 3
  • 5
  • 14
1
vote
1 answer

OLAP vs OLTP - Fundamental difference

What is a primary difference between a OLTP vs OLAP? I have read and understood OLAP is for analytics workloads and OLTP for transactions workload which is the purpose. Why cant a OLTP DB be used for OLAP as well? I see that OLAP is mostly column…
Raghav
  • 31
  • 4
1
vote
1 answer

How to send authenticated traces to tempo cloud using OLTP exporter python?

Im trying to use the OTLPSpanExporter (either the http or grpc) version to send traces to tempo cloud but i wasn't able to find any documentation on how to add the authentication. I tried something like this but i get constants error saying that…
Marco
  • 1,112
  • 1
  • 14
  • 34
1
vote
1 answer

Make OLAP with Hadoop Hive from OLTP Mysql

I bit confuse with Hadoop hive which i read from Wiki used for make OLAP. Now i want to make OLAP on Hive from OLTP database which use Mysql. How i can solve this? can i use Kettle for make OLAP in Hive? any guidance how to make OLAP on Hive from…
troya_adromeda
  • 647
  • 4
  • 15
  • 33
1
vote
1 answer

OLAP architecture?

I'm learning the architecture and design of datawarehouses and have a question on OLAP systems. So as I understand, historically (when computing power and memory weren't a commodity), data would be sourced and stored in a datawarehouse. And for each…
chicagobeast12
  • 643
  • 1
  • 5
  • 20
1
vote
1 answer

Data warehouse - OLAP vs OLTP vs Dimentional model vs Relational model

I kind of know the difference between OLAP and OLTP, and the difference between Dimentional data model vs Relational data model. But how are these 4 terms related with each other? Is OLAP usually "applied" with dimentaional data model design? I'm…
user12562215
  • 115
  • 2
  • 11
1
vote
1 answer

Google Cloud Architecture: Can a data lake be used for OLTP?

I want to design a large scale web application in the Google cloud and I need a OLAP system that creates ML models which I plan to design by sending all data through Pub/Sub into a BigTable data lake. The models are created by dataproc…
simsi
  • 533
  • 3
  • 16