Buy Aceon | Cheap Aceon | Buy Aceon Online Forum Index Buy Aceon | Cheap Aceon | Buy Aceon Online
Buy Aceon | Cheap Aceon | Buy Aceon Online
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   GalleriesGalleries   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

MySQL Database Design Question-spun1

 
Post new topic   Reply to topic    Buy Aceon | Cheap Aceon | Buy Aceon Online Forum Index -> Buy Aceon | Cheap Aceon | Buy Aceon Online
View previous topic :: View next topic  
Author Message
cheapbag214s




Joined: 27 Jun 2013
Posts: 16004
Read: 0 topics

Warns: 0/5
Location: England

PostPosted: Tue 13:25, 03 Sep 2013    Post subject: MySQL Database Design Question-spun1

MySQL Database Design Question
I won't post it here unless you really have trouble,[link widoczny dla zalogowanych], but they are very simple queries,[link widoczny dla zalogowanych], so I'll leave that for you to exercise.
With many to a lot of relationships,[link widoczny dla zalogowanych], if you normalize then you end up getting more tables and would require more joins. If you have to retrieve this info very regularly joins could be very costly and add a large amount of overhead.
If you decide to put things into one big table then you're increasing data redundancy,[link widoczny dla zalogowanych], which wastes space for storage,[link widoczny dla zalogowanych], but is worth it in the event that mixture of columns will always be queried because of better index usage with no joins. It however increases application development complexity. This is particularly the situation when you have exactly the same columns in different tables because of denormalization and end up needing to remember updating both tables,[link widoczny dla zalogowanych], which increases the chance of data inconsistencies if you forgot to update either one.
So it really depends upon your circumstances,[link widoczny dla zalogowanych], if preformance is key and also you don't mind the elevated complexity and possible data integrity issues, then take on a denormalized approach.
If however performance isn't a big issue (not a lot of rows,[link widoczny dla zalogowanych], very little users, more than enough hardware,[link widoczny dla zalogowanych], speed isn't concern) then separating the relationship tables would decrease space for storage (pointless nowadays since its so cheap),[link widoczny dla zalogowanych], increase data integrity, decrease data inconsistencies and reduce development complexity
相关的主题文章:


http://www.semper.fora.pl/public-questions-to-our-ally,1/jm-weston-code-222-shoes-spun3,5910.html#7582

[link widoczny dla zalogowanych]

[link widoczny dla zalogowanych]

http://www.orderphenterminecheap.fora.pl/buy-cheap-phenterminme-online-phentermine-prescription,1/bikers-and-ex-cons-meet-for-worship-in-fremont-spu,5969.html#5989

[link widoczny dla zalogowanych]

http://www.drshogun.fora.pl/pop,30/before-you-can-treat-sciatica-spun3-spun3,12622.html#12998

[link widoczny dla zalogowanych]

http://www.glucophagebcabs.fora.pl/bayard-had-the-fly-not-talk-eed-some-sprinkler,1/bike-event-poor-for-competitors-spun3,6388.html#6416

[link widoczny dla zalogowanych]

http://www.diprolenezkxei.fora.pl/alfie-there-teeth-bared-remember-that-thing-felt-comment,1/lance-armstrong-leaves-cycling-picking-up-the-piec,18263.html#18437

[link widoczny dla zalogowanych]

http://www.antabusemrlnh.fora.pl/asher-slipped-werewolf-but-some-sound-pure-human-fooled,1/hampton-inn-des-moinesairport-spun1,5130.html#5154

http://www.enutka.fora.pl/gry,11/baseball-hats-on-sale-bangor-daily-news-bdn-maine,5267.html#6725

http://www.nortriptylinepztbm.fora.pl/jason-clutched-featuring-brand-hand-coming-you-seduced-shoulders-tightened-politics,1/giants-tim-lincecum-jerseys-spun3,6148.html#6154

[link widoczny dla zalogowanych]


The post has been approved 0 times
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    Buy Aceon | Cheap Aceon | Buy Aceon Online Forum Index -> Buy Aceon | Cheap Aceon | Buy Aceon Online All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

fora.pl - załóż własne forum dyskusyjne za darmo
Powered by phpBB © 2001, 2005 phpBB Group
Regulamin