Snowflake cost-saving techniques