Previous Thread
Next Thread
Print Thread
Rate Thread
animehelp #210332 04/28/2001 7:11 PM
Joined: Jul 2000
Posts: 82
Member
Member
Offline
Joined: Jul 2000
Posts: 82
You might be able to use a merge table (available in MySQL 3.23.25) to split the data tables down without having to do much surgery to W3T. I've never used them myself, but from the description it sounds like it allows you to SELECT and DELETE (but not INSERT) from a collection of tables that have the same column definitions as if they were one big table.

Here is a very rough idea (without much thought about the details of the W3T internals--I'm not enough of an expert). You could create two tables: new_posts, and old_posts, and a merge table called all_posts. All new posts get put into new_posts which is a small table (you would periodically move its contents over to old_posts to keep it small) so inserts would be fast and your locking problem is (hopefully) gone. When users navigate through the forum it reads from all_posts so everything behaves as it currently does (since new_posts is small there shouldn't be much performance hit for having two tables instead of one). Probably the only change needed to W3T would be to have the code able to INSERT and SELECT from two different tables (new_posts and all_posts respectively).

Bill Dimm, SaveTheFreeWeb.com

Sponsored Links
Entire Thread
Subject Posted By Posted
Performance stroker 04/26/2001 8:50 PM
Re: Performance Rick 04/27/2001 12:47 AM
Re: Performance jriihi 04/27/2001 7:12 AM
Re: Performance Mors 04/27/2001 7:26 AM
Re: Performance Rick 04/27/2001 3:05 PM
Re: Performance stroker 04/27/2001 9:36 PM
Re: Performance aantix 04/28/2001 12:32 AM
Re: Performance Rick 04/28/2001 12:47 AM
Re: Performance Eileen 04/28/2001 2:59 AM
Re: Another Note on Performance aantix 04/28/2001 7:22 AM
Re: Another Note on Performance stroker 04/28/2001 8:34 AM
Re: Performance BillD 04/29/2001 3:11 AM
Re: Performance aantix 04/29/2001 5:13 AM
Re: Performance jriihi 04/29/2001 7:05 AM
Re: Performance BillD 04/29/2001 7:05 PM
Re: Performance stroker 04/29/2001 8:19 PM
Re: Performance BillD 04/29/2001 8:34 PM
Re: Performance stroker 04/29/2001 8:51 PM
95% of w3thread database writes are non-essential mario2 06/13/2001 9:18 AM

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
• Shock Hosting
• Stable Host
• bluehost
• InterServer
Visit us on Facebook
Member Spotlight
AllenAyres
AllenAyres
Texas
Posts: 21,080
Joined: March 2000
Forum Statistics
Forums63
Topics37,583
Posts293,957
Members13,826
Most Online151,614
Nov 14th, 2025
Today's Statistics
Currently Online 3418
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 25
Top Posters
AllenAyres 21,080
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2026 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20261026)