mysql 5.0
|
|
paulie Femto
Into the dark
Join date: 13 Sep 2003
Posts: 1,098
|
10-05-2005 16:38
Mysql 5.0 is now available. It looks like a major upgrade: http://www.mysql.com/news-and-events/news/article_959.htmlIt's gettin good press: http://www.sqlsummit.com/articles/MySQL5.htmWhat version of mysql does SL use? Will SL be upgraded to 5.0 anytime soon?
_____________________
REUTERS on SL: "Thirty-five thousand people wearing their psyches on the outside and all the attendant unfettered freakishness that brings."
|
|
paulie Femto
Into the dark
Join date: 13 Sep 2003
Posts: 1,098
|
self bump
10-13-2005 11:59
I can't believe I got no response on this one. Well, I'm not lettin the question die. Especially in the wake of recent inventory losses. The asset server database NEEDS some upgrades.
_____________________
REUTERS on SL: "Thirty-five thousand people wearing their psyches on the outside and all the attendant unfettered freakishness that brings."
|
|
Ian Linden
Linden Lab Employee
Join date: 19 Nov 2002
Posts: 183
|
10-13-2005 17:31
SL uses mysql 4.0.24. We're just starting compatibility testing with 4.1. While 5.0 has alot to offer, it's still in development, and mysql AB recommends: "use this for previewing and testing new features" - so we won't be switching to it until well AFTER it's declared "stable".
It's true that the inventory server needs an upgrade, which is in progress. We have a shiny new system but ran into stability problems with the initial configuration, and so had to delay putting it online until it was too late. Now it's online and we're (slowly) moving residents over to it.
|
|
Adam Zaius
Deus
Join date: 9 Jan 2004
Posts: 1,483
|
10-13-2005 18:38
Err. MySQL5 isnt even in production release yet.
Going into an unsupported database, without seeing any long term reliability tests in it yet, just begs for a catastrophic accident. You want to increase stability by upgrading to an unproven, potentially unstable release? I dont grasp your logic.
LL is doing the right thing, keeping with what has been proven to work. The only thing 5.0 offers is new features. It is not a stability/reliability upgrade. It's a matter of bringing MySQL to complete SQL92 compliance, which frankly is irrelevant for LL.
-Adam
|
|
Adam Zaius
Deus
Join date: 9 Jan 2004
Posts: 1,483
|
10-13-2005 18:40
Also, the asset server and the DB server are two very different pieces of software.
The DB server (aka user server) is MySQL, the asset server a long long time ago was MySQL, but LL eventually replaced it with an in-house database system when it was proven that MySQL was going to collapse badly under the strain of several TB sized tables.
|
|
Dnate Mars
Lost
Join date: 27 Jan 2004
Posts: 1,309
|
10-13-2005 19:26
From: Ian Linden SL uses mysql 4.0.24. We're just starting compatibility testing with 4.1. While 5.0 has alot to offer, it's still in development, and mysql AB recommends: "use this for previewing and testing new features" - so we won't be switching to it until well AFTER it's declared "stable".
It's true that the inventory server needs an upgrade, which is in progress. We have a shiny new system but ran into stability problems with the initial configuration, and so had to delay putting it online until it was too late. Now it's online and we're (slowly) moving residents over to it. Oh! Could this be the reason for the sudden issues people are having with logins? Keep up the good work Ian 
_____________________
Visit my website: www.dnatemars.comFrom: Cristiano Midnight This forum is weird.
|
|
Ian Linden
Linden Lab Employee
Join date: 19 Nov 2002
Posts: 183
|
10-13-2005 19:42
That is the reason, yes. Things are improving - the most recent slowdowns are actually from the load of moving people from old to new. We're going to be a little less aggressive with that now that we've made some progress, so things should improve.
|
|
Osgeld Barmy
Registered User
Join date: 22 Mar 2005
Posts: 3,336
|
10-13-2005 19:56
heh yea repace stable and fast with inhouse that has constant issues (wheres my gold stars)
|
|
Malachi Petunia
Gentle Miscreant
Join date: 21 Sep 2003
Posts: 3,414
|
10-14-2005 11:42
From: Osgeld Barmy heh yea repace stable and fast with inhouse that has constant issues (where are my gold stars) Umm... I dropped them on your profile but I guess there must have been some issues with asset transfer.  *runs and hides*
|
|
paulie Femto
Into the dark
Join date: 13 Sep 2003
Posts: 1,098
|
DB switched because MySQL couldnt handle terabyte tables?
10-14-2005 16:31
DB switched because MySQL couldnt handle terabyte tables? With the MyISAM storage engine in MySQL 3.23, the maximum table size was increased to 65536 terabytes source: http://dev.mysql.com/doc/refman/5.0/en/table-size.htmlThe maximum effective table size for MySQL databases is usually determined by operating system constraints on file sizes, not by MySQL internal limits. What storage engine and OS is LL usin with MySQL? MySQL should be more than able to handle terabyte tables. As to stability, MySQL Ab seems to think that its production-ready: http://www.mysql.com/news-and-events/news/article_959.htmland http://dev.mysql.com/doc/refman/5.0/en/stability.htmlquote: "With MySQL 5.0 being that stable, I encourage you to do all of your new database development using MySQL 5.0." As for 5.0 being only a "standards compliance" release: "Performance enhancements: A number of improvements were made in MySQL 5.0 to improve the speed of certain types of queries and in the handling of certain types. These include:..." or "Precision Math: MySQL 5.0 introduced stricter criteria for acceptance or rejection of data, and implemented a new library for fixed-point arithmetic. These contributed to a much higher degree of accuracy for mathematical operations and greater control over invalid values. See Chapter 22, Precision Math." and "Performance Improvements in the InnoDB Storage Engine:" or " The performance of the MySQL client library is increased through the use of a receive buffer that greatly reduces the number of system calls which the library needs to make. This can speed up the retrieval of large result sets by a factor of 2." etc, etc, etc.
_____________________
REUTERS on SL: "Thirty-five thousand people wearing their psyches on the outside and all the attendant unfettered freakishness that brings."
|
|
Essence Lumin
.
Join date: 24 Oct 2003
Posts: 806
|
10-14-2005 16:49
I'm not sure what your point is here. From: paulie Femto "Precision Math: MySQL 5.0 introduced stricter criteria for acceptance or rejection of data
They wouldn't have to try very hard to introduce stricter criteria for all of their data. Geez, you declare something a varchar(10) and give it something 12 characters long it will just be helpful and chop it off for you. Or accept that February 31st date converting it to March 3 or something. Blech.
|
|
Osgeld Barmy
Registered User
Join date: 22 Mar 2005
Posts: 3,336
|
10-14-2005 20:17
lol w/ Malachi Petunia 
|
|
Adam Zaius
Deus
Join date: 9 Jan 2004
Posts: 1,483
|
10-15-2005 02:27
From: paulie Femto DB switched because MySQL couldnt handle terabyte tables? With the MyISAM storage engine in MySQL 3.23, the maximum table size was increased to 65536 terabytes source: http://dev.mysql.com/doc/refman/5.0/en/table-size.htmlThe maximum effective table size for MySQL databases is usually determined by operating system constraints on file sizes, not by MySQL internal limits. What storage engine and OS is LL usin with MySQL? MySQL should be more than able to handle terabyte tables. As to stability, MySQL Ab seems to think that its production-ready: http://www.mysql.com/news-and-events/news/article_959.htmland http://dev.mysql.com/doc/refman/5.0/en/stability.htmlquote: "With MySQL 5.0 being that stable, I encourage you to do all of your new database development using MySQL 5.0." As for 5.0 being only a "standards compliance" release: "Performance enhancements: A number of improvements were made in MySQL 5.0 to improve the speed of certain types of queries and in the handling of certain types. These include:..." or "Precision Math: MySQL 5.0 introduced stricter criteria for acceptance or rejection of data, and implemented a new library for fixed-point arithmetic. These contributed to a much higher degree of accuracy for mathematical operations and greater control over invalid values. See Chapter 22, Precision Math." and "Performance Improvements in the InnoDB Storage Engine:" or " The performance of the MySQL client library is increased through the use of a receive buffer that greatly reduces the number of system calls which the library needs to make. This can speed up the retrieval of large result sets by a factor of 2." etc, etc, etc. Big difference between what it says it can do, and what it can do. For asset storage, MySQL is the wrong tool for the job, no questions asked. Also, while MySQL may /support/ 65kTB databases, it wont in practice. A table bigger than about 4GB will start running very slowly; especially for any moderately complicated queries; especially not when you scale that to 8TB.
|
|
paulie Femto
Into the dark
Join date: 13 Sep 2003
Posts: 1,098
|
woof
10-24-2005 11:04
"MySQL AB today announced the general availability of MySQL 5.0, the most significant product upgrade in the company's ten-year history. The major new version delivers advanced SQL standard-compliant features such as stored procedures, triggers, views & new pluggable storage engines. Over 30 enterprise platform and tool vendors have also expressed enthusiastic support for the new release of the world's most popular open source database."
Yeah. Sounds like a dog to me.
_____________________
REUTERS on SL: "Thirty-five thousand people wearing their psyches on the outside and all the attendant unfettered freakishness that brings."
|
|
blaze Spinnaker
1/2 Serious
Join date: 12 Aug 2004
Posts: 5,898
|
10-24-2005 12:12
From: Adam Zaius Big difference between what it says it can do, and what it can do. For asset storage, MySQL is the wrong tool for the job, no questions asked.. What's the right tool? (Closed and/or open source)
|
|
Ian Linden
Linden Lab Employee
Join date: 19 Nov 2002
Posts: 183
|
10-24-2005 12:37
For storing assets (files, basically) we use a cluster of webservers running apache. HTTP is efficent, stable, well-understood, and easy to cache. Because the filesystem is many TB and the performance demands are high, these webservers use a commercial clustered filesystem which makes all data available from all nodes, even if one of them is down. (Although it is not bug-free, which led to the asset performance problems we had a while back) This gives us an order of magnitude more throughput than putting assets in mysql directly.
It's not clear that we will always use this method - ultimately we hope to move primary asset storage onto the sims themselves, but that would involve a high-risk custom distribution mechanism.
|
|
paulie Femto
Into the dark
Join date: 13 Sep 2003
Posts: 1,098
|
Q
10-25-2005 12:31
Thanks for the info on how it works.  That's a cool solution.
_____________________
REUTERS on SL: "Thirty-five thousand people wearing their psyches on the outside and all the attendant unfettered freakishness that brings."
|