TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 01-26-2009, 06:13 PM   #1 (permalink)
Orc
The Prestige
 
Orc's Avatar
 
Join Date: Dec 2007
Posts: 1,044
Thanks: 193
Orc is on a distinguished road
Default MEMORY engine

I found out that you could store your database values in memory, rather in file, wouldn't this improve performance on the application and the database?

Kinda like OPCode Caching.
__________________
VillageIdiot can have my babbies ;d
Orc is offline  
Reply With Quote
Old 01-26-2009, 06:27 PM   #2 (permalink)
Wizard
Top Contributor 
 
Village Idiot's Avatar
 
Join Date: Sep 2007
Posts: 1,299
Thanks: 17
Village Idiot is on a distinguished road
Default

Yes, it would make it extremely fast. Though it would take up lots of the systems memory and probably have an effect on overall system performance. Plus every time the server shuts down you loose all the data since its RAM.
__________________

Village Idiot is offline  
Reply With Quote
Old 01-26-2009, 06:51 PM   #3 (permalink)
Orc
The Prestige
 
Orc's Avatar
 
Join Date: Dec 2007
Posts: 1,044
Thanks: 193
Orc is on a distinguished road
Default

Quote:
Originally Posted by Village Idiot View Post
Yes, it would make it extremely fast. Though it would take up lots of the systems memory and probably have an effect on overall system performance. Plus every time the server shuts down you loose all the data since its RAM.
I know that, which is why PHP can just execute all data again when on execution of the script. :P
__________________
VillageIdiot can have my babbies ;d
Orc is offline  
Reply With Quote
Old 01-26-2009, 09:48 PM   #4 (permalink)
La Vida es Sueño
Advanced Programmer Top Contributor 
 
Wildhoney's Avatar
 
Join Date: Sep 2007
Location: Oldham
Posts: 2,280
Thanks: 90
Wildhoney is on a distinguished road
Default

Yes, it would speed everything up. I doubt there is any website you own though that would require such speed. If you have a query that takes a few seconds to execute, take a look at using views.
__________________
The man who comes back through the Door in the Wall will never be quite the same as the man who went out.
Send a message via AIM to Wildhoney Send a message via MSN to Wildhoney Send a message via Yahoo to Wildhoney
Wildhoney is offline  
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
virtual memory leak shiggle Absolute Beginners 2 02-26-2008 08:55 AM
MySQLs new storage engine Alan @ CIT MySQL & Databases 0 01-29-2008 10:58 PM
Firefox slowness caused by memory fragmentation Wildhoney General 22 12-09-2007 04:36 PM
Memory Management with Declare Wildhoney Advanced PHP Programming 2 10-18-2007 03:44 PM
Need your feedback Tanax Absolute Beginners 29 10-11-2007 04:50 PM


All times are GMT. The time now is 09:47 AM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design