If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > General > Database Concepts & Design > auto search a database for relationships question

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-05-06, 13:43
island island is offline
Registered User
 
Join Date: Feb 2006
Posts: 1
auto search a database for relationships question

I import text files created by various types of dbs into mysql. They usually come in a set of files that are likely related by keys. I usually have no information about the schema and the text files are of varying quality and sometimes do not relate.

Instead of having a person go through the imported data to determine the relationships, are there common algorithms or open source tools that can report relationships among tables?

For example, say I have imported 3 text files into mysql format:

Auto(id(pk), make, model)
Driver(id(pk), fn, ln, address)
Accident(id(pk), aid(fk), did(fk), location, type, estimate)

What open source tools or methods exist to automatically determine and report the relationships in this structure when supplied no information other than what is in the text file? (this is a simple example which in reality is much more compliated)
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On