Connecting to a eXtremeDB「建议收藏」

Connecting to a eXtremeDB「建议收藏」TheeXtremeDBODBCdrivercanconnecttoaneXtremeDBdatabaseintwomanners.Thefirst(whichwerecommended)assumesthatthedriveractslikeaRemoteSQLclient.Thisisathinclientthatserializ

大家好,又见面了,我是你们的朋友全栈君。如果您正在找激活码,请点击查看最新教程,关注关注公众号 “全栈程序员社区” 获取激活教程,可能之前旧版本教程已经失效.最新Idea2022.1教程亲测有效,一键激活。

Jetbrains全系列IDE稳定放心使用

The eXtremeDB ODBC driver can connect to an eXtremeDB databasein two manners. The first (which we recommended) assumes that the driver actslike a Remote SQL client. This is a thin client that serializes SQL queries anddeserializes the results via a TCP connection to the eXtremeSQL server. Forexample, you may use the xsqlcmd utility or sample xsql, or a customapplication with SQL server enabled.

 

Secondly, the eXtremeDB ODBC driver can open a database locallyin shared memory. In this case a process which loads the ODBC driver in itsmemory space does direct access to the database in shared memory. In this casea crash of the application (or terminating it inside an opened transaction) cancause corruption of the database.

 

Both database access methods are described in “Chapter 7:McObject ODBC Driver” of the eXtremeSQL User Guide. Practically, themethod of database access depends on the string “DSN=…;” in the ODBCconfiguration file. If the DSN string has a TCP address semantic like ‘192.168.1.1:5000’or ‘localhost:5000’ (here the substring “:port_number” indicates anaddress), then the ODBC driver acts as a RemoteSQL client and tries to connectto the specified address. When the DSN string specifies just a name with no ‘:’symbol, the ODBC driver tries to connect to a local database in shared memoryby that name.

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请联系我们举报,一经查实,本站将立刻删除。

发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/181953.html原文链接:https://javaforall.net

(0)
全栈程序员-站长的头像全栈程序员-站长


相关推荐

  • 原生js文字标签云上下滚动播放

    效果:http://hovertree.com/texiao/js/25/效果图:代码如下:转自:http://hovertree.com/h/bjaf/hovertreetags.htm特效库:

    2021年12月23日
    42
  • MeasureSpec介绍及使用详解

    MeasureSpec介绍及使用详解一个MeasureSpec封装了父布局传递给子布局的布局要求,每个MeasureSpec代表了一组宽度和高度的要求。一个MeasureSpec由大小和模式组成。它有三种模式:UNSPECIFIED(未

    2022年7月1日
    21
  • python日志格式[通俗易懂]

    python日志格式[通俗易懂]python输出日志时的格式化输出日志时的格式化名称 说明%(levelno)s 打印日志级别的数值%(levelname)s 打印日志级别名称%(pathname)s 打印当前执行程序的路径,其实就是sys.argv[0]%(filename)s 打印当前执行程序名%(funcName)s 打印日志的当前函数%(lineno)d 打印日志的当前行号%(asctime)s 打印日…

    2022年6月9日
    52
  • 计算机网络体系结构

    计算机网络体系结构计算机网络体系结构认识一下什么是计算机网络体系结构计算机网络是一个非常复杂、庞大的系统,涉及到很多组成部分。包括主机、路由器、各种链路、应用、协议、硬件、软件……等。那么是否存在一种体系结构可以

    2022年7月4日
    20
  • request.getParameterValues()用法「建议收藏」

    request.getParameterValues()用法「建议收藏」本人前段也不怎么样,研究了很久终于弄明白了request.getParameterValues()的简单用法,希望以下的方案能帮你渡过难关<formname="checkform"method="post"action="getvalue.j

    2022年7月22日
    8
  • 分布式一致性:两阶段提交

    分布式一致性:两阶段提交

    2021年9月10日
    47

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

关注全栈程序员社区公众号