Also consider "WITH": ~~~ ANALYZE main.sometable WITH samples=25, fast; ANALYZE WITH stat1_only; ~~~ "WITH" was actually my initial choice. I changed to "USING" later. "RESTRICT" is also an option, I suppose - it seems a little more SQL-ish.
Also consider "WITH": ~~~ ANALYZE main.sometable WITH samples=25, fast; ANALYZE WITH stat1_only; ~~~ "WITH" was actually my initial choice. I changed to "USING" later. "RESTRICT" is also an option, I suppose - it seems a little more SQL-ish.