» Quick Links
You can make money on these forums
We Share profits with you
Google
Google Adsense
Google Adwords
YPN
Yahoo
MSN Search
Web Directories
Web Hosting
Web Hosting Offers
Hosting News
Suggestions
Link Building
Domain Names
PHP Forums
MySQL Forums
» More Links
OSP News
Reseller Hosting
Shared Hosting
Dedicated Servers
Google Adsense
Search Engine Marketing
Link Development
Affiliate Marketing


» Advertising
Multiple DC PR Check

Free SEO Tools


Go Back   Webmaster Forums > Website Developement / Programming > PHP Programming and Tips

PHP Programming and Tips Discuss about PHP programming and Share Tips. Ask questions about Scripting and Errors.

Reply
 
Thread Tools Display Modes
  #1  
Old 12-07-2005, 06:11 AM
johny johny is offline
OSP Starters
 
Join Date: Dec 2005
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
johny is on a distinguished road
Default Trouble with PHP5/SQLite

Hello All,

I'm experiencing performance troubles with PHP5/SQLite (php 5.0.3) on Solaris 9, 10, AIX 5.2 but not on Linux (Suse 9). These troubles happen when using apache but also when using only the PHP binary.

The problem resides in the fact that SQLite consumes all the CPU and is very slow for some reason and I can't identify the cause. When I make a truss, I can see that the operations that need much time are the "writing" statements but why is that so slow.

So far, I've not seen such problems under Linux (Suse 9 Enterprise server) nor under Windows (incredible isn't it? )).

If you have any clue, help me out?
Thanks -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote
Revenue Sharing Ads ( ?):
  #2  
Old 12-07-2005, 06:18 AM
jami jami is offline
OSP Starters
 
Join Date: Dec 2005
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
jami is on a distinguished road
Default Suggestion

Using transactions only boosts performance if you do more than one insert / update.

You might want to consider setting the async option (if indeed, it exists)

Mounting the filesystem your databases are on with the "noatime" option might help.

Another thing to check is whether your filesystem has data journalling on - if so, this is a bad idea for performance. Data journalling is not the same as filesystem journalling. -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote
Reply


Thread Tools
Display Modes

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
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Will I get in trouble b/c some of the keywords FALON Google 2 08-30-2006 05:00 PM
trouble getting a response from the SOAP server jigsaw PHP Programming and Tips 1 08-22-2006 12:53 PM
trouble in uploading sitemap joe Google 2 07-29-2006 11:07 AM
trouble loading a zone file bestguy Web Hosting Industry 2 07-21-2006 10:18 AM
trouble reading excel file in ASP dexter ASP forums and Tips 1 06-23-2006 01:51 PM


All times are GMT. The time now is 02:53 AM.