Click here to Skip to main content
15,885,278 members
Home / Discussions / Database
   

Database

 
GeneralRe: can I trust Triggers? Pin
thatraja10-Apr-14 21:06
professionalthatraja10-Apr-14 21:06 
QuestionRe: can I trust Triggers? Pin
Eddy Vluggen9-Apr-14 3:00
professionalEddy Vluggen9-Apr-14 3:00 
AnswerRe: can I trust Triggers? Pin
jschell10-Apr-14 8:53
jschell10-Apr-14 8:53 
GeneralRe: can I trust Triggers? Pin
Jassim Rahma12-Apr-14 1:36
Jassim Rahma12-Apr-14 1:36 
QuestionTrigger on select Pin
Jassim Rahma9-Apr-14 1:00
Jassim Rahma9-Apr-14 1:00 
AnswerRe: Trigger on select Pin
thatraja9-Apr-14 2:13
professionalthatraja9-Apr-14 2:13 
AnswerRe: Trigger on select Pin
Eddy Vluggen9-Apr-14 3:00
professionalEddy Vluggen9-Apr-14 3:00 
QuestionMongoDB to Cache MariaDB? Pin
Marco Bertschi8-Apr-14 20:34
protectorMarco Bertschi8-Apr-14 20:34 
Dear all,

I'm currently trying to make a DB system scratch which I can use as backbone for my Qt application. Since I will store big amounts of data [photo RAW data] in there, I figured that a classic relational DB might not be the best solution. What I'm planning is now a classic relational DB [MariaDB] as persistent storage, cached by a No-SQL Database [MongoDB].

In the end the whole system shall be built up like this.

Here's a little additional explanation:

Persistent Storage Access

The Persistent Storage Access handles the access to the persistent MariaDB database which holds all the application data. It supplies the data used to build the Cache and if there are Update or Creation Queries, but also for Get Queries if the cache can't supply the requested item.

Cache Access

The Cache Access handles the access to the MongoDB database which is used to cache the access to the Persistent Storage. It contains a copy of the most recently added, updated or requested items.

Data Access API

The Data Access API coordinates access between Cache and Persistent Storage. If an item requested can't be found in the cache, the DAA gets it from the Persistent Storage and also adds it to the Cache. If an item is added, the DAA saves it into the Persistent Storage and also adds it to the cache. All this coordination is needed to take out complexity from other parts, e.g. the business classes.


I I'm in doubt whether the MongoDB will really give me any performance boosts, so if anyone could share their thoughts on what I plan here?
I will never again mention that Dalek Dave was the poster of the One Millionth Lounge Post, nor that it was complete drivel.

How to ask a question

AnswerRe: MongoDB to Cache MariaDB? Pin
Jörgen Andersson8-Apr-14 22:27
professionalJörgen Andersson8-Apr-14 22:27 
GeneralRe: MongoDB to Cache MariaDB? Pin
Marco Bertschi8-Apr-14 22:48
protectorMarco Bertschi8-Apr-14 22:48 
GeneralRe: MongoDB to Cache MariaDB? Pin
Jörgen Andersson8-Apr-14 23:06
professionalJörgen Andersson8-Apr-14 23:06 
GeneralRe: MongoDB to Cache MariaDB? Pin
Marco Bertschi9-Apr-14 2:01
protectorMarco Bertschi9-Apr-14 2:01 
GeneralRe: MongoDB to Cache MariaDB? Pin
Eddy Vluggen9-Apr-14 0:32
professionalEddy Vluggen9-Apr-14 0:32 
GeneralRe: MongoDB to Cache MariaDB? Pin
Marco Bertschi9-Apr-14 1:59
protectorMarco Bertschi9-Apr-14 1:59 
GeneralRe: MongoDB to Cache MariaDB? Pin
Eddy Vluggen9-Apr-14 3:00
professionalEddy Vluggen9-Apr-14 3:00 
GeneralRe: MongoDB to Cache MariaDB? Pin
Marco Bertschi9-Apr-14 3:25
protectorMarco Bertschi9-Apr-14 3:25 
GeneralRe: MongoDB to Cache MariaDB? Pin
Jörgen Andersson9-Apr-14 5:03
professionalJörgen Andersson9-Apr-14 5:03 
GeneralRe: MongoDB to Cache MariaDB? Pin
Marco Bertschi9-Apr-14 6:25
protectorMarco Bertschi9-Apr-14 6:25 
GeneralRe: MongoDB to Cache MariaDB? Pin
Jörgen Andersson9-Apr-14 6:48
professionalJörgen Andersson9-Apr-14 6:48 
GeneralRe: MongoDB to Cache MariaDB? Pin
Marco Bertschi9-Apr-14 7:55
protectorMarco Bertschi9-Apr-14 7:55 
GeneralRe: MongoDB to Cache MariaDB? Pin
Jörgen Andersson9-Apr-14 8:09
professionalJörgen Andersson9-Apr-14 8:09 
GeneralRe: MongoDB to Cache MariaDB? Pin
jschell10-Apr-14 9:05
jschell10-Apr-14 9:05 
SuggestionRe: MongoDB to Cache MariaDB? Pin
Eddy Vluggen9-Apr-14 6:52
professionalEddy Vluggen9-Apr-14 6:52 
AnswerRe: MongoDB to Cache MariaDB? Pin
jschell10-Apr-14 8:57
jschell10-Apr-14 8:57 
GeneralRe: MongoDB to Cache MariaDB? Pin
Marco Bertschi10-Apr-14 9:40
protectorMarco Bertschi10-Apr-14 9:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.