CHAPTER 3 DQPG using AIS Distributed query plan generation is an intricate problem has been discussed in Chapter1. With the number of relations used by query and the number…