The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 06-30-2009
otheus's Avatar
otheus otheus is offline Forum Staff  
Moderator ala Mode
  
 

Join Date: Feb 2007
Location: Innsbruck, Austria
Posts: 1,886
Wow, what a question. Are you re-engineering a database system?
Quote:
- When and how it's best time to dump the tables to a file?
On slightly-less than gigabyte boundaries. Actually, 256 kB blocks also work very well.
Quote:
- Who should dump the metadata produced to file? Different thread?
If it's in a different thread, what's the point? You can't just free the memory if the other thread still has a lock on it.
Quote:
What policy should I use to load the data
I don't think that's answerable unless one really knows your existing software architecture.