Go Back   Pligg CMS Forum > Other > Off-topic

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-27-2007, 07:18 PM
New Pligger
 
Join Date: Sep 2006
Posts: 24
Thanks: 0
Thanked 4 Times in 3 Posts
Current votes table in pligg database

Hi,

I look at the votes table in the database, there is a potential problem.

If I allow guest to vote, the votes table could grow billion of rows.

Let's say I have 100,000 urls, voted by 10,000 users, the potential total rows could be

100,000 x 10,000 = 1,000,000,000

That is a billion rows. Will this crash my computer?

Thanks.
Reply With Quote
  #2 (permalink)  
Old 04-28-2007, 12:13 AM
dollars5's Avatar
Pligg Donor
 
Join Date: Dec 2006
Location: India
Posts: 2,154
Thanks: 290
Thanked 266 Times in 177 Posts
You would then need t cleanup the tables at that point - but that will sure not be very close. You can try changing the votes count to BIG_INT - but not sure - some database experts here should be able to explain - ash, kb , savant?
Reply With Quote
Reply

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 On
Similar Threads
Thread Thread Starter Forum Replies Last Post
Pligg integration with SMF Forum autoinc Modification Tutorials 64 05-19-2008 02:22 AM
Documenting, Diagramming, and Critiquing the Pligg Database MicroBerto General Help 4 03-31-2007 04:46 PM
Upgrading problem GurillaNET Installation and Upgrade Help 4 01-19-2007 10:56 AM


Search Engine Friendly URLs by vBSEO 3.2.0