Re: Which SQL is the best for servers?
Re: Which SQL is the best for servers?
От:
joel garry <joel-garry@home.com>
Дата:
On Feb 15, 10:09 pm, pg wrote: > I am involved with a SQL server project. The server would be used in a > very heavy duty environment, with hundreds of thousands, if not > millions of database enquiries per minutes. > > The server would run Linux or one of the BSD variant, with at least > 32GB of RAM. We are not very certain of the hardware specs yet because > we haven't decided on which SQL to use. > > I know that Oracle, MySQL and PostgreSQL are all designed for heavy > duty uses. > > And I checked all available online resources for a SQL comparison and > all I could find is some articles dated 2005 or so ! > > So, here's my questions: > > 1. Are there any recent SQL comparison article available? > > 2. Since the server may come with only 32GB of RAM, which SQL can run > the "leanest" - that is, not a memory hog? > > 3. The server might also become a web-server, which SQL can tie itself > to the Web-based enquiry they best? > > Please give me your suggestion / opinion. Thank you !! I agree with those who say you are going about this backwards. No-way no-how will a single open source os box handle millions of "enquiries" per minute. Sounds to me like someone has an idea for some web page they think is going to attract a gazillion users. This is what I predict: You will spend $5 million over several years financed via a shoot-the-moon business plan designed to attract venture capital. At the end, it will all fizzle out after numerous rounds of layoffs. It wouldn't be the first time. Good luck in this economic environment. That's as good a prediction as any given this amount of information. Unless the domain you are posting from indicates some religious thing. Some religious databases use Oracle. As to the database engine: There is a reason I'm strongly biased towards Oracle. That reason being, unless there is something special about the processing involved, either exceedingly simple, complex or specialized, it is near impossible to build a bespoke system cheaper than buy and modify off the shelf software. For business systems, ACID is a very important consideration, and Oracle simply handles the concurrency issues better for most business processes. Google, for a big example, doesn't care about concurrency issues, because their business model is simply to approximate eyeballing of ads - and they don't have to account for how they measure it. This happens to be evil. In general, it takes about an order of magnitude more people to write and maintain a custom system than implement an off the shelf system. Given the cost of a large implementation this can make sense for open source - or not. The maintenance costs are often underestimated either way, but moreso in customization. When a startup starts to transition to a business, variable costs are cut. That would be you. Two guys and a box? I've seen that work, where a huge classical development failed - more than once. It depends. Most startups fail. Check out Oracle XE and apex. No cost to you, and you can pay to scale as appropriate. jg -- @home.com is bogus. http://www3.signonsandiego.com/stories/2009/feb/16/1b16twitter19224-whats-twitters-fiscal-fate/?uniontrib
Re: Which SQL is the best for servers?
От:
Gene Wirchenko <genew@ocis.net>
Дата:
Paulie wrote:
[snip]
>No CPU data, no disk array data - they haven't even chosen
>an OS and are not sure where to put their web server (and
>no mention of an app server tier!).
It might be a real project, but it has a feel of irreality. I
can not tell if it is wishful thinking or just a homework project.
>Maybe they should run with the mauve db?
Paulie, I am shocked, simply shocked at your poor advice.
OP stated: 'Since the server may come with only 32GB of RAM,
which SQL can run the "leanest" - that is, not a memory hog?'
Remember: mauve has the most RAM, so it would not be appropriate
here.
Sincerely,
Gene Wirchenko
Computerese Irregular Verb Conjugation:
I have preferences.
You have biases.
He/She has prejudices.
Re: Which SQL is the best for servers?
От:
joel garry <joel-garry@home.com>
Дата:
On Feb 16, 11:12 am, Paulie wrote: > On Feb 16, 5:51 pm, joel garry wrote: > > > Check out Oracle XE and apex. No cost to you, and you can pay to > > scale as appropriate. > > Before rushing to download Oracle XE, check out > > http://www.oracle.com/technology/pub/articles/cunningham-database-xe.... > > Limitations. > 1 GB of RAM (OP has 32), > 1 CPU (with 32GB of RAM?) and a > 4GD data limit. > > For millions of queries per hour? For POC of an app, this is fine, > however for > performance testing, it's a non-runner. I guess I wasn't clear enough on the "and you can pay to scale as appropriate." For testing/development purposes, you can download the various editions of Oracle and see what they can do. The XE/Apex (or whatever development environs) is just for getting something working quick. When you see what the other editions can do, then you decide what you need - plus you can decide on the low end, not a big deal to move up if the situation warrants. The patching issue Troels mentioned may or may not make a difference for a production environment exposed to the world, but I'm not advocating XE for this in production, just for developing. Of course, one usual screwup is testing time/volume of rows returned, where some toy db can outperform Oracle. Real performance testing requires realistic load tests, and that can be a lot of work, especially for a small group with one box. > > You are allowed AFAIK, download the full server for testing (but not > deployment). The OP hasn't really given the group enough information > about the system for anyone here to be able to answer any > serious questions about an app that's (supposedly) going > to be almost as busy as Google! I think we may all agree on this! > > No CPU data, no disk array data - they haven't even chosen > an OS and are not sure where to put their web server (and > no mention of an app server tier!). Since they seem uncertain of actual volume, all these things need to be put in terms of a scalability plan. > > Maybe they should run with the mauve db? > With scissors! jg -- @home.com is bogus. http://www3.signonsandiego.com/stories/2009/feb/02/1m2ferry22928-robert-g-ferry-air-force-veteran-was/?uniontrib