Thank you so much ....you saved my whole week and rewriting the whole procedure in a package. I was very disturb with nested loop and codes... I exactly did what you guided here , found perticular queries and modified accordingly to consume less time to run. Unbelievable results came . Previously it was taking 2 minutes but for same it's taking 19 seconds. You saved my hours of running long program , now it's completing in few minutes ... drastically optimized well. Thank you so much again sir.
In my last Interview, this q was asked...You have global database and u have data of 15 countries like Japan, India, China, UAE etc. You want filtered records as per country like chinese people should see only their data and likewise other country people. how will u manage this in efficient manner. I told that I will make 15 views and then grant permission accordingly. He was not satisfied by my answer, he told that for 15 countries, u will make different 15 views!! How can we handle this situation Siva...Please guide
Thank you so much for educating us with awesome explanation....looking forward to more videos on performance tuning & explain plan....Thanks in advance!
Hi, this is really helpful. But i am getting following error while starting profiler!! what can be the reason?! Error starting at line : 1 in command - BEGIN dbms_profiler.start_profiler ('TestProfiler'); END; Error report - ORA-06528: Error executing PL/SQL profiler ORA-06512: at "SYS.DBMS_PROFILER", line 132 ORA-06512: at "SYS.DBMS_PROFILER", line 141 ORA-06512: at line 1 06528. 00000 - "Error executing PL/SQL profiler" *Cause: An error occurred in during execution of a PL/SQL profiler procedure.
Siva sir, can tou let me know if the total_time in data table and total_run_time in runs table are in milliseconds?? Am in middle of resolving an issue and you are my encyclopaedia 😊
The reason you say this so wonderfully is that great gift that God gave you.. It is a great blessing for us to have people like you.... Thankyou so much siva brother..
you have really put lot of effort in preparation of these videos, editing, and presentation... unbelievable.. After seeing your videos I cannot watch anybody else's videos. Because your way of communication is diff level. you connect the dots, you answer the question for why, how, what..... advantages and disadvantages of using any feature!!! so that we are able to understand and get max facts in a single video quickly!!!! Great effort Siva!!! You should be in Udemy or CourseEra, etc!!!
Hello Brother, Big fan of your videos. Wanted learn more on performance tuning. Could you please also do a video on awr and addm reports and how to analyse it and tune our sqls
While Creating a procedure I am getting error create procedure proc_c is lv_avg_sal number; begin for i in 1..50 loop select avg(salary) into lvl_avg_sal from EMPLOYEE; end loop; end; / Procedure PROC_C compiled LINE/COL ERROR --------- ------------------------------------------------------------- 5/1 PL/SQL: SQL Statement ignored 6/6 PLS-00201: identifier 'LVL_AVG_SAL' must be declared 6/18 PL/SQL: ORA-00904: : invalid identifier Errors: check compiler log Can you help me with this.
@Krishna, You can start learning, ETL, Data Mining, Reporting, Data Analysis, Visualization...etc ( based on your interest), all these are related to Data and Database technologies, so you can able to easily pickup....
Hello sir I have watched all your videos and I just loved it, I had just one request if you could explain to us how you tune your real project code step by step then it would be really great and appreciated 😊
Hi Siva.. thanks for your informative videos.. This video is blur, not able to see it clear due to low video quality.. could u pls upload this video in higher quality
inorder to run this profiles commands, i need to connect to the Pluggable database as user sys, but my default connection is set to container database. when i say sqlplus / as sysdba or sqlplus / as sysdba@orclpdb, both commands are connecting to my container database but not to my PDB. this is a problem as i am not able to grant any privilages from user sys to my user scott, any help on this will be appreciated..thank you
Hello Sir, your video was really very helpful, I got to learnt lot of thing about Performance Tuning from it. Can you plz make me understand about the total-time calculated, how you calculated it. Since it only is main thing. Please..... Warm Regards Sameer Ahmad
Hlo.. small query plz clarify anyone in one column 4 names are there like(rakesh , ajay, ganesh , praveen) i want 2nd name ajay how to do using sql query
select n from ( select n, rownum r from ( select 'rakesh' n from dual union all select 'ajay' n from dual union all select 'ganesh' n from dual union all select 'praveen' n from dual)) where r=2
Thanks Siva fr sharing the knowledge , I have one doubt is there a way I can profile the procedure being executed from different session or a procedure which is part of some application from my session which is all together different
How to tuning the package which has more than one procedure and function. How to identify which procedure and which query takes more time to execute? How to tuning the package instead of procedure or function?
Hi Siva sir, you are an amazing teacher, you have helped me a lot becoming a db developer. Sir can you please provide some videos on performance tuning of queries
I become your fan as you explaining the oracle concept. Can I get a chance to learn oracle performance tuning in some more detail from you. Pls revert🙏
Hi In the case of a live environment,where many people are sharing the same user, once the profiler has been started will it not capture the data for the other operations also?
@Rajakumar, its just joining the three tables mentioned in the video, once you learned the basics data getting stored in these tables, you can join based on your need. however I guess i posted all the queries in the link, let me check back once again.
@Ranganayaki, Thanks for your comment 🙏...Sure, will be posting all the performance related topics in the SQL/PLSQL performance video series, will cover explain plan as part of that....please stay tuned.
Superbly explained and well understood, thank you very much Siva, really appreciate your hard work and your good nature of sharing so much technical knowledge. Regards, Sujaa
Thank u for all the wonderful knowledgeable vdos👍👍 just have a doubt...At 17.22 sec, why did u truncate plsql_profiler_data table...as next time we may need it...we should only delete the data from it...plz correct me if i m wrong
Thank you for your comments, yeah its not needed to truncate....i prefer to truncate every time, because its better to query....otherwise we need to query for the specific run id. you can keep the old records as well.
@@SivaAcademy ya..very true...but we can delete all records from the table too, so no old run id and at the same time, we can have structure of the table ready with us.
@@SivaAcademy Sir, ur email id is siva.k.academy@gmail.com? also, on google, I got very different website...having unknown fonts... sivaacademy.ruplayers.com. Is it your website?