생각은 복잡하게 하되 결과는 단순해야 한다.
'DB이야기' 카테고리의 다른 글
| DB 이야기 (0) | 2011/05/03 |
|---|---|
| 공백 이야기 (0) | 2011/04/13 |
| Lock pages in memory Setting for 64 bit Standard Edition of SQL Server (0) | 2011/01/19 |
| 아 쓰댕.. (0) | 2010/12/17 |
생각은 복잡하게 하되 결과는 단순해야 한다.
| DB 이야기 (0) | 2011/05/03 |
|---|---|
| 공백 이야기 (0) | 2011/04/13 |
| Lock pages in memory Setting for 64 bit Standard Edition of SQL Server (0) | 2011/01/19 |
| 아 쓰댕.. (0) | 2010/12/17 |
if OBJECT_ID('tmp_test') is not null drop table tmp_test
create table tmp_test (col nvarchar(50) not null)
go
insert into tmp_test values('a')
insert into tmp_test values('a ') -- a + 공백 두개
insert into tmp_test values('a ') -- a + 공백 세개
select * from tmp_test where col = 'a'
--결과
col
a
a
a
select
LEN(col) [len]
, DATALENGTH(col) [datalength]
, ascii(RIGHT(col, 1)) [ascii]
from
tmp_test
--결과
| len | datalength | ascii |
| 1 | 2 | 97 |
| 1 | 6 | 32 |
| 1 | 8 | 32 |
update tmp_test set col = col + 'x'
select * from tmp_test
col
ax
a x
a x
| DB 이야기 (0) | 2011/05/03 |
|---|---|
| 공백 이야기 (0) | 2011/04/13 |
| Lock pages in memory Setting for 64 bit Standard Edition of SQL Server (0) | 2011/01/19 |
| 아 쓰댕.. (0) | 2010/12/17 |
Due to over-whelming customer demand for the "Lock pages in memory" support for the Standard Edition of SQL Server 2005 and 2008, Microsoft has released Cumulative Updates that will help SQL Server 64 bit Standard Edition to "lock pages".
This feature was already available on the Enterprise and Developer Edition. Enabling "Lock pages in memory" enables the SQL Server to use the AWE APIs, thereby avoiding potential performance issues due to trimming of the working set.
"Lock pages in memory" comes as a trace flag that can be enabled on the following cumulative updates:
CU2 for SQL Server 2008 SP1 => http://support.microsoft.com/kb/970315/en-us
CU4 for SQL Server 2005 SP3 => http://support.microsoft.com/kb/970279/en-us
How to enable "Lock pages in Memory" at the Windows level:
If you are running an Enterprise or Developer Edition of SQL Server 2005 or 2008, please stop here. The rest of the steps are for the Standard Edition Only.
Note: Enabling Locked Pages may have a negative performance impact on your system performance. Please consider all potential effects before you use this option.
Enabling this trace flag on the Enterprise Edition or the Developer Edition has no effect.
Additional Readings:
How to configure SQL Server to use more than 2 GB of physical memory
Enabling Memory Support for Over 4 GB of Physical Memory
How to reduce paging of buffer pool memory in the 64-bit version of SQL Server
SQL Server Working Set Trim Problems? - Consider...
Support for Locked Pages on SQL Server 2005 Standard Edition 64-bit systems and on SQL Server 2008 Standard Edition 64-bit systems
Have a very good day!!!
Disclaimer: All information provided here is my personal opinion and is neither verified nor approved by Microsoft before it is published. All information, and code samples, if any, is provided "AS IS" with no warranties and confers no rights.
Read the complete post at http://blogs.msdn.com/suhde/archive/2009/05/20/lock-pages-in-memory-now-available-for-standard-edition-of-sql-server.aspx
| DB 이야기 (0) | 2011/05/03 |
|---|---|
| 공백 이야기 (0) | 2011/04/13 |
| Lock pages in memory Setting for 64 bit Standard Edition of SQL Server (0) | 2011/01/19 |
| 아 쓰댕.. (0) | 2010/12/17 |
| DB 이야기 (0) | 2011/05/03 |
|---|---|
| 공백 이야기 (0) | 2011/04/13 |
| Lock pages in memory Setting for 64 bit Standard Edition of SQL Server (0) | 2011/01/19 |
| 아 쓰댕.. (0) | 2010/12/17 |