Data grids provide geographically distributed storage and computing resources for large data-intensive applications. To support fast data access and processing, effective data management is essential. In this paper, we propose two novel algorithms on data placement and data replication. We evaluate the algorithms through intensive simulations. Results show that the new algorithms achieve significant improvement in facilitating load balancing, reducing job response time, and saving network bandwidth.