예제 #1
0
        public ScratchBufferPool(StorageEnvironment env)
        {
            _scratchPager = env.Options.CreateScratchPager("scratch.buffers");
            _scratchPager.AllocateMorePages(null, env.Options.InitialFileSize.HasValue ? Math.Max(env.Options.InitialFileSize.Value, env.Options.InitialLogFileSize) : env.Options.InitialLogFileSize);
	        _sizeLimit = env.Options.MaxScratchBufferSize;
        }
예제 #2
0
 public ScratchBufferPool(StorageEnvironment env)
 {
     _scratchPager = env.Options.CreateScratchPager("scratch.buffers");
     _scratchPager.AllocateMorePages(null, env.Options.InitialLogFileSize);
 }
예제 #3
0
 public ScratchBufferPool(StorageEnvironment env)
 {
     _scratchPager = env.Options.CreateScratchPager("scratch.buffers");
     _scratchPager.AllocateMorePages(null, env.Options.InitialLogFileSize);
 }
예제 #4
0
 public ScratchBufferPool(StorageEnvironment env)
 {
     _scratchPager = env.Options.CreateScratchPager("scratch.buffers");
     _scratchPager.AllocateMorePages(null, env.Options.InitialFileSize.HasValue ? Math.Max(env.Options.InitialFileSize.Value, env.Options.InitialLogFileSize) : env.Options.InitialLogFileSize);
     _sizeLimit = env.Options.MaxScratchBufferSize;
 }