on ‎2024 Nov 27 12:13 PM
Hello,
I have some Procedures defined in a HANA schema and would like to know whether they are used or not.
Can someone help me with the system tables/views I have to use in order to find whether and when a Procedure was last executed.
Regards,
Dimitar
Request clarification before answering.
As a starting point, would this work for you
select statement_string, last_execution_timestamp, *
from M_SQL_PLAN_CACHE
where upper(statement_string) like 'CALL%CHESSBOARD%';assuming you call procedures via the `CALL` statement and the schema in this example is the `CHESSBOARD`.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 11 | |
| 6 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.