Regarding your first question: Beside the stored procedures you mentioned you can use server-side JavaScript. In the most recent release (SPS11) there is also the full Node.js framework available.
Your second question: I don't know the requested values but I think you will find at least some hints in the admin guides for HANA.
Regards
Silvio