Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    MYSQL


SuperbHosting.net have generously sponsored dedicated servers to ensure a reliable and scalable dedicated hosting solution for BigResource.com.





Size A MySQL Server


I've got a question about how to size the server hardware for a MySQL
system that I've got to buy and build. We're going to be putting a
database on MySQL that will contain upwards of 20 million rows of data.
This data will be used by Java applications running under Tomcat to
provide web pages, Java data objects and probably most importantly SOAP
web services. The total number of concurrent users of this data is not
know, but could be thousands / hour. The database will be essentially
read only, no transactions or updates by users. The whole thing will be
running on a RedHat Enterprise Linux AS server. What I'd like to know
is what kind of machine should I be buying; CPU speed wise, memory size
wise and disk size? My initial impression is that the requirements I've
outlined above could be handled readily by even a modest machine, but I
wanted to ask for feedback in case my impression is wrong.




View Complete Forum Thread with Replies

Related Forum Messages:
Server Has Gone Away (inc. Package Size Not Working)
I'm brand brand new to MySQL, and my first order of business is to import some larger files into a database. The file is 20 megs, though I do have files I want to include that near a gig (987mb to be exact).

This is my problem:

C:Program FilesMySQLMySQL Server 5.0>mysql -u root -p xmapprobedata < probese
t.sql
Enter password: *******
ERROR 2006 (HY000) at line 1: MySQL server has gone away

I'm doing this locally so its not a time-out/connection issue. The standard protocol online to fix this problem is to increase the package size. I went into my.ini and added "max_allowed_packet=999M" to both the client and server sections. The error persists.

View Replies !
Controlling The Server -&gt; Client Fetch Size
I see that mysql_use_result() and mysql_store_result() allow you to retrieve results into the client memory space either a single row at a time from the server or the entire result set from the server.

Is there a way to control the fetch size so that, say, I get 100 rows back from the server at a time? Cursors would probably do the trick, but then you can't build things in 'C'.

View Replies !
Size Of Indexes Versus Data File Size
I am adding indexes to a table with about 200,000 records. Every field indexed adds about 2MB to the index file (*.MYI).

The index file is around 8MB and the data file is around 10MB.

Is there some optimum ratio I need to know about?

(I have examined the queries and am indexing field used in WHERE, ORDER BY and GROUP BY clauses.)

View Replies !
What Is The Max Size Allow For Mysql???
when I dump my db (as in mysqldump) I realize that the size of file is getting big (I guess this is one of the database's nature - to grow :-) ).

Right now the size of my db is 200Mb and my estimation that it will grow in 800Mb/Per year (so it'll reach 1Gb by the end of the year)

Question: what size would it be wrong to use mySql? I mean, if my db size is 3Gb am I ok? should I expect performance issues? or it doesn't matter.

View Replies !
The Size Of MySQL
I've been thinking of using MySQL but after downloading it to test it out I see that its over 25MB in size. Why is it so large? (Of course relatively speaking.) If I dont need *anything* fancy, just simple storing and retrieving of information, why would I need such a large type of database?

View Replies !
Size Of MySQL Row With PHP
Is there any way in php to display the size of a row from a table in Kb? Cant find anything online, but i'm assuming it can be done.

View Replies !
Table Size In Mysql
how many records can i put in a mysql table. i need a table with more than 50,000,000 records (just 4 short fields, it's basically a log with id,action,date,result).

View Replies !
Mysql Table Size
i read the mysql manual and it's explained the maximum table size in many
operating system, but i can't find the maximum size for MS window (win32),
what's the maximum table size for win32?
My office want to migrate the database server to mysql, and it's contains a
millions record. Can mysql hold up tables with each have millions record?

View Replies !
> Mysql Table Size?
i read the mysql manual and it's explained the maximum table size in many
operating system, but i can't find the maximum size for MS window (win32),
what's the maximum table size for win32?

My office want to migrate the database server to mysql, and it's contains a
millions record. Can mysql hold up tables with each have millions record?

View Replies !
Size Of A Mysql Query
What is the maximum size (in characters) you can query in mysql (4.0)
I am making a dynamic generated query in php, which may cause the query-text to become very big.

View Replies !
Mysql Database Latent Size
We tried 2 techniques to mesure db size and both fails to return
realtime size.

a) under innodb, we ’show variables’, find the innodb_data_file_path
variable and parse the size (works only if not autoextend) and we
substract the ’InnoDB free: ??? kB’ from the Comment field of ’show
table status’.

b) for all monitored tables, we figure:

indexFree = indexLength/dataLength * dataFree

and we sum up:

dataLength-dataFree + indexLength-indexFree

In both case the size is fair, although not perfectly equal (method A
reports bigger size), but the growth is comparable.

The problem lies in the accuracy of that info. We do bulky deletes,
removing 10 to 40% of rows in many tables.

First bug, the size of the DB is not quickly following the ’delete’
statements (it may decay for 20-40 minutes after the statements
completed!!).

Second bug, the DB size is not changing for 1-2 hours even though we
inserts a lot.

(We are talking about a few 10 millions rows tables in a 40 gigs
InnoDB space, getting ~500 inserts/s, ~2000-5000 deletes/s)

How can one mesure the DB size more in real-time, and avoid/account
the latent period where growth seams abscent?

View Replies !
What's The Maximum Storage Size Of Mysql
what's the maximum size of data that mysql can actually sustain to by any chance?

View Replies !
Reducing Mysql Database Size
I run 4 forums and have 4 mysql databases of 100mb limit each.

It has come to my attention today that 1 of my forums had increased to 110mb in size, so I deleted a section of my forum which has 18,000 posts in which reduced the mysql database down to 85mb.

In contrast one of my other forums has twice as many posts yet is only 50mb in file size so I cannot understand why this forum which has less data has a mysql database of 85mb ?

I have checked all files and optimised the database and this has only brought things down from 110mb to 81mb.

What I do not understand is, is how come I already have a forum which is identical and has more posts yet is much less in database size, and how can I now go about reducing this one which is dangerously close to its limit.

View Replies !
How Do I Change MySQL Packet Size
How do I change MySQL Packet Size. It is currently set at 1m. I'm new to this so be gentle.

View Replies !
Mysql 4.x DATABASE Size Estimate
If i had a php forum that used mysql 4.x and I had 145forum posts with 500characters and a 450KB image in EACH and every post.

how many Megabytes would this take up in the MYSQL database Approximately?, because I know mysql database compresses the images and forum posts etc.I need to know this so I can decide what size HARD DRIVE to get for my server.

View Replies !
Reg MySQL Server Work As Local Network Or Remote Server
I installed mysql-5.0.51b-win32 version.How to configure in MySQL server work as local network or remote server.PostgreSQL we did configuration in pghba.conf host all all 0.0.0.0 0.0.0.0 md5.How we can do settings in MySQL 5.0 server.

View Replies !
Lost Connection To MySQL Server During Query (LAMP Server)
I recently installed an ubuntu LAMP server for my website and upon trying a script that uses a mysql database (which I set up the tables via phpmyadmin) and I get this error:

Warning: mysql_connect(): Lost connection to MySQL server during query in /home/tanner/Desktop/bot/DoctorWho/db_connect.php on line 4

I've searched the forums and I've gotten no answers. Anyone know the answer?

View Replies !
Setting Linesize And Column Size In MySQL 4.1.1?
In Oracle, you can set the iinesie and column size so the screen output looks nice and uniform. What are the equivalent commands in Mysql 4.1.1?

View Replies !
Queue Size Affect MySQL On RedHat
i want to know if the system parameter somaxconn affect the capabalities
of MySQL to maintain more than five thousands of HTTP connections ?

View Replies !
Maximum Size Limit Of MySQL Database?
What is really the maximum size limit of MySQL database? If we are designing a specific program that is projected to last for a longer period of time, and we will be using MYSQL database, we often ask our mind, how long will it stands to hold millions of records.

Got any brilliant ideas or tips, wherein we can maintain mysql performance and even the records go heavy, it can still perform its best.

Can it hold millions of records? what should be done inorder not to make it crawl after 2 or 3 more years?

View Replies !
What Parameter Control Mysql-bin Logs Size?
ls -althr Unix file system listing of bin files.
1.1G Mar 27 08:53 mysql-bin.000010
1.1G Mar 27 19:48 mysql-bin.000011
1.1G Mar 28 01:28 mysql-bin.000012

I see ALL my mysql-bin logs are about 1.1Gb in size and there must be an parameter that tell them to switch when It reaches this value but I can not see which parameter that controls this in ‘show variables’ or my.ctf - I would suspect it was max_binlog_size but the value does not come close to 1.1.G – do ANYBODY know what tells them to be 1.1G in size?

mysql> show variables like '%bin%' ; ....

View Replies !
Lost Connection To MySQL Server During Query / Server Has Gone Away
All of a sudden the server stopped working. When trying to execute a simple INSERT both from PHP and Query Browser, the server crashes and I get either "Lost connection to MySQL server during query" or "Server has gone away" errors.

The problem started on 5.0.18, and upgrading to 5.0.41 didn't help. I'm using Windows XP SP2.

I've seen quite a few posts on similar problems, but no real solutions though. Is that a bug?

View Replies !
Mysqldump From Server To Server OR Move Folder /var/lib/mysql?
I need to move db's from a live server to a new server. The new server will be replacing the existing server once it's setup, and I need to move the DBs in order to do the testing.

My question is this; if I use mysqldump to get a dump of all the DBs on the existing old server, and then import that .sql file to the new server, will that copy over *EVERYTHING* i need to get the DBs working again? Privilages etc ?

The alternative that I am considering is to move the /var/lib/mysql folder along with mysql.cnf. That should work, as we can change any locations in the mysql.cnf file, but it does mean taking the server offline while we tar the databases, which could take 30 mins or so.

View Replies !
How Listen Queue Size Affect MySQL On RedHat
i want to know if the system parameter somaxconn affect the capabalities
of MySQL to maintain more than five thousands of HTTP connections ?

View Replies !
Disk Size Of Tables[or Database] In Mysql Or Oracle
how can i know disk memory occupied by database[tables] in mysql or oracle.

View Replies !
SQL Server 2000 To MySQL Server
I'm trying to do an export from an SQL Server 2000 Database to and ODBC driver pointed to a mySQL Server Database. The export works if there is at least one record in the mySQL table. If the mySQL table is empty it gives an error that looks like this:

Insert error, column 1 ('field1', DBTYPE_STR), status 6: Data overflow.

The strange part is that the export works perfectly fine as long as there is one record in the mySQL table, if there are no records in the table, I get the error above.

View Replies !
Mysql Server And Regular Server
I recently decided to get another server to do just mysql, however, I ran into a few problems.
As soon as I switch the script to pull from the other server it creates a huge lag between the two and eventually starts timing out the sites. in my.cnf i did do skip-name-resolve but still the same thing.
Are there any programs or anything that are maybe bottlenecking it because the site will load in the first 10 secs after i switch the mysql (with a lag) but that lag gets bigger and bigger.
The mysql error log doesn't show anything weird either.
To further complicate things, another server that was pulling off it worked for the first few hours, then when traffic started to increase, it started doing the exact same thing. (both server loads were low and max connections was not getting even close). Roughly 600 qps, half to HEAP tables.

View Replies !
Mysql Server On A Remote Server
I have recently installed a mysql server on a remote server machine. It has 197.0.3.57 ip address assigned to it, and i believe the port it is using is 3306. I have also installed a mysql command line client on my PC, and successfully launched it. Now i have:

Enter password:

But how do i get connected with the remote mysql server, it seems the system is asking me to enter localhost password.

What sort of client package shall i install other than commnad line client if any? and what command shall i invoke to get me connected?

View Replies !
Unable To Connect To Database Server. Can't Connect To MySQL Server On 'localhost' (10055)
I am running a PHP application with mySQL . Some times it gives the following error.
I do not understrand why this error occures .

today i am using the application but it is not giving the error but error occures yested day .

Unable to connect to Database Server. Can't connect to MySQL server on 'localhost' (10055).

View Replies !
Does Mysql Store Max Size For Data Type Each Time, Or Only What Is Needed For Specific Data?
If I use MEDIUMTEXT, which (if I understand correctly) has a max size of 65k, does mysql use the entire size each time data is written to that column? I have a text field on my site that users fill in, but more often that not, they don't. However, when they do, it can be 1000 bytes or more. Am I wasting space using MEDIUMTEXT or does mysql only set aside 1000 bytes for that column if the data is only 1000 bytes?

View Replies !
ERROR 2002 (HY000): Can't Connect To Local MySQL Server Through Socket '/var/lib/mysql/mysql.sock' (13)
I have a problem connecting to sql and can't find anything on the net to solve the problem.

I have some sql databases running on a server. when I'm root on the server and I want to login to sql I do "mysql -ustudent -p -Dwordnet30 and it works fine. when I'm logged in with the user account on the server, i get this error message:

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13)

so with the same user name in mysql, i can log on when i'm root, but not when i'm the user. the grant table for the user looks like this: Code:

View Replies !
Can't Connect To Local MySQL Server Through Socket '/home/data/mysql/mysql.sock' (13)
I just installed mysql on linux. If I open a terminal, su to root,
then type "mysql", I am able to connect to the server and run my
queries.

If I exit out of su so that I am my own id (baisley) and type "mysql",
I get this error: Can't connect to local MySQL server through socket
'/home/data/mysql/mysql.sock' (13)

Any idea why? mysql.sock has full permissions (read/write/execute), so
it should be accessable by user baisley. If I am baisley and I run
"mysql -u mysql" (as mysql is the user that the RPM set up), it will
connect.

What I would like to be able to do is run this without having to be
user mysql all the time. How do I go about setting that up, or is it
better to run all my queries/make tables as 1 user?

View Replies !
Server Version: 5.1.31-community MySQL Community Server (GPL)
I have installed on my PC (Windows XP Professional Service Pack 3)
Server version: 5.1.31-community MySQL Community Server (GPL)

Using the mysql command line client:
Executing SHOW GLOBAL VARIABLES, I see the folowing:
storage_engine | InnoDB

Executing: show enginesG
returns:....

View Replies !
ERROR [HY000][MySQL][MyODBC 5.00.11][MySQL] 2006 MySQL Server Has Gone Away
Hosting Package Environment:
ASP.NET ver 2
MySQL 5.0
FP Extensions 2003

Progression:
Developed Website Outline
Developed Database in Access2003
Migrated AccessDB to MySQL @ Hosting Service using Migration Tool.
Can connect using MySQL Admin tools and run queries fine and all data, relations etc. are there.

PROBLEM: (The heart of the matter)
Starting simple, created GridView Control using Microsoft Visual Web Developer 2005 Express, a few glitches here and there, used the MySQL Connector/ODBC v5.00.11 followed instructions. Can see database in Database Connections Window but when I try to connect the GridView Control to it I get:

"Database schema could not be retrieved for this connection. Please make sure the connection settings are correct and that the database is online.

ERROR [HY000][MySQL][MyODBC 5.00.11][MySQL] 2006 MySQL server has gone away"

Had thought that "Microsoft Visual Web Developer 2005 Express" might be messing with the ODBC driver so thought to download the .NET Connector. That's when it all went bad. The documentation does not say how to install or use the connector or where to put the files. It seems to assume that these bits of information are common knowledge and I suppose that if I had kept up with the technology it might be. But alas I didn't and it Isn't and It Don't work.

View Replies !
Can't Connect To Local MySQL Server Through Socket '/var/lib/mysql/mysql.sock' (11)
We run Bitrix CMS and upon installing the web statistics module, it will sometimes show this error:

Error! mysql_connect('-', '-', '-')
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (11)

The max connections has been raised to a 1000... and SHOW GLOBAL STATUS says for the maxed used connections:

Max_used_connections 273

The server does not really max out...

View Replies !
How To Configure MySQL ODBC Driver To Connect To A Mysql Server On My Own Side Of The Router?
Using MS Access, I have attached to MySQL servers in other states
and other countries on the other side of my router. But when I use the
MySQL ODBC driver 3.51 to connect to a MySQL server on my own LAN,
the driver tells me it cannot make the connection. Here are the ODBC
driver connection parms:

Data Source Name: (free field - name my "my linux box" will do nicely)
Host/Server Name (or IP) - something like MSQLUserName@ServerName.net
has worked fine for me in the past. Now I'm trying 192.168.1.106
Database Name - whatever, mysqldb works fine, any valid db

User - root
Password - myrootpass

Port - 3306 has worked fine 4 me N the past. Dunno whether 2 use now
SQL Command On Connect - haven't ever put anything here

Perhaps there is some configuration in mysql user privilege for the
mysqluser "root" that would prevent him from logging from a remote PC
to the mysql server?

View Replies !
Warning: Mysql_query(): Can't Connect To Local MySQL Server Through Socket '/tmp/mysql.sock' (2)
I'm trying to connect to my MySQL database (sitehosted by GoDaddy) using PHP. I am having these errors and don't understand what they mean

Warning: mysql_query(): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /home/content/n/l/a/nladmin/html/v5.0_3/c_register.php on line 6
Warning: mysql_query(): A link to the server could not be established in /home/content/n/l/a/nladmin/html/v5.0_3/c_register.php on line 6

Notice: Query: SELECT * FROM types MySQL error: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /home/content/n/l/a/nladmin/html/v5.0_3/c_register.php on line 6
here4
Warning: mysql_close(): no MySQL-Link resource supplied in /home/content/n/l/a/nladmin/html/v5.0_3/c_register.php on line 13

I've checked paths and connection settings and don't see any problems. My guess is now that the problem is coming from the opening and closing of the DB. my script, c_register.php uses a require_once('../mysql_connect.php') to open the connection to the database. But I also have a function definition in c_register.php that uses require_once('../mysql_connect.php') when called because it needs a connection to the DB. Here's a visual that might help:

View Replies !
MySQL Error Number 2003 :: Can't Connnect To MySQL Server On 'hostname'(10065)
I was running an older version of the query browser a while back to connect to an older version of mySQL (3.0) running on a linux box. The server hasn't changed, but the query browser has been upgraded to 1.1.10. I can't go back to the older version of the query browser because the machine that ran it got re-formatted so I downloaded the new version and installed it.

So ... I get the following error when I try to connect:

MySQL Error Number 2003
Can't connnect to MySQL server on 'hostname'(10065)

Interestingly, I wrote a simple PHP script to connect to the server and pull some data off of it:

View Replies !
Download Of Mysql.sock File Unable To Connect To Mysql Server
Where can i get the download mysql.sock file?

I am unable to connect to local server because i dont have this file?

View Replies !
DBD::mysql::st Execute Failed: Lost Connection To MySQL Server During Query
I am using perl to connect to a database and then pull the rows off of the table one by one to manipulate the data.

If I use a smaller table (~8 MB), I wait for around 20 seconds but then the table values are read just fine. However if I use a larger table (~30 MB), I wait for a while and then I get the message:

DBD::mysql::st execute failed: Lost connection to MySQL server during query

I have tried searching for the solution to this problem and haven't found anything that helps yet. I have changed the values of 'max_allowed_packet' and 'wait_timeout', with no effect.

Any ideas?

View Replies !
MySQL Error 2013: Lost Connection To MySQL Server During Query
I'm running sugarcrm on mysql and the following query is returning "MySQL error 2013: Lost connection to MySQL server during query":

View Replies !
DB Size
i have a problem with my db Import maxsize (2.048KB) and i want to make it 12.000KB. How can i do it.

View Replies !
How To Set The Size For 5.0?
I would like to try to set set the size of MySQL for 5.0,however, I haven't found how to do that?

View Replies !
Size
What is the Size limit to MySQL can it have 200 gigs of data?

View Replies !
ERROR 2002 (HY000): Can't Connect To Local MySQL Server Through Socket '/tmp/mysql.sock' (2)
i install mysql 5.1 on my enterprise server and it was working very well.but one day i tried to login and i had this error :

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

The file mysql.sock doesn,t exist in the directory /tmp. but when i type in command line mysqld_safe everything work properly until i logout from my server.

View Replies !
I Want To Make Transfer Data Between MySQL Server To MySQL Local .
I want to make transfer data between MySQL Server to MySQL Local .

My Environment.

Server < --- > My PC Client

Server =
::::: MySQL DB Server ( for Linux )
::::: Apache ..
::::: Linux

PC Client =
::::: Window
::::: MySQL run localhost ( for window )

How i transfer data from mysql server to mysql local .?
Caz i don't want to connect via 3306 port ..
Can i use others way?

View Replies !

Copyright © 2005-08 www.BigResource.com, All rights reserved