Even if the query end in aproximately 200 sec, the explain analyze isstill working and there are gone more than 1000 sec...I leave it working this night.Have a nice evening and thenks for the help.