The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
Google UNIX.COM


High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
need advice on AWK kekanap Shell Programming and Scripting 14 04-22-2008 02:01 AM
Any advice would help liquidstyleb Linux 2 03-05-2008 03:44 AM
need advice naner9 UNIX for Dummies Questions & Answers 1 11-01-2007 07:05 AM
Looking for some advice justawind UNIX Desktop for Dummies Questions & Answers 4 07-18-2002 06:40 AM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-31-2006
Registered User
 

Join Date: May 2006
Posts: 10
Pls give me some advice

hi everyone
i have a problem in design as follows:

there is a structured file ,for example ,
field 1, field 2 .......
--------------
--------------
i read it into my memory ,there are some change in the memory
maybe add some record or change one field in an existing record.
i am going to check the status the memory every minute.
if it changed, in order to avoiding the system crash, i need to rewrite the memory into the file,

the problem is i think this method may reduce the performance of system because writing to file so frequently.
pls give me some advice,thanks.
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 09-01-2006
...@...
 

Join Date: Feb 2004
Location: NM
Posts: 3,491
Are you working with mmap?
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 05:02 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0