Previous Thread
Next Thread
Print Thread
Rate Thread
#292668 12/11/2003 12:02 AM
Joined: May 1999
Posts: 3,039
Guru
Guru
Offline
Joined: May 1999
Posts: 3,039
For anyone that is running 6.4. It seems that in some instances an important index isn't being created on the w3t_Last table. If the index isn't created your forum will start to slow down. You can check to make sure this index has been created by running the following sql command:

SHOW KEYS FROM w3t_Last

This should return 2 results something like this:

Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Comment
w3t_Last 0 PRIMARY 1 L_Uid A
w3t_Last 0 PRIMARY 2 L_Board A 17259


If you don't see two PRIMARY keys, then this index didn't get created. In that case you will need to run the following 2 sql commands:

DELETE FROM w3t_Last

ALTER TABLE w3t_Last
ADD PRIMARY KEY Last_index(L_Uid,L_Board)

This will make it so all posts are unread for every user, but the index should be created at this point. You can verify this by running the SHOW KEYS FROM w3t_Last command up above and checking for the 2 returned results.

If you have a custom table prefix you will need to replace w3t_ with your prefix on all the commands.

For those that do need to create the index manually, if you can let me know that would be great so I can see how widespread of an issue this is.


UBB.threads Developer
Sponsored Links
Entire Thread
Subject Posted By Posted
Anyone running 6.4 Rick 12/11/2003 7:02 AM
Re: Anyone running 6.4 scroungr 12/11/2003 7:56 AM
Re: Anyone running 6.4 Zarzal 12/11/2003 10:48 AM
Re: Anyone running 6.4 AllenAyres 12/11/2003 7:33 PM
Re: Anyone running 6.4 Rick 12/11/2003 8:07 PM
Re: Anyone running 6.4 Rick 12/13/2003 9:37 PM
Re: Anyone running 6.4 Zarzal 12/14/2003 12:56 AM
Re: Anyone running 6.4 Rutto 12/15/2003 10:53 PM
Re: Anyone running 6.4 Rutto 12/15/2003 11:15 PM
Re: Anyone running 6.4 Zarzal 12/15/2003 11:36 PM
Re: Anyone running 6.4 Rutto 12/16/2003 12:04 AM
Re: Anyone running 6.4 Dalantech 12/17/2003 9:46 AM
Re: Anyone running 6.4 Rick 12/17/2003 5:59 PM
Re: Anyone running 6.4 AKD96 12/17/2003 7:41 PM
Re: Anyone running 6.4 JoshPet 12/17/2003 9:11 PM
Re: Anyone running 6.4 AKD96 12/17/2003 9:34 PM
Re: Anyone running 6.4 Dalantech 12/18/2003 3:39 PM
Re: Anyone running 6.4 Rick 12/18/2003 7:07 PM
Re: Anyone running 6.4 omegatron 12/18/2003 7:12 PM
Re: Anyone running 6.4 Rick 12/18/2003 7:17 PM
Re: Anyone running 6.4 omegatron 12/18/2003 7:26 PM
Re: Anyone running 6.4 Dalantech 12/18/2003 10:37 PM
Re: Anyone running 6.4 omegatron 12/18/2003 11:29 PM
Re: Anyone running 6.4 Dalantech 12/20/2003 9:27 AM
Re: Anyone running 6.4 Gregori 12/23/2003 12:27 PM
Re: Anyone running 6.4 omegatron 12/23/2003 3:46 PM
Re: Anyone running 6.4 Gregori 12/23/2003 4:45 PM
Re: Anyone running 6.4 omegatron 12/23/2003 4:51 PM
Re: Anyone running 6.4 coloradok5 12/23/2003 7:11 PM
Re: Anyone running 6.4 coloradok5 12/23/2003 7:37 PM
Re: Anyone running 6.4 coloradok5 12/23/2003 11:13 PM
Re: Anyone running 6.4 Gregori 12/24/2003 3:40 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
JAISP
JAISP
PA
Posts: 449
Joined: February 2008
Forum Statistics
Forums63
Topics37,583
Posts293,955
Members13,825
Most Online151,614
Nov 14th, 2025
Today's Statistics
Currently Online 5263
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 5
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 20260108)