How to unlock the locked ArcSDE data

Source: Internet
Author: User

How to unlock the locked ArcSDE data

When the SDE data is locked, the lock request conflicts with an established lock will be reported when you edit or create the featureclass or the registration version. In most cases, disabling the database connection can solve this problem, but sometimes the problem still exists.

How to unlock the locked ArcSDE data

When the SDE data is locked, the lock request conflicts with an established lock will be reported when you edit or create the featureclass or the registration version. In most cases, disabling the database connection can solve this problem, but sometimes the problem still exists.

The solution is:

1. Close all ArcMap and arccatalog sessions.

2. Run the command 'sdemon-o kill-t all-P sde'

3. Run the command 'sdemon-O Info-I locks' then it says 'No ArcSDE to report 'no ArcSDE Layer/State/tabel/ojbects locks registered.

If the data is still locked after the preceding steps are executed, query the lock table in sqlplus:

SQL> select * From SDE. state_locks;

SQL> select * From SDE. object_locks;

SQL> select * From SDE. layer_locks;

SQL> select * From SDE. table_locks;

If records are returned, manually delete the records in these tables.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.