Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Jan 2000
Posts: 57
Enthusiast
Enthusiast
Offline
Joined: Jan 2000
Posts: 57
I'm not surprised you had problems with a 20GB database but I am guessing that most WWWThreads users only tens of thousands of posts rather than millions so the issue should not be too bad.

In addition, although the actual query may take longer to run, using joins can reduce the number of overall queries and 'in-between' code.

Finally, joins can make difficult tasks easy (which is why I used them for the forum drop-down list).

Your comments are all valid and true but not necesarliy (unless you are Sony) relevant to WWWThreads. If the joins are made on primary key fields which themselves are used as foreign keys in other tables then the performance impact for WWWThreads would be minimal. For example, an autonumber field in the users' table which is the primary key in the table could provide an efficient join to the posts table if the user is identified in that table by their unique ID.

Simon (Happy to debate these things)

Simon Wolf,
Webmaster,
Access All Areas
http://www.athree.com

Sponsored Links
Entire Thread
Subject Posted By Posted
LEFT OUTER JOINS IN 5.08 The Team 05/25/2000 3:41 PM
Re: LEFT OUTER JOINS IN 5.08 Rick 05/26/2000 6:43 PM
Re: LEFT OUTER JOINS IN 5.08 WolfUK 06/05/2000 6:29 PM
Re: LEFT OUTER JOINS IN 5.08 The Team 06/05/2000 7:03 PM
Re: LEFT OUTER JOINS IN 5.08 WolfUK 06/05/2000 8:00 PM
Re: LEFT OUTER JOINS IN 5.08 The Team 06/05/2000 8:48 PM
Re: LEFT OUTER JOINS IN 5.08 WolfUK 06/05/2000 9:14 PM

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:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Zarzal
Zarzal
Berlin, Germany
Posts: 808
Joined: July 2001
Forum Statistics
Forums63
Topics37,575
Posts293,932
Members13,824
Most Online6,139
Sep 21st, 2024
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,835
Greg Hard 4,625
Top Posters(30 Days)
Gizmo 1
Top Likes Received
isaac 82
Gizmo 20
Brett 7
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2025 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)