In my opinion, spending 2 days in Petra will give you plenty of time to explore this beautiful ancient city and world wonder. By entering Petra through the Siq on day 1, while taking the back entrance on day 2, there is plenty of variation during your visit.