# SQL Nav 6.4 lock up

**URL:** <https://forums.toadworld.com/t/sql-nav-6-4-lock-up/4444>\
**Category:** SQL Navigator\
**Created:** [April 29, 2011, 10:49am UTC](https://forums.toadworld.com/t/sql-nav-6-4-lock-up/4444 "2011-04-29T10:49:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ashmelev](https://avatars.discourse-cdn.com/v4/letter/a/f04885/32.png) [@ashmelev](https://forums.toadworld.com/u/ashmelev)\
**Post date:** [April 29, 2011, 10:49am UTC](https://forums.toadworld.com/t/sql-nav-6-4-lock-up/4444/1 "2011-04-29T10:49:40Z")

</div>

After a switch to v6.x I’ve noticed that SQL navigator keep locking up when I try to click on table names. I tried to run SQL tracing and here’s the query it tries to run when I do the click:

select USER owner, a.object\_name, a.object\_id, a.created, a.last\_ddl\_time,decode(a.status,‘VALID’,0,‘INVALID’,1,2) status, decode(b.partitioned,‘YES’,‘Y’,‘NO’,‘N’) partitioned, ‘N’ object\_table, ‘N’ external\_table, decode(b.nested,‘YES’,‘Y’,‘N’) nested, decode(b.IOT\_Type,‘IOT’,1,‘IOT\_OVERFLOW’,2,0) IOT\_Type, b.IOT\_Name, b.temporary  
from sys.user\_objects a,sys.user\_tables b  
where b.table\_name like ‘%’  
and a.object\_name=b.table\_name  
and a.object\_type=‘TABLE’  
and b.dropped=‘NO’

I tried this query on several of our 11g databases and it takes forever to get any result (I waited for 15+ minutes, then had to terminate it). There were ~650 objects with type = ‘TABLE’ and ~600 tables with dropped = ‘NO’. I tried it against 9g database and it completed relatively fast.

I wonder, why it uses a wildcard in “b.table\_name like ‘%’”? The same query with an actual table names takes less than a second to execute.

At this point I’m ready to give up SQL Nav, it’s been less than satisfying experience with 6.x and Oracle 11g. ☹

---

<div class="post-metadata">

**Author:** ![roman](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/roman/32/65_2.png) [@roman](https://forums.toadworld.com/u/roman)\
**Post date:** [May 1, 2011, 10:12pm UTC](https://forums.toadworld.com/t/sql-nav-6-4-lock-up/4444/2 "2011-05-01T22:12:38Z")

</div>

Hi Alexey,

Thank you for your feedback. We will fix the performance issue in the next 6.6 beta release; unfortunately, it’s too late to include the fix in 6.5 - it goes GA very soon.

Regards,  
Roman
