As we mentioned in the previous section, instance level configuration can be done in the DBM CFG file while the database level configuration is done in the DB CFG file.
在前一节中已经提到,实例级的配置可以在DBMCFG文件中完成,而数据库级的配置在DB CFG文件中完成。
On an Amazon EC2 instance (1.7Ghz Intel processor with 2GB of RAM), I was able to sustain 500+ pages per second and 50% of those pages had DB access and the MySQL instance was running on the same box.
在一个AmazonEC2实例上(1.7GhzIntel处理器,2GB内存),我可以支撑每秒500+的页面访问,其中50%的页面要访问数据库,而且MySQL实例与Web应用运行在相同的服务器上。
Solution: check your ulimit Settings, also check the DBM CFG parameters for your instance, and the DB CFG parameters for the database.
解决方案:检查ulimit设置,还要检查实例的DBMCFG参数以及数据库的DB CFG参数。
Make the following changes (you may have different values for the driver location, type, and DB Instance Port depending on how DB2 is configured).
进行以下更改(根据DB2的配置情况不同,可能要对驱动程序位置、类型和DB实例端口使用不同的值)。
Run the database migration as instance owner by running the db2 migrate db dbname command.
以实例所有者的身份,通过运行db 2migratedb dbname命令进行数据库迁移。
For instance you could use localhost for DB strings, and what not.
例如,您可以使用本地数据库的字符串,而不是。
For instance you could use localhost for DB strings, and what not.
例如,您可以使用本地数据库的字符串,而不是。
应用推荐