|
Comments for: weerning20021209
| Message # 1014830: |
|
Date: 12/22/02 18:39
By: Tbull Profile Subject: Use MySQL-operations where possible Your article is informative and very valuable. I must take exception with your indication to do math in PHP versus MySQL. No matter what DB you are using, my experience is that the DB engine is significantly faster at processing its data and if the query is correctly structured returns only those rows or sets that are appropriate for use. If you find that you are doing significant workload processing of row sets using math functions in PHP you may find it advantegous to evaluate the data constructs of your MySQL tables and optimize the strategy of the queries being used to return them. As an example using a query which evaluates several thousand rows and performing calculations on multiple columns using PHP can take several minutes while the MySQL engine can return the same result in seconds. Allowing the display to be accomplished using PHP with final tweaking. |
Previous Message | Next Message |
| Comments: | ||
| And how about those fairies? | Freeflashonlinegames Com | 12/07/04 09:45 |
| About mySQL | Robin Ekman | 04/13/04 10:02 |
| RE: DO NOT Use HTML Instead of PHP When Possible | tim | 03/25/04 07:27 |
| Reality | Ben Smith | 01/02/03 05:04 |
| More on templates | Ben Smith | 01/02/03 04:51 |
| RE: Benchmark first - not last | Jesus A. Domingo | 12/24/02 14:42 |
| RE: Excellent | Reiben | 12/24/02 05:19 |
| RE: iframes!? what are you thinking about! | Henry Blackman | 12/23/02 18:21 |
| RE: DO NOT Use HTML Instead of PHP When Possible | Garcia Hurtado | 12/23/02 14:12 |
| Use MySQL-operations where possible | Tbull | 12/22/02 18:39 |
| RE: iframes!? what are you thinking about! | marion weerning | 12/19/02 18:06 |
| RE: IFRAME & Search Engines | marion weerning | 12/19/02 18:04 |
| Use templates, not dropping in and out of PHP | Bryan Alsdorf | 12/19/02 14:20 |
| RE: The perils of over-optimization | Ricky Palandeng | 12/19/02 08:05 |
| Benchmark first - not last | Matt Friedman | 12/18/02 21:34 |
| IFRAME & Search Engines | g_a_t_e | 12/18/02 07:09 |
| Excellent article | vijay khanna | 12/17/02 07:46 |
| MySQL Queries | Alex Dow | 12/17/02 01:42 |
| iframes!? what are you thinking about! | Alex Dow | 12/17/02 01:37 |
| Excellent | H3X | 12/16/02 15:02 |
| DO NOT Use HTML Instead of PHP When Possible | Brad Touesnard | 12/15/02 20:00 |
| The perils of over-optimization | Sam | 12/15/02 16:56 |
| Dates in PHP and MySQL | Marcus | 12/14/02 11:51 |
|
If you are looking for help, please post on the appropriate forum here. Your questions will be answered much more quickly. | ||


