public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Database only server
@ 2010-01-12 14:15 Laurent Kappler
  2010-01-12 16:40 ` Neil Walker
  2010-01-12 16:46 ` Albert W. Hopkins
  0 siblings, 2 replies; 7+ messages in thread
From: Laurent Kappler @ 2010-01-12 14:15 UTC (permalink / raw
  To: gentoo-user

Hi,

I'm looking for some information about the configuration for a server 
used only for a huge database.
I guess dépendanding on which database server used Mysql or Berkley the 
hardware should not be same.
Or is it all about having a lot of RAM ?

Could I do that using only Mysql or is it possible to have Mysql and 
Berkley, or should I have just Berkley ... ?

Happy new year!!
Laurent





^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Database only server
  2010-01-12 14:15 [gentoo-user] Database only server Laurent Kappler
@ 2010-01-12 16:40 ` Neil Walker
  2010-01-12 16:46 ` Albert W. Hopkins
  1 sibling, 0 replies; 7+ messages in thread
From: Neil Walker @ 2010-01-12 16:40 UTC (permalink / raw
  To: gentoo-user

Laurent Kappler wrote:
> I'm looking for some information about the configuration for a server
> used only for a huge database.
> I guess dépendanding on which database server used Mysql or Berkley
> the hardware should not be same.
> Or is it all about having a lot of RAM ?

I think you will find it's more about the disk sub-system than anything
else.

> Could I do that using only Mysql or is it possible to have Mysql and
> Berkley, or should I have just Berkley ... ?

My choice would be mysql. It's used for one of the largest databases on
the planet - seti@home. ;)


Be lucky,

Neil
http://www.wwseti.us






^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Database only server
  2010-01-12 14:15 [gentoo-user] Database only server Laurent Kappler
  2010-01-12 16:40 ` Neil Walker
@ 2010-01-12 16:46 ` Albert W. Hopkins
  2010-01-12 17:36   ` Laurent Kappler
  1 sibling, 1 reply; 7+ messages in thread
From: Albert W. Hopkins @ 2010-01-12 16:46 UTC (permalink / raw
  To: gentoo-user

On Tue, 2010-01-12 at 15:15 +0100, Laurent Kappler wrote:
> Hi,
> 
> I'm looking for some information about the configuration for a server 
> used only for a huge database.
> I guess dépendanding on which database server used Mysql or Berkley the 
> hardware should not be same.
> Or is it all about having a lot of RAM ?
> 
> Could I do that using only Mysql or is it possible to have Mysql and 
> Berkley, or should I have just Berkley ... ?

Could you do *what*?

Do you mean Berkely DB?  Berkely DB isn't really a DBMS.  It's more of a
flat-file database.  It's not even relational, it's key->value based.

http://en.wikipedia.org/wiki/Berkeley_DB

One could argue that MySQL isn't a real DBMS too but I won't get into
that ;-)

Anyway it's very difficult to answer your questions without knowing what
your requirments are (how large is "huge", how many simultaneous users,
anticipated queries/sec etc.)




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Database only server
  2010-01-12 16:46 ` Albert W. Hopkins
@ 2010-01-12 17:36   ` Laurent Kappler
  2010-01-12 18:07     ` Laurent Kappler
  2010-01-12 18:59     ` Neil Walker
  0 siblings, 2 replies; 7+ messages in thread
From: Laurent Kappler @ 2010-01-12 17:36 UTC (permalink / raw
  To: gentoo-user

Albert W. Hopkins a écrit :
> On Tue, 2010-01-12 at 15:15 +0100, Laurent Kappler wrote:
>   
>> Hi,
>>
>> I'm looking for some information about the configuration for a server 
>> used only for a huge database.
>> I guess dépendanding on which database server used Mysql or Berkley the 
>> hardware should not be same.
>> Or is it all about having a lot of RAM ?
>>
>> Could I do that using only Mysql or is it possible to have Mysql and 
>> Berkley, or should I have just Berkley ... ?
>>     
>
> Could you do *what*?
>
> Do you mean Berkely DB?  Berkely DB isn't really a DBMS.  It's more of a
> flat-file database.  It's not even relational, it's key->value based.
>
> http://en.wikipedia.org/wiki/Berkeley_DB
>
> One could argue that MySQL isn't a real DBMS too but I won't get into
> that ;-)
>
> Anyway it's very difficult to answer your questions without knowing what
> your requirments are (how large is "huge", how many simultaneous users,
> anticipated queries/sec etc.)
>
>
>
>   
:)
I would like to know more about a configuration with Two servers one for 
DB and one for Apache.
I would have no idea of the number of request right now, I would like to 
set up a scalable small structure first.
But there might be from 5 to a 100 e-commerce application with like 
between 20 and 5000 products...so it can be small but it can looks huge 
to me :)

For me Berkley DB was all loaded in RAM and those been very fast.
Even experimental I would like to set up something performant.

thx ;)
Laurent





^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Database only server
  2010-01-12 17:36   ` Laurent Kappler
@ 2010-01-12 18:07     ` Laurent Kappler
  2010-01-12 18:59     ` Neil Walker
  1 sibling, 0 replies; 7+ messages in thread
From: Laurent Kappler @ 2010-01-12 18:07 UTC (permalink / raw
  To: gentoo-user

Laurent Kappler a écrit :
> Albert W. Hopkins a écrit :
>> On Tue, 2010-01-12 at 15:15 +0100, Laurent Kappler wrote:
>>  
>>> Hi,
>>>
>>> I'm looking for some information about the configuration for a 
>>> server used only for a huge database.
>>> I guess dépendanding on which database server used Mysql or Berkley 
>>> the hardware should not be same.
>>> Or is it all about having a lot of RAM ?
>>>
>>> Could I do that using only Mysql or is it possible to have Mysql and 
>>> Berkley, or should I have just Berkley ... ?
>>>     
>>
>> Could you do *what*?
>>
>> Do you mean Berkely DB?  Berkely DB isn't really a DBMS.  It's more of a
>> flat-file database.  It's not even relational, it's key->value based.
>>
>> http://en.wikipedia.org/wiki/Berkeley_DB
>>
>> One could argue that MySQL isn't a real DBMS too but I won't get into
>> that ;-)
>>
>> Anyway it's very difficult to answer your questions without knowing what
>> your requirments are (how large is "huge", how many simultaneous users,
>> anticipated queries/sec etc.)
>>
>>
>>
>>   
> :)
> I would like to know more about a configuration with Two servers one 
> for DB and one for Apache.
> I would have no idea of the number of request right now, I would like 
> to set up a scalable small structure first.
> But there might be from 5 to a 100 e-commerce application with like 
> between 20 and 5000 products...so it can be small but it can looks 
> huge to me :)
>
> For me Berkley DB was all loaded in RAM and those been very fast.
> Even experimental I would like to set up something performant.
>
> thx ;)
> Laurent
>
>
>
>
ok now I see Berkley is a giant Hash table that would need some time to 
practice first to find specific use.
So I might have Mysql or you would recommend something else ?
And then instal BDB to experiment.
I searched google for info about configuring a server only for database 
but did not find anything relevent.
Where should I look?

Sorry to double post
Laurent



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Database only server
  2010-01-12 17:36   ` Laurent Kappler
  2010-01-12 18:07     ` Laurent Kappler
@ 2010-01-12 18:59     ` Neil Walker
  2010-01-12 21:12       ` Laurent Kappler
  1 sibling, 1 reply; 7+ messages in thread
From: Neil Walker @ 2010-01-12 18:59 UTC (permalink / raw
  To: gentoo-user

Laurent Kappler wrote:
> But there might be from 5 to a 100 e-commerce application with like
> between 20 and 5000 products...so it can be small but it can looks
> huge to me :)

So, what you are talking about is a really tiny database. Hmm. You could
run that pretty well using a straight text file on an 8 bit computer. ;)
If you
want scalability  for the future,  I still think  mysql  is  the best
option.


Be lucky,

Neil
http://www.the-workathome.com
 




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Database only server
  2010-01-12 18:59     ` Neil Walker
@ 2010-01-12 21:12       ` Laurent Kappler
  0 siblings, 0 replies; 7+ messages in thread
From: Laurent Kappler @ 2010-01-12 21:12 UTC (permalink / raw
  To: gentoo-user

Neil Walker a écrit :
> Laurent Kappler wrote:
>   
>> But there might be from 5 to a 100 e-commerce application with like
>> between 20 and 5000 products...so it can be small but it can looks
>> huge to me :)
>>     
>
> So, what you are talking about is a really tiny database. Hmm. You could
> run that pretty well using a straight text file on an 8 bit computer. ;)
> If you
> want scalability  for the future,  I still think  mysql  is  the best
> option.
>
>
> Be lucky,
>
> Neil
> http://www.the-workathome.com
>  
>
>
>
>   
...hm..I should install myodbc and use it to remotly request the db server?

Be strong, be wrong :)

Laurent



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-01-12 21:13 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-12 14:15 [gentoo-user] Database only server Laurent Kappler
2010-01-12 16:40 ` Neil Walker
2010-01-12 16:46 ` Albert W. Hopkins
2010-01-12 17:36   ` Laurent Kappler
2010-01-12 18:07     ` Laurent Kappler
2010-01-12 18:59     ` Neil Walker
2010-01-12 21:12       ` Laurent Kappler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox