Gather_table_stats with Cascade option because table real lock?

Hi all

I have read many documents as well as topics on Oracle Community, but I can't make sure that DBMS_STATS. GATHER_ % _STATS using Cascade Locks table or not REAL (I mean prevent DML execution). Cascade = TRUE DBMS_STATS to collect index statistics too.

I did a few tests but sometimes the table was locked, exclusive and I couldn't update the lines, sometimes the table was not locked and I could update. I was really crazy.

Please help me understand.

Thank you very much.

I've never read that GATHER_ % _STATS locks the table or index.  I never heard of him or makes the experience.

Hemant K Collette

Tags: Database

Similar Questions

  • "iPhone is disabled, connect to iTunes" AND "iTunes can not connect to the iPhone because it is locked with a password" error message on the phone and the computer! Help!

    So I recently had my password wrong too many times and my iPhone 4S locked out telling me "iPhone is disabled; Connect to iTunes'. And so I connected to iTunes and decided to restore my phone. I finished the process of restoration of the configuration of my phone, but ultimately, it was not even let me in the phone! Once AGAIN he said "iPhone is disabled; " Connect " to iTunes '. However, this time, this message appeared just when I turned on my phone with a black background. I didn't scan the screen for the error message is displayed (and there was no time to be shown). When I tried to connect to iTunes again as he asked, now it says "iTunes can not connect to the iPhone because it is locked with a password".

    So now, he said "iPhone is disabled; ' Connect to iTunes' on my iPhone 4S and ''iTunes can't connect to the iPhone because it is locked with a password ' on my computer. WHAT should I do?

    As described in step 2 of "Erase your device with iTunes" in this article, you will need to use the Recovery Mode.

    Recovery mode is described in this article as well.  You may try to go into recovery mode more than once to succeed.

    If you have forgotten the password for your iPhone, iPad or iPod touch, or your device is disabled - Apple supports

  • Deleting huge records with parallel option in a non-partitioned table

    Hi all

    Is it possible to run delete statement with sub query that removes millions of records in a table that is not partitioned with parallel option?

    SQL > Alter session enable parallel query.

    SQL > Alter session enable parallel dml.

    SQL > alter table table_A parallel 5;

    SQL > delete the table_A where colA = "zzzz";

    SQL > commit;

    SQL > alter table table_A noparallel;

    Please advice,

    Thanks in advance.

    user7280060 wrote:
    Hi all

    Is it possible to run delete statement with sub query that removes millions of records in a table that is not partitioned with parallel option?

    SQL > Alter session enable parallel query.

    SQL > Alter session enable parallel dml.

    SQL > alter table table_A parallel 5;

    SQL > delete the table_A where colA = "zzzz";

    SQL > commit;

    SQL > alter table table_A noparallel;

    Please advice,

    Thanks in advance.

    Yes

  • Check if a row in a table is locked

    Is it possible to know if a particular table is locked by a single session using SQL commands?

    I know that using V$ Lock, it should be possible, however,

    I think that this needs two sessions, that is to say a session should have locked a row and another waiting to acquire the same line.

    My question is, if we only have one session, which has acquired a lock on a line, and no other session expecting that row, how do I know?

    VivekSree wrote:

    ... but my question is to know if a particular table is locked or not, using SQL commands.

    Something like below... ?

    Connected to:

    Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production

    With partitioning, OLAP, Data Mining and Real Application Testing options

    SQL > create table t_mf (date of created_date number, id);

    Table created.

    SQL > insert into t_mf values(1,sysdate);

    1 line of creation.

    -under query gets the tables locked in the case of all db

    SQL > SELECT a.sid, a.serial #, a.username, a.terminal,.

    b.object_id, substr(b.object_name,1,40) 2 object_name, a.last_call_et

    3 session $ v has, dba_objects b, v$ locked_object c

    4 where a.sid = c.session_id

    5 and b.object_id = c.object_id

    6 and a.username = user;

    SID, SERIAL # NAME OF USER TERMINAL OBJECT_ID, OBJECT_NAME LAST_CALL_ET

    ----- ------- -------------------- -------------------- ---------- -------------------- ------------

    12 3376 MICHAELF ABC342 1181716 T_MF 0

    SQL > commit;

    Validation complete.

    SQL > SELECT a.sid, a.serial #, a.username, a.terminal,.

    b.object_id, substr(b.object_name,1,40) 2 object_name, a.last_call_et

    3 session $ v has, dba_objects b, v$ locked_object c

    4 where a.sid = c.session_id

    5 and b.object_id = c.object_id

    6 and a.username = user;

    no selected line

    SQL >

  • What way to go with cascade delete

    Hello
    I must compose intellegent delete to table with PK - FK constraints (3 tables involved in this relationship), these constraints always without "delete cascade > but it could be fixed as it still in DEV." I'm curious to know how to do, then it will work in the best way.
    I am bit new to Oracle and any option cascade on DELETE is not found, so confused how it works in Oracle, what I need to ALTER first letting fall the constraints and then delete the tables one by one, or...
    I also read that read on www on some problem with < on delete cascade >, while it brings more confusion and attention...

    I enjoy info or pointer to any good place to learn or any good sample.
    What is best solution starting with DB at the end DELETE definition.

    Thank you all very much.
    Trent

    If you wanted to do a removal of the waterfall, you need to delete and recreate the foreign key constraint to specify that

    http://laurentschneider.com/wordpress/2007/08/on-delete-cascade.html

    In general, however, strongly hate the delete cascade option. I would have much preferred that the procedure that removes data from the company mother (you don't have such a procedure, right?) explicitly delete data by children (by calling another procedure in a different package). This makes it much more obvious for prospective developers what is happening, and what makes it much less likely that a deletion will have a perverse effect.

    Justin

  • I bought an ipad. Now I can not to use it because it is locked in icloud. I don't know who is the seller.

    I bought an ipad. Now I can not to use it because it is locked in icloud. I don't know the seller. What can I do?

    If an opportunity iOS device has been "Locked Activation" then only the former owner can unlock, either by providing you with the account ID and password, either by removing it from its list of devices (as it should have before selling) s ' please see http://support.apple.com/kb/ts4515

    If you are unable to contact to do this, then I'm afraid you will not be able to use the device - there is no other way to release all. Apple cannot open it for you.

    If possible, you should return whenever you bought it and ask a refund as this event that the unit is completely useless.

  • Unexpected behavior with the Option "record in the result.

    Hello

    I have unexpected behavior with the Option "record in the result.

    I have a few steps in the subsequence 'X', this subsequence passes a Boolean parameter. According to the value of the parameter I change the "Recorgind results" Option to report it or not. The thing is that if 'result Recorgind' set at race time I modofy by changing the value of Step.ResultRecordingOption to "Enable" and "Disable", the step is not reported until the same sous-suite 'X' is called for the second time (without changing the parameter passed).

    For example: (Preconditon: result Recorgind Option of all value sous-suite x are defined as Disable)

    1 CallSubsequenceX(Parameter: Enable)

    2 CallSubsequenceX(Parameter: Enable)

    3 CallSubsequenceX(Parameter: Disable)

    4 CallSubsequenceX(Parameter: Disable)

    Expected result:

    1. measures have been reported.

    2. measures have been reported.

    3. measures have not been reported.

    4. measures have not been reported.

    Result:

    1. measures would not same value Step.ResultRecordingOption has been changed to 'enable '. (Not Ok)

    2. measures have been reported. (Ok)

    3. measures reported same value Step.ResultRecordingOption has been changed to 'disable '. (Not Ok)

    4. measures have not been reported. (Ok)

    I use TestStand 2013 (5.1.0.226)

    Thanks in advance.

    -Josymar.

    Hi josymar_guzman,

    I just review the sequence and indeed we´re experience unexpected behavior with the Step.ResultRecordingOption callback. By a reason when you run the callback in the expression before each step section, the statement runs only until the next sequence is called, which is not what we want.

    To avoid this, you can place a statement before each step of the sequence, so you can change the State of the Option "record result" for the sequence running (and it is only the following). You can try something like this

    where the expression of the statement will be the recall "RunState.NextStep.ResultRecordingOption is YourCondition". With this, we guarantee that the results of the next step will be saved or not. I also remove the expression in the expression prior to each step section, because the condition is now on the statement before each step.

    I tried and it works fine. I´ll set the sequence that you share with me, with the changes. I hope this will help you and solve your problem.

  • I've had dramas with my photos because I got my new iphone 4s in saying that there is a problem with the properties and I can't change the format of images

    Hello

    I've had dramas with my photos because I got my new iphone 4s in saying that there is a problem with the properties and I can't change the format of images (ie the rotating EGTC)

    Now, I see the image preview and it disappears to the flower, so I did not see one of my photos

    Some would like TO help on this im so not good with this kind of thing.

    Appreciate it in advance

    Let

    Hello

    • When you change the format of images of?
    • What is Windows Explorer or Itunes?

    Try the TV activation

    Enabled and disable the Option 'show window previews (thumbnails) '.

    a. right click on the taskbar.

    b. Select Properties.

    c. check show window previews (thumbnails) "Option. .

  • Pavilion p6 2378. : you have upgrade to 8.1 Windows or is it a corridor of contention with no option?

    I finally got my computer run without any problem and all my programs work very well, the last time I upgraded to 8.1 Windows, I had all sorts of questions. So my question is; you have to upgrade to 8.1 Windows or is it a corridor of contention with no option? Right now I can decide if I want to use Skydrive or not, but with Windows 8.1 with Onedrive it automaticlly load my photos and documents with my knowledge and I have to go sreaching to see where they went. Don't forget I'm old and want to do it my way. Pavilion p6 2378, with Windows 8, 64-bit.

    You are not required to update to 8.1, but it is beneficial because it is more stable.  With 8.1, you will be eligible to get the free Windows 10 update when it comes out at the end of the year.

    As far as Onedive goes you can disable the download of your files by changing the parameters, see also this:

    http://www.eightforums.com/tutorials/29426-onedrive-integration-Windows-8-1-enable-disable.html

  • Withdrawal with grant option

    user 1 grants a privilege to User2 with GRANT OPTION;

    the User2 grants a privilege related object to the util_3.

    Revokes User1 to user2;

    Is revoke privilege to User3 as well?

    Hello

    Yes, the revocation of the privileges of User2 cascade to user3,

    If the privilege will be revoked for users of boh (User2 and user3)

    Concerning

    Salim

  • How to tell if Lr Sync with mobile option turned on?

    Using the file "How to synchronize Office Lr and Lr mobile app", page 2 at the top there is a screenshot

    'Start with mobile Lr' and displays the option 'synchronize with mobile Lr.

    My problem is that when I run the application that wording Lr appears briefly but is then replaced by "Adobe Lr CC2015 Richard Humphreys.

    I think I have enabled synchronization with Lr mobile option because my one of my ipads displays the same photos as appear in the desktop version of Lr.  However, the second ipad shows that the pictures of the film that the ipad and I created a discussion separate to this topic.  My phone show my Photos from Lr but not my Collections!  No idea how I can activate the Collections in my mobile phone?

    I get very confused because I think I've read that you can synchronize only the Collections but that doesn't seem to be the case?

    Richard

    [See this in a Web browser to see the embedded images.]

    If you hover the mouse over your name "Richard Humphrey", you will see there is an arrow next to it, indicating that it is a menu drop-down.  Click your name, and you will see what is described in Help:

    (It's the incorrect UI design, having hidden elements like that.)

    If it looks like my screenshot, you have enabled synchronization.

    On your second iPad, make sure that you are logged in the creative cloud.  Return to the home screen of the app from LR and click on "Lr" in the upper left corner:

  • Problem of deletion of snapshot - not access file &lt; unspecified file name &gt; because it is locked.

    Guys,

    I'm having a problem to remove a snapshot of console vSphere. I am running with vSphere v5.1.

    I tried to recreate the snapshot and perform the complete withdrawal and its looks the same. I also restarted the Management Agents on ESXi host where the virtual machine was stationed. But the problem remains the same. All thought and helpful is perhaps help to solve this problem for me?

    My backup keep fault because the snapshot may not remove the host.

    Delete all snapshots

    *********

    Unable to access file < unspecified file name > because it is locked

    ********

    *********************

    08:41:04 07/07/2014

    08:41:04 07/07/2014

    07/07/2014 08:41:16

    VMware KB: Restarting management on an ESX or ESXi host agents

    The light of the foregoing, it is the impact:

    Attention: restart management agents may have an impact all the tasks that can run on the ESX ESXi host at the time of the recovery.

  • Disks of the virtual machine consolidation is necessary is Unable to Access file &lt; file_name indeterminate &gt; because it is locked

    Hola a tod@s,

    After using the application of only backup '5.5 virtual Data Protection' y no las snapshot los correctamente foot VM´s, me appears a message en the pestana "Summary" indicating:

    Consolidation of disks of virtual machines is necessary

    Bueno... mirando the documentation oficial, are several soluciones, the first are pulsar en option "SnapShot-> Consolidate" pero muestra el error:

    Unable to access file < unspecified file name > because it is locked

    What is seria el siguiente paso?

    -ESXi version 5.1

    -En VM´s production...

    Gracias por todo.

    Saludos.

    Please if you ha sido util the respuesta correcta como marca respond.

    Gracias!

  • Can not power on virtual machines "cannot access the file because it is locked.

    Virtual machines have been working well - then the storage system is down.  After the storage system returns upwards that I can't turn on a number of virtual machines.  Get this error when I try to turn it on:

    Cannot power on vmname on esxhostname.xxxxx.com. Unable to access file < unspecified file name > because it is locked
    error

    1. To check the locks on the Service Console on non ESXi servers, run the command:

      lsof | grep

      COMMAND PID USER FD TYPE SIZE NŒUD NOM_PERIPHERIQUE
      71fd60b6-3631 root 4r REG 0.9 10737418240 23533

      Note: If there is no Console of Service process the locking file, you should receive no printed output. If you receive results, however, file a support request to identify the process and to determine the causes.  If it is a third-party process, however, contact the appropriate provider to determine the cause before you kill the process ID, because it can happen again in the future.

      Stop the process and the lock ID using the kill command. In the example above, the process ID is 3631:

      kill the 3631

      After the termination of the process, you can try to turn on the virtual machine or access the file resource.

    2. To check if the virtual machine is always a world ID assigned, run these commands on all ESX/ESXi hosts:

      CD/tmp
      VM-support - x

      Available to debug worlds:
      WID =

      On the ESX/ESXi host where the virtual machine still works, kill the VM, which releases the lock on the file. To kill the virtual machine, run the command:

      VM-support - X

      Where the is the ID of the world of the virtual machine with the locked file.

      Note: this command takes 5-10 minutes to complete. Answer No to "can I include a screenshot of the virtual machine", and answer Yes to all subsequent questions.

      After the termination of the process, you can turn on the virtual machine or access the file resource.

    Deleting the file .lck (NFS only)

    The virtual machine files can be locked via NFS storage. You can identify this as reported by .lck files. # (where # is the ID of the world that holds the lock file) at the end of the file name. It is a NFS file lock and appears only when you use the ls command as it is the hidden file.
    Beware: they can be removed safely only if the virtual machine is not running.

    Note: VMFS volumes have no .lck files. The locking mechanism for VMFS volumes is managed within VMFS metadata on the volume.

    You must kill the process that is locked, if it is not the case, you probably need to restart the VMware host.
    I tell you from experience most likely end up rebooting it.

  • AutoConfig with parallel option introduced in what version of R12?

    Hi all

    Could someone please share on the topic:

    AutoConfig with parallel option introduced in what version of R12?


    On further research, please note the following, which has been highlighted in EBS 12.1.x news as well:

    1. automatic configuration with parallel option in 12.1.1

    A. the link below so points out:

    http://docs.Oracle.com/CD/E18727_01/ doc.121 /e12841/T120505T120514.htm

    AutoConfig running in parallel

    Introduced in version 12.1, the parallel mode allows to AutoConfig to simultaneously run multiple nodes of a system of Oracle E-Business Suite. When running in parallel mode, AutoConfig uses the dbms_locks PL/SQL package to ensure that the configuration of a node does not interfere with the configuration of other nodes: this is necessary because some automatic configuration of a node service configurations depend on the configuration of the other nodes.

    B.R12.1 has the interesting feature that you can run the automatic configuration in parallel in the environment of multi node. Exit R12.1 content CD contains this information.
    https://MetaLink.Oracle.com/MetaLink/PLSQL/docs/EBS_R12.1_RCD_ATG_PreRelease.PDF

    It is to raise awareness among the Group of the same points mentioned in versions 12.0.4,12.0.6 and 12.1.1 about-> AutoConfig running in parallel

    The above points are contradictory in nature so!

    Could someone please clarify!

    Thank you and best regards,

    Salvation;

    As you mention is not so clear.

    I found this:
    http://onlineappsdba.com/index.php/2010/04/15/reduce-AutoConfig-downtime-parallel-run-Profiler/

    You always dupt its best to confirm this information with the companion of support. Please increase sr

    Respect of
    HELIOS

Maybe you are looking for

  • Update stuck after reboot

    Hey guys,. So I don't have a lot of information because I wasn't trying to update, but here's the problem: I restarted my computer, and an update coming. The white progress bar fills up then it 100% and it gets stuck there. He was stuck there for 30

  • How to change an e-mail alias

    original title; e-mail alias How will we change alias email addresses?

  • I use Windows XP. I downloaded the program "Windows Defender" and got the error found: code 0 x 80240022.

    IAM so frustrated! Can someone help me, so I can get the definitions & updates to download? I have the program "Windows Defender", and it works fine. BUT I need the definition updates to work! Help!              Kathleen

  • Slider Windows Mail

    Recent updates have caused my cursor behave strangely - a form of large ring around it that shrinks and then in the location of the cursor. then the reforms concerning every 5 sec (narrowing bullseye).  This happens whenever Windows Mail is open, any

  • HP 5531:5531 want do not print on mac

    I can't send or .pdf documents to print. I get blank pages when I print from my Mac.