Database Management
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesDatabase Management
View Poll Results: Which is faster for a MYSQL database from command line?
PHP 0 0%
PERL 0 0%
Voters: 0. You may not vote on this poll


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 March 14th, 2003, 11:40 PM
robotboy robotboy is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Location: Chicago, ILL
Posts: 16 robotboy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to robotboy Send a message via AIM to robotboy Send a message via Yahoo to robotboy
PhP or Perl DB Faster?

Using Command line for both PHP and PERL which would be my better bet for making an application that has to do statistics with HEAVY database querying? Which will run queyies faster on a MySQL database?

Reply With Quote
  #2  
Old March 15th, 2003, 07:30 PM
Ctb's Avatar
Ctb Ctb is offline
An Ominous Coward
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jan 2002
Posts: 4,425 Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level) 
Time spent in forums: 3 Weeks 10 h
Reputation Power: 0
First of all, if you're going to be making an intensive programming job of this, I wouldn't use MySQL to do it.

Secondly, that goes QUADRUPLE if the application needs to be highly scalable. MySQL has it's place, just not in that sort of application (hint hint: PgSQL).

Finally, PHP's strength lies nowhere near the command line, but Perl is right at home in the shell environment. I don't know offhand which would be faster, but seeing as how benchmarks are only somewhat meaningful when you run your own, specifically designed to test your current situation, using your own hardware and configuration, I'd say you'll have to run some benchmarks and find out which works best for your situation.

My .02 anyway.

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesDatabase Management > PhP or Perl DB Faster?


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 | 
  
 

IBM developerWorks




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