Database Management
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesDatabase Management

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old August 18th, 2003, 02:04 PM
tommy916 tommy916 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Posts: 340 tommy916 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 21 h 15 m 41 sec
Reputation Power: 6
which database is faster? MS-sql, oracle, mysql, ..

I'm trying to develope a HUGE database with lot of informations... like library book information store into... so people can search for the title of books, etc... via web-based search engine...

Which database would you recommend for faster searching/fetching from database?
MS-SQL Server, Oracle, MySQL, Access, etc...

I know MySQL is very slow when the cpu shoot up to 100% while searching...


is there MS-SQL forum where i can get more information and help just like this devshed forum?

Reply With Quote
  #2  
Old August 18th, 2003, 02:20 PM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,719 Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 1 Month 50 m 18 sec
Reputation Power: 688
MSSQL Server and Oracle are known good vldb database systems, along with db2, informix & a couple others.

MySQL also supports some vldb's

Access is more useful for small low-traffic db storage.

www.sqlteam.com is a good sql server site.

Reply With Quote
  #3  
Old August 18th, 2003, 02:55 PM
bcyde's Avatar
bcyde bcyde is offline
Me likey breadsticks...
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jan 2003
Location: Los Angeles
Posts: 1,189 bcyde User rank is Sergeant (500 - 2000 Reputation Level)bcyde User rank is Sergeant (500 - 2000 Reputation Level)bcyde User rank is Sergeant (500 - 2000 Reputation Level)bcyde User rank is Sergeant (500 - 2000 Reputation Level)bcyde User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 3 Days 1 h 12 m 57 sec
Reputation Power: 12
Send a message via AIM to bcyde Send a message via Yahoo to bcyde
Not in your list, but I'd recommed also checking out Postgres and Firebird if you're going to do a comparison for your needs.

If you want large scale DB systems and your mangers/IT people want a company they can go to for tech support or to make them feel better I'd say you want to go with Oracle or MS SQL if you have the $$.

If this is a personal project and you don't have the money or don't need "official" tech support I'd say Postgres would suit the job well. Not only does it have a larger enterprise level feature set when compared to MySQL, and is more standards compliant, it is supposed to scale better under heavier loads as well.

One caveat about Postgres, it is NOT meant to run circles around other databases from a default installation. The default installation is meant for compatibility on a variety of systems and levels of hardware. If you don't want to have to tweak settings and learn a little about the internals of your DB, then Firebird or MySQL may be your best bet.

One of the things that some people who take a quick evaluation of PG do is to fire up a default install, run some prelim benchmarks and say it's slow without tweaking system settings or doing routine things like VACUUM ANALYZE.

HTH,

-b
__________________
PostgreSQL, it's what's for dinner...

Reply With Quote
  #4  
Old August 18th, 2003, 06:54 PM
tommy916 tommy916 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Posts: 340 tommy916 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 21 h 15 m 41 sec
Reputation Power: 6
thanks for info, i will go with MS SQL. $ is not a problem.

I'm trying to figure out how to design the database. This is going to be big database. I guess i would put all words start with letter A will be in tableA, then all B in tableB, then all C in tableC. The tableA will contain like able, apple, advanced, able, about, etc...
When user type the keyword "apple", it will search tableA and get the detail of "apple". What do you think of this method? If there better way, let me know.

Reply With Quote
  #5  
Old August 18th, 2003, 07:13 PM
bcyde's Avatar
bcyde bcyde is offline
Me likey breadsticks...
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jan 2003
Location: Los Angeles
Posts: 1,189 bcyde User rank is Sergeant (500 - 2000 Reputation Level)bcyde User rank is Sergeant (500 - 2000 Reputation Level)bcyde User rank is Sergeant (500 - 2000 Reputation Level)bcyde User rank is Sergeant (500 - 2000 Reputation Level)bcyde User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 3 Days 1 h 12 m 57 sec
Reputation Power: 12
Send a message via AIM to bcyde Send a message via Yahoo to bcyde
Well, depending on how huge your database is going to be I'd say not to break it out into table partitions like that. Maybe it's just that I haven't worked with data on your scale, but it seems that the reason you're going to paying and searching for the best performing/scaling database would be so that it could handle the data the way it should be laid out.

Again, this is just my opinion, but it seems like joins over all those tables just for the names would be a nightmare, and searching for items without an exact match for the first letter in the title would yield less than optimal results and/or performance.

Hopefully rycamor, rod k, r937 or one of the other known gurus around here can add something.

-b

Reply With Quote
  #6  
Old August 18th, 2003, 07:32 PM
bcyde's Avatar
bcyde bcyde is offline
Me likey breadsticks...
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jan 2003
Location: Los Angeles
Posts: 1,189 bcyde User rank is Sergeant (500 - 2000 Reputation Level)bcyde User rank is Sergeant (500 - 2000 Reputation Level)bcyde User rank is Sergeant (500 - 2000 Reputation Level)bcyde User rank is Sergeant (500 - 2000 Reputation Level)bcyde User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 3 Days 1 h 12 m 57 sec
Reputation Power: 12
Send a message via AIM to bcyde Send a message via Yahoo to bcyde
Sorry to "double post" and bring up Postgres again, but I found this thread from the Postgres mailling lists that might interest you. While you've already chosen MS SQL, I believe the logic should still apply.

PG mailing list thread

HTH,
-b

Reply With Quote
  #7  
Old August 18th, 2003, 07:47 PM
r937's Avatar
r937 r937 is offline
SQL Consultant
Dev Shed God 25th Plane (17000 - 17499 posts)
 
Join Date: Feb 2003
Location: Toronto Canada
Posts: 17,344 r937 User rank is Lieutenant General (80000 - 90000 Reputation Level)r937 User rank is Lieutenant General (80000 - 90000 Reputation Level)r937 User rank is Lieutenant General (80000 - 90000 Reputation Level)r937 User rank is Lieutenant General (80000 - 90000 Reputation Level)r937 User rank is Lieutenant General (80000 - 90000 Reputation Level)r937 User rank is Lieutenant General (80000 - 90000 Reputation Level)r937 User rank is Lieutenant General (80000 - 90000 Reputation Level)r937 User rank is Lieutenant General (80000 - 90000 Reputation Level)r937 User rank is Lieutenant General (80000 - 90000 Reputation Level)r937 User rank is Lieutenant General (80000 - 90000 Reputation Level)r937 User rank is Lieutenant General (80000 - 90000 Reputation Level)r937 User rank is Lieutenant General (80000 - 90000 Reputation Level)r937 User rank is Lieutenant General (80000 - 90000 Reputation Level)r937 User rank is Lieutenant General (80000 - 90000 Reputation Level)r937 User rank is Lieutenant General (80000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 3 Weeks 5 Days 8 h 30 m 33 sec
Reputation Power: 891
hey, bcyde, thanks for the kind words, but i'm not that kind of guru

there are data architects and there are database administrators, and the questions of database speed and performance are well within the realm of the latter

in my humble opinion, anyone worried about the performance and speed of a database just doesn't have enough hardware

that said, nobody has mentioned sybase

i saw someone elsewhere make a comment the other day about sybase having beaten all comers in some kind of linux benchmark

tommy, if you're using microsoft sql server, put all letters into one table, it can handle that

and that's the extent of my DBA skillz0rz

rudy

Reply With Quote
  #8  
Old August 18th, 2003, 08:34 PM
rycamor rycamor is offline
Gödelian monster
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jul 1999
Location: Pembroke Pines, Florida, USA
Posts: 2,300 rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 3 Days 3 h 2 m 4 sec
Reputation Power: 44
Bcyde and rudy as usual have some great advice.

I will have to make the same disclaimer as rudy. Not that I haven't spent some time thinking about very large databases, but I have not yet had the honor of administrating one. Anyway, in my (purely theoretical) experience, it's impossible to give better advice about table partitioning, etc... without knowing more about some things:

- when you say "HUGE", approximately how big do you mean? 15 GB? 300 GB, 1.5 Terabytes? 8 Petabytes ?

- how many concurrent users do you want to support?

- what is the logical structure of your database? (forget about performance, just describe ideal table layout, foreign keys, etc...)

Quote:
there are data architects and there are database administrators, and the questions of database speed and performance are well within the realm of the latter

Exactly right. The data architect should focus on logical design first. (Favorite quote from Donald Knuth: "Premature optimization is the root of all evil") Once the logical design is complete, get an experienced DBA to handle the physical storage implementation. There are plenty of ways with views, "materialized views" and stored procedures to break up tables in the back end, even storing on different physical disks, while leaving the front end looking logically intact.
__________________
The real n-tier system:

FreeBSD -> PostgreSQL -> [any_language] -> Apache -> Mozilla/XUL

Amazon wishlist -- rycamor (at) gmail.com

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesDatabase Management > which database is faster? MS-sql, oracle, mysql, ..


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway