Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
Donations
Please Support Us!

Please help keep (=WDG=) alive

Donate with PayPal!
Last 100 Shouts:
January 16, 2025, 08:56:20 PM
Happy New Year!
January 27, 2024, 05:26:45 PM
Happy new year WDG
December 10, 2023, 05:52:39 PM
Hello Power!
November 24, 2023, 09:51:34 PM
Helloes! I'm here for my annual password change! How is everyone doing?
August 03, 2023, 08:42:51 PM
WDG are going to i71. All welcome. Message for more information or ask on discord
July 27, 2023, 07:35:21 PM
The WDG discord channel is up and running. Send me a message or post for details
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
December 07, 2022, 11:26:55 PM
@berath link doesn?t work Sad
August 08, 2022, 09:32:46 PM
December 23, 2020, 12:34:53 PM
Spammers be gone!
September 28, 2020, 11:18:57 PM
Nice!
September 28, 2020, 09:55:06 PM
I’m in 🙌
September 28, 2020, 02:59:45 PM
Yay!!!!!! Wix is in da house
September 28, 2020, 02:55:44 PM
Hey Berath !! I made it !
September 25, 2020, 05:13:56 PM
Wix - we may have some new friends playing a new game finding their way here soon.....
July 01, 2020, 11:05:23 PM
Hello Terror. People still drop by here now and again
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).
February 24, 2020, 09:26:46 AM
Zombie TF2? Do we need to dress up?
February 19, 2020, 01:03:56 AM
I'd play zombie TF2
February 19, 2020, 12:52:19 AM
Any appetite for a TF2 revival?
February 19, 2020, 12:52:01 AM
Awesome
February 19, 2020, 12:48:30 AM
Yes this thing is still on
February 19, 2020, 12:47:16 AM
Hello! Is this thing still on?
December 26, 2019, 12:43:10 AM
Merry Christmas!!!
August 13, 2019, 07:35:11 PM
Sweeping and clearing out the cobwebs, keeping everything spruce https://gph.is/2oImD0j
March 08, 2019, 11:38:14 AM
Cheers Stu / Berath was going to happen one day Sad
March 06, 2019, 11:08:46 PM
It's officially 'not secure' according to Chrome now
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
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.
January 31, 2019, 09:50:48 AM
Sad
January 22, 2019, 11:22:09 PM
Sad nub  site down Sad bye bye

January 01, 2019, 11:43:02 AM
Happy new year.
Who Dares... Grins!!
December 30, 2018, 08:04:52 PM
no
December 29, 2018, 12:05:55 PM
MEssaage me
for a free steam key for faeria
December 25, 2018, 02:35:39 PM
merry xmas wdg
December 23, 2018, 11:34:33 AM
Hello Milli!
December 21, 2018, 10:55:25 PM
Hello WDG!
December 13, 2018, 10:51:13 PM
I still pop by to give the old place a dusting and clear out
November 09, 2018, 03:36:17 PM
The shoutbox has actually had shouts in it recently? Impossible.
November 08, 2018, 07:45:58 PM
:dohjan: :newkid:
November 06, 2018, 07:11:48 PM
Enjoy!
November 05, 2018, 11:49:05 PM
Just poking about
June 02, 2018, 12:56:39 PM
Goodness me, so it does!
May 22, 2018, 03:38:35 PM
this site needs a shout in 2018 Smiley
November 16, 2017, 08:08:43 PM
Spam removed. Thank you muchly Hulinut
October 15, 2017, 06:02:47 PM
Yay, been fixed!
October 14, 2017, 07:08:12 PM
I'm trying to get the mumble server up again
October 11, 2017, 06:23:26 PM
Orange Box 10 years old wow
June 18, 2017, 09:46:41 PM
Fluffy!
June 14, 2017, 03:14:35 PM
:p
May 30, 2017, 10:14:48 PM
Hmph. Spammers!
April 19, 2017, 08:20:44 PM
Also - hai!
April 19, 2017, 08:20:38 PM
Just in case no-one saw it - I posted about i61 over on the wdg-reddit!
April 17, 2017, 02:18:03 PM
April 16, 2017, 12:28:45 PM
Don't mind me, just helping Berath clean up the dust
April 04, 2017, 09:46:13 PM
Mumble server down: I've submitted a ticket
March 13, 2017, 01:20:32 AM
It is. Sleeping
March 11, 2017, 06:24:54 PM
so quiet
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
November 04, 2016, 05:15:57 PM
How's tricks WDG?
November 02, 2016, 10:36:32 PM
Yay CruelCow!!
November 01, 2016, 08:17:40 PM
Yeah, I still check here regularly
November 01, 2016, 06:16:46 PM
Forum is back up after I did some tinkering. Did anyone notice it was down?!?
September 03, 2016, 05:48:48 PM
Thanks for offering but platformers = frustration for me. All that jumping about and getting impaled
September 03, 2016, 10:54:37 AM
Does anyone want a 75%off coupon for Feist?
July 09, 2016, 02:56:39 PM
I knew you were behind them!
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!
July 06, 2016, 11:35:09 PM
Therefore, Lefty is indeed responsible
July 06, 2016, 10:56:20 PM
Wales voted Leave
June 25, 2016, 05:30:56 PM
Well he *is* called Leftism
June 24, 2016, 07:36:47 PM
I'm going to completely unjustifiably hold Lefty to blame for the Brexit.
That is all.
June 05, 2016, 01:56:52 PM
Woop woop i58 ticket bought!
May 13, 2016, 06:08:28 PM
I want that game
May 07, 2016, 10:20:36 PM
its not optimized well just like the ps4 version
May 07, 2016, 09:01:50 PM
why does everyone's gone rapture run like doggegg on my pc
April 13, 2016, 05:18:58 PM
Just to really bang it home. WDG sub-reddit here: https://www.reddit.com/r/WDG/
April 06, 2016, 10:06:39 AM
Thank you Smiley
April 04, 2016, 04:24:56 PM
Just send you one.
April 04, 2016, 10:48:17 AM
If there are any still going, I'll have one
April 02, 2016, 11:47:32 AM
i have beta passes if anyone wants them as well
March 23, 2016, 12:18:40 PM
If anybody wants a tf2 competetive beta pass, i have a spare.
March 18, 2016, 12:18:46 PM
It's too expensive Sad
March 15, 2016, 03:24:04 PM
Will you all go buy The Division now so I have someone to play with? Smiley
March 11, 2016, 08:32:56 PM
FIREWATCH
March 11, 2016, 07:56:09 PM
March 11, 2016, 07:56:08 PM
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
March 02, 2016, 12:06:23 PM
Easy with the spoilers, guys! I'm still  on the blunderbuss part.
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
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
March 01, 2016, 12:34:14 PM
FIREWATCH
March 01, 2016, 12:13:37 PM
I can't believe GAMERS don't like the witness. It's the MOST GAMER game EVER.
February 29, 2016, 12:08:32 PM
Its overrated. Now FIREWATCH on the other side...
February 29, 2016, 11:21:43 AM
I got the basic ending in the witness and it was B A D
February 22, 2016, 10:58:37 AM
I have no understanding of the environmental puzzles
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
February 15, 2016, 01:02:48 AM
press x to exercise 5th freedom
February 14, 2016, 11:53:36 AM
My game came with an EXCLUSIVE PREORDER CODE for the Chaos Theory suit, shoulda preordered DUH
February 14, 2016, 02:02:52 AM
i want the super stealth suit.

I go lethal on grim missions
Calendar
October 2025
MoTuWeThFrSaSu
12345
6789101112
13141516171819
20212223242526
2728293031

Birthdays
Chaos (40)

Upcoming Events
Upcoming Birthdays: Chaos (40)
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: 11
Total: 11
My CommunityForumPublicTechnicalTopic: Database Design (longish, theoretical)
Pages: 1 2 [3]
Print
Author Topic: Database Design (longish, theoretical)  (Read 16287 times)
0 Members and 1 Guest are viewing this topic.
Teatime


Karma: 653
Offline Offline

Posts: 1896


Still rubbish after all these years


WWW
« Reply #30 on: September 05, 2010, 10:38:07 PM »

hahahaha?

I have quite a few DVDs holding two different movies. I have tons of recorded stuff on VHS (look it up on wikipedia) or DVD-R where I have more than one movie stored on a single medium. Not to mention each box of TV-series having numerous episodes.

Separating that data into an 1:n relation is simply proper design. My problem lies beyond that, in the more elaborate structures ...

And sorry, 5000+ movies in a collection requires a bit more than a couple of tables and two forms!
Logged

Teatime has left the Building ...
scroggage
Guest
« Reply #31 on: September 06, 2010, 01:03:19 AM »

I have tons of recorded stuff on VHS (look it up on wikipedia)
I think I still have more VHSs than DVDs on my shelf Wink
Logged
Teatime


Karma: 653
Offline Offline

Posts: 1896


Still rubbish after all these years


WWW
« Reply #32 on: September 06, 2010, 01:20:52 PM »

(Okay, just thinking out loud here, and mostly to myself)

Detailed look at a possible structure from a properties angle:

The smallest common demeanor is the MediumSegment. It's a section of a medium which corresponds with an entry on the movie side. So this can be a complete movie, an episode, theoretically also a featurette.
Properties for a Segment would be (for example) length, aspect ratio, audio, resolution. Those can vary from segment to segment.

A number of segments (>=1) will be located on a Medium, in a classical 1:n relation. The Medium will have a different set of properties, e.g. Origin, Release Year, Features, Format. This would be the physical data medium.
(Though some simplifying measures might apply here, like treating a 2-Disc DVD or a Series Boxset as one medium with a Medium Count >1, since the properties are the same.)

A Medium might be part of a Collection. As a simple container it would share some of the properties of the Medium, but not all of it. On the other hand a Collection would have no properties not used as as well by Medium. A Collection can be part of another Collection.

And while Collections could be established as separate level of the structure the closeness of properties could justify to maintain Collections and Mediums in one table, with references to the parent (since this is, after all, in internal 1:n relation).
Logged

Teatime has left the Building ...
claws
Guest
« Reply #33 on: September 06, 2010, 03:06:38 PM »

Is there a big enough difference between a Medium and a Collection to justify the separation? You could have segment A being part of a DVD collection (one physical dvd), a VHS collection (your old tape copy), part of the Buffy&Angel Boxset collection and so forth. Still not convinced collections need to embed collections, perhaps the same segment contained in many collections is enough?

(also thinking aloud)
Logged
Chaos
Fail Artist


Karma: 638
Offline Offline

Gender: Male
Posts: 4452


GIVE IT TO ME! I'LL BREAK IT!


WWW
« Reply #34 on: September 06, 2010, 03:08:27 PM »

are you using this to pick what movie you wanna watch?

sod it.. off to the cinema to watch the film the guy at the till recomends byes xxx
Logged

Mode: Chaos is wise

Hz: No, you were right
Hzza
Guest
« Reply #35 on: September 06, 2010, 03:09:58 PM »

sod it.. off to the cinema to watch the film the guy at the till recomends byes xxx
Have fun with Piranha 3D Wink.
Logged
Teatime


Karma: 653
Offline Offline

Posts: 1896


Still rubbish after all these years


WWW
« Reply #36 on: September 06, 2010, 05:23:07 PM »

Is there a big enough difference between a Medium and a Collection to justify the separation?

And while Collections could be established as separate level of the structure the closeness of properties could justify to maintain Collections and Mediums in one table, with references to the parent (since this is, after all, in internal 1:n relation).

You could have segment A being part of a DVD collection (one physical dvd), a VHS collection (your old tape copy), part of the Buffy&Angel Boxset collection and so forth.
It's not the same segment; the attached properties are different. For example the segment could be widescreen on the DVD but fullscreen on VHS, Dolby Digital 5.1 in one case, mono in the other, and so on.

Still not convinced collections need to embed collections, perhaps the same segment contained in many collections is enough?
First time I stumbled into that problem was when I bought the complete WestWing Collection. There were 7 boxes, each with multiple episodes on multiple DVDs, with additional Bonus-DVD attached to the Collection (but not the seasons).
It's rare, but I want to be able to track that in the database.

The approach I laid out above is actually just a minor adaption to my current design. It will probably need a bit more changes on the forms (entry and display).



I'll probably not have made clear the dimension of the data I'm maintaining here:
I'm not talking about 200 DVDs and a box with old VHS tapes. I'm into this hobby big time, having almost 5500 movies on DVDs, Blu-Rays, old VHS tapes (bought and recorded), recordings stored on DVD-R, heck, I still have some of my old Laserdiscs (again, Wikipedia). I have over 6000 episodes of TV series in one form or another. Right now I have a little over 120000 people (cast and crew) stored which worked on that movies/series.
If I want to do some useful analysis or cross-referencing this needs a solid design. And actually I don't think it's overdeveloped. When I started it it was naturally very slim. Few tables, lots of different stuff cramped into those. But with time my demands and expectations towards the database increased, also with the sheer number of stuff I needed to rely on that information that my shitty memory simply couldn't handle. The current design is very much the result of me having to overcome previous shortcomings (lack of thorough planning, as Junta has pointed out, but I've been along a significant learning curve). And I will probably continue to find changes will be forced upon me (like it's the case here) or new features I simply want to add (toying with it).
Logged

Teatime has left the Building ...
egg



Karma: 366
Offline Offline

Gender: Male
Posts: 1620

Goes on and on [∞]


« Reply #37 on: September 06, 2010, 05:27:20 PM »

tl;dr......


..... what shall I have to eat for this evening meal....? hmmmm
Logged
scroggage
Guest
« Reply #38 on: September 06, 2010, 05:30:00 PM »

Tea, please stop the pretence. Stop using the word "movies" and just use the word "porn". You won't be judged. Wink
Logged
Teatime


Karma: 653
Offline Offline

Posts: 1896


Still rubbish after all these years


WWW
« Reply #39 on: September 06, 2010, 05:34:04 PM »

Tea, please stop the pretence. Stop using the word "movies" and just use the word "porn". You won't be judged. Wink
I don't store my porn in databases. Not enough blood in the head to get the spelling right Wink
Logged

Teatime has left the Building ...
Millicent Bystander
Clan admin
****

Karma: 740
Offline Offline

Gender: Male
Posts: 2523


WDG Conception Expert


« Reply #40 on: September 06, 2010, 06:26:33 PM »

I still have some of my old Laserdiscs

These?  Grin
Logged

I find myself stark naked except for a pair of latex gloves attempting to pull on a pair of red tights on in my parent's spare bedroom.
Finaldeath


Karma: 111
Offline Offline

Gender: Male
Posts: 1455



« Reply #41 on: September 06, 2010, 06:58:57 PM »

"hahahaha" Hmmm.

Teatime, you've hit my nerve, so whatever, go overdesign a database, why should I bother to provide an opinion you flatly don't even read properly? Sad
Logged

Finaldeath
DeadlyAvenger
Ex-Leader
Donator
*

Karma: 1265
Offline Offline

Gender: Male
Posts: 5291


Spam, Egg, Sausage, Chips and Spam


WWW
« Reply #42 on: September 07, 2010, 08:39:52 AM »

"hahahaha" Hmmm.

Teatime, you've hit my nerve, so whatever, go overdesign a database, why should I bother to provide an opinion you flatly don't even read properly? Sad

Now now - let's keep this friendly. It was you that said 'hahahaha' and teatime merely responded to it in a questioning manner. Personally - I think *that* is pushing it a bit too far. Teatime was just looking to see if anyone here could think of a solution he hadn't been able to come up with.
Logged

Teatime


Karma: 653
Offline Offline

Posts: 1896


Still rubbish after all these years


WWW
« Reply #43 on: September 07, 2010, 02:34:53 PM »

I will go for the approach described above and will see how it goes (it's just for silly me, after all).

Thanks to all for input and advice!

(And it's not overdeveloped, it's simply big-boned Tongue)
« Last Edit: September 07, 2010, 02:37:30 PM by Teatime » Logged

Teatime has left the Building ...
egg



Karma: 366
Offline Offline

Gender: Male
Posts: 1620

Goes on and on [∞]


« Reply #44 on: September 07, 2010, 05:45:09 PM »


(And it's not overdeveloped, it's simply big-boned Tongue)[/i]


I keep telling my misses the same thing Grin
Logged
Pages: 1 2 [3]
Print
My CommunityForumPublicTechnicalTopic: Database Design (longish, theoretical)
Jump to:  


Who Dares... Grins UK TF2 Clan