Integrated photonic all-waveguide resonators are a critical component in many future applications. Here the authors develop an optimized photonic all-waveguide resonator with an ultra-high quality factor, Q, of almost half a billion, and a narrow sub-MHz linewidth.