where should I do the calculating stuff,PHP or Mysql?
        Posted  
        
            by SpawnCxy
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by SpawnCxy
        
        
        
        Published on 2010-04-12T16:28:56Z
        Indexed on 
            2010/04/12
            16:33 UTC
        
        
        Read the original article
        Hit count: 218
        
I've been doing a lot of calculating stuff nowadays.Usually I prefer to do this job in PHP rather than Mysql though I know PHP is not good at this cuz I thought mysql may be worse.But I found some performance problem :some pages were loaded so slowly that 30 seconds' timelimit is not enough for them!So I wonder which is the better practice to do the calculations,and any princles for that?Suggestions would be appreciated.
© Stack Overflow or respective owner