Click here to Skip to main content
15,896,154 members
Home / Discussions / Database
   

Database

 
AnswerRe: Database Planning Pin
Eddy Vluggen11-Apr-14 9:09
professionalEddy Vluggen11-Apr-14 9:09 
SuggestionRe: Database Planning Pin
Kornfeld Eliyahu Peter10-Apr-14 7:45
professionalKornfeld Eliyahu Peter10-Apr-14 7:45 
AnswerRe: Database Planning Pin
Mycroft Holmes10-Apr-14 13:05
professionalMycroft Holmes10-Apr-14 13:05 
QuestionMySQL Create every Sun for date = xx Pin
Jassim Rahma9-Apr-14 1:46
Jassim Rahma9-Apr-14 1:46 
AnswerRe: MySQL Create every Sun for date = xx Pin
Eddy Vluggen9-Apr-14 3:00
professionalEddy Vluggen9-Apr-14 3:00 
GeneralRe: MySQL Create every Sun for date = xx Pin
Jassim Rahma10-Apr-14 1:09
Jassim Rahma10-Apr-14 1:09 
AnswerRe: MySQL Create every Sun for date = xx Pin
Mycroft Holmes9-Apr-14 13:01
professionalMycroft Holmes9-Apr-14 13:01 
Questioncan I trust Triggers? Pin
Jassim Rahma9-Apr-14 1:04
Jassim Rahma9-Apr-14 1:04 
AnswerRe: can I trust Triggers? Pin
thatraja9-Apr-14 2:16
professionalthatraja9-Apr-14 2:16 
GeneralRe: can I trust Triggers? Pin
Bernhard Hiller9-Apr-14 22:23
Bernhard Hiller9-Apr-14 22:23 
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 

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.