Hi Laurenz,
I forgot to say: I use Java and connect with JDBC. in approach 1 I do an initial loading of the entire relation, by executing 1 SQL query to load all edges in main memory, where I create my main memory structure as an adjacency list.
In approach 1 I do that, as described before. But after each experiment I restart a new java process.
I started to do that , and yes, this solves my problem!! I assume that deleting file system cache implies that also postgres cache is deleted, isn't it ? so i will invoke after each experiment this command thanks a lot!! Markus |