Timesten
共 7 篇文章
Timesten 学习笔记(七)ttisql
帮助信息 help command; 查看历史记录 h; Each entry in the history list is identified by a unique number. The ! character followed by the number of the command can be used to execute the command again. For example: !1; Saving and clearing the ttIsql command history Command> savehistory history.txt; If the outp…
2012-05-18 03:29 · Timesten
Timesten 学习笔记(六)Java
连接timesten 数据库,在Java下有两种方法: 第一种,使用 Drivermanager import java.sql.Connection; import java.sql.DriverManager; import java.sql.Statement; import java.sql.ResultSet; import java.sql.SQLException; public class TTTest { public static void main(String[] args) { // create the TimesTen data source and set t…
2012-05-17 22:25 · Timesten
Timesten 学习笔记(五)Client/Server
Client/Server 模式综述 TimesTen客户端 访问 远程系统上 的TimesTen 数据库 , TimesTen 客户端 的 ODBC驱动程序 负责连接 应用程序 。 使用 TimesTen 客户端 驱动 程序 , 应用程序可以连接 透明 的TimesTen 服务器 和 数据管理器 。 你 可以 直接 使用 TimesTen 客户端 驱动 程序 或 者使用Windows的 ODBC驱动程序 管理 器 连接 的 客户端应用程序 。 但是不建议使用 Windows ODBC driver manager, 因为可能会带来性能方面的损失。 TimesTen 服务端 : 负责监听和转…
2012-05-15 23:49 · Timesten
Timesten 学习笔记(三)ttendaemon.options
Informational messages on UNIX systems TimesTen的 守护进程 会产生 错误,警告 , 系统管理 和 调试应用程序 的 调试信息 。 在安装时 , 你 确定 这些消息 是否 去 到一个文件 或 syslog工具 。 如果 使用syslog 消息记录 , LOG_USER syslog工具 默认情况下使用 。 在 ttendaemon.options 文件中 增加如下 : -facility name name可能出现的值有: auth , cron , daemon , local0-local7 , lpr , mail , news , use…
2012-05-15 01:36 · Timesten
Timesten 学习笔记(二)
Timesten 在 linux 系统下的安装 在linux 下, / etc / TimesTen记录了 计算机 上 所有安装的 TimesTen 实例 。 TimesTen的 安装前 , 确保安装 用户 是 Timesten admin管理员组的 成员 , 并 对 / etc / TimesTen 目录有读写权限。 创建 TimesTen的 实例 和 管理员组 1)以root身份登录 。 2) 如果 目录/ etc / TimesTen的 不存在 ,创建它。 # mkdir /etc/TimesTen 在此目录中 的 文件 所需 的磁盘空间 至少有100 KB 。 3)如果 不存在 in…
2012-05-14 23:46 · Timesten
Timesten 学习笔记(一)
启动和停止TimesTen数据库 对于TimesTen来说, 一旦数据库由应用程序加载到内存中, 数据库就可以被使用了。 启动TimesTen 首先需要启动TimesTen的主守护进程。 使用ttDaemonAdmin工具,如下所示: ttDaemonAdmin -start 数据库装卸 第一次连接到TimesTen数据库就会加载 数据库 到内存中。 加载数据库所花费的时间取决于数据库的大小和磁盘存储速度。 该数据库驻留在内存中,直到最后一个连接断开,它会自动从内存中卸载数据库,除非RAM的政策是保持数据库加载 。 TimesTen数据库会自动保存到磁盘存储设备上。保存时使用checkpoi…
2012-05-12 02:56 · Timesten
TimesTen for Windows 7 安装数据源
安装最新的 timesten for windows 下载地址 http://www.oracle.com/technetwork/products/timesten/downloads/index.html. 下载后安装。 然后配置 DataStore。打开Windows 的控制面板中的数据源(ODBC), 选择 Add。 出现如下 选择 TimesTen Client11.2.2 点 Finish 然后在 Client DSN 和 Descrpition 填写你想要的 名字。 然后点击旁边的 Server... 按钮 出现如下 点击 Add 现在就需要你填写自己的 timesten 服务…
2012-05-10 05:11 · Timesten