Query Running Slow |

Поділитися
Вставка
  • Опубліковано 7 вер 2024

КОМЕНТАРІ • 156

  • @palpali69
    @palpali69 3 роки тому +4

    Very good initiative for busy DBAs to refresh their DBA knowledge - this is go to youtube channel - keep up your good work Arun

  • @ranjithkumarks6045
    @ranjithkumarks6045 4 роки тому +2

    1. In this case of adding new column it will impact on the user, user trying to access the table while adding a column.the query which has fired by user it was hung and those sessions was block till alter table got completed.
    2.I agree with your concern. If we split mode of accessing like DQL will be in the standby and Others in live. So in this you will definitely improve you performance in environment.
    I really like this videos.

  • @rennybabu8686
    @rennybabu8686 4 роки тому +7

    Great initiative :-) lot of useful tips, a must watch series for fellow Oracle DBAs

    • @dbagenesis
      @dbagenesis  4 роки тому +3

      Yup and we all must share these videos to help fellow DBAs across the globe !!

  • @itisvikash
    @itisvikash 4 роки тому +2

    Really that you Arun bhaiya ! It was really helpful. Just now Started watching UA-cam series of "DBA genesis".

  • @nataliaosorio2691
    @nataliaosorio2691 3 роки тому +1

    Thanks a lot for taking your time to explain questions with alternatives point of views! Very useful videos.

  • @jegdeeshcse
    @jegdeeshcse 4 роки тому +2

    Very good initiative Arun😊, thanks lot.. All the best👍💯

  • @umeshdhote1917
    @umeshdhote1917 4 роки тому +1

    Arun Sir, your tips and DBA Genesis video are really helpful for me.

  • @chitrakgarg1114
    @chitrakgarg1114 3 роки тому +1

    Thanks for sharing it. I just started watching your videos.

  • @rajendrasingh-sr1eo
    @rajendrasingh-sr1eo 2 роки тому +1

    Great Sir..

  • @matheenahamed2692
    @matheenahamed2692 4 роки тому +1

    Wow, very much excited 😊😄😄😄

    • @matheenahamed2692
      @matheenahamed2692 4 роки тому +1

      I want to know about the important parameters of export/import in real time

  • @nrsaini29791
    @nrsaini29791 4 роки тому +2

    Please keep it continue.

  • @aqeebjaveed3230
    @aqeebjaveed3230 4 роки тому +1

    Thanks for uploading the video sir, good work keep coming.

  • @vsurendravsurendra6895
    @vsurendravsurendra6895 2 місяці тому

    give answers with examples also its very help full every one

  • @Ganeshay-996
    @Ganeshay-996 3 місяці тому

    DBA support ❤❤❤❤

  • @alanrodriguez5204
    @alanrodriguez5204 3 роки тому +1

    Great video Arun, it is really informative, THANKS!

  • @thiruardura
    @thiruardura 4 роки тому +1

    Very interesting and useful. Thank you.

  • @himabindhu7970
    @himabindhu7970 3 роки тому +1

    awesome video

  • @rocksolid194
    @rocksolid194 4 роки тому +4

    Thanks you for the information. One correction control_file_record_keep_time is 7 default.

    • @dbagenesis
      @dbagenesis  4 роки тому

      You right, I just missed it coz all DBs that I work have 30 days default setting. Thanks for the correction!

    • @rocksolid194
      @rocksolid194 4 роки тому

      @@dbagenesis no problem..you are welcome..you are doing awesome work..by sharing knowledge👌👌👌👍👍👍👍🙏🙏🙏🙏

  • @abdulgani-iq9bg
    @abdulgani-iq9bg 4 роки тому +1

    Your explanations is very good. Can you please make a vidio session on plugable databases and multitent topics for clear understanding.

    • @dbagenesis
      @dbagenesis  4 роки тому

      Sure.. sometime in upcoming sessions!

  • @InamUllah-dc5bh
    @InamUllah-dc5bh 3 роки тому +1

    please start a video searies on oracle development course project base ....

  • @senthilprakash8989
    @senthilprakash8989 3 роки тому +1

    Very informative, Thank you. I am a PLSQL Developer with 10+ yrs experience, Now I see very less openings for PLSQL developers. Considering the current situation where more customers are migrating towards cloud & less opening for PLSQL developers, do I need to sharpen my skills in Oracle DBA or right time to learn any other new technology.

  • @babuk3521
    @babuk3521 4 роки тому +1

    Good,keep more videos on pt

  • @AltafHussain-hy6fo
    @AltafHussain-hy6fo Рік тому

    Hello,
    How to find query generating more redo/archive log in Oracle database?
    Thanks

  • @sathishram386
    @sathishram386 4 роки тому +1

    That’s good, keep post daily

  • @satyaprasad2009
    @satyaprasad2009 4 роки тому +1

    Nice viedo sir..i need viedo on performance tuning

  • @sureshhello-zn4cw
    @sureshhello-zn4cw 4 роки тому +1

    Nice video sir

  • @asrytube
    @asrytube 4 роки тому +1

    Great work! thanks!

  • @amirmule5333
    @amirmule5333 4 роки тому +1

    Very useful. Request you to raise volume of video for clarity.

    • @dbagenesis
      @dbagenesis  4 роки тому

      Good feedback, taken into consideration ;)

  • @elongemusinga1138
    @elongemusinga1138 3 роки тому +1

    Great content Arun

  • @abdullahahmadi2264
    @abdullahahmadi2264 4 роки тому +1

    Thanks for video

  • @sarahsaraswathy3010
    @sarahsaraswathy3010 4 роки тому +1

    Thanks a lot Sir..

  • @syedarshad6055
    @syedarshad6055 4 роки тому +1

    Good idea

  • @sureshkrish07
    @sureshkrish07 Рік тому

    Hi All, is there any option to manage the export/import without Linux level access.. Can you help on this..

  • @kishorekrish2254
    @kishorekrish2254 3 роки тому

    Hai iam freshers Iam intresting towards DBA it's good option for freshers ... In DBA which Technology now a days trending

  • @vinod1704
    @vinod1704 4 роки тому +1

    Thx arun, loved it .

  • @udaykiran60
    @udaykiran60 4 роки тому +1

    Thanks you so much for the video :)

  • @jonybarua5283
    @jonybarua5283 2 роки тому

    Thank you sir for your good video. Can you make videos about oracle applications ebs 12.1 or 12.2 please

  • @02vikassoni
    @02vikassoni 4 роки тому

    Please make a video on PRAGMA COVERAGE,DEPRECATE,INLINE,RESTRICT_REFERENCES.

  • @rajatsanwal9919
    @rajatsanwal9919 2 роки тому

    Hello Arun sir, long time no episode of Daily DBA?

  • @bharathkumar-ds8cd
    @bharathkumar-ds8cd 4 роки тому +1

    Salute sir🙏

  • @bhavanisankaryerriboyina4939
    @bhavanisankaryerriboyina4939 4 роки тому +1

    Supper sir

  • @sai3276
    @sai3276 4 роки тому +1

    Hi Arun,
    Kindly explain about blocks and how to recover the corrupted blocks

    • @dbagenesis
      @dbagenesis  4 роки тому

      Checkout my earlier videos published on youtube related to DB blocks:
      1. ua-cam.com/video/fODsaRUqt28/v-deo.html

  • @truthhurts9601
    @truthhurts9601 4 роки тому +1

    Thank you.

  • @kaira7710
    @kaira7710 3 роки тому

    Hi Arun.....
    Would you please help me with how to retrieve billions of records as much faster on Oracle database.

  • @MsSpatana
    @MsSpatana 4 роки тому +1

    Thanks a lot

  • @vigneshchinna358
    @vigneshchinna358 4 роки тому +1

    Great job bro 👍

  • @sivakumarayachitula6469
    @sivakumarayachitula6469 4 роки тому +2

    Can you tell me how cursors work actually in shared sql area...I am confused why and when the same sql Id will be having its child cursors and version counts??
    Sometimes when I try to migrate the base line from one environmnt to another it is confusing me which plan do i actually need to migrate because I see two r three plans for the same sql id but with its child cursors having different sql plans..

  • @yoganand7416
    @yoganand7416 4 роки тому +1

    What does stats gather actually do and how does it would help to improve the performance of the database ??

    • @dbagenesis
      @dbagenesis  3 роки тому

      DBMS_STATS package lets you collect statistics in parallel, collect global statistics for partitioned objects, and fine tune your statistics collection. This package is concerned with optimizer statistics only.

  • @nhrafi6563
    @nhrafi6563 4 роки тому +1

    Thank u arun

  • @pravatkumar2004
    @pravatkumar2004 4 роки тому +1

    Question 2:
    Same SQL query was running fine before, But now it is taking 3hrs to 4hrs. And also overall database is slow as per user during this query execution.
    So I checked
    - Stale stats = No stale stats are there on the objects that are used in this query.
    - No other query/transactions was there during this query execution
    - Ran SQL Tuning pack - no recommendation mentioned except to pin other plan has value. I did the same also. Still issue is there.
    - Ran ADDM report, no satisfactory recommendation mentioned
    So could you please explain what else area to check to identify issue.

    • @dbagenesis
      @dbagenesis  4 роки тому

      trace the user session and read the trace file via tkprof, that will give the pin point problem

    • @roshanjohn3076
      @roshanjohn3076 4 роки тому

      @@dbagenesis How to trace the user session? v$session?

  • @shekshavali8513
    @shekshavali8513 3 роки тому +1

    Hi sir
    This is Sheikshavali
    I have one question
    I have multipule ORACLE_HOMES. In that oracle homes when I was updating patch like version updated patch. Client says you can apply only one ORACLE_HOME no need to apply another Home? (This is interview question )
    I hope you understood my question
    Please give a solution.
    Thank you sir
    Sheikshavali

    • @dbagenesis
      @dbagenesis  3 роки тому

      It's straightforward what client is saying, apply patch to only one ORACLE_HOME!

  • @viralmody6316
    @viralmody6316 3 роки тому

    How can we find or auery benefits in library cache when we start using bind variables for similar SQLs instead of hard coded literals.

  • @Ganeshay-996
    @Ganeshay-996 3 місяці тому

    Where is best platform form Rac and datagard and golden gate any UA-cam channel please provide us

  • @johncharles3197
    @johncharles3197 4 роки тому +2

    Great initiative 👍 Thank you Arun for sharing your knowledge... where can I post questions ?

    • @dbagenesis
      @dbagenesis  4 роки тому +3

      Welcome, just post your doubts below any video that you are watching or send via email: support@dbagenesis.com

  • @dillikar2662
    @dillikar2662 2 роки тому

    Really good information but what you mentioned in the title that you don't know. I think you need to change the title so that other people don't waist there time.

  • @dhirensingh5327
    @dhirensingh5327 4 роки тому +1

    Hi, could you also speak about question to ask client or user about what considerations required to build a DB and how do we suggest best options from oracle on the same so that its cost effective

    • @dbagenesis
      @dbagenesis  4 роки тому

      Depends, most of the time the requirements come from application that will be using the database. You won't have much control or would not think much about Oracle configuration.

  • @SandeepSharma-bk6rl
    @SandeepSharma-bk6rl 4 роки тому +2

    Keep it up it's a Good Job .. Could you please make a common WhatsApp group for this channel it's alos a good option

    • @dbagenesis
      @dbagenesis  4 роки тому

      I am not a fan of WhatsApp but will consider it in future.

  • @sahiltyagi4454
    @sahiltyagi4454 4 роки тому +1

    Great work Arun..
    I have upgraded (manually) my 11.2.0.4 database to 12.1.0.2 and also I have upgraded the dst_timezone to 18 .. But after running the post_upgrade_fixups.sql ... It's still showing old_time_zone.So, my question is whether this is some sort of bug in oracle 12.1 or do I need to upgrade to timezone to some other values??
    Please do respond... :)

  • @srikanthlolugu990
    @srikanthlolugu990 4 роки тому +1

    Difference between Data Guard and Golden Gate and which is recommended for which scenario.

    • @dbagenesis
      @dbagenesis  4 роки тому

      Check out one of my live events that answers your question: ua-cam.com/video/89jYzLNddHs/v-deo.html

  • @vrushalijwalesh1901
    @vrushalijwalesh1901 4 роки тому

    Which value from AWR report will give the information that xyz index needs a rebuild?

  • @mdarif-rt9mg
    @mdarif-rt9mg 4 роки тому

    very usefull ! Which path did you choose for becoming Web designer

  • @arvindkumarlal743
    @arvindkumarlal743 3 роки тому

    Sir, I'm using Oracle 10g database, after 2 to 3 months programmes runs slowly, when drop user cascade with table data and again create the same the application runs faster but again after 2 to 3 months the problems remains same, what should I do.

    • @arvindkumarlal743
      @arvindkumarlal743 3 роки тому

      After dropping user and creating the same user, restored table with data through exported .dmp backup file.

  • @pravatkumar2004
    @pravatkumar2004 4 роки тому +1

    User is complaining insert statement ( if has a sql query) is very slow now. It is suppose to complete 10 min but now a days it is running 9 hours.
    I checked this sql query is every time creating new sql_id and this is creating parallel sessions also for same sql_id. Could you please help me how to find the issue.

    • @dbagenesis
      @dbagenesis  4 роки тому +1

      You need to check if the insert statement is raw insert of it is INSERT INTO .. SELECT .. FROM; statement. If its later, then check if the Oracle going for full table scan or Index scan.
      Else, enable trace in user session and see where Oracle is spending time while inserting records.

  • @imdadkhan7951
    @imdadkhan7951 4 роки тому +1

    Hi Arune, could you please explain what are differences between flashback database and guaranteed restore point ?

    • @dbagenesis
      @dbagenesis  4 роки тому

      Good question, picked it up for upcoming episode! Will answer it soon!

    • @imdadkhan7951
      @imdadkhan7951 4 роки тому +1

      DBA Genesis , could you please confirm which episode 6/7 ?

  • @viralmody6316
    @viralmody6316 3 роки тому

    Can you explain please latch and mutex concepts in oracle ?

  • @amitshinde9724
    @amitshinde9724 4 роки тому +2

    hi sir, we are facing low volume/sound issue for most of your videos,please improve sound quality.Ty

    • @dbagenesis
      @dbagenesis  4 роки тому

      Have fixed this from episode #2!

  • @muhammadmakhshiftanvir3602
    @muhammadmakhshiftanvir3602 3 роки тому

    Why do you prefer manual upgrade instead of DBUA?

    • @dbagenesis
      @dbagenesis  3 роки тому

      If DBUA fails, you have to perform manual upgrade, so its a good idea to master manual upgrade over DBUA.

  • @sadanb4876
    @sadanb4876 4 роки тому +1

    My database size is 500 GB and what's the recommended size for FRA ?
    What are the parameters need to be considered before we set the FRA ?

    • @dbagenesis
      @dbagenesis  4 роки тому +2

      Good question, picked it up for upcoming episode! happy learning!

  • @shwatankbhasin7384
    @shwatankbhasin7384 3 роки тому

    Arun sir, What will be checklist for database upgradation activity in real time?

  • @hareeshb579
    @hareeshb579 3 роки тому +1

    Thanks for the video Arun.. Can we import a single table from full export dump?

    • @dbagenesis
      @dbagenesis  3 роки тому +1

      Yes, you can. Just specify the tables parameter to the table name which you want to import and rest all tables will be ignored.

  • @amandeepgera4109
    @amandeepgera4109 4 роки тому +1

    A lot of DBA's are woriied about future of what will happen once autonomous DB comes....Many thinks they will lose jobs ..please answer..

    • @dbagenesis
      @dbagenesis  4 роки тому +1

      Already added to upcoming episodes !

  • @nihalnadaf8126
    @nihalnadaf8126 4 роки тому +1

    Before RMAN backup started, what prepration done inside the RMAN..? is it use current control file to read backup informantion or else its create snapshot control file for the period of backup time.!! pls help for this question.

  • @basilkurian6871
    @basilkurian6871 4 роки тому

    If I had a performance spike on a particular 2 mins is it a good way to look in awr or how can I troubleshoot?

  • @kumargaurav4961
    @kumargaurav4961 4 роки тому +1

    Hi Team , in my DB server when I run "top" command the load average : 3.27,3.47,3.68
    And vmstat command result :
    r = 4 , b = 2 (procs)
    Swpd = 2202188, free= 170640, buff= 1384 (memory)
    si = 321 , so=115 (swap)
    bi = 3933 , bo= 3933 (io)
    Few more parameters are there but here I am not able to type ... have given some inputs for you and same have send you in Fb messenger .
    Actually, my client system is getting hang , is there any prob in my db server ?

    • @dbagenesis
      @dbagenesis  4 роки тому

      Send complete details via email to support@dbagenesis.com

  • @chintalapurisuresh3330
    @chintalapurisuresh3330 4 роки тому +2

    Can you please tell me, what DBA do on daily?
    I am new for oracle DBA

    • @dbagenesis
      @dbagenesis  4 роки тому +1

      Sure, checkout this video published on UA-cam earlier:
      1. ua-cam.com/video/MnUqK00HFME/v-deo.html
      2. ua-cam.com/video/5KQBB4nSdPc/v-deo.html
      3. ua-cam.com/video/eV5lbSs-xMA/v-deo.html

    • @chintalapurisuresh3330
      @chintalapurisuresh3330 4 роки тому

      @@dbagenesis thank you so much....

  • @namitsharma7839
    @namitsharma7839 4 роки тому +1

    Sir,
    One of scheduled job suddenly start taking...more time ...before it was running properly..and we don't even change anything in database.
    As i checked there is no BLOCK session.
    Please give me some solution to rectify this.

    • @dbagenesis
      @dbagenesis  4 роки тому +1

      Depends on what job the scheduler is running. How was the CPU load at the time of job run? How was the instance load? Investigate in these areas and also try to get ASH report during the scheduler run and look into it.

    • @namitsharma7839
      @namitsharma7839 4 роки тому

      @@dbagenesis thanknyou so much for reply sir

  • @atifbhure7554
    @atifbhure7554 4 роки тому +2

    If we perform a switchover operation in real time. How will we have to manage the connection string for end users? since after switchover standby will act as a primary database. Do we have to modify connection string for all the user at client side? or is there any other thing which is need to be done?

    • @dbagenesis
      @dbagenesis  4 роки тому

      Answering this question in the upcoming episode!

  • @chandudevarapu1578
    @chandudevarapu1578 3 роки тому

    I recently find your channel. For oracle sql plsql developers which videos are useful regarding performance tuning in your channel

  • @roshanjohn3076
    @roshanjohn3076 4 роки тому +1

    Hi,
    I have a datawarehouse environment. 2 node RAC, Oracle DB 12.1.0.2, Golden Gate 18c. Configuration of GG is downstream. Everyday around 350 GB archive is being generated. DB size is currently 3.4 TB. Can you please advise on a backup strategy to make backup faster? Do you recommend Intelli Snapshots based on hardware?

    • @dbagenesis
      @dbagenesis  4 роки тому

      I would like to know how many channels do you allocate in your archivelog RMAN backup scripts and what is the archivelog backup frequency

    • @roshanjohn3076
      @roshanjohn3076 4 роки тому +1

      @@dbagenesis 2 channels have been allocated
      backup
      incremental level = 0
      filesperset = 8
      database
      plus archivelog not backed up;

    • @roshanjohn3076
      @roshanjohn3076 4 роки тому +1

      frequency is daily. After backup, I purge the logs
      delete archivelog until time 'sysdate-1';

    • @dbagenesis
      @dbagenesis  4 роки тому +1

      Do one thing, remove archive backup from the DB backup script and schedule it separately. See example below:
      DB Backup script:
      ----------------------------
      Just trigger DB backup and also make sure you taking LEVEL 0 backup only on weekend or non peak hours. Rest all the days of the week, take Level 1 backups.
      ARCHIVE BACKUP SCRIPT:
      --------------------------------------------
      Create a new archive only backup script and schedule it to run every 4 hours. See if your environment is stable and if not, you can increase the archive backup frequency to every 2 hours.
      This should be good enough and also, please increase number channels in backups to at least 4. This will speedup the backups.
      Implement above and send me progress report to support@dbagenesis.com and I am sure you will not have to use any other hardware level backup tools.
      Enjoy!

    • @roshanjohn3076
      @roshanjohn3076 4 роки тому +1

      @@dbagenesis Thanks Arun. The golden gate tables are located in a specific schema. Is it necessary to perform daily RMAN backup of the DB? The point is in case I will perform an RMAN restore, Golden Gate will need to be reconfigured and export and import of all the tables(using flashback_scn) will need to be done for Golden Gate config. In my opinion, an export dump (daily) of specific schemas will be much better. Maybe a full backup once a week will be ok? or still do you suggest me to do daily level 1 RMAN backup? If yes, in case of restore, how should I resync the Golden Gate tables?

  • @KIRANCHAVAN47
    @KIRANCHAVAN47 4 роки тому

    Hi Arun do you know hindi language if yes so requested you make video in hindi so lots of our Indian people they understand properly hope you take it as positive ways Thanks in advance

  • @dipeshshah9207
    @dipeshshah9207 4 роки тому +1

    hlw arun,
    i am currently working as network administrator,
    but i want to become DBA.
    pls suggest how and where to start.

    • @dbagenesis
      @dbagenesis  4 роки тому

      You must start with Linux and follow below order (strictly):
      - Linux (Oracle Linux or Red Hat)
      - Oracle SQL (go with 12c version)
      - Formal course in database administration
      - Get OCA certified
      Above is enough to get a job as a DBA, once you are in DBA job / project, you can always upgrade your skillset to RAC, Golden Gate etc...

  • @mohdfaizan4663
    @mohdfaizan4663 3 роки тому

    Sir, how can we gather statistics for all tables (ex-500 tables) in a schema in one go as we can do the rebuild indexes in one go.

    • @dbagenesis
      @dbagenesis  3 роки тому +1

      You can also gather stats at schema level

  • @sriramsubramanian8183
    @sriramsubramanian8183 4 роки тому +2

    Is it necessary for DBA's to know "How to write a query" /

    • @dn9416
      @dn9416 4 роки тому +1

      Yes

    • @dbagenesis
      @dbagenesis  4 роки тому +1

      Else how would you query data inside database? If you want to interact with database, you must know how to write sql queries.

  • @ishanmalik3483
    @ishanmalik3483 4 роки тому +1

    Hi, what if some of the archives deleted by mistake?

    • @dbagenesis
      @dbagenesis  4 роки тому

      It happens sometimes in realtime that RMAN backups will delete the archives from disk and standby is still waiting. In such cases, you will have to restore archives again from RMAN backups and then apply it on standby.
      In case you have completely lost archives, no possibility of recovering it, then you will have to rebuild the standby.

    • @dbagenesis
      @dbagenesis  4 роки тому

      Just in case, not sure if you asked this question in regards to Oracle data guard or some other sense?

  • @saleelbagde4558
    @saleelbagde4558 3 роки тому

    📣

  • @AniketPatil-yr1iw
    @AniketPatil-yr1iw 4 роки тому

    Hi Sir,
    Nice video.
    Do you have any what's app group for DBA / DATABASE DEVELOPERS.??

    • @dbagenesis
      @dbagenesis  4 роки тому

      No whatsapp group available at the moment!

  • @vishalkunden4318
    @vishalkunden4318 4 роки тому +2

    After upgrading database do we need to keep old binaries or can we remove it.

    • @dbagenesis
      @dbagenesis  4 роки тому +1

      Yes you can only after you are sure that you are not going to rollback to previous version.

    • @vishalkunden4318
      @vishalkunden4318 4 роки тому

      after removing it will not impact anything to currently running database.

    • @dbagenesis
      @dbagenesis  4 роки тому

      No, coz your DB is now running from new home.

    • @vishalkunden4318
      @vishalkunden4318 4 роки тому

      ok thanks alot and Happy new year🎂🎂🎊

    • @reda4tube
      @reda4tube 4 роки тому

      If The diag directory is not in the new home also FRA?
      So shall we add and configure it?

  • @robk4099
    @robk4099 2 роки тому

    Not 30 days default is 7