- 浏览: 107077 次
- 性别:
- 来自: 合肥
文章分类
最新评论
-
safda1:
没明白为什么要把mac进行分段比较呢?
Java验证IP和MAC地址 -
yiqi1943:
原因是什么呢
MyBatis排序 -
sunlightcs:
在局域网外,获取不到mac地址吧。
Java获得登录的IP和MAC地址
Shared memory
To increase the shared memory size to 2048 MB, log in as root and edit the
/etc/sysctl.conf file by adding the line:
kernel.shmmax=2147483648
If your configuration is greater than 8 GB, you should also increase the value of the
shmall parameter. The value is in KB and should be equal to
ceil(SHMMAX/PAGE_SIZE). Page size is generally 4K on x86 systems and 16K on
Itanium. For example, for a 64 GB database on Itanium, you should specify the
following parameters values:
kernel.shmmax=68719476736
kernel.shmall=4194304
如果是x86系统,共享内存是1GB,(shmall = shmmax/4KB),则参数设置为:
# 1GB
kernel.shmmax = 1073741824
# 1 * 1024 * 1024KB/4KB=262144
kernel.shmall = 262144
【重要的配置文件】
TimesTen根路径在/home/tt/TimesTen/tt1122(tt为用户)下
1./etc/sysctl.conf 配置和内存等相关的先决条件,我认为主要是内存
2.sys.odbc.ini(/home/tt/TimesTen/tt1122/info/sys.odbc.ini) 配置ODBC数据源、Server DSN、User DSN等
3.sys.ttconnect.ini(/home/tt/TimesTen/tt1122/info/sys.ttconnect.ini) 配置User DSN要连接的服务器的IP和PORT,用在sys.odbc.ini中的User DSN
4..bash_profile(/home/tt/.bash_profile,前面有个【.】) 配置用户tt的启动参数。如一些tt需要的环境变量。
以下为附件的内容:
资料来源于:解压缩安装包,doc/welcome.html--Installation Guide
@cobble hefei anhui chn 20120807
To increase the shared memory size to 2048 MB, log in as root and edit the
/etc/sysctl.conf file by adding the line:
kernel.shmmax=2147483648
If your configuration is greater than 8 GB, you should also increase the value of the
shmall parameter. The value is in KB and should be equal to
ceil(SHMMAX/PAGE_SIZE). Page size is generally 4K on x86 systems and 16K on
Itanium. For example, for a 64 GB database on Itanium, you should specify the
following parameters values:
kernel.shmmax=68719476736
kernel.shmall=4194304
如果是x86系统,共享内存是1GB,(shmall = shmmax/4KB),则参数设置为:
# 1GB
kernel.shmmax = 1073741824
# 1 * 1024 * 1024KB/4KB=262144
kernel.shmall = 262144
【重要的配置文件】
TimesTen根路径在/home/tt/TimesTen/tt1122(tt为用户)下
1./etc/sysctl.conf 配置和内存等相关的先决条件,我认为主要是内存
2.sys.odbc.ini(/home/tt/TimesTen/tt1122/info/sys.odbc.ini) 配置ODBC数据源、Server DSN、User DSN等
3.sys.ttconnect.ini(/home/tt/TimesTen/tt1122/info/sys.ttconnect.ini) 配置User DSN要连接的服务器的IP和PORT,用在sys.odbc.ini中的User DSN
4..bash_profile(/home/tt/.bash_profile,前面有个【.】) 配置用户tt的启动参数。如一些tt需要的环境变量。
以下为附件的内容:
TimesTen安装 @cobble.ge 版本:timesten112230.linux8664.tar.gz 安装: 查看空闲内存 # cat /proc/meminfo MemFree: 1043340 kB 所以共享内存我们设为1GB 如果是x86系统,共享内存是1GB,(shmall = shmmax/4KB),则参数设置为: # 1GB kernel.shmmax = 1073741824 # 1 * 1024 * 1024KB/4KB=262144 kernel.shmall = 262144 查看先决条件 # /sbin/sysctl –a 立即生效先决条件 # /sbin/sysctl -p 修改先决条件 # vi /etc/sysctl.conf 如下: # added by geby 20110805 fs.aio-max-nr = 1048576 fs.file-max = 6815744 #kernel.shmall = 2097152 #kernel.shmmax = 536870912 # edited by geby 20120809 # 1GB kernel.shmmax = 1073741824 # 1 * 1024 * 1024KB/4KB=262144 kernel.shmall = 262144 # end edit kernel.shmmni = 4096 kernel.sem = 250 32000 100 128 net.ipv4.ip_local_port_range = 9000 65500 net.core.rmem_default = 262144 net.core.rmem_max = 4194304 net.core.wmem_default = 262144 net.core.wmem_max = 1048586 # ended add by 20110805 创建安装用户 # groupadd ttadmin # useradd -G ttadmin tt # passwd tt 创建文件夹,TimesTen需要(好像是用来存放TimesTen实例的) # mkdir /etc/TimesTen 设置文件夹属主 # chown –R tt:ttadmin /etc/TimesTen # chmod –R 775 /etc/TimesTen # chgrp -R ttadmin /etc/TimesTen 解压缩 # tar -zxf timesten112230.linux8664.tar.gz # cd linux8664/ # su tt $ ./setup.sh 下面是安装(过程)的全部复制: $ ./setup.sh NOTE: Each TimesTen installation is identified by a unique instance name. The instance name must be a non-null alphanumeric string, not longer than 255 characters. Please choose an instance name for this installation? [ tt1122 ] Instance name will be 'tt1122'. Is this correct? [ yes ] yes Of the three components: [1] Client/Server and Data Manager [2] Data Manager Only [3] Client Only Which would you like to install? [ 1 ] 1 Of the following options : [1] /home/tt [2] /gby/install_src [3] Specify a location [q] Quit the installation Where would you like to install the tt1122 instance of TimesTen? [ 1 ] Where would you like to create the daemon home directory? [ /home/tt/TimesTen/tt1122/info ] The daemon logs will be located in /home/tt/TimesTen/tt1122/info Would you like to specify a different location for the daemon logs? [ no ] yes Where would you like the daemon logs to be written? [ /home/tt/TimesTen/tt1122/info ] Installing into /home/tt/TimesTen/tt1122 ... Uncompressing ... NOTE: If you are configuring TimesTen for use with Oracle Clusterware, the daemon port number must be the same across all TimesTen installations managed within the same Oracle Clusterware cluster. NOTE: All installations that replicate to each other must use the same daemon port number that is set at installation time. The daemon port number can be verified by running 'ttVersion'. The default port number is 53396. Do you want to use the default port number for the TimesTen daemon? [ yes ] yes The daemon will run on the default port number (53396). NOTE: For security, we recommend that you restrict access to the TimesTen installation to members of a single OS group. Only members of that OS group will be allowed to perform direct mode connections to TimesTen, and only members of that OS group will be allowed to perform operations that access TimesTen data stores, TimesTen files and shared memory. The OS group defaults to the primary group of the instance administrator. You can default to this group, choose another OS group or you can make this instance world-accessible. If you choose to make this instance world-accessible, all database files and shared memory are readable and writable by all users. Restrict access to the the TimesTen installation to the group 'tt'? [ yes ] yes NOTE: Enabling PL/SQL will increase the size of some TimesTen libraries. Would you like to enable PL/SQL for this instance? [ yes ] yes In order to use the 'In-Memory Database Cache' feature in any databases created within this installation, you must set a value for the TNS_ADMIN environment variable. It can be left blank, and a value can be supplied later using <install_dir>/bin/ttModInstall. Please enter a value for TNS_ADMIN (s=skip)? [ ] s NOTE: It appears that you are running version 4 or higher of the g++ compiler. TimesTen ships with multiple sets of client libraries and server binaries : one built for compatibility with g++ 3.4.6 and one with g++ 4.1.0. The installer has created links to the 4.1.0 library in the <install_dir>/lib directory and to the 4.1.0 server binary in the <install_dir>/bin directory. If you want to use a different compiler, please modify the links to point to the desired library and server binary. Installing server components ... What is the TCP/IP port number that you want the TimesTen Server to listen on? [ 53397 ] Do you want to install QuickStart and the TimesTen Documentation? [ no ] yes Where would you like to install the quickstart and doc directories (s=skip)? [ /home/tt/TimesTen/tt1122 ] The TimesTen Quickstart applications can take up to 64 Mbytes of disk space. Depending on how your system is configured, you may not want to create the QuickStart DemoDataStore directory in the default location, /home/tt/TimesTen/tt1122/info/DemoDataStore Where would you like to create the DemoDataStore directory? [ /home/tt/TimesTen/tt1122/info ] Creating /home/tt/TimesTen/tt1122/info/DemoDataStore ... Installing client components ... Would you like to use TimesTen Replication with Oracle Clusterware? [ no ] yes Please provide the path to the Oracle Clusterware installation on this machine (s=skip)? [ ] s TimesTen Replication with Oracle Clusterware will not be installed. You can run /home/tt/TimesTen/tt1122/bin/ttmodinstall -crs to install this feature after this installation. NOTE: The TimesTen daemon startup/shutdown scripts have not been installed. Run the 'setuproot' script : cd /home/tt/TimesTen/tt1122/bin ./setuproot -install This will move the TimesTen startup script into its appropriate location. The startup script is currently located here : '/home/tt/TimesTen/tt1122/startup/tt_tt1122'. The Quickstart home page can be accessed here : '/home/tt/TimesTen/tt1122/quickstart/index.html' The 11.2.2.3 Release Notes are located here : '/home/tt/TimesTen/tt1122/README.html' Starting the daemon ... TimesTen Daemon startup OK. End of TimesTen installation. 设置确实的环境变量 $ cd /home/tt/TimesTen/tt1122/bin $ sh ttenv.sh $ sh ttenv.csh 或者 修改文件.bash_profile $ cd $ vi .bash_profile 如: export TIMESTEN=/home/tt/TimesTen/tt1122 export LD_LIBRARY_PATH=$TIMESTEN/lib export PATH=$TIMESTEN/bin:$PATH 使立即生效 $ source .bash_profile 设置dsn 需要用到2个ini文件(sys.odbc.ini 和 sys.ttconnect.ini) sys.odbc.ini 设置ServerDSN和UserDSN sys.ttconnect.ini 设置ServerDSN 的IP和port $ cd /home/tt/TimesTen/tt1122/info 这两个文件有详细的例子,下面设置自己的dsn (svrDSN = rdb;userDsn=realDb) $ vi sys.odbc.ini 如下: # 设置dsn(逻辑)名称 [ODBC Data Sources] # Server DSN rdb=TimesTen 11.2.2 Driver # User DSN realDb=TimesTen 11.2.2 Client Driver # Server DSN设置具体参数 [rdb] Driver=/home/tt/TimesTen/tt1122/lib/libtten.so DataStore=/home/tt/TimesTen/tt1122/info/rdb DatabaseCharacterSet=US7ASCII # User DSN 设置具体参数 [realDb] # 参加sys.ttconnect.ini TTC_SERVER=ttSvr143 # 对应的Server DSN名称 TTC_SERVER_DSN=rdb 设置Server DSN 的ip和端口和(逻辑)名称(供User DSN使用) $ vi sys.ttconnect.ini 如下: # 见sys.odbc.ini中的TTC_SERVER [ttSvr143] Description=TimesTen Server Network_Address=192.168.15.143 TCP_PORT=53397 结束
资料来源于:解压缩安装包,doc/welcome.html--Installation Guide
@cobble hefei anhui chn 20120807
- TimesTen安装.rar (21.6 KB)
- 下载次数: 1
发表评论
-
VARCHAR(256) vs VARCHAR(255)
2013-07-22 10:18 8448VARCHAR(256) vs VARCHAR(255) 1. ... -
linux系统设置自启动
2012-08-27 12:38 883linux系统设置自启动 修改文件: /etc/rc.d/r ... -
修改TimesTen的字符集- Change DatabaseCharacterSet connection attribute in timesten
2012-08-11 16:26 1964修改TimesTen的字符集 问题现象: 6228: Inv ... -
让/etc/profile文件修改后立即生效
2012-08-11 12:46 1673让/etc/profile文件修改后立即生效 让/etc/p ... -
netbeans安装
2012-08-10 11:35 1253netbeans安装 【这个仅仅为自己】 Netbeans安装 ... -
glassfish安装
2012-08-10 11:34 1339glassfish安装 【这个仅仅为自己】 Glassfish ... -
VNC安装
2012-08-10 11:33 1877VNC安装 【这个仅仅为自己】 Vnc安装 版本:VNC-5. ... -
JDK linux 安装 install
2012-08-06 11:03 1406指导手册 1.说明:root是超级用户,test为普通用户 2 ... -
Timesten 基本操作
2012-08-03 17:14 1642Timesten 基本操作( 仅仅为自己 ) 1启动ttisq ... -
Oracle JDBC DbUtil jdbc数据库连接
2012-05-26 12:28 2787Oracle JDBC DbUtil jdbc数据库连接 1. ... -
ORACLE中一个用户操作另一个用户的某些表
2011-04-23 14:28 1640--A用户:用户名-cobble,密码-cobble ...
相关推荐
- 安装TimesTen 11.2.2.6.0或更高版本。 - 为了最佳显示效果,屏幕分辨率应设置为至少1280x1024像素。 2. 软件需求与安装: 软件需求的具体信息可在Oracle Enterprise Manager for Oracle TimesTen In-Memory ...
根据提供的文档内容,我们可以深入探讨Oracle TimesTen In-Memory Database的关键特性、优势及其在实际应用场景中的价值。 ### 关键特性 #### 低延迟 (Low Latency) - **微秒级响应时间**:Oracle TimesTen In-...
- **安装与配置**:介绍如何在不同操作系统上安装和配置TimesTen环境。 - **基础操作**:包括创建数据库、表和其他数据库对象的基本步骤。 - **C API使用方法**:详细说明了如何通过C语言API与TimesTen数据库进行...
1. **下载与解压**:首先从可靠的来源下载Oracle TimesTen的安装文件,然后将其解压到指定的目录。 2. **系统需求检查**:确认操作系统版本和硬件配置满足TimesTen的最低需求。 3. **安装过程**:运行安装程序,...
- Supported operating systems include various versions of Unix, Linux, Windows, and Solaris. - Minimum hardware requirements depend on the expected workload and data size. - **Integration with ...
1. **系统需求**:在开始安装前,用户需要了解TimesTen对硬件(如CPU、内存和磁盘空间)以及操作系统(如Windows、Linux或Unix)的具体要求,确保满足最小配置以保证数据库的正常运行。 2. **安装过程**:指南详细...
Oracle TimesTen In-Memory Database是Oracle公司提供的一款高性能、全内存的关系型数据库管理系统,专为实时应用程序设计。这款数据库系统将数据存储在内存中,从而实现了极快的查询速度和低延迟,尤其适用于交易...
Oracle TimesTen In-Memory Database 是一款高性能、实时的内存数据库系统,专为需要极高数据处理速度和低延迟的场景设计。11g Release 2 (11.2.2) 版本是其一个重要的发布,提供了增强的功能和优化的性能。 在...
11. **操作系统兼容性**:TimesTen 可在多种操作系统上运行,如Linux、Unix、Windows等,以满足跨平台的需求。 对于美国政府用户,该软件被认定为“商业计算机软件”,其使用、复制、披露、修改、适应和分发均受到...
Oracle TimesTen In-Memory Database 是一个高性能、实时的内存数据库系统,专为需要极高数据处理速度和低延迟的应用设计。11g Release 2 (11.2.2) 版本是该产品的一个更新,提供了增强的性能和功能。 在“Oracle ...
Oracle TimesTen In-Memory Database PL/SQL Developer's Guide 11g Release 2 (11.2.2)-148
Oracle TimesTen In-Memory Database Replication Guide 11g Release 2 (11.2.2) 是一个详细的文档,旨在指导用户如何在Oracle TimesTen数据库系统中设置和管理复制功能。TimesTen是一款高性能的内存数据库系统,它...
Oracle TimesTen In-Memory Database 是一款高性能、实时的内存数据库系统,特别适合于需要快速响应时间、低延迟和高吞吐量的应用场景。TTClasses Guide 11g Release 2 (11.2.2) 提供了关于如何使用TimesTen数据库的...
安装TimesTen数据库涉及设置环境变量、创建数据库实例、配置连接和网络、以及初始化数据文件等步骤。用户需要根据具体的硬件和软件环境进行适配。 **操作与维护** 日常操作包括数据导入导出、性能监控、故障排查、...
Oracle TimesTen In-Memory Database 是一款高性能、全内存的关系型数据库管理系统,专为需要实时分析和事务处理的应用程序设计。11g Release 2 (11.2.2) 版本是其重要的一个更新,提供了更高效的数据管理和Java开发...
Oracle TimesTen In-Memory Database SQL Reference 11g Release 2 (11.2.2) 是一本关于Oracle TimesTen数据库系统的SQL语言指南,适用于在内存中存储和处理数据的高性能场景。TimesTen是一个分布式、全内存的关系型...
Oracle TimesTen Application-Tier Database Cache 是一款高性能的内存数据库系统,设计用于在应用程序层缓存数据,以提高对Oracle数据库的访问速度。11g Release 2 (11.2.2) 版本是其重要的更新,旨在提供更快的...
Oracle TimesTen In-Memory Database 是一款高性能、实时的内存数据库系统,专为需要极高数据处理速度和低延迟的应用设计。11g Release 2 (11.2.2) 版本是该产品的一个更新,提供了增强的功能和优化,旨在提高开发...
Oracle TimesTen Application-Tier Database Cache 是一款高性能的内存数据库系统,设计用于加速应用程序的数据访问,尤其是在需要极高数据处理速度和低延迟的场景下。11g Release 2 (11.2.2) 版本是Oracle公司发布...