# SequenceExists has low performance

**URL:** <https://forum.liquibase.org/t/sequenceexists-has-low-performance/2054>\
**Category:** General Discussion\
**Created:** [July 31, 2012, 4:31pm UTC](https://forum.liquibase.org/t/sequenceexists-has-low-performance/2054 "2012-07-31T16:31:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dahu88](https://avatars.discourse-cdn.com/v4/letter/d/e8c25b/32.png) [@dahu88](https://forum.liquibase.org/u/dahu88)\
**Post date:** [July 31, 2012, 4:31pm UTC](https://forum.liquibase.org/t/sequenceexists-has-low-performance/2054/1 "2012-07-31T16:31:00Z")

</div>

I’m trying to migrate our plain old sql files to liquibase 2.0.3 and I’ve observed a big performance problem when sequenceExists is called. It takes up to 270252ms (yes more than 4 minutes) to execute the changeset with this precondition whereas it takes around 50ms for other changesets.  
As I have several sequences that I check, it takes too much time ;o)  
  
I think it might be related to [https://liquibase.jira.com/browse/CORE-715](https://liquibase.jira.com/browse/CORE-715) , but I may be mistaken.
