首页 \ 问答 \ HSQLDB停止定期执行CHEKPOINT操作,日志文件也在不断增长(HSQLDB is stop doing periodic CHEKPOINT operation and log files is keep growing)

HSQLDB停止定期执行CHEKPOINT操作,日志文件也在不断增长(HSQLDB is stop doing periodic CHEKPOINT operation and log files is keep growing)

我们使用hsqldb(2.2.8)作为我们在tomcat web服务器(6.19)上运行的Web应用程序的内存数据库。 我们已将日志文件的最大大小设置为hsqldb.log_size = 200(200 MB),

但是对于生产环境的某些实例,日志文件(〜/ tomcat / work / hypersonic / localDB.log)正在超出该范围(40GB)。

进一步查看日志,我们发现DB停止执行CHECKPOINT操作。 HSQL DB在执行定期CHECKPOINT操作时的默认行为是什么? 无论如何我们可以停止增长这个LOG文件。


We are using hsqldb (2.2.8) as in-memory database for our web application which is running on tomcat web server (6.19). We have set the max size of the log file to hsqldb.log_size=200 (which is 200 MB),

but for some instances of out production environment the log file (~/tomcat/work/hypersonic/localDB.log) is growing way beyond that range (40GB).

Further looking into the logs we found that the DB stop performing the CHECKPOINT operation. What is the default behaviors of HSQL DB in performing periodic CHECKPOINT operation ? Is there anyway we can stop growing this LOG file.


原文:https://stackoverflow.com/questions/17203894
更新时间:2022-08-29 06:08

最满意答案

相关问答

更多
  • 什么是flex?[2022-03-10]

    flex是一种技术,也可以说是一种框架,就是做网页特效的
  • 什么是AS和flex[2023-07-12]

    AS(ActionScript) 动作脚本是遵循 ECMAscript第四版 的 Adobe Flash Player 运行时环境的编程语言。它在 Flash 内容和应用程序中实现交互性、数据处理、以及其他功能。 flex通常是指Adobe Flex,是最初由Macromedia公司在2004年3月发布的,基于其专有的Macromedia Flash平台,它是涵盖了支持RIA(Rich Internet Applications)的开发和部署的一系列技术组合。Flex 是一个高效、免费的开放源框架,可用于构 ...
  • 你可以使用这个类: http://code.google.com/p/cay/source/browse/trunk/as3/cl/cay/effects/Reflejo.as 这可能不是完美的,但至少会让你快速入门。 然后更新和修改您的需求,如果你喜欢。 HTH Chet Haase posted the answer I was looking for, with accompanying source code and demo video. Hope it helps others looking ...
  • 看看ImageSnapshot.captureBitmapData() http://livedocs.adobe.com/flex/3/langref/mx/graphics/ImageSnapshot.html Check out ImageSnapshot.captureBitmapData() http://livedocs.adobe.com/flex/3/langref/mx/graphics/ImageSnapshot.html
  • 由于Image扩展了SWFLoader,因此属性contentWidth和contentHeight都是公开可用的。 它们可以在“完整”活动中使用。 如果从其他域加载图像,则可能不允许访问图像的位图数据。 Since Image extends SWFLoader, properties contentWidth and contentHeight are both publicly available. They are available on the "complete" event. Accessi ...
  • 我已经弄清楚了 我在拍摄该组件的快照时将我的HTML元素可见性设置为false,在拍摄屏幕截图时需要显示它。 :) I've figured this out I was setting my HTML elements visbility to false when taking the snapshot of that component, it need to be visible when taking the screenshot. :)
  • 尝试将您的精灵放在UIComponent或SpriteVisualElement中。 这对我有用:
    您将不得不使用HttpService将数据发布到您网站上的页面。 当我实现这个时,我将Image数据作为Base64编码的字符串发布到PHP页面,该页面使用GD库将其保存到服务器上的png文件中。 这是我的代码看起来像的简化示例 Flex代码 public function saveImg():void{ var bd:BitmapData = new BitmapData(mycanvas.width,mycanvas.height); bd.draw(mycanvas); var ...
  • 你有几个选择。 第一个是检查Degrafa框架 ,它有一些非常令人难以置信的绘图工具,否则你需要添加一个脚本块并在函数中使用AS3绘图api(在这种情况下可能在creationComplete上调用: private function handleCreationComplete():void { var component:UIComponent = new UIComponent(); //needed to add to the flex display list var myCirc ...
  • 我在Flex 4中使用[Embed]和伪BitmapAsset.as创建了一个测试项目,但看不到异常: package { import flash.display.Sprite; public class EmbedTest extends Sprite { public function EmbedTest() { addChild(new smile()); } [Embed("smile.png")] private var smile:Cl ...

相关文章

更多

最新问答

更多
  • 如何在Laravel 5.2中使用paginate与关系?(How to use paginate with relationships in Laravel 5.2?)
  • linux的常用命令干什么用的
  • 由于有四个新控制器,Auth刀片是否有任何变化?(Are there any changes in Auth blades due to four new controllers?)
  • 如何交换返回集中的行?(How to swap rows in a return set?)
  • 在ios 7中的UITableView部分周围绘制边界线(draw borderline around UITableView section in ios 7)
  • 使用Boost.Spirit Qi和Lex时的空白队长(Whitespace skipper when using Boost.Spirit Qi and Lex)
  • Java中的不可变类(Immutable class in Java)
  • WordPress发布查询(WordPress post query)
  • 如何在关系数据库中存储与IPv6兼容的地址(How to store IPv6-compatible address in a relational database)
  • 是否可以检查对象值的条件并返回密钥?(Is it possible to check the condition of a value of an object and JUST return the key?)
  • GEP分段错误LLVM C ++ API(GEP segmentation fault LLVM C++ API)
  • 绑定属性设置器未被调用(Bound Property Setter not getting Called)
  • linux ubuntu14.04版没有那个文件或目录
  • 如何使用JSF EL表达式在param中迭代变量(How to iterate over variable in param using JSF EL expression)
  • 是否有可能在WPF中的一个单独的进程中隔离一些控件?(Is it possible to isolate some controls in a separate process in WPF?)
  • 使用Python 2.7的MSI安装的默认安装目录是什么?(What is the default installation directory with an MSI install of Python 2.7?)
  • 寻求多次出现的表达式(Seeking for more than one occurrence of an expression)
  • ckeditor config.protectedSource不适用于editor.insertHtml上的html元素属性(ckeditor config.protectedSource dont work for html element attributes on editor.insertHtml)
  • linux只知道文件名,不知道在哪个目录,怎么找到文件所在目录
  • Actionscript:检查字符串是否包含域或子域(Actionscript: check if string contains domain or subdomain)
  • 将CouchDB与AJAX一起使用是否安全?(Is it safe to use CouchDB with AJAX?)
  • 懒惰地初始化AutoMapper(Lazily initializing AutoMapper)
  • 使用hasclass为多个div与一个按钮问题(using hasclass for multiple divs with one button Problems)
  • Windows Phone 7:检查资源是否存在(Windows Phone 7: Check If Resource Exists)
  • 无法在新线程中从FREContext调用getActivity()?(Can't call getActivity() from FREContext in a new thread?)
  • 在Alpine上升级到postgres96(/ usr / bin / pg_dump:没有这样的文件或目录)(Upgrade to postgres96 on Alpine (/usr/bin/pg_dump: No such file or directory))
  • 如何按部门显示报告(How to display a report by Department wise)
  • Facebook墙贴在需要访问令牌密钥后无法正常工作(Facebook wall post not working after access token key required)
  • Javascript - 如何在不擦除输入的情况下更改标签的innerText(Javascript - how to change innerText of label while not wiping out the input)
  • WooCommerce / WordPress - 不显示具有特定标题的产品(WooCommerce/WordPress - Products with specific titles are not displayed)