{"id":78,"date":"2006-04-10T23:11:49","date_gmt":"2006-04-11T04:11:49","guid":{"rendered":"http:\/\/www.juixe.com\/techknow\/index.php\/2006\/04\/10\/sybase-transaction-log\/"},"modified":"2006-04-10T23:11:49","modified_gmt":"2006-04-11T04:11:49","slug":"sybase-transaction-log","status":"publish","type":"post","link":"http:\/\/juixe.com\/techknow\/index.php\/2006\/04\/10\/sybase-transaction-log\/","title":{"rendered":"Sybase Transaction Log"},"content":{"rendered":"<p>One of the database vendors that my company supports is Sybase.  We have a Sybase database which we hit from JUnit tests but every once in a while a Sybase specific JUnit test will just freeze.  I found out that the JUnit test would freeze because the Sybase transaction log would fill up and need to be cleared.<\/p>\n<p>To clear the transaction log open up Sybase SQL Advantage and log in.  Once log in execute the following statement:<\/p>\n<pre>\ndump transaction &lt;DATABASE NAME&gt; with no_log\n<\/pre>\n<p>Once I run this command my JUnit tests continue without a hitch.<\/p>\n<p>Technorati Tags: <a href=\"http:\/\/technorati.com\/tag\/sybase\" rel=\"tag\">sybase<\/a>, <a href=\"http:\/\/technorati.com\/tag\/database\" rel=\"tag\"> database<\/a>, <a href=\"http:\/\/technorati.com\/tag\/sql\" rel=\"tag\"> sql<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>One of the database vendors that my company supports is Sybase. We have a Sybase database which we hit from JUnit tests but every once in a while a Sybase specific JUnit test will just freeze. I found out that the JUnit test would freeze because the Sybase transaction log would fill up and need [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","footnotes":""},"categories":[23,3],"tags":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p902K-1g","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/posts\/78"}],"collection":[{"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/comments?post=78"}],"version-history":[{"count":0,"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/posts\/78\/revisions"}],"wp:attachment":[{"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/media?parent=78"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/categories?post=78"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/tags?post=78"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}