1 Machine with 4 GB RAM for Big Size MySQL Data Size
1 Machine with 4 GB RAM for Big Size MySQL Data Size
am 04.09.2009 18:48:18 von muhammad subair
--000e0cd330c864375b0472c34417
Content-Type: text/plain; charset=ISO-8859-1
One of my potential clients want to migrate their application to web based
(PHP & MySQL), estimates of the data size is 24GB and growth per month is
20MB of data. Unfortunately, they could only use 1 sever machine with 4GB
RAM.
The application used in intranet, just running simple transactions and the
number of users concurent is under 10.
I need information and suggestion about this condition, whether the effort
spent on implementation and future maintenance is not too large for use
MySQL with this condition?
*btw sorry for my English*
Thanks you very much,
--
Muhammad Subair
--000e0cd330c864375b0472c34417--
Re: 1 Machine with 4 GB RAM for Big Size MySQL Data Size
am 04.09.2009 18:57:59 von Colin Streicher
What sort of data? Is it currently stored in a database? If so, how many
tables?
24GB of text data in a single table is quite a bit, but manageable if
maintained properly.
24 GB of binary data on the other hand, is not very much at all.
Colin
On Friday 04 September 2009 12:48:18 pm muhammad subair wrote:
> One of my potential clients want to migrate their application to web based
> (PHP & MySQL), estimates of the data size is 24GB and growth per month is
> 20MB of data. Unfortunately, they could only use 1 sever machine with 4GB
> RAM.
>
> The application used in intranet, just running simple transactions and the
> number of users concurent is under 10.
>
> I need information and suggestion about this condition, whether the effort
> spent on implementation and future maintenance is not too large for use
> MySQL with this condition?
>
> *btw sorry for my English*
>
> Thanks you very much,
>
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/mysql?unsub=gcdmg-mysql-2@m.gmane.org
Re: 1 Machine with 4 GB RAM for Big Size MySQL Data Size
am 04.09.2009 19:47:44 von Brent Baisley
The size of the data is largely irrelevant, it depends on how much of
it you need to use at once. For most setups, 4GB should be more than
enough. A single server is always a bad idea since it's a single point
of failure.
Concurrent users isn't really relevant with the database either since
it's unlikely all of them will be running a query at the same time.
Unless your queries are really slow.
I'm using a server with 2GB RAM that gets 300K hits a day, adds 250K
records per day to the databases, with one table having almost 50
million records.
Brent Baisley
On Fri, Sep 4, 2009 at 12:48 PM, muhammad subair wrote:
> One of my potential clients want to migrate their application to web base=
d
> (PHP & MySQL), estimates of the data size is 24GB and growth per month is
> 20MB of data. =A0Unfortunately, they could only use 1 sever machine with =
4GB
> RAM.
>
> The application used in intranet, just running simple transactions and th=
e
> number of users concurent is under 10.
>
> I need information and suggestion about this condition, whether the effor=
t
> spent on implementation and future maintenance is not too large for use
> MySQL with this condition?
>
> *btw sorry for my English*
>
> Thanks you very much,
> --
> Muhammad Subair
>
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/mysql?unsub=3Dgcdmg-mysql-2@m.gmane.o rg
Re: 1 Machine with 4 GB RAM for Big Size MySQL Data Size
am 05.09.2009 00:10:31 von mos
At 11:48 AM 9/4/2009, you wrote:
>One of my potential clients want to migrate their application to web based
>(PHP & MySQL), estimates of the data size is 24GB and growth per month is
>20MB of data. Unfortunately, they could only use 1 sever machine with 4GB
>RAM.
>
>The application used in intranet, just running simple transactions and the
>number of users concurent is under 10.
>
>I need information and suggestion about this condition, whether the effort
>spent on implementation and future maintenance is not too large for use
>MySQL with this condition?
>
>*btw sorry for my English*
>
>Thanks you very much,
>--
>Muhammad Subair
Muhammad,
It will depend on your queries and how efficiently you write them. A
poorly constructed query on a 24MB table will perform worse than an
optimized query on a 24GB table. If you can show us your table structure
and query example, (are you joining tables?), then we can guestimate better.
Mike
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/mysql?unsub=gcdmg-mysql-2@m.gmane.org
Re: 1 Machine with 4 GB RAM for Big Size MySQL Data Size
am 05.09.2009 02:15:35 von muhammad subair
--000e0cd64914085a470472c98481
Content-Type: text/plain; charset=ISO-8859-1
On Sat, Sep 5, 2009 at 5:10 AM, mos wrote:
> At 11:48 AM 9/4/2009, you wrote:
>
>> One of my potential clients want to migrate their application to web based
>> (PHP & MySQL), estimates of the data size is 24GB and growth per month is
>> 20MB of data. Unfortunately, they could only use 1 sever machine with 4GB
>> RAM.
>>
>> The application used in intranet, just running simple transactions and the
>> number of users concurent is under 10.
>>
>> I need information and suggestion about this condition, whether the effort
>> spent on implementation and future maintenance is not too large for use
>> MySQL with this condition?
>>
>> *btw sorry for my English*
>>
>> Thanks you very much,
>> --
>> Muhammad Subair
>>
>
> Muhammad,
> It will depend on your queries and how efficiently you write them. A
> poorly constructed query on a 24MB table will perform worse than an
> optimized query on a 24GB table. If you can show us your table structure
> and query example, (are you joining tables?), then we can guestimate better.
>
> Mike
>
> --
>
Thank you for the feedback and input from all friends.
Currently I have yet enter the design phase, just survey phase to get the
information about the data which will migrate from the legacy application.
Fyi, the input data which will migrate to MySQL is txt and not normal for
Relational Database.
Based on existing feedbacks, I conclude that this project makes sense and
can be continued. Perhaps with a note of the problem in vailure single point
because there is only 1 server.
Furthermore if there is progress again, I'll try sharing.
Thank you very much
--
Muhammad Subair
--000e0cd64914085a470472c98481--
Re: 1 Machine with 4 GB RAM for Big Size MySQL Data Size
am 05.09.2009 06:15:39 von Colin Streicher
On Friday 04 September 2009 08:15:35 pm muhammad subair wrote:
> On Sat, Sep 5, 2009 at 5:10 AM, mos wrote:
> > At 11:48 AM 9/4/2009, you wrote:
> >> One of my potential clients want to migrate their application to web
> >> based (PHP & MySQL), estimates of the data size is 24GB and growth per
> >> month is 20MB of data. Unfortunately, they could only use 1 sever
> >> machine with 4GB RAM.
> >>
> >> The application used in intranet, just running simple transactions and
> >> the number of users concurent is under 10.
> >>
> >> I need information and suggestion about this condition, whether the
> >> effort spent on implementation and future maintenance is not too large
> >> for use MySQL with this condition?
> >>
> >> *btw sorry for my English*
> >>
> >> Thanks you very much,
> >> --
> >> Muhammad Subair
> >
> > Muhammad,
> > It will depend on your queries and how efficiently you write them. A
> > poorly constructed query on a 24MB table will perform worse than an
> > optimized query on a 24GB table. If you can show us your table structure
> > and query example, (are you joining tables?), then we can guestimate
> > better.
> >
> > Mike
> >
> > --
>
> Thank you for the feedback and input from all friends.
>
> Currently I have yet enter the design phase, just survey phase to get the
> information about the data which will migrate from the legacy application.
> Fyi, the input data which will migrate to MySQL is txt and not normal for
> Relational Database.
>
> Based on existing feedbacks, I conclude that this project makes sense and
> can be continued. Perhaps with a note of the problem in vailure single
> point because there is only 1 server.
>
> Furthermore if there is progress again, I'll try sharing.
>
> Thank you very much
>
Perhaps its worth looking at a master-slave relationship between 2 servers if
you are concerned about a single point of failure.
Colin
--
There is a 20% chance of tomorrow.
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/mysql?unsub=gcdmg-mysql-2@m.gmane.org
RE: 1 Machine with 4 GB RAM for Big Size MySQL Data Size
am 05.09.2009 13:55:11 von Andrew Braithwaite
One word: Backups!
If your potential client must restrict you to one server then your
primary consideration in this design must be backups, this cannot be
stressed enough.
One server with 4GB main memory should be fine for your 24GB database
with small monthly growth and low number of users, you should be fine
using InnoDB with the default settings or perhaps some my.cnf tuning for
your particular needs (look at the www.mysqlperformanceblog.com archives
for some tips on that).
But you absolutely must consider backups, if they already have a backup
server then look at using the free version of zmanda or some other
backup scripts. If not then you could consider using Amazon S3 as a
backup solution, it's easy to use and quite cheap too.
Cheers,
Andrew
-----Original Message-----
From: Colin Streicher [mailto:colin@obviouslymalicious.com]=20
Sent: 05 September 2009 05:16
To: mysql@lists.mysql.com
Subject: Re: 1 Machine with 4 GB RAM for Big Size MySQL Data Size
On Friday 04 September 2009 08:15:35 pm muhammad subair wrote:
> On Sat, Sep 5, 2009 at 5:10 AM, mos wrote:
> > At 11:48 AM 9/4/2009, you wrote:
> >> One of my potential clients want to migrate their application to
web
> >> based (PHP & MySQL), estimates of the data size is 24GB and growth
per
> >> month is 20MB of data. Unfortunately, they could only use 1 sever
> >> machine with 4GB RAM.
> >>
> >> The application used in intranet, just running simple transactions
and
> >> the number of users concurent is under 10.
> >>
> >> I need information and suggestion about this condition, whether the
> >> effort spent on implementation and future maintenance is not too
large
> >> for use MySQL with this condition?
> >>
> >> *btw sorry for my English*
> >>
> >> Thanks you very much,
> >> --
> >> Muhammad Subair
> >
> > Muhammad,
> > It will depend on your queries and how efficiently you write
them. A
> > poorly constructed query on a 24MB table will perform worse than an
> > optimized query on a 24GB table. If you can show us your table
structure
> > and query example, (are you joining tables?), then we can guestimate
> > better.
> >
> > Mike
> >
> > --
>=20
> Thank you for the feedback and input from all friends.
>=20
> Currently I have yet enter the design phase, just survey phase to get
the
> information about the data which will migrate from the legacy
application.
> Fyi, the input data which will migrate to MySQL is txt and not normal
for
> Relational Database.
>=20
> Based on existing feedbacks, I conclude that this project makes sense
and
> can be continued. Perhaps with a note of the problem in vailure single
> point because there is only 1 server.
>=20
> Furthermore if there is progress again, I'll try sharing.
>=20
> Thank you very much
>=20
Perhaps its worth looking at a master-slave relationship between 2
servers if=20
you are concerned about a single point of failure.
Colin
--=20
There is a 20% chance of tomorrow.
--=20
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:
http://lists.mysql.com/mysql?unsub=3Dandrew.braithwaite@love film.com
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/mysql?unsub=3Dgcdmg-mysql-2@m.gmane.o rg
Re: 1 Machine with 4 GB RAM for Big Size MySQL Data Size
am 05.09.2009 15:20:12 von muhammad subair
--000e0cdf14b6ff20f90472d479aa
Content-Type: text/plain; charset=ISO-8859-1
Thanks you all, I will consider all the suggestion, and I will communicate
with the client. You all are so kind :)
On Sat, Sep 5, 2009 at 6:55 PM, Andrew Braithwaite <
andrew.braithwaite@lovefilm.com> wrote:
> One word: Backups!
>
> If your potential client must restrict you to one server then your
> primary consideration in this design must be backups, this cannot be
> stressed enough.
>
> One server with 4GB main memory should be fine for your 24GB database
> with small monthly growth and low number of users, you should be fine
> using InnoDB with the default settings or perhaps some my.cnf tuning for
> your particular needs (look at the www.mysqlperformanceblog.com archives
> for some tips on that).
>
> But you absolutely must consider backups, if they already have a backup
> server then look at using the free version of zmanda or some other
> backup scripts. If not then you could consider using Amazon S3 as a
> backup solution, it's easy to use and quite cheap too.
>
> Cheers,
>
> Andrew
>
> -----Original Message-----
> From: Colin Streicher [mailto:colin@obviouslymalicious.com]
> Sent: 05 September 2009 05:16
> To: mysql@lists.mysql.com
> Subject: Re: 1 Machine with 4 GB RAM for Big Size MySQL Data Size
>
> On Friday 04 September 2009 08:15:35 pm muhammad subair wrote:
> > On Sat, Sep 5, 2009 at 5:10 AM, mos wrote:
> > > At 11:48 AM 9/4/2009, you wrote:
> > >> One of my potential clients want to migrate their application to
> web
> > >> based (PHP & MySQL), estimates of the data size is 24GB and growth
> per
> > >> month is 20MB of data. Unfortunately, they could only use 1 sever
> > >> machine with 4GB RAM.
> > >>
> > >> The application used in intranet, just running simple transactions
> and
> > >> the number of users concurent is under 10.
> > >>
> > >> I need information and suggestion about this condition, whether the
> > >> effort spent on implementation and future maintenance is not too
> large
> > >> for use MySQL with this condition?
> > >>
> > >> *btw sorry for my English*
> > >>
> > >> Thanks you very much,
> > >> --
> > >> Muhammad Subair
> > >
> > > Muhammad,
> > > It will depend on your queries and how efficiently you write
> them. A
> > > poorly constructed query on a 24MB table will perform worse than an
> > > optimized query on a 24GB table. If you can show us your table
> structure
> > > and query example, (are you joining tables?), then we can guestimate
> > > better.
> > >
> > > Mike
> > >
> > > --
> >
> > Thank you for the feedback and input from all friends.
> >
> > Currently I have yet enter the design phase, just survey phase to get
> the
> > information about the data which will migrate from the legacy
> application.
> > Fyi, the input data which will migrate to MySQL is txt and not normal
> for
> > Relational Database.
> >
> > Based on existing feedbacks, I conclude that this project makes sense
> and
> > can be continued. Perhaps with a note of the problem in vailure single
> > point because there is only 1 server.
> >
> > Furthermore if there is progress again, I'll try sharing.
> >
> > Thank you very much
> >
> Perhaps its worth looking at a master-slave relationship between 2
> servers if
> you are concerned about a single point of failure.
>
> Colin
> --
> There is a 20% chance of tomorrow.
>
> --
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe:
> http://lists.mysql.com/mysql?unsub=andrew.braithwaite@lovefi lm.com
>
>
> --
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe: http://lists.mysql.com/mysql?unsub=msubair@gmail.com
>
>
--
Muhammad Subair
--000e0cdf14b6ff20f90472d479aa--