TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,966
  • Latest: safir45
Stats
  • Total Posts: 195,985
  • Total Topics: 21,321
  • Online today: 781
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 257
  • Total: 258
  • illori

Very Very Very Slow

Started by parentingdiscussions, April 07, 2006, 03:47:04 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

parentingdiscussions


TwinsX2Dad


G6Cad

QuoteHave you tried indexing your tables?

Tutorial please Twins :)

Whats that, and how to do it ?  :o

IchBin

Maybe something to try would be to create a new database. Then export each table one by one and put them in the new database one by one. Then you can see which Table is causing it, if it is...

TwinsX2Dad

Indexing the fields in your database is a simple task, if you have phpMyAdmin, but could be a little time consuming. It is done much quicker from command line, but the minute I try to describe that function here, someone will crash their database - plus most don't have command line access.

Open phpMyAdmin and select your database.

Then open each table (view structure). Select the fields desired (or select all) and choose the index function.

Pretty simple operation and it can speed up your database as well as make optimization more efficient. It can increase your DB size, though - so if you're pressed for disk space, you might think twice before a wholesale indexing operation.

Start with the boards table.


G6Cad

QuoteOpen phpMyAdmin and select your database.

Then open each table (view structure). Select the fields desired (or select all) and choose the index function.

Pretty simple operation and it can speed up your database as well as make optimization more efficient.

Thanks Twins, will take a go at it right now and see it there is any emprovement.

TwinsX2Dad

If I remember correctly, you will need to make some modifications to some tables. A serious flaw in SMF is it doesn't always create, handle or update tables correctly or completely.

stigmartyr

Quote from: IchBinÃ,â,,¢ on April 07, 2006, 08:45:21 PM
Maybe something to try would be to create a new database. Then export each table one by one and put them in the new database one by one. Then you can see which Table is causing it, if it is...
OMGz :O  I would rather 'DELETE' and start all over than waste my life scanning thru SQL tables .. and desperately fighting them to work right hehehe.  That is unless Im billing by the hour. ;)

parentingdiscussions

It is going to work one way or the other!!!

G6Cad

QuoteOMGz :O  I would rather 'DELETE' and start all over than waste my life scanning thru SQL tables .. and desperately fighting them to work right hehehe.  That is unless Im billing by the hour.

I think of it like this...

Twins gave a thought of how to maby find the error and see if it help.

I try it out, see what comes from it, maby it does get better, maby it dont, but in the process, even if it is a bit boring, i learn something from it :)
So it aint all that bad to atleast try the diffrent ways for fixing things, especially if there comes a good idea on a way to perhaps solve the problem ;) 

This website is proudly hosted on Crocweb Cloud Website Hosting.