- 18
- 0
- 约1.27万字
- 约 41页
- 2016-12-06 发布于重庆
- 举报
内存数据库TT应用培训
深圳天源迪科 内存数据库TT交流 目录 TT整体架构 TT组成 TimesTen products consist of combinations of the following components: 内存数据库产品由如下部分组成: 1、Shared libraries 共享库 2、Memory-resident data structures 基于内存的数据结构 3、Database processes 数据库进程 4、Administrative programs 管理程序 5、Checkpoint and log files 日志文件 TT组成(一) Shared libraries The routines that implement the TimesTen functionality are embodied in a set of shared libraries that developers link with their applications and execute as a part of the applications process. This shared library approach is in contrast to a more conventional RDBMS, which is implemented as a collection of executable programs to which applications connect, typically over a client/server network. Applications can also use a client/server connection to access an IMDB Cache or TimesTen database, though in most cases the best performance will be realized with a directly linked application. TimesTen功能是由一系列共享库来体现。开发者利用共享库来连接应用进程。在关系型数据库中,尤其是基于CS架构的应用程序对共享库使用非常广泛。虽然直连是公认的最好的应用方式,但是应用也可以使用C/S模式连接到timesten数据库。 TT组成(二) Memory-resident data structures The TimesTen database resides entirely in main memory at runtime. It is maintained in shared memory segments in the operating system and contains all user data, indexes, system catalogs, log buffers, lock tables and temp space. Multiple applications can share one database, and a single application can access multiple databases on the same system. Timesten在运行状态下是完全保存在内存中的。它保存在操作系统的共享内存段,包含用户数据、索引、系统日志、日志缓存、锁表、临时表空间等。如果操作系统一致,多个应用可以共享一个数据库,一个应用也可以连接多个内存数据库。 Database processes TimesTen assigns a separate process to each database to perform operations including the following :对如下每个数据库执行操作,TimesTen的分配一个单独的进程 ? Loading the database into memory from a checkpoint file on disk ? Recovering the database if it needs to be recovered after loading it into Memory 恢复数据库 ? Performing periodic checkpoints in the background against the active Database 后台定期检查数据库,保证可用性。 ? Detecting and handling deadlocks 检测处理死锁 ? Performing data aging 数据归档 TT组成(三) Ad
原创力文档

文档评论(0)