- 论坛徽章:
- 0
|
我们的服务器是32bit window 2003 server,用mysql5.0.51,由于下载的mysql不支持AWE,需要加_WIN2000_ 来自己编译。
http://dev.mysql.com/doc/refman/ ... fer_pool_awe_mem_mb
innodb_buffer_pool_awe_mem_mb
The size of the buffer pool (in MB), if it is placed in the AWE memory. This is relevant only in 32-bit Windows. If your 32-bit Windows operating system supports more than 4GB memory, using so-called “Address Windowing Extensions,” you can allocate the InnoDB buffer pool into the AWE physical memory using this variable. The maximum possible value for this variable is 63000. If it is greater than 0, innodb_buffer_pool_size is the window in the 32-bit address space of mysqld where InnoDB maps that AWE memory. A good value for innodb_buffer_pool_size is 500MB.
To take advantage of AWE memory, you will need to recompile MySQL yourself. The current project settings needed for doing this can be found in the innobase/os/os0proj.c source file.
我按照手册上的过程,下载了源码.tar.gz形式的。
执行了
C:\workdir>win\configure WITH_INNOBASE_STORAGE_ENGINE
执行成功
然后运行
C:\wordir>win\build-vs8.bat
报错:
系统找不到指定的文件。
CMake Error: CMake executable cannot be found at /cmake.exe
CMake Error: Error executing cmake::LoadCache(). Aborting.
查看win\build-vs8.bat 内容
if exist cmakecache.txt del cmakecache.txt
copy win\vs8cache.txt cmakecache.txt
cmake -G "Visual Studio 8 2005"
copy cmakecache.txt win\vs8cache.txt
我发现win目录下根本就不存在vs8cache.txt
这个文件是不是应该原本中就存在呢?还是通过什么生成的,谁有成功编译的经验,请指点指点啊 |
|