Solved

Is it better to do data processing in MySQL or in PHP?

Posted on 2012-03-26
4
334 Views
Last Modified: 2012-03-26
For example, should we do summation in PHP or using SQL statement?

Or should we do ordering in PHP or SQL?
0
Comment
Question by:melwong
4 Comments
 
LVL 30

Expert Comment

by:IanTh
ID: 37765392
imho sql does it far better
0
 
LVL 7

Accepted Solution

by:
designatedinitializer earned 25 total points
ID: 37765393
Use MySQL. When you use MySQL you are using a server engine optimized to process information.
0
 
LVL 36

Assisted Solution

by:Loganathan Natarajan
Loganathan Natarajan earned 25 total points
ID: 37765403
Really, if you use MySQL, it would be better way to implement... also it matters the performance for large data etc.,
0
 

Author Closing Comment

by:melwong
ID: 37765422
thx
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
PHP Installer 5 25
MySQL Memory Keeps Increasing 4 37
Upgrade MySQL 5.5 to MySQL 5.6 on Windows 13 27
Downside of adding characters set in ASP pages 6 23
Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
Color can increase conversions, create feelings of warmth or even incite people to get behind a cause. If you want your website to really impact site visitors, then it is vital to consider the impact color has on them.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question