Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Gallery
Forum
Login
Register
Donations
Please Support Us!
Please help keep (=WDG=) alive
ShoutBox!
Last 100 Shouts:
Berath
January 16, 2025, 08:56:20 PM
Happy New Year!
mandl
January 27, 2024, 05:26:45 PM
Happy new year WDG
Berath
December 10, 2023, 05:52:39 PM
Hello Power!
Power
November 24, 2023, 09:51:34 PM
Helloes! I'm here for my annual password change! How is everyone doing?
Berath
August 03, 2023, 08:42:51 PM
WDG are going to i71. All welcome. Message for more information or ask on discord
Berath
July 27, 2023, 07:35:21 PM
The WDG discord channel is up and running. Send me a message or post for details
Berath
December 08, 2022, 04:05:12 PM
Odd. Should do. Send Mode a messsage here. He should be able to pick it up and send you an invite
sarcasmrules
December 07, 2022, 11:26:55 PM
@berath link doesn?t work
Berath
August 08, 2022, 09:32:46 PM
Who Dares Grins unites again here!
https://discord.com/channels/764441873166762026/764442075768684544
Berath
December 23, 2020, 12:34:53 PM
Spammers be gone!
Berath
September 28, 2020, 11:18:57 PM
Nice!
Zerocool09
September 28, 2020, 09:55:06 PM
I’m in 🙌
Berath
September 28, 2020, 02:59:45 PM
Yay!!!!!! Wix is in da house
Xena Warr.Godds
September 28, 2020, 02:55:44 PM
Hey Berath !! I made it !
Berath
September 25, 2020, 05:13:56 PM
Wix - we may have some new friends playing a new game finding their way here soon.....
Berath
July 01, 2020, 11:05:23 PM
Hello Terror. People still drop by here now and again
terror
June 29, 2020, 02:02:45 PM
Hi guys. I hope you are all well and keeping sane and safe during these trying times (and all that).
Just FYI that mode was looking for ways to get back in touch via reddit (r/WDG).
Berath
February 24, 2020, 09:26:46 AM
Zombie TF2? Do we need to dress up?
Power
February 19, 2020, 01:03:56 AM
I'd play zombie TF2
MrWoooMaker
February 19, 2020, 12:52:19 AM
Any appetite for a TF2 revival?
MrWoooMaker
February 19, 2020, 12:52:01 AM
Awesome
dohjan
February 19, 2020, 12:48:30 AM
Yes this thing is still on
Power
February 19, 2020, 12:47:16 AM
Hello! Is this thing still on?
Berath
December 26, 2019, 12:43:10 AM
Merry Christmas!!!
Berath
August 13, 2019, 07:35:11 PM
Sweeping and clearing out the cobwebs, keeping everything spruce
https://gph.is/2oImD0j
mandl
March 08, 2019, 11:38:14 AM
Cheers Stu / Berath was going to happen one day
Berath
March 06, 2019, 11:08:46 PM
It's officially 'not secure' according to Chrome now
Berath
March 06, 2019, 11:07:11 PM
Damn. 1&1 have upgraded their something or other but seem to have allowed for ancient forums like this to keep on
DoomWolf
March 05, 2019, 03:37:50 PM
NuB site is no more due to a forced PHP v7 upgrade on the web host that breaks SMF/TinyPortal.
Berath
January 31, 2019, 09:50:48 AM
mandl
January 22, 2019, 11:22:09 PM
nub site down
bye bye
aquila
January 01, 2019, 11:43:02 AM
Happy new year.
Who Dares... Grins!!
Karthus
December 30, 2018, 08:04:52 PM
no
mandl
December 29, 2018, 12:05:55 PM
MEssaage me
for a free steam key for faeria
mandl
December 25, 2018, 02:35:39 PM
merry xmas wdg
Berath
December 23, 2018, 11:34:33 AM
Hello Milli!
Millicent Bystander
December 21, 2018, 10:55:25 PM
Hello WDG!
Berath
December 13, 2018, 10:51:13 PM
I still pop by to give the old place a dusting and clear out
Burnalot
November 09, 2018, 03:36:17 PM
The shoutbox has actually had shouts in it recently? Impossible.
Karthus
November 08, 2018, 07:45:58 PM
:dohjan: :newkid:
Berath
November 06, 2018, 07:11:48 PM
Enjoy!
dohjan
November 05, 2018, 11:49:05 PM
Just poking about
Berath
June 02, 2018, 12:56:39 PM
Goodness me, so it does!
mandl
May 22, 2018, 03:38:35 PM
this site needs a shout in 2018
Berath
November 16, 2017, 08:08:43 PM
Spam removed. Thank you muchly Hulinut
Berath
October 15, 2017, 06:02:47 PM
Yay, been fixed!
Berath
October 14, 2017, 07:08:12 PM
I'm trying to get the mumble server up again
mandl
October 11, 2017, 06:23:26 PM
Orange Box 10 years old wow
Berath
June 18, 2017, 09:46:41 PM
Fluffy!
Teh Fluff
June 14, 2017, 03:14:35 PM
:p
Berath
May 30, 2017, 10:14:48 PM
Hmph. Spammers!
DeadlyAvenger
April 19, 2017, 08:20:44 PM
Also - hai!
DeadlyAvenger
April 19, 2017, 08:20:38 PM
Just in case no-one saw it - I posted about i61 over on the wdg-reddit!
Berath
April 17, 2017, 02:18:03 PM
Cleaning can be fun!
https://www.youtube.com/watch?v=jgSklu2yLDs
TNG
April 16, 2017, 12:28:45 PM
Don't mind me, just helping Berath clean up the dust
Berath
April 04, 2017, 09:46:13 PM
Mumble server down: I've submitted a ticket
Berath
March 13, 2017, 01:20:32 AM
It is. Sleeping
mandl
March 11, 2017, 06:24:54 PM
so quiet
Berath
December 06, 2016, 03:10:39 PM
Every day or so I drop by to empty out the logs, dust down the furniture and shake out the curtains
zaHz
November 04, 2016, 05:15:57 PM
How's tricks WDG?
Berath
November 02, 2016, 10:36:32 PM
Yay CruelCow!!
CruelCow
November 01, 2016, 08:17:40 PM
Yeah, I still check here regularly
Berath
November 01, 2016, 06:16:46 PM
Forum is back up after I did some tinkering. Did anyone notice it was down?!?
Berath
September 03, 2016, 05:48:48 PM
Thanks for offering but platformers = frustration for me. All that jumping about and getting impaled
TNG
September 03, 2016, 10:54:37 AM
Does anyone want a 75%off coupon for Feist?
Torgue
July 09, 2016, 02:56:39 PM
I knew you were behind them!
Leftism
July 08, 2016, 11:40:05 AM
What the fucking hell is all this shit?
You'll be blaming me for shit Tf2 updates next!
Berath
July 06, 2016, 11:35:09 PM
Therefore, Lefty is indeed responsible
Berath
July 06, 2016, 10:56:20 PM
Wales voted Leave
CruelCow
June 25, 2016, 05:30:56 PM
Well he *is* called Leftism
Yer man oer yonder
June 24, 2016, 07:36:47 PM
I'm going to completely unjustifiably hold Lefty to blame for the Brexit.
That is all.
r007
June 05, 2016, 01:56:52 PM
Woop woop i58 ticket bought!
Torgue
June 02, 2016, 12:01:09 AM
https://www.gog.com/news/introducing_gog_connect
Berath
May 13, 2016, 06:08:28 PM
I want that game
Karthus
May 07, 2016, 10:20:36 PM
its not optimized well just like the ps4 version
Brahms
May 07, 2016, 09:01:50 PM
why does everyone's gone rapture run like doggegg on my pc
Berath
April 13, 2016, 05:18:58 PM
Just to really bang it home. WDG sub-reddit here:
https://www.reddit.com/r/WDG/
Berath
April 06, 2016, 10:06:39 AM
Thank you
Uzz919
April 04, 2016, 04:24:56 PM
Just send you one.
Berath
April 04, 2016, 10:48:17 AM
If there are any still going, I'll have one
mandl
April 02, 2016, 11:47:32 AM
i have beta passes if anyone wants them as well
Uzz919
March 23, 2016, 12:18:40 PM
If anybody wants a tf2 competetive beta pass, i have a spare.
Berath
March 18, 2016, 12:18:46 PM
It's too expensive
DeadlyAvenger
March 15, 2016, 03:24:04 PM
Will you all go buy The Division now so I have someone to play with?
Karthus
March 11, 2016, 08:32:56 PM
FIREWATCH
Brahms
March 11, 2016, 07:56:09 PM
https://www.youtube.com/watch?v=h2dv4DWLN4o
this guy has some gr8 vidz
Brahms
March 11, 2016, 07:56:08 PM
https://www.youtube.com/watch?v=h2dv4DWLN4o
this guy has some gr8 vidz
Brahms
March 02, 2016, 06:02:38 PM
some of the stealth sections are a bit of a drag, but they're not as bad as the VIP escort missions in THE VITNESS
Torgue
March 02, 2016, 12:06:23 PM
Easy with the spoilers, guys! I'm still on the blunderbuss part.
Karthus
March 01, 2016, 09:17:32 PM
Can't believe Henry managed to use his NAVY Seal experience to defuse the bomb that was strapped to the bear in the end
Brahms
March 01, 2016, 03:38:29 PM
I just unlocked the rifle scope in firewatch, makes it much easier to pick off bears before they get into melee range
Karthus
March 01, 2016, 12:34:14 PM
FIREWATCH
Brahms
March 01, 2016, 12:13:37 PM
I can't believe GAMERS don't like the witness. It's the MOST GAMER game EVER.
Karthus
February 29, 2016, 12:08:32 PM
Its overrated. Now FIREWATCH on the other side...
Brahms
February 29, 2016, 11:21:43 AM
I got the basic ending in the witness and it was B A D
Brahms
February 22, 2016, 10:58:37 AM
I have no understanding of the environmental puzzles
Brahms
February 22, 2016, 10:58:25 AM
Every so often someone says something about "environmental puzzles" in the witness and I skip it because of spoilers
Brahms
February 15, 2016, 01:02:48 AM
press x to exercise 5th freedom
Karthus
February 14, 2016, 11:53:36 AM
My game came with an EXCLUSIVE PREORDER CODE for the Chaos Theory suit, shoulda preordered DUH
Brahms
February 14, 2016, 02:02:52 AM
i want the super stealth suit.
I go lethal on grim missions
Show last 34490
Main menu
Server rules
Forum rules
Join us
Clan members
About the clan
Server stats
WDG YouTube Channel
WDG Downloads
IRC Webchat
Links
Steam groups:
WDG community
WDG clan group
WDG Battlelog Platoon
Our allies:
[NuB] TF2 clan
Velocity Gamers Hub
Destination Gamer
GoG Links:
Wix Discord
Wix IRC channel
TF2 Links:
Official TF2 Blog
TF2 Steam Forum
The Fort 2
Calendar
October 2025
Mo
Tu
We
Th
Fr
Sa
Su
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Birthdays
Chaos (40)
Upcoming Events
Upcoming Birthdays:
Chaos (40)
Stats
Members
Total Members: 311
Latest:
BuildersIslington
Stats
Total Posts: 129727
Total Topics: 3983
Online Today: 376
Online Ever: 555
(October 08, 2025, 07:43:27 PM)
Users Online
Users: 0
Guests: 13
Total: 13
My Community
Forum
Public
Technical
Topic: Database Design (longish, theoretical)
Pages:
1
[
2
]
3
« previous
next »
Print
Author
Topic: Database Design (longish, theoretical) (Read 16288 times)
0 Members and 1 Guest are viewing this topic.
Zarf
Clan member
Karma: 710
Offline
Gender:
Posts: 2161
The Paragon of Animals
Re: Database Design (longish, theoretical)
«
Reply #15 on:
September 04, 2010, 11:42:44 PM »
Quote from: Teatime on September 04, 2010, 06:15:03 PM
@Zarf
Nah, this is just a more elaborate version of what I have discussed initially, and the "n:m" relationship doesn't really apply to my structure.
It's far too rare to have the exact same media or content as part of different containers (e.g exactly the same DVD as part of two box-sets) to justify the additional linking tables.
I thought this was what you were asking for though?
Quote
A specific piece of media might come in many different kinds, challenging a projection to db-structures.
There is your standard DVD holding one movie (ignoring special features at this point). But I also have DVDs with two versions of the same movie. I have DVDs with two different movies. I have DVD-Boxes with a number of different movies. I might have a single episode of a series, or a box with a whole season, or a box holding several seasons of a series. Right now I have a box of "Battlestar Galactica" sitting on my shelf which contains the mini-series, all 4 seasons of the series and a TV movie. I have recordings where I might have episodes of different series on the same medium.
The tables design I did should allow you to have boxsets with multiple DVD's, and each DVD can have any mix of episodes and movie content linked to it (accounting for your Buffy and Angel scenario).
Tables wise it's not that complicated, your data entry form should be taking care of any 'heavy lifting' automatically.
It's a personal database with a single user and a few thousand rows - performance (even in access) should pretty much be a non-issue.
The flexibility, however infrequently required, is worth the performance trade-off. With Blu-Ray I expect you are going to find yourself with more and more duplicates.
«
Last Edit: September 04, 2010, 11:47:02 PM by Zarf
»
Logged
Nineblade
Official WDG Tattooed Person
Karma: 1220
Offline
Gender:
Posts: 2503
Get witch or die trying
Re: Database Design (longish, theoretical)
«
Reply #16 on:
September 05, 2010, 01:24:44 AM »
I just have loads of boxes full of dvds and every now and then I rummage through them to see what's there. If I want to normalize a relationship, I'll go and be nice to my wife for a change
Logged
Zarf
Clan member
Karma: 710
Offline
Gender:
Posts: 2161
The Paragon of Animals
Re: Database Design (longish, theoretical)
«
Reply #17 on:
September 05, 2010, 03:05:13 AM »
Maybe then she'll compound your primary key :p
Logged
Teatime
Karma: 653
Offline
Posts: 1896
Still rubbish after all these years
Re: Database Design (longish, theoretical)
«
Reply #18 on:
September 05, 2010, 09:04:30 AM »
Quote from: CruelCow on September 04, 2010, 09:37:08 PM
IMHO you're approaching this from the wrong side. Don't try to save every single possible information (are you saving which actor appears in which
episode
scene?), ask yourself what you want to query for. Do you really query for all boxes that contain movies and seasons? Or do you rather query for all-galactica-stuff-I-have?
Of course I want to save every possible information. And with a well-constructed db this is fairly easy. This db I have is actually not a very complex one, and it already accomplishes a lot.
My problem is that I'm trying to collect data of objects which are structurally not clearly defined (since companies have the tendency to come up with with new ways of presenting products I might not have anticipated).
@Claws
I don't know your background, but so far it's my experience that a good relational design makes things easier in so many ways. It's sometimes hard to come up with the right design (like the one I'm struggling with here), but once you've got it it's implemented easily enough and helps you in a big way in presentation, analysis and maintenance.
Quote from: Zarf on September 04, 2010, 11:42:44 PM
With Blu-Ray I expect you are going to find yourself with more and more duplicates.
Ah, duplicates of the same
movie
, yes. But rarely of the same
medium
.
A DVD and a Blu-Ray of a movie would still be two different media, although linking to the same entry in the movie table. Always remember that a medium will come with technical properties (release year, audio, special features etc) which in 99.9% will make it unique. So at this point the added flexibility is indeed wasted.
I have other DBs which did require that approach (Books and Music).
And yes, since it's just for myself and it's not that big a database performance is not a priority.
But this has become kind of a hobby and I'm trying to learn more and get better at. So naturally when I approach a problem like that my attitude is more general. I'm trying to design it in a way that it could indeed handle millions of entries (not that I'll ever have that many DVDs, but some of the support tables - in the case of this DB the Cast&Crew table for example - can grow huge).
In other words: This is 50% solving a problem and 50% trying to advance myself in a field of interest.
«
Last Edit: September 05, 2010, 09:24:08 AM by Teatime
»
Logged
Teatime has left the Building ...
Teatime
Karma: 653
Offline
Posts: 1896
Still rubbish after all these years
Re: Database Design (longish, theoretical)
«
Reply #19 on:
September 05, 2010, 09:28:43 AM »
Quote from: Nineblade on September 05, 2010, 01:24:44 AM
I just have loads of boxes full of dvds and every now and then I rummage through them to see what's there. If I want to normalize a relationship, I'll go and be nice to my wife for a change
You just want to engage in an innerjoin query ...
Unfortunately she responds with error code 13.
Logged
Teatime has left the Building ...
Nineblade
Official WDG Tattooed Person
Karma: 1220
Offline
Gender:
Posts: 2503
Get witch or die trying
Re: Database Design (longish, theoretical)
«
Reply #20 on:
September 05, 2010, 10:30:18 AM »
I wanted to do a union on the table but my query returned no rows
«
Last Edit: September 05, 2010, 10:32:04 AM by Nineblade
»
Logged
r007
Supporting the Brits since 2008
Clan admin
Karma: 489
Offline
Gender:
Posts: 1789
Bow before me, for I am root.
Re: Database Design (longish, theoretical)
«
Reply #21 on:
September 05, 2010, 10:35:36 AM »
Heh. What you want is really a graph in the database. A table with something along the lines of
(medium_id, medium_parent_id)
that would -- in table-space -- solve the problem of having arbitrary collections of media, like the Buffy&Angel box, or any mor convoluted example you can think of.
BUT:
As you may or may not know, SQL cannot by itself express a transitive closure on a graph. This means, in order to find out "everything that is in the Buffy&Angel box", you will have to write code (VBA I assume in your case) that walks along the graph. God help you if you have a circular dependency (the dvd box that magically contains itself...).
€dit: geeky correction: SQL92 (which is what I learned at the time and think of as being supported everywhere) cannot. However, oracle seems to have extensions in place that can.
«
Last Edit: September 05, 2010, 11:07:31 AM by r007
»
Logged
Ceterum censio
RFC1855
esse legendam.
Junta
Guest
Re: Database Design (longish, theoretical)
«
Reply #22 on:
September 05, 2010, 11:52:36 AM »
R007, later versions of SQL Server allow recursive queries - see "common table expressions". Sadly, I don't believe these are available in MS Access!
As for the comments from Cruelcow and Claws - I agree to a point. Databases should hold the information you need without duplication. I strongly agree with Claws' comment about over-engineering relations in linked tables. Having too few tables (and dumping everything in one table) is a sin, and having too many extraneous relationships is also a sin.
@Tea: If in doubt, go back to designing your model BEFORE you throw up tables in a database - it will help
From a brief look at your relationship diagram, it does look to me like you've over engineered some of the relationships, but that is easy for me to say because I don't fully understad the model yet
Logged
claws
Guest
Re: Database Design (longish, theoretical)
«
Reply #23 on:
September 05, 2010, 12:40:21 PM »
I tend to agree with Cruel re the amount of information, but if that's what you want to do (and hey, it's a learning thing).
The problem is not everything maps cleanly into a 'good relational design'. Sometimes the 'cleanest' design ends up being slow and unwieldy in practice. For example, the media it actually comes on is almost an accident : there's dvds and bluray and maybe hddvd and boxsets of dvd and online rips and god knows what else. You could have a table for each of those, or you could go for a simpler structure which is possibly less 'elegant', but in practice less hassle and makes expansion easier.
As John says, info dumps in one table is a bad thing. However, I do urge keeping it as simple as possible. Think of a design that would /let/ you expand it if you had to, and then /don't implement it/. Sometimes people get the urge to allow for every possible case and you end up with a hulking monstrosity in order to cope with 1 or 2 fringe events.
@r007:That's abuse of relational databases though
... there aren't many cases where you have infinitely deep graphs, and 'in theory' the database is in the best position to optimise complex queries, rather than having k queries for a k-depth tree.
Logged
Teatime
Karma: 653
Offline
Posts: 1896
Still rubbish after all these years
Re: Database Design (longish, theoretical)
«
Reply #24 on:
September 05, 2010, 12:57:26 PM »
Quote from: r007 on September 05, 2010, 10:35:36 AM
Heh. What you want is really a graph in the database. A table with something along the lines of
(medium_id, medium_parent_id)
Yes, as mentioned before I am considering something like that. First I'll have to examine the ramification for presentation and analysis first. It might be a good compromise to retain the two-table structure, with one holding the "bottom level" content (which connects to the movies/episodes) and one "top level" which allows for stacking containers. Validation to avoid circular relation could be done on data entry level (that should be fairly easy).
Quote from: Junta on September 05, 2010, 11:52:36 AM
If in doubt, go back to designing your model BEFORE you throw up tables in a database - it will help
Believe me, by now I know that!
Building a database for my movies was the first project of that kind I ever attempted, many many years ago, when I knew nothing of databases and coding. As I learned and gained experience I revised my database (but also new versions of Access, which I'm using, offered new possibilities). The last major revision of this database (now v.5) I made back in 2006/2007.
So you can see that there's a certain element of growing involved. Completely restructuring a "living" db is a pain in the ass. Last time I did that I needed something like 4 weeks only to write the proper import procedures to move the data from the old structure to the new one.
But the current one is quite solid. It this point it is more a minor redesigning, at least if I take the route mentioned above.
Quote from: Junta on September 05, 2010, 11:52:36 AM
From a brief look at your relationship diagram, it does look to me like you've over engineered some of the relationships, but that is easy for me to say because I don't fully understand the model yet
Actually most parts are fine (IMHO). There is a lot of stuff cramped in here, which makes it look worse than it is. I've also learned the hard way to rely on lookup tables. Besides the media section there is only one area which I suspect could be designed more elegantly and at this point there is only one other feature I'm missing (properly maintaining different versions of a movie), and maybe the solution of the second might help me with the first.
Quote from: claws on September 05, 2010, 12:40:21 PM
As John says, info dumps in one table is a bad thing.
(You posted while I was writing my answer)
It's safe to say that I will hardly be accused of this
«
Last Edit: September 05, 2010, 01:02:38 PM by Teatime
»
Logged
Teatime has left the Building ...
r007
Supporting the Brits since 2008
Clan admin
Karma: 489
Offline
Gender:
Posts: 1789
Bow before me, for I am root.
Re: Database Design (longish, theoretical)
«
Reply #25 on:
September 05, 2010, 01:18:06 PM »
@claws: Totally agree that it's abuse.
Still, for small k (which seems to be the case here, as these trees seem to me to be rather broad than deep) a trade-off that I might be willing to make given the application. And if that's what the customer wants, agreeing to understand the impact of the approach. Sometimes you have to compromise
In my thoughts about a media database (yes, I made some beforehand) a "Medium" had several "Sections" (chapters, tracks, you name it), but as I clearly see from Tea's example, these might again be "Media". I come to agree that Boxes really require a bit of out-of-the-Box thinking here...
Quote from: Teatime on September 05, 2010, 12:57:26 PM
Validation to avoid circular relation could be done on data entry level (that should be fairly easy).
If you need to write code (I haven't used access in aeons, so god knows what Access SQL allows as of today) it should also be fairly easy to figure out if you've visited a node before.
Logged
Ceterum censio
RFC1855
esse legendam.
Teatime
Karma: 653
Offline
Posts: 1896
Still rubbish after all these years
Re: Database Design (longish, theoretical)
«
Reply #26 on:
September 05, 2010, 01:28:32 PM »
Quote from: r007 on September 05, 2010, 01:18:06 PM
If you need to write code (I haven't used access in aeons, so god knows what Access SQL allows as of today) it should also be fairly easy to figure out if you've visited a node before.
VBA for Access sadly is basically in a pure maintenance state. MS only adds new commands/objects to control new elements, but AFAIK no further development of the language takes place. To my knowledge it's pretty much the same with the SQL-Engine.
Heck, even the IDE has remained unchanged for many years now. Step-by-step debugging is quite tiresome.
But I guess I can handle the validation
Logged
Teatime has left the Building ...
r007
Supporting the Brits since 2008
Clan admin
Karma: 489
Offline
Gender:
Posts: 1789
Bow before me, for I am root.
Re: Database Design (longish, theoretical)
«
Reply #27 on:
September 05, 2010, 01:29:29 PM »
What I learned:
Write down all the nouns you can think of that concern your data
Aggregate nouns that signify properties to nouns that signify things
Think of verbs or adjectives that connect these things
Draw an
ER-Diagram
Think of corner cases (we are here right now)
(have extremely clever ideas here)
Formalize your ER into tables, observing constraints
DATABASE! = PROFIT!
Also I has an Idea: How about bottom up? Every Movie can be part of several (1:n) collections, be they DVDs, Tapes, Harddrives, Boxes or Meta-Boxes. Sure, this has a good deal of duplicate information, but avoids the whole graph mess... (edit:) Unfortunately you lose the intermediate layer of which DVD is in which Box.
Logged
Ceterum censio
RFC1855
esse legendam.
claws
Guest
Re: Database Design (longish, theoretical)
«
Reply #28 on:
September 05, 2010, 01:37:17 PM »
@r007:It's a tough one, I did consider it too...but I guess I'd be thinking of the poor junior programmer coming along a few years later who'd have to try and maintain that, although I guess that's not a problem here! Just my 0.02 euros
@r007 part 2 : I'd think I'd choose the graph rather than the duplication, although I still think we don't need much past k=4 here
Shame about VBA (in some ways). I suppose the .NET family are closest to that functionality in terms of mainstream stuffs
Logged
Finaldeath
Karma: 111
Offline
Gender:
Posts: 1455
Re: Database Design (longish, theoretical)
«
Reply #29 on:
September 05, 2010, 08:58:36 PM »
Looks like you're attempting a solution for a problem you created. Yes, I'd agree with the others; if this is for personal use, it seems like much too much information. Medium and media might well be the same; how often do you ever own both the DVD and BluRay version of something? If you have a rip or additional version of something just have an additional related table saying what types of media it is available in...
But if it is all theoretical, knock yourself out, hahahaha
Logged
Finaldeath
Pages:
1
[
2
]
3
Print
My Community
Forum
Public
Technical
Topic: Database Design (longish, theoretical)
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Public
-----------------------------
=> General Discussion
-----------------------------
Gaming
-----------------------------
=> Team Fortress 2
=> Other games
=> Challenge us
-----------------------------
Public
-----------------------------
=> Introduce yourself
-----------------------------
WDG information
-----------------------------
=> Clan Trial Members
=> Joining the clan
=> Clan Trial Results
=> Forum & Server rules
-----------------------------
Public
-----------------------------
=> Technical
-----------------------------
Gaming
-----------------------------
=> Left 4 Dead
-----------------------------
Public
-----------------------------
=> Pets Corner
=> Gone but not forgotten
-----------------------------
Gaming
-----------------------------
===> Maps/Skins/Mods/GUI's
===> WDG KOTH CUP
-----------------------------
WDG information
-----------------------------
=> Server bans
-----------------------------
Gaming
-----------------------------
=> Game Suggestions
=> Archived Games
=> Minecraft
=> Battlefield Series
=> League of Legends
=> Planetside 2
=> Guns of Glory
-----------------------------
Wix Things
-----------------------------
=> Announcements
=> Information and Strategies
=> General Wix Discussion
=> Alliance rules
=> Suggestion Box
=> Nominations, ranking and elections
Who Dares... Grins UK TF2 Clan
Loading...