Different setting means different result. This is simple tips in Making Star Effect at Night Photography
Different Aperture setting not only affects the depth of field (DOF). In the two photo below, I use Aperture Priority with Priority setting, ISO number 400.
ISO 100 f/36 1s