Click here to Skip to main content
15,885,278 members
Home / Discussions / Linux, Apache, MySQL, PHP
   

Linux, Apache, MySQL, PHP

 
GeneralRe: python just for fun Pin
shahab9612-Jan-11 17:01
shahab9612-Jan-11 17:01 
AnswerRe: python just for fun Pin
HimanshuJoshi12-Jan-11 17:15
HimanshuJoshi12-Jan-11 17:15 
Questiondynamic dropdown list Pin
komanche9-Jan-11 23:53
komanche9-Jan-11 23:53 
AnswerRe: dynamic dropdown list Pin
Gerben Jongerius10-Jan-11 0:29
Gerben Jongerius10-Jan-11 0:29 
QuestionApplication Scope Array Pin
vb develop5-Jan-11 2:48
vb develop5-Jan-11 2:48 
AnswerRe: Application Scope Array Pin
cjoki5-Jan-11 10:42
cjoki5-Jan-11 10:42 
GeneralRe: Application Scope Array [modified] Pin
vb develop6-Jan-11 2:44
vb develop6-Jan-11 2:44 
GeneralRe: Application Scope Array Pin
cjoki6-Jan-11 4:53
cjoki6-Jan-11 4:53 
I would look into memory tables http://dev.mysql.com/doc/refman/5.0/en/memory-storage-engine.html[^] as an alternative as it will give you speed and sql access. That is if you can use a mysql database since it sounds like you have some issue with any db access or was it just the speed issue?

As an alternative you can use two arrays in a double buffer kind of configuration. You will need to write some code to flip between them so as one array fills up a certain amount of data, say 10000 records, you switch to the second array for input and you can write the first arrays data to a database and then clear it out. Then when then the second array is filled switch input to the first and insert the second arays data to a database. Just keep repeating this switching, dumping and inserting while the script runs.

One issue that jumps to mind is going to be script execution time. How long is this script meant to run?

Another would be with hanging the PHP engine with a single thread of execution. In this issue you may be able to read up on making a multi-threaded php script. here is one article on it that I found with a quick google search... http://phpmultithreaddaemon.blogspot.com/[^]

Hope that helps
Questionhttp post response id capture Pin
0b4m44-Jan-11 22:54
0b4m44-Jan-11 22:54 
AnswerRe: http post response id capture Pin
cjoki5-Jan-11 4:54
cjoki5-Jan-11 4:54 
AnswerRe: http post response id capture Pin
47_MasoN_476-Jan-11 9:59
professional47_MasoN_476-Jan-11 9:59 
GeneralRe: http post response id capture Pin
0b4m410-Jan-11 5:42
0b4m410-Jan-11 5:42 
QuestionSession destory error Pin
SRJ922-Jan-11 3:30
SRJ922-Jan-11 3:30 
AnswerRe: Session destory error Pin
Graham Breach2-Jan-11 23:14
Graham Breach2-Jan-11 23:14 
QuestionNot sure what it's called Pin
MacRaider428-Dec-10 2:47
MacRaider428-Dec-10 2:47 
AnswerRe: Not sure what it's called PinPopular
Smithers-Jones28-Dec-10 2:59
Smithers-Jones28-Dec-10 2:59 
GeneralRe: Not sure what it's called Pin
MacRaider428-Dec-10 3:06
MacRaider428-Dec-10 3:06 
GeneralRe: Not sure what it's called Pin
Smithers-Jones29-Dec-10 11:02
Smithers-Jones29-Dec-10 11:02 
QuestionBest PHP Webmail system to access mail remotely Pin
mario202726-Dec-10 19:14
mario202726-Dec-10 19:14 
AnswerRe: Best PHP Webmail system to access mail remotely Pin
Gerben Jongerius26-Dec-10 20:40
Gerben Jongerius26-Dec-10 20:40 
AnswerRe: Best PHP Webmail system to access mail remotely Pin
shamly6-Jan-11 19:01
shamly6-Jan-11 19:01 
Questionmultiform post data using http thingies Pin
0b4m422-Dec-10 23:36
0b4m422-Dec-10 23:36 
AnswerRe: multiform post data using http thingies Pin
cjoki23-Dec-10 4:48
cjoki23-Dec-10 4:48 
QuestionConverting CGM to PDF (A4 only) Pin
pfsWrite21-Dec-10 20:47
pfsWrite21-Dec-10 20:47 
QuestionSQL to multidimenisonal array [modified] Pin
MacRaider420-Dec-10 8:10
MacRaider420-Dec-10 8:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.