Quantcast
Channel: SQL Server Database Engine forum
Viewing all 12554 articles
Browse latest View live

Apply CU10 in Cluster

$
0
0

Hi,

I need to apply CU10 in Production which is 4 node cluster. I have around 12 database residing on these 4 nodes.

Please give me some documents which could guide me smooth application of Patch in this env.

Regards





Order of the records in a table

$
0
0

This is a general question,

1.) How is the order of the records in a table with no indexes?

2.) How is the order of records in a table with only one clustered index?

3.) How is the order of records in a table with only one non-clustered index?

4.) How is the order of records in a table with only one clustered index and multiple non-clustered index?

Thanks in advance for the help.


svk


Query optimizer and techniques

$
0
0

This is a general/generic question, if there is a clustered index and multiple non-clustered indexes which index does the query optimizer pick to retrieve the results.

I guess query optimizer picks non-cluster index scan over clustered index scan for a "select count(*) from table" if that is so which non-clustered index does it pick? I don't have any table to exemplify. So let me know what happens in general. Thanks in advance.


svk

AlwaysOn Backups with Verify

$
0
0

I saw that others have reported this but I haven't seen an answer.

When I create a Maintenance Plan for AlwaysON replicas the job on the secondary always fail when I check Verify. Looking at the View SQL I see that the Verify code is outside the primary replica check. I think it should be inside because if I'm not doing a backup on the replica, then it shouldn't do a Verify on it. 

Skip bad row during importing large dump into sql server

$
0
0

Hello,

I have an issue during importing very large (more than 3 GB) dump file into sql server express. I have used command line for this purpose. Unfortunately this file was exported in UTF-8 so I had to convert it unicode. The unicode columns contain N' prefix. Unfortunately the file contains apostrophes in other fields as well.

My question is: Is there an opportunity to skip bad rows during importing? (Force import e.g.)

Sincerely, Laszlo Toth

Compare Execution Plan

$
0
0
Hi all. Any very fast method we can compare two execution plan ?

SQL Server Max Memory Settings

$
0
0

Hi,

I'd like to check if SQL Server will consume memory more than the configured MAX Memory settings? And if so when does SQL consume that and how much would it consume.

Regards,

Jay

MSSQL : replication xps

$
0
0

I see this option in SQL Server, however there is not much information on the internet.

what's the purpose of this option?

does it related to performance ?


SQL Server Job started failing all of sudden while it was working successfully earlier

$
0
0

Hi Everyone,

Recently I have noticed that one of my Job which has scheduled under the Task Scheduler started failing automatically without any reason and also there is no changes on the server, but when I reconfigure the same Job with the same steps it ran successfully. Technically I am failing to understand what was the root cause why the earlier job started failing and the new job which was originated from the old job is running perfectly well.

So can somebody please let me know,if there is any bug against the Windows Server 2003R2 Edition or anything using that I can reach out to the decision.

Thanks In Advance,


Regards, Ashish Tripathi

Linked Server error: Login Failed for user 'NT AUTHORITY\ANONYMOUS LOGON' between sql server 2005 32 bit and sql server 2012 64 bit

$
0
0

Hi All,

Here the linked server is created between sql server 2012 64 bit and sql server 2005 32 bit. I am getting the below error  when i try to access linked server from third server. I have created linked from Instance 1 to Instance 2. When i access it from instance 3 i am getting the below error. SPN setting has been done between these 2 servers. Also the option 'Trust the delegate' is enabled for the both the service account. 

'Login Failed for user 'NT AUTHORITY\ANONYMOUS LOGON' 

Appreciate your quick response. 

Vikas.M.S

Reboot Sql server 2008 Mirrored server

$
0
0

I need to restart the Secondary server that is mirrored, not the principle,

would this impact the mirroring? i dont have witness server


k

How to Find what are tables and "Table Name" in particular "Data File"

$
0
0

hi Team,

I have one database that database 300 gb size , this database having 6 ndf files ,

here How to Find  what are the tables and  "Table Name"  in particular "Data File"[.ndf]

Getiing Suspended status with High CPU utilization in exec dbo.sp_replmonitorrefreshjob Event Info

$
0
0

Hi,

We are facing one issue in our MS SQL Server 2008 Data Base related to high CPU utilization as well as high Disk IO (pls. refer to attached screens).

CPU and Disk IO utilization remains high when there is not replication is happening and it's directly impact to our Data Base performance. Kindly request to all please guide us on above issues to resolve it ASAP.

Thanks in advance.

Regards,

Amit


Amit

uninstall CU10 in cluster

$
0
0

Hi 

I installed CU10 in two node cluster (SQL Server 2012) by following below POA.

1.  Apply the hotfix on pasive node N2
2.  Reboot the passive node N2
3.  Failover on SQL resource : the passive node become the active node
4.  Apply the hotfix on the passive node N1
5.  Reboot the passive node N1.

Now I want to uninstall CU10 from both the nodes. Please confirm below steps.

1. Move all sql server instances to Node 2.

2. In Node1 : Go to Control Panel--> Programs and Features --> View installed updated-->Right Click on "Hotfix 3431 for SQL Server 2012(KB2954099)(64-Bit)-->Click Uninstall.

3. Once uninstall done, move all the sql server instances to Node 1 and follow the same procedure as in step 2 to uninstall CU10 in Node2

Please confirm.

Regards


Bilal


SQLServer Memory Architecture

$
0
0

Hi All,

How To check How much Buffer cache using query in sqlserver.


Help needed

$
0
0

Hi experts

I am facing bit of strange problem and I need help

Yesterday our SAN went down taking a database with it. When the SAN came backup, we put the DB into EMERGENCY mode and then to SINGLE_USER and tried to run the DBCC CHECKDB.  But it fails  with 

Msg 7909, Level 20, State 1, Line 1
The emergency-mode repair failed.You must restore from backup.

tried to restore the database, but the sql crashes with following  

Message
SqlDumpExceptionHandler: Process 2256 generated fatal exception c0000005 EXCEPTION_ACCESS_VIOLATION. SQL Server is terminating this process.

if i try to drop the database SQL says 

Command(s) completed successfully.

But it causing SQL Server to crash

My dump analysis shows give me the following result

lmvm sqlservr
start             end                 module name
00000000`00520000 00000000`04132000   sqlservr T (pdb symbols)          c:\websymbols\sqlservr.pdb\0F63ED9F94124D888D90D347C872827F2\sqlservr.pdb
    Loaded symbol image file: sqlservr.exe
    Image path: C:\Program Files\Microsoft SQL Server\MSSQL10_50.SRPROD\MSSQL\Binn\sqlservr.exe
    Image name: sqlservr.exe
    Timestamp:        Thu Jun 28 21:59:38 2012 (4FECC5BA)
    CheckSum:         03B58282
    ImageSize:        03C12000
    File version:     2009.100.4000.0
    Product version:  10.50.4000.0
    File flags:       0 (Mask 3F)
    File OS:          40000 NT Base
    File type:        1.0 App
    File date:        00000000.00000000
    Translations:     0000.04b0 0000.04e4 0409.04b0 0409.04e4
0:153> .ecxr
rax=0000000000000000 rbx=0000000d8804c390 rcx=0000000d8804c390
rdx=0000000000010000 rsi=00000003834d8100 rdi=0000000000010000
rip=00000000009fad47 rsp=00000023ccbce028 rbp=00000023ccbce150
 r8=00000000ffffffff  r9=0000000000000000 r10=0000000080ec1320
r11=00000023ccbce0a0 r12=0000000000000001 r13=0000000000000030
r14=0000000003e838c0 r15=0000000000000000
iopl=0         nv up ei ng nz ac po cy
cs=0033  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00010297
sqlservr!StreamFileMgr::GetSTREAMFCB+0x1b:
00000000`009fad47 488b84d00000f8ff mov     rax,qword ptr [rax+rdx*8-80000h] ds:00000000`00000000=????????????????
0:153> kC  1000 
Call Site
sqlservr!StreamFileMgr::GetSTREAMFCB
sqlservr!StreamFileMgr::Shutdown
sqlservr!RecoveryUnit::Shutdown
sqlservr!DBTABLE::Shutdown
sqlservr!DBMgr::ShutdownDB
sqlservr!BackupOperation::ShutdownDb
sqlservr!BackupOperation::BeginOfflineRestore
sqlservr!BackupOperation::BeginRestore
sqlservr!BackupOperation::Restore
sqlservr!BackupEntry::RestoreDatabase
sqlservr!CStmtLoadDb::XretExecute
sqlservr!CMsqlExecContext::ExecuteStmts<1,1>
sqlservr!CMsqlExecContext::FExecute
sqlservr!CSQLSource::Execute
sqlservr!process_request
sqlservr!process_commands
sqlservr!SOS_Task::Param::Execute
sqlservr!SOS_Scheduler::RunTask
sqlservr!SOS_Scheduler::ProcessTasks
sqlservr!SchedulerManager::WorkerEntryPoint
sqlservr!SystemThread::RunWorker
sqlservr!SystemThreadDispatcher::ProcessWorker
sqlservr!SchedulerManager::ThreadEntryPoint
msvcr80!endthreadex
msvcr80!endthreadex
kernel32!BaseThreadInitThunk
ntdll!RtlUserThreadStart

My debugging knowledge is this much only

Regards

vt 


Please mark answered if I've answered your question and vote for it as helpful to help other user's find a solution quicker

SQL Server 2012 SP2

$
0
0

Hi,

I want to know whether CU10 is included in SQL Server 2012 SP2?

If yes, how can I download it, I downloaded one which says it contains upto CU9.

REgards


Bilal

PowerShell script

$
0
0

Hi ,

   I am looking for a powershell script that will pick the instance name from from text file and return me with the transaction log backup time ( start and end time in maintenance plan ) in excel .

Regards

Bibin

I am getting issue from a user who extract data in an excel

$
0
0

I am getting issue from a user who extract data in an excel.His operation takes 30 second from server.

Sometimes he get the error :Transport-level error occurred error 10054 and complete excel hang.

Kindly help what inputs should I take from him for its resolution.


Thanks


Mystery Port Opened by My SQL Server

$
0
0

I have a clustered instance of SQL Server 2008 R2 (64-bit). My information security group contacted me about a previously unnoticed open port: 52849. The port is attached to the SQL Server process on my machine, which is PID 1004:

C:\>netstat -ano | findstr 52849 TCP 0.0.0.0:52849 0.0.0.0:0 LISTENING 1004 TCP [::]:52849 [::]:0 LISTENING 1004

C:\>tasklist | findstr sql
sqlbrowser.exe                2624 Services                   0      2,368 K
sqlwriter.exe                 2764 Services                   0      9,708 K
sqlservr.exe                  1004 Services                   0 62,050,528 K

I don't see the port mentioned in my error log. It isn't the port the instance is listening on. It isn't the service broker port.

Does anyone have a good way to track this down?

Cheers,
Adam


Adam

Viewing all 12554 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>