In most of the world, public administrations tend to have lower overhead than similar private sectors. Administrations usually benefit more from the economy of scale and if you consider dividends as a cost for the end user, they don't have those.
Is a 100k salary the norm for people writing DB queries in the US? That sounds a lot.