블로그 이미지
보미아빠

카테고리

보미아빠, 석이 (532)
밥벌이 (16)
싸이클 (1)
일상 (1)
Total
Today
Yesterday

달력

« » 2025.12
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31

공지사항

최근에 올라온 글

'보미아빠, 석이'에 해당되는 글 532건

  1. 2011.06.02 checkpoint 3
  2. 2011.05.30 로그인 관련
  3. 2011.05.22 부자간 사진 대결 1
  4. 2011.05.18 AdventureWorks2008R2 스크립트
  5. 2011.05.17 PowerPivot
  6. 2011.05.17 심심할때 놀곳들
  7. 2011.05.15 요즘 사진들~ 2
  8. 2011.05.13 xp_readerrorlog 수집
  9. 2011.05.10 패치 release patch sp servicepack service pack
  10. 2011.05.07 내가 젤 사랑하는 봄양과 짜장면 데이트~ 3

checkpoint

카테고리 없음 / 2011. 6. 2. 22:51


* i/o throttle 제어
  - 3MB 로 제한하고 싶다면 -k3 이라고 기술한다.
    http://support.microsoft.com/kb/929240/en-us

* Traceflag 3505 를 이용한 수동 검사점 제어
  http://support.microsoft.com/kb/815436
  이외 Traceflag 가 몇개 더 있지만 별로~

* sp_configure
  - max async IO 조정
  - recovery interval 조정

단, 저 옵션들은 checkpoint 를 이해하고 쓰셔야 합니다. 아니면 sql server 내렸다 올리면 복구한다고 한세월 보냅니다. 주의 하세요~

 

 


use db1
go

if object_id('tblx') is not null
drop table tblx
go

create table tblx
(idx int
,a char(6000)
)
go

insert into tblx values (1,1)
go 10000

checkpoint

 


위 카운터를 이용해 더 상세히 모니터링 가능.

 

 

indirect checkpoint

https://www.mssqltips.com/sqlservertip/2652/indirect-checkpoints-in-sql-server-2012/

 

Posted by 보미아빠
, |

로그인 관련

카테고리 없음 / 2011. 5. 30. 19:52

net start mssql$sql2008r2 /m"SQLCMD"
sqlcmd -S.sql2008r2 -d master
alter login sa enable
go
alter login sa with password ='1234' UNLOCK
go
exit

The Authentication mode for MS-SQL Server can be changed after installation without installing the SQL Management Studio.
  1. Open the Window Registry Editor (Start --> Run --> regedit.exe).
  2. Go to "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\<INSTANCE NAME>\MSSQLServer where <INSTANCE NAME? is the name of the MS-SQL instance.
  3. Locate the field "LoginMode".  Change it's value to "2" to put MS-SQL into Mixed Mode Authentication.
  4. Restart the MS-SQL service.


Posted by 보미아빠
, |

110Km 분윈리 라이딩 후 맛 간 상태 (내딸 보미가 찍음)

아빠한테 달라드는 우리 봄양~ (아빠가 찍음)

Posted by 보미아빠
, |


1. http://msftdbprodsamples.codeplex.com/releases/view/55926 다운로드
2. 압축풀기 (실행하지 말고....)
3. blog 에 첨부된 instawdb.sql 편집 (데이터베이스 경로와 로딩할 csv 위치 수정)
4. sqlcmd 모드에서 돌리면 되며, filestream 과 fulltext 기능은 제외한 버전이다.

filestream 이랑 fulltext 같은 기능은 쓸일 없는데 노트북에 못 깔겠다.

Posted by 보미아빠
, |

PowerPivot

카테고리 없음 / 2011. 5. 17. 21:38

Demo: Self-Service Analysis with SQL Server 2008 R2 PowerPivot for Excel 2010

 

예제
http://channel9.msdn.com/Blogs/rdoherty/Demo-Self-Service-Analysis-with-SQL-Server-2008-R2-PowerPivot-for-Excel-2010


파워피봇 설치
http://www.microsoft.com/showcase/ko/kr/details/dda64af2-052c-4e6c-ba93-10c722cc82b5

powerpivot website
http://www.powerpivot.com/
powerpivot dax information
http://www.powerpivot-info.com
Team Blog
http://blogs.msdn.com/powerpivot

dax example
http://www.powerpivot-info.com/post/744-video-enriching-your-bi-semantic-models-using-da

User Name: guest@cfq965

Password: Pass@word1

Posted by 보미아빠
, |

Blogs from the SQL Server team SQL Azure Bloggers OPML

SQL Server Online Resources: CTP, Troubleshooting | Microsoft MSDN

#
PSS SQL Server Engineers
SharePoint Adventures : ADFS Setup – Part 1
Monday, May 16
#
Development Customer Advisory Team
Announcing SSAS Maestros v1.2
Wednesday, May 11
#
#
SQL Server Security
Integrity checks with EncryptByKey
Tuesday, Apr 5
#
PowerPivot Team Blog
PowerPivot TechCenter
Tuesday, Feb 22
#
SQL Server Manageability Team Blog
T-SQL IntelliSense enhancements in SSMS –Denali
Tuesday, Jan 4
#
SQL Server User Education
Watch new PowerPivot Videos on TechNet Wiki
Wednesday, Aug 18

Community Blogs SQL Azure Bloggers OPML

SQL Server Online Resources: CTP, Troubleshooting | Microsoft MSDN

Posted by 보미아빠
, |

요즘 사진들~

카테고리 없음 / 2011. 5. 15. 16:39

요즘 PPT 만든다고 헉 해뿌꼬....

아자씨 들이랑 공부도 하고.

존~ 술도 마시고~

사랑하는 봄양과 놀고~


Posted by 보미아빠
, |


msdtc 없이 사용하는 방법


declare @sql varchar(8000)
, @start_dt varchar(8000)
, @end_dt varchar(8000)
, @linkedserverName varchar(8000)

select @sql =''
, @start_dt = '2011-05-11'
, @end_dt = '2011-05-13'
, @linkedserverName = 'linkedservername'

set @sql = '
insert into tblx
select * from openquery ('+@linkedServerName+',
''
set nocount on
set transaction isolation level read uncommitted
declare @tblx table
(a datetime
,b varchar(100)
,c varchar(7000)
)
insert into @tblx
exec xp_readerrorlog 0, 1, '''''''', '''''''','''''+@start_dt+''''','''''+@end_dt+'''''
select * from @tblx
'')
'

exec (@sql)

Posted by 보미아빠
, |
Posted by 보미아빠
, |
봄아~ 사랑해~

Posted by 보미아빠
, |

최근에 달린 댓글

최근에 받은 트랙백

글 보관함