r/databases • • May 05 '15

ELI5 - Algorithms for normalization/determining functional dependency.

1 Upvotes

Hey guys, I hope this is the right place for this.

I'm about to pull all of my hair out trying to understand this material for my database class.

I can make a database, with many tables, attributes, etc. I understand how that works. What I'm having the most difficulty understanding is all of the R, F, G, etc notation when talking about determining functional dependencies. This is making it extremely difficult to understand any of the algorithms from the text book or any video online.

So... What the heck is R, F, G referring to? A single table? Multiple tables? How do I know where to start? I've got all of this data, and I watched really great graphical YouTube videos with real life examples that helped a lot when trying to get my DB into 1st, 2nd, and 3rd normal form. Now I'm supposed to prove it, and have no freaking idea how.

Sorry for the rant-like question. I really would appreciate any help that can put this idea into words I can understand.


r/databases • • Apr 02 '15

What graph database are you most excited about?

1 Upvotes

I'm doing some research into graph databases (mainly doing a survey of various db's out there to pick the right one), and I was wondering -- What graph database are you most excited about?


r/databases • • Apr 01 '15

What's the best way to convert a DB2 database(with a few schemas) to a mysql database?

1 Upvotes

I would also like to port the data as well, but it can be manually entered as a last resort. Also I would prefer not having to buy software to make the conversion.


r/databases • • Apr 01 '15

A Query Language for Tinder

Thumbnail
28.io
1 Upvotes

r/databases • • Mar 27 '15

Have Databases Helped or Hindered Life Balance | Online Slideshow by Slide.ly

Thumbnail
slide.ly
1 Upvotes

r/databases • • Mar 17 '15

What do you guys use to create the tables that seed database?

1 Upvotes

I'm building a site that has two entities - Pages and Tags. Each page has many Tags, and each Tag can be related to many pages.

Right now I have the Page and Tag relation as a .csv file with several entities as each row, like so:

Page:

idtitle
1How to have fun
2How to study
3How to be social
4How to make friends
5How to enjoy being alone

Tag:

idtitle
1personal
2discipline
3social

Page_Tag (many-to-many relationship):

page_idtag_id
13
22
33

I wrote a PHP script that scans in these .csv files into a MySQL database.

As you can tell, managing my page_tag table will get quite complex. If I have to change an id attribute in Page, I have to go manually update each page_id in my page_tag .csv. Additionally, when I want to insert a page_tag entity, I have to reference both page/tag relations to make sure the numbers match up.

Is there some kind of software that makes this easier? I'm relatively new to databases so I'm not familiar with the available database management software out there. I'm using Laravel 5.0 as my PHP framework if that matters at all.

Thanks!


r/databases • • Mar 17 '15

» SQL Server: Simple Introduction to TSQL Cursors

Thumbnail
stevestedman.com
1 Upvotes

r/databases • • Mar 16 '15

License plate readers and public pushback on data retention

Thumbnail
arstechnica.com
1 Upvotes

r/databases • • Mar 02 '15

Do Marketers really think we are all innumerate? Lies, charts, and lies.

Thumbnail
acmebenchmarking.com
1 Upvotes

r/databases • • Dec 04 '14

How to migrate your Database from MySQL to OpenSource MariaDB -

Thumbnail
techarena51.com
1 Upvotes

r/databases • • Sep 26 '14

Some assistance needed!

1 Upvotes

Hello, first off, if these sorts of questions aren't allowed, please let me know. I also have a very rudimentary knowledge of databases, so let me know if I am being confusing.

I work for a company that sells an SQL-based database software, and one of our customers is wanting to take two databases, and be able to create a list of changes between the two daily and create a report of data that needs to be entered on each appropriate databases to get the data to match. Specifically, client-type data; Name, address, that sort of thing.

So far, my suggestion is to run a report from each database, outputting it to a .csv file and using Excel to compare the two. it seems clunky, and it isn't scalable for the type of growth they are planning. Are there any tools that you know of that could do this? Would something custom have to be written, and how you would go about doing it?

FWIW, the database engine is Sybase16, and while I may be able to get it OK'd for them to run select/output statements, inserts and updates are not going to be allowed, the data has to be manually entered using the software.

I appreciate the assistance!


r/databases • • Aug 07 '14

Databases behind BIM?

1 Upvotes

I just started DBA work at an engineering firm and have been getting the word BIM (Building Information Modeling) thrown around - apparently it's the big data buzzword of the engineering world.

A lot of the software and standards seem proprietary in nature, but I'm curious if anyone has experience with the data storage for these systems? It seems as though potentially a great candidate for NoSQL, but as it relies on some older software overall and is in a slow moving discipline, I get the feeling a relational database engine may be the norm.

But overall, I have no idea. I'm just looking for some high level stuff to get started with and be able to not stare blankly when inevitably I get approached about a BIM solution.


r/databases • • Jul 28 '14

Music Database Tables

1 Upvotes

I am new to databases and just looking for some suggestions on table design. I want to include album producers in my database. Would I be best to use a separate table for producers and members and a junction table (which would include duplicate data as producers can also be members of the band ), or should I just put all the band members and producers in the same table?


r/databases • • Feb 20 '14

Looking For a Database Form / Template

1 Upvotes

I am trying to find a way to populate generic data in my PostgreSQL database. Sadly I have no scripting experience in PHP, Python, Ruby, etc etc etc. I was wondering if there's a form or template I can use / download to host which allows users to pump data into a PostgreSQL database via the web. I can configure my database / table / schema accordingly to the suggested template / form obviously since that's the only aspect I can manage at this point.

Do you guys have any suggestions besides 'Learn to write a script'?


r/databases • • Jan 15 '14

RDBMS On Linux Software RAID

1 Upvotes

Has anyone ever ran Oracle Database or PostgreSQL using Linux software RAID? I know people have their opinions about S.R. -vs- H.R. config but I'm just trying to see if in general this is a terrible idea w/ logical / clear explanations supporting their decision.

Thanks all!


r/databases • • Jun 15 '13

Book on relational database for experienced programmer

1 Upvotes

Hi all,

I am looking for a book on relational database theory for a beginner. I haven't had much opportunity to work with databases, but do know programming. I am looking for a book that focuses on theory and has examples and exercises.

Any recommendations would be great. Thanks


r/databases • • Apr 06 '13

An Interesting Case of Redundant Indexes – Index on Col1, Col2 and Index on Col1, Col2, Col3

Thumbnail
blog.sqlauthority.com
1 Upvotes

r/databases • • Mar 30 '13

Diagnosing Common Database Ails

Thumbnail
simple-talk.com
1 Upvotes

r/databases • • Mar 30 '13

Relational Databases Aren't Dead.

Thumbnail
readwrite.com
1 Upvotes

r/databases • • Jun 12 '12

A security flaw in MySQL authentication. Is your system vulnerable?

Thumbnail dbasquare.com
1 Upvotes

r/databases • • May 31 '12

MySQL, OOM Killer, and everything related

Thumbnail dbasquare.com
1 Upvotes

r/databases • • Apr 12 '12

How to selectively kill queries in MySQL?

Thumbnail dbasquare.com
1 Upvotes

r/databases • • Oct 27 '23

Trouble with importing CSV into dbeaver

0 Upvotes

Hellooooo so I am trying to import a CSV file locally into a table in dbeaver, and it will not import no matter what I have tried. I've tried a fresh table versus a table set with columns already, the delimiter isnt the problem and for columns with strings and ints I have it set to varchar. All string columns have quotations around them, and its specifically saying I have issues with my access_hours column. It is saying its too much data to input, tho the longest one is maybe 30 character and its always row 101, no matter if I set it to text or varchar. Interestingly enough if its set to text it starts the error at row 1, but varchar starts the error at row 101. I have gone so far to remove every single ' or " from the entire sheet (sheet is ~ 40 columns by 50000 rows) besides the ones surrounding the strings. I have no idea what to do and I have tried every solution with chat gpt and me and my boss are stumped.


r/databases • • Oct 01 '23

Relational and NoSQL databases comparison

Thumbnail
medium.com
0 Upvotes

r/databases • • Apr 15 '20

Inline External Tables in Oracle Database 18c

Thumbnail
dbexamstudy.blogspot.com
0 Upvotes