Text this: Query optimization in locally distributed database systems /