I heard about two types of requests: a buffered and unbuffered, buffered request is that the result of the request to the database is completely copied into the application memory (namely, copied into the library memory that the application uses to communicate with the database), and the unbuffered request does not copy the result into memory of the application, but remains on the side of the database and pulled out by the application as needed.
1) What are the advantages and disadvantages of these two approaches? In the case of a buffered query, the flaw is more or less clear, it just consumes a large amount of RAM with large result sets, and what about an unbuffered query, what is its flaw?
2) Which databases support non-buffered query? I know only one database: Mysql, but can there be other subd supporting nonbuffered queries?