Design Database

Discussion in 'MySQL' started by ottodo, Jan 19, 2007.

  1. #1
    How can I design database?
    how can I create tables, relations based on case studies and diagrams?
    is there a software for designing DB's, I know UML is used for designing classes and functions but what about DB?
     
    ottodo, Jan 19, 2007 IP
  2. maiahost

    maiahost Guest

    Messages:
    664
    Likes Received:
    35
    Best Answers:
    0
    Trophy Points:
    0
    #2
    UML in general is used just to see the whole structure, but not that useful when it comes to DB implementation. I have some experience with Rational Rose but I found it a bit hard to design DBs. What I do is : get a sheet of paper and input all the data from diagrams / case studies. Then see what relationships are visible and start the implementation process. Test the working model and you'll see what you've missed during the "design" cause there's always something. Hope this can help.
     
    maiahost, Jan 20, 2007 IP
  3. bochgoch

    bochgoch Peon

    Messages:
    1,918
    Likes Received:
    67
    Best Answers:
    0
    Trophy Points:
    0
    #3
    bochgoch, Jan 20, 2007 IP
  4. TasteOfPower

    TasteOfPower Peon

    Messages:
    572
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #4
    each table should be an object? maybe?
     
    TasteOfPower, Jan 20, 2007 IP
  5. ottodo

    ottodo Guest

    Messages:
    2,055
    Likes Received:
    70
    Best Answers:
    0
    Trophy Points:
    0
    #5
    @TasteOfPower yeh but what about the relations between the objects?

    @bochgoch any pros and cons?
     
    ottodo, Jan 20, 2007 IP
  6. TasteOfPower

    TasteOfPower Peon

    Messages:
    572
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #6
    what about em?

    1-m, 1-1, m-m?
     
    TasteOfPower, Jan 20, 2007 IP
  7. sarahk

    sarahk iTamer Staff

    Messages:
    28,832
    Likes Received:
    4,541
    Best Answers:
    123
    Trophy Points:
    665
    #7
    Ottodo - there are companies that specialise in "patterns" for various industries. You buy one and then build the application - knowing that the underlying database is well thought out and complete.

    I haven't seen any small projects using them but I'm sure they're out there. Search for database+patterns
     
    sarahk, Jan 24, 2007 IP
    ottodo likes this.
  8. bochgoch

    bochgoch Peon

    Messages:
    1,918
    Likes Received:
    67
    Best Answers:
    0
    Trophy Points:
    0
    #8
    db designer is a free quite basic Entity-Attribute-Relationship modelling tool aimed mainly at MySQL db design. So if you want to build a relational MySQL database it's a great choice.

    Cons are its limited functionality and lack of support for other databases.
     
    bochgoch, Jan 24, 2007 IP