This paper discusses the impact of big data analytics in smart cities and proposes an integrated framework to optimize computing resources for better performance. The framework uses a big data deep reinforcement learning approach with Q network and virtual servers to manage smart city applications effectively. The paper also highlights the privacy issues associated with big data analytics and the importance of data redundancy and latency.