Get execution time of sql script in oracle sqlplus

后端 未结 5 1106
既然无缘
既然无缘 2021-02-13 11:38

I have a script that i use to load my data into my tables in Oracle (by a list of insert statements). How can i get the execution time of the entire loading process? I have trie

5条回答
  •  遥遥无期
    2021-02-13 12:19

    If you are on Unix, you can also do it like that:

    time sqlplus @inserts.sql
    

    It will print:

    real    0m9.34s
    user    0m2.03s
    sys     0m1.02s
    

    The first line gives the total execution time.

提交回复
热议问题