Why is LS1Tech so SLOW???
antagonist - you're an idiot
. Im the proud owner of a very fast 02 Z28. I am just tired of reading all the stupid posts. A different viewpoint is all it is.Seeing as Brains here has been working on the database for the past few years, I'm more inclined to trust him on this one. Argue with us all you want, its just going to provide me with some humor

By arguing with Brains your just going to waste precious time he could put to the site
The Best V8 Stories One Small Block at Time
. SQL = structured query language. Queries, get it? It doesnt matter what language is used to create the program using the database
. You can execute SQL from WITHIN almost any language.
If you know what you are doing.
SQL is the language that extracts/updates/maintains the information to and from the database.
You must have a language that executes the SQL commands because it cannot interface with the user by itself in a simplistic form. Think of it more as a script that needs a runtime interpreter. The point I was trying to make is that this site is not just driven by SQL, there is a whole lot more to it.
But what the hell do I know, I just write and maintain database code for a major corporation.

VB or any other language will not do anything its not instructed to do.
He is talking about Virtual Bulletin not Visual Basic
You remind me of this new guy at work "he has taken a SQL class in college so he knows everything"
Since you posess SOO much knowledge and talent, I'm simply AMAZED you haven't written your own forum software and become a millionaire

Anyway, allow me to enlighten you, grasshopper:
In many cases, you can make an educated guess about which locking type is best for an application, but generally it is difficult to say that a given lock type is better than another. Everything depends on the application and different parts of an application may require different lock types.
To decide whether you want to use a storage engine with row-level locking, you should look at what your application does and what mix of select and update statements it uses. For example, most Web applications perform many selects, relatively few deletes, updates based mainly on key values, and inserts into a few specific tables. The base MySQL MyISAM setup is very well tuned for this.
Table locking in MySQL is deadlock-free for storage engines that use table-level locking. Deadlock avoidance is managed by always requesting all needed locks at once at the beginning of a query and always locking the tables in the same order.
The table-locking method MySQL uses for WRITE locks works as follows:
*
If there are no locks on the table, put a write lock on it.
*
Otherwise, put the lock request in the write lock queue.
The table-locking method MySQL uses for READ locks works as follows:
*
If there are no write locks on the table, put a read lock on it.
*
Otherwise, put the lock request in the read lock queue.
When a lock is released, the lock is made available to the threads in the write lock queue, then to the threads in the read lock queue.
This means that if you have many updates for a table, SELECT statements wait until there are no more updates.
I'm glad to hear that you guys are working on the problem.
With all the sponsors that LS1tech.com has and what each and everyone pays to be a sponsor, money should not be a problem of making this board faster.
It's usually a thankless job, but I'll say thank you for your time. After all you did respond to my PM about a database issue a while back.
He has no clue what he's talking about, and everyone can see that.
Antagonist - for running my little site (tiny in comparison to LS1 Tech) you have to use SQL, VBA, HTML & JSP, not to mention anything about the Hardware/Operating System/Applications side.
If you feel froggy, try taking on something like my work environment here at the State of Texas. 6000 concurrent connections, 24/7 support, millions of records, over 1 million lines of code. Daily each programmer has to use SQL, PL/SQL, HTML, JAVA, JavaScript, C++.
We have to support Tablet PC's, wireless access, high speed access, dial up access, encryption, and a million other things, just so our users can access a database. There is so much more to it all than just SQL.
Your statement is like saying "Fixing a cracked block is easy, it's just metal." Which in theory is correct, but for practical usage, is total BS.
How about I give you a hot steaming cup of:
Can we OVERCLOCK the database? Get some watercooling?
Or is this just about code efficiency 
J/K
What does corvetteforum.com use? They have some strange archiving that archives things very quickly and if you want to search the archives you have to click on a specific section of the forum.
Just throwing that out there. I'm sure you guys have exhausted all possible routes already.
PS. Ban him Travis!
Then there's performance tuning differences between database engines. One of the reasons why switching over to even InnoDB on MySQL doesn't pan out well, is the use of the ever-so-common SELECT COUNT(*). With the MyISAM storage engine, this isn't a costly call at all -- it executes instantaneously because with table locking the number of records is always the total number of rows in the table. With a storage engine that supports multi-level concurrency, you could have any number of records in flux -- inserts, deletes, etc. So, a COUNT(*) is very costly - especially on large tables. vBulletin makes heavy use of COUNT(*) as well, almost every page in fact. That will have to be rewritten as well.
The only "easy" solution I've come up with, and its one I may very well do first, is to segment the site. Basically turn the forums into a group of forums. vBulletin stores all the posts in one table, and all the threads in one table. That means we have over 3 million rows in the post table. It also means the whole thing is locked on updates, which is why the entire site freezes up when locks are held. By segmenting, I can reduce that to one pair of post/thread tables per group of forums, or possibly per forum. That would reduce the number of rows considerably, and severe lock times would only affect one or a small set of forums.
Can we OVERCLOCK the database? Get some watercooling?
Or is this just about code efficiency 
J/K
What does corvetteforum.com use? They have some strange archiving that archives things very quickly and if you want to search the archives you have to click on a specific section of the forum.
Just throwing that out there. I'm sure you guys have exhausted all possible routes already.
PS. Ban him Travis!

If you know what you are doing.


