[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

I have a large collection of porn (~6TB) I'd like to organize

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 7
Thread images: 1

File: timthumb_php.jpg (310KB, 1500x1500px)
timthumb_php.jpg
310KB, 1500x1500px
I have a large collection of porn (~6TB) I'd like to organize in a database.

What would be the best way to go about doing this? I have the following outline (that’s probably extremely erroneous), and I want to make sure that I don't have conflicting data. Yes, I'm a n00b at databases.

Tags
Tables:
[Tags]
tag_id SMALLINT[3] U, PK
tagname VARCHAR[64]

JAV
Tables: [Vendor]
id_num VARCHAR[8] PK
actresses VARCHAR[64]
genre VARCHAR[16]
resolution SMALLINT[4] U
path VARCHAR[256] NN
description MEDIUMTEXT

Western
Tables: [Video]
title VARCHAR[64] PK
studio VARCHAR[64]
actresses VARCHAR[64]
genre VARCHAR[16]
resolution SMALLINT[4] U
path VARCHAR[256] NN
description MEDIUMTEXT

[Imagesets]
title VARCHAR[64] PK
num_of_images SMALLINT[4] U
actresses VARCHAR[128]
resolution SMALLINT[4] U
path VARCHAR[256] NN
description MEDIUMTEXT

Hentai
Tables: [Animated]
title VARCHAR[64] PK
studio VARCHAR[64]
genre VARCHAR[16]
resolution SMALLINT[4] U
path VARCHAR[256] NN
description MEDIUMTEXT

[Drawn]
title VARCHAR[64] PK
artist VARCHAR[64]
genre VARCHAR[16]
resolution SMALLINT[4] U
path VARCHAR[256] NN
description MEDIUMTEXT
>>
>>56998512
https://en.wikipedia.org/wiki/Database_normalization

Read it.
>>
>>56998512
I want to be that guy
>>
You don't need different tables for Hentai, Western, and JAV. Those should be tags. If a field doesn't apply to one of them then just don't use it. You don't need seperat tables just to add acctresses/studio/author. Just use Tags and a general Media table, then add a thrid table that maps Tags to Media and use that for querying.
>>
>>56998627
ikr
>>
>>56998512
Sauce?
>>
>>56998512
you could just put it all in the right folders since your database does nothing
Thread posts: 7
Thread images: 1


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.