dbTalk Databases Forums  

Database design question

comp.databases.mysql comp.databases.mysql


Discuss Database design question in the comp.databases.mysql forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Joseph Hesse
 
Posts: n/a

Default Database design question - 06-29-2011 , 11:42 AM






The tables in my DB, from a design point of view, fall into 3
categories. They are the real data, session information and a bunch of
excel spreadsheets converted to MySQL tables.

Currently everything is in one MySQL DB. It occurred to me to create 3
separate databases for each of these categories even though it is one
application. I have never seen this done before and am wondering if
there is a downside to doing this?

Thank you,
Joe

Reply With Quote
  #2  
Old   
Erick T. Barkhuis
 
Posts: n/a

Default Re: Database design question - 06-29-2011 , 12:37 PM






Joseph Hesse:

Quote:
The tables in my DB, from a design point of view, fall into 3
categories. They are the real data, session information and a bunch
of excel spreadsheets converted to MySQL tables.

Currently everything is in one MySQL DB. It occurred to me to create
3 separate databases for each of these categories even though it is
one application.
Sounds like a great solution, Joe.
But....which problem does it solve?

Reply With Quote
  #3  
Old   
Joseph Hesse
 
Posts: n/a

Default Re: Database design question - 06-29-2011 , 01:10 PM



On 06/29/2011 12:37 PM, Erick T. Barkhuis wrote:
Quote:
Joseph Hesse:

The tables in my DB, from a design point of view, fall into 3
categories. They are the real data, session information and a bunch
of excel spreadsheets converted to MySQL tables.

Currently everything is in one MySQL DB. It occurred to me to create
3 separate databases for each of these categories even though it is
one application.

Sounds like a great solution, Joe.
But....which problem does it solve?

It is mainly for organizing the data. It also solves the problem of
backups. The only thing of importance is the real data tables. The
session information is temporal. The excel spreadsheets are used to
update the real data and then are no longer used.

Reply With Quote
  #4  
Old   
Tim Watts
 
Posts: n/a

Default Re: Database design question - 06-29-2011 , 01:25 PM



Joseph Hesse wrote:

Quote:
On 06/29/2011 12:37 PM, Erick T. Barkhuis wrote:
Joseph Hesse:

The tables in my DB, from a design point of view, fall into 3
categories. They are the real data, session information and a bunch
of excel spreadsheets converted to MySQL tables.

Currently everything is in one MySQL DB. It occurred to me to create
3 separate databases for each of these categories even though it is
one application.

Sounds like a great solution, Joe.
But....which problem does it solve?


It is mainly for organizing the data. It also solves the problem of
backups. The only thing of importance is the real data tables. The
session information is temporal. The excel spreadsheets are used to
update the real data and then are no longer used.
That's fair reasoning. But... are the volumes of data in the session and
temp tables particularly large? Also, presumably, after the excel data is
uploaded and processed, you could drop the rows so that backup size will be
trivial...

Also, backing up all tables at least ensures you do have a schema backup at
all times. It would be easy to make schema changes to the session tables (et
al) and forget to take a dump.

Cheers,
Tim

--
Tim Watts

Reply With Quote
  #5  
Old   
The Natural Philosopher
 
Posts: n/a

Default Re: Database design question - 06-29-2011 , 07:32 PM



Joseph Hesse wrote:
Quote:
The tables in my DB, from a design point of view, fall into 3
categories. They are the real data, session information and a bunch of
excel spreadsheets converted to MySQL tables.

Currently everything is in one MySQL DB. It occurred to me to create 3
separate databases for each of these categories even though it is one
application. I have never seen this done before and am wondering if
there is a downside to doing this?

Thank you,
Joe
yes. Why separate data that belongs to one and only one app.

Reply With Quote
  #6  
Old   
Thomas 'PointedEars' Lahn
 
Posts: n/a

Default Re: Database design question - 06-29-2011 , 07:45 PM



Joseph Hesse wrote:

Quote:
The tables in my DB, from a design point of view, fall into 3
categories. They are the real data, session information and a bunch of
excel spreadsheets converted to MySQL tables.

Currently everything is in one MySQL DB. It occurred to me to create 3
separate databases for each of these categories even though it is one
application. I have never seen this done before and am wondering if
there is a downside to doing this?
Yes.

<http://www.catb.org/~esr/faqs/smart-questions.html>

--
PointedEars

Bitte keine Kopien per E-Mail. / Please do not Cc: me.

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.