Personal Development for Smart People Forums

Personal Development for Smart PeopleTM Forums

 

Go Back   Personal Development for Smart People Forums > Personal Development > Technology & Technical Skills

Notices

Technology & Technical Skills Computer skills, hardware, software, internet topics, gadgets, programming

Reply
 
Thread Tools Display Modes
Old 04-06-2008, 08:06 AM   #1 (permalink)
Member
 
Join Date: Mar 2008
Posts: 46
goldtoe360 is on a distinguished road
Default Mysql comment tables

I'm working on a website with PHP and Mysql and wanted to know if it is better to have one comment/guestbook database table (which will store hundreds/thousands of comments) or have one comment/guestbook table for each article.

Having one comment/guestbook table would be easier to manage/create, but may cause the website to lag.

Anyone have experience with a comment/guestbook Mysql table?
goldtoe360 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-06-2008, 10:39 AM   #2 (permalink)
Senior Member
 
Join Date: Nov 2006
Location: Melbourne, Australia
Posts: 182
tobyhede is on a distinguished road
Default

The whole benefit of using a relational database is to have one table for each one of the entities in your system.

It will not cause any performance issues.

The only case I've heard where breaking a system into individual tables was required is with wordpress.com ... they have 1,000,000 blogs and INSANE amounts of traffic, and I believe each blog has it's own tables. However, this decision was made because of very specific architectural concerns.
tobyhede is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-06-2008, 02:55 PM   #3 (permalink)
Senior Member
 
Join Date: Nov 2006
Location: Toronto, ON
Posts: 795
Dave Kaminski is on a distinguished road
Default

Going to have to agree with toby on this one. You should only need one table for the message specifics.
Dave Kaminski is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-07-2008, 10:22 PM   #4 (permalink)
Member
 
Join Date: Mar 2008
Posts: 46
goldtoe360 is on a distinguished road
Default

Sounds good.
goldtoe360 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools
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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Website vs. Blog (Steve please comment ...) brooksr Technology & Technical Skills 5 01-28-2009 08:25 PM
Dare ya to comment! The Flannel Guy Social & Relationships 29 01-25-2008 05:50 PM
Pl comment on my Christmas Theme! RichGrad Technology & Technical Skills 0 12-06-2007 02:06 AM
Comment on my workout routine ArtVandelay Health & Fitness 7 09-22-2007 09:36 PM
Any PhP/mySQL gurus out there? trekr5 Technology & Technical Skills 20 01-10-2007 11:05 PM


All times are GMT. The time now is 12:11 PM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2010 by Pavlina LLC