skip to Main Content

PERSIST vs PERSIST_ONLY (MySQL)

I read Syntax for Persisting System Variables in MySQL documentation about PERSIST and PERSIST_ONLY as shown below: To persist a global system variable to the mysqld-auto.cnf option file in the data directory, precede the variable name by the PERSIST keyword…

VIEW QUESTION

How can I get postgresql local configuration parameter's current value?

I'm practicing with queries optimization. In particular, tuning work_mem parameter. There's the DB diagram: https://postgrespro.com/docs/postgrespro/12/apks02. I have a sql function get_passengers_and_flights: CREATE FUNCTION get_passengers_and_flights(d timestamptz) RETURNS TABLE(passenger_name text, flight_no text) AS $$ SELECT t.passenger_name, f.flight_no FROM tickets t JOIN ticket_flights…

VIEW QUESTION
Back To Top
Search