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

Alter index reorganize failed on an index

$
0
0

Dear Colleague,

I have a wierd issue with index reorganization in SQL Server 10.50.4290 Standard Edition. I've learnt from Microsoft site that the reorganization of an index always performed online, however it's just failing randomly. Later on I've seen that the alter index operation cancelled due to deadlocking. How can it be?

Snippet from Extended events:

 <victim-list>
  <victimProcess id="process53ecbc8"/>
 </victim-list>

{...}

 <inputbuf>
ALTER INDEX [IX_{...}] ON [dbo].[{...}] REORGANIZE WITH ( LOB_COMPACTION = ON )
   </inputbuf>

The "concurrent" query was a SELECT with isolationlevel="read committed (2)"

Why the index reorganize causing deadlocks? How can I avoid the deadlocking during reorganization without upgrading to EE?

Could anyone help me please?

Many thanks in advance!


Problems with deadlocks in recursive maintenance task

$
0
0

I am having a problem and I want to ask some opinions on the best approach to accomplish this task.

The process that I am implementing is a purge solution for big databases. The tables can have a variable amount of rows that can go from a few thousands to big millions. What the process will do is to delete just the data for a specific year. Partitioning is not an option here.

I have a some initial key tables that were chosen to start the process, and from these tables I will recursively delete data, using some stored procedures built for this purpose (in order to maintain data integrity and delete only the necessary data).

I am using SSIS to be able to start the data deletion in multiple tables at the same time but I am having problems with locks.

The deletion process as the following steps:

  1. Drop all indexes on table
  2. Delete data in batches
  3. Rebuild the primary key indexes (this needs to be done for performance, because there are table with some primary keys non clustered)

I have tried:

  1. Using transactions and named transactions (still have locks)
  2. Using sp_getapplock (still have locks)

In SSIS I have serializable as the default isolation for the transactions.

My main question is, because I have to do some DML and DDL in the same transaction, and this will take some time to execute, I want all tasks that need to obtain a certain lock to be waiting until the lock is released and not be targeted as deadlock victim (very the same as a mutex).

The database will have no activity during this operation, only this process will be executed.

This is the code I use to delete the data, and here is where the deadlocks are coming from.

select @query = N'

BEGIN TRANSACTION;
DECLARE @result int;                                        
EXEC @result = sp_getapplock @Resource = ''[dbo].'+@dep_tbl_nm+''', @LockMode =    ''Exclusive'', @LockOwner = ''Session'', @LockTimeout = -1;                                      

EXEC CreateIndexes ''dbo.'+@dep_tbl_nm+'''
EXEC CreateCoveringIndexes '''+@tbl_nm+''','''+@dep_tbl_nm+''','''+@dep_tmp_tbl_nm+'''

WHILE(1=1)
BEGIN
   DELETE TOP(50000) FROM a OUTPUT deleted.* into '+@dep_tmp_tbl_nm+' FROM dbo.'+ @dep_tbl_nm + ' AS A INNER JOIN '+@tmp_tbl_nm+' AS B ON ' + @on_list +'

   if(@@ROWCOUNT = 0)                                               
  break;                        
END

exec (''ALTER INDEX ALL ON '+@dep_tbl_nm+' REBUILD WITH (FILLFACTOR = 80)'')                                                        
COMMIT TRANSACTION;'    

print(@query)                                   
exec(@query)    

Comments are welcome

Regards

SQL Server 2008R2 Manager's error occured when login seeesion established.

$
0
0

Hi, everyone...

A error on me has been occured during SQL Server 2008R2's Management established a login connection to daabase instance.

The message in daialog as follows, when login criteria is that

login criteria....

Servr type:Database Engin

Server name:(loval)

Authentication:Windows Authentication

Message....

"Cannot connect to (local)

Additiona information:

A network-related or instance-specific error occured while establishing a connection to SQL Server. The server was not found or was not accessible. ..... provider:Named Pipes Provider,error:40- ..... Microsoft SQL Server, Error:2"

How to solve this error and what caused it on me?

SQL server running environment ....

Windows Server 2008 r2 std with SP1 under VMwear.

Thank you for cooperation.

Error: An error occurred while preparing the query in openquery on ServiceNow ODBC Link Server

$
0
0

Hi Team,

Greetings of the Day!!!!!

I have a created a link server on SQL Server 2008 R2 databse of Service Now ODBC driver. And written a stored procedure using openquery to get the data from link server.

Now problem is that, when i have scheduled that stored procedure in sql jobs. When this job runs automatically then we are getting below error while when i start the job mannually then it's not giving error.

An error occurred while preparing the query "..........."

Please help me to resolve this issue.

Regards,

Brijendra Pandey

Sql servrer Page Splits

$
0
0

hi,

what is the sql server "page split" where it can use and how this use full.

SQL Server Agent does not start

$
0
0

Hi,

Up until now SQL Server Agent was running. I stopped it and tried to Start again today and since then it does not Start again. I right click on SQL Server Agent then I click on Start. The Process starts and when the process bar shows that it is finished there is nothing happening, the Server Agent remains Stopped.There is no error message.

Any suggestion what I need to check or set to be able to Start it again?

Thanks

Suhi


Memory usage on SQL server

$
0
0
Hello,

This DMV "SYS.DM_OS_MEMORY_OBJECTS" gives memory usage by different Types in SQL server. Now on my SQL server i have 62 GB of RAM and SQL Server is set to use 55GB. In Task Manager i see that SQL server is using around 52 GB of RAM but this DMV gives me that SQL is using 6 GB of RAM. Why there is the difference?
i am using following query to get memory usage:-

SELECT SUM(pages_allocated_count * CAST(page_size_in_bytes AS FLOAT)) as 'Bytes Used' FROM SYS.DM_OS_MEMORY_OBJECTS


How to identify expensive SQL statements using DMV or extended events?

$
0
0

Hi experts,

   I monitor our SAP on SQL system recently and I find there is probably an expensive SQL statement there.

I try to use SQL statement history but the physical reads data is not very high as I expected. What's wrong?

Is there any other DMVs and extended events I should check?

Sorry for not showing DMV queried from SQL server because I am not very familiar with DMVs.

But I know those data is calculated from SQL DMV every 20 minutes.

Anyway, how do I identify SQL statement which generated heavy physical reads?

 

15,245 number of physical reads per second at 17:00 ~ 17:20.

Physical reads from 17:00 ~ 17:20 is just 1.1 millions which is not very high(ex: 60M)


Database is Suspect/Readonly Mode

$
0
0

Hello to all Experts

My sql server 2008r2 running on WindowsXP SP3
My database went suspect/readonly mode in sudden,couldn't get reason for what but when i checked the error log it gave me message like :

2013-11-27 19:16:02.740spid26s :

The log scan number (1499:458:1) passed to log scan in database 'ZenPD15Jun12' is not valid. This error may indicate data corruption or that the log file (.ldf) does not match the data file (.mdf). If this error occurred during replication, re-create the publication. Otherwise, restore from backup if the problem results in a failure during startup.

2013-11-27 19:16:02.740spid26s :

Error: 3414, Severity: 21, State: 1.
2013-11-27 19:16:02.740spid26sAn error occurred during recovery, preventing the database 'ZenPD15Jun12' (database ID 28) from restarting. Diagnose the recovery errors and fix them, or restore from a known good backup. If errors are not corrected or expected, contact Technical Support.

Then I troubleshooted with this methods 

I'm Not understanding what is the cause for the problem
I'm running on 'SA' permission and E:\ drive has full writes permissions 'Everyone'

did i troubleshooted correctly ? 
is there any other method to troubleshoot the same to bring my database online ?

Please help me out 
Thank you very much in Advance 


Pavicoolman

How to resolve source.udl error while executing the JOB on SQLServer?

$
0
0

Hi All,

Note: it's my humble request for finding the image, due to I don't have the access to upload image over here (please go to my profile and find my blog name as sqlpool.blogspot, once you open the blog please search for source.udl u will find the error screenshot )

Actually it's in German Language, please see the below error message in English

Executed as user "NT Authoritat \ system". Flexreport Msg - Error SQL job at Appl = "Prisma_Import_Hospis", step = "XILVD - Transfer"; Seq = "330"; Error Msg = Access to the path "D: \ source.udl" was denied. [SQLSTATE 42000] (Error 50000) The step failed

Guys I created one Job and it's scheduled for daily. some days it's running with out any issue and some it's giving the above error, I spent so much time to solve this issue but i couldn't, could any one please help me on this...

around from last 15 days I am fighting on this issue only and to complete this job it's taking 18 hrs, actually this is not an issue but some time it's giving the source.udl error.. and it's giving randomly not in on a particular day (like only on Tuesday, or Monday or sunday...)  

if you observe in the above screen shot job ran successfully on 17th & 18th and it's failed on 19th again it's ran successfully on 20, 21 & 22 and it's failed on 23rd

Thanks in advance,

VenkataNarayana Thogati

Find out queries taking up more memory

$
0
0

Hi All,

Checking if anybody has a tsql script to display top 10 high MEMORY consuming queries?

Thank you.

Oracle linked slow perfomance

$
0
0

Hi guys, I beg the moderator to move in another forum if this is not the suitable.

The issue: I got a SQL 2008r2 with an Oracle db linked. The connection is ok. I can retrieve data. Th eproblem is that I'm working using views and not table, so when I make some join the system slow down. For a query that in the software takes three minutes I have to struggle one hour. Ok we are talking about 20 thousands rows but I think that the issue is in the views because probably the "call" more than one time.

According to your experience is there a way to make the process faster? Have anyone experience using vies from Oracle?

Thanks guys

Indexes and user_lookups

$
0
0
Hello,
i have a question about indexes.

We have a table with about 130.000 entries. The table is heavily used. I just queried the sys.dm_db_index_usage_stats which shows that the CI has 435.961.966 user_seeks but also 2.762.574.974 user_lookups.

As far as i know the user_lookups mean, other indexes are used to get the necessary data. So i consider to include the missing columns in the CI - is there any whay to find out, which columns i may need? Or is there nothing to optimize?

Another querstion is: There are 15 other indexes. The Top 3 has the user_seek-values 140.243.351, 258.037.333 and 645.952.861. Is it better to make the last one to the CI? (the next top 5 has user_seek-values from 30.019.830 up to 76.210.963)

Thanks in advance,
Frank

SQL Server service crashed [2008 R2]

$
0
0

Hi,

Today our SQL Server service crashed with no apparent reason.

I don't have any error in the event log.

I have a stack dump in the SQL Server Log :

2013-11-28 11:30:37.20 Server      **Dump thread - spid = 0, EC = 0x0000000000000000
2013-11-28 11:30:37.21 Server      ***Stack Dump being sent to d:\MSSQL\MSSQL10_50.MSSQLSERVER\MSSQL\LOG\SQLDump0006.txt
2013-11-28 11:30:37.21 Server      * *******************************************************************************
2013-11-28 11:30:37.21 Server      *
2013-11-28 11:30:37.21 Server      * BEGIN STACK DUMP:
2013-11-28 11:30:37.21 Server      *   11/28/13 11:30:37 spid 1492
2013-11-28 11:30:37.21 Server      *
2013-11-28 11:30:37.21 Server      * ex_terminator - Last chance exception handling
2013-11-28 11:30:37.21 Server      *
2013-11-28 11:30:37.21 Server      *
2013-11-28 11:30:37.21 Server      *  MODULE                          BASE      END       SIZE
2013-11-28 11:30:37.22 Server      * sqlservr                       0000000000C10000  00000000047BDFFF  03bae000
2013-11-28 11:30:37.22 Server      * ntdll                          00000000776D0000  0000000077878FFF  001a9000
2013-11-28 11:30:37.22 Server      * kernel32                       00000000775B0000  00000000776CEFFF  0011f000
2013-11-28 11:30:37.22 Server      * KERNELBASE                     000007FEFDC20000  000007FEFDC8BFFF  0006c000
2013-11-28 11:30:37.22 Server      * ADVAPI32                       000007FEFDFF0000  000007FEFE0CAFFF  000db000
2013-11-28 11:30:37.22 Server      * msvcrt                         000007FEFE570000  000007FEFE60EFFF  0009f000
2013-11-28 11:30:37.22 Server      * sechost                        000007FEFE4D0000  000007FEFE4EEFFF  0001f000
2013-11-28 11:30:37.22 Server      * RPCRT4                         000007FEFF8B0000  000007FEFF9DCFFF  0012d000
2013-11-28 11:30:37.22 Server      * MSVCR80                        0000000074EA0000  0000000074F68FFF  000c9000
2013-11-28 11:30:37.22 Server      * MSVCP80                        0000000074D90000  0000000074E98FFF  00109000
2013-11-28 11:30:37.22 Server      * sqlos                          0000000073540000  0000000073546FFF  00007000
2013-11-28 11:30:37.22 Server      * Secur32                        000007FEFD6E0000  000007FEFD6EAFFF  0000b000
2013-11-28 11:30:37.22 Server      * SSPICLI                        000007FEFD990000  000007FEFD9B4FFF  00025000
2013-11-28 11:30:37.22 Server      * pdh                            000007FEFAE40000  000007FEFAE8DFFF  0004e000
2013-11-28 11:30:37.22 Server      * SHLWAPI                        000007FEFE210000  000007FEFE280FFF  00071000
2013-11-28 11:30:37.22 Server      * GDI32                          000007FEFE0D0000  000007FEFE136FFF  00067000
2013-11-28 11:30:37.22 Server      * USER32                         0000000076FF0000  00000000770E9FFF  000fa000
2013-11-28 11:30:37.22 Server      * LPK                            000007FEFDF00000  000007FEFDF0DFFF  0000e000
2013-11-28 11:30:37.22 Server      * USP10                          000007FEFF6D0000  000007FEFF798FFF  000c9000
2013-11-28 11:30:37.22 Server      * USERENV                        000007FEFCE70000  000007FEFCE8DFFF  0001e000
2013-11-28 11:30:37.22 Server      * profapi                        000007FEFDB30000  000007FEFDB3EFFF  0000f000
2013-11-28 11:30:37.22 Server      * WINMM                          000007FEFAE00000  000007FEFAE3AFFF  0003b000
2013-11-28 11:30:37.22 Server      * IPHLPAPI                       000007FEFBC10000  000007FEFBC36FFF  00027000
2013-11-28 11:30:37.22 Server      * NSI                            000007FEFE140000  000007FEFE147FFF  00008000
2013-11-28 11:30:37.22 Server      * WINNSI                         000007FEFBBD0000  000007FEFBBDAFFF  0000b000
2013-11-28 11:30:37.22 Server      * opends60                       0000000073530000  0000000073537FFF  00008000
2013-11-28 11:30:37.22 Server      * NETAPI32                       000007FEFB830000  000007FEFB845FFF  00016000
2013-11-28 11:30:37.22 Server      * netutils                       000007FEFB820000  000007FEFB82BFFF  0000c000
2013-11-28 11:30:37.22 Server      * srvcli                         000007FEFD5D0000  000007FEFD5F2FFF  00023000
2013-11-28 11:30:37.22 Server      * wkscli                         000007FEFB800000  000007FEFB814FFF  00015000
2013-11-28 11:30:37.22 Server      * LOGONCLI                       000007FEFD1B0000  000007FEFD1DFFFF  00030000
2013-11-28 11:30:37.22 Server      * SAMCLI                         000007FEFAF30000  000007FEFAF43FFF  00014000
2013-11-28 11:30:37.22 Server      * BatchParser                    0000000073500000  000000007352CFFF  0002d000
2013-11-28 11:30:37.22 Server      * IMM32                          000007FEFE610000  000007FEFE63DFFF  0002e000
2013-11-28 11:30:37.22 Server      * MSCTF                          000007FEFF7A0000  000007FEFF8A8FFF  00109000
2013-11-28 11:30:37.22 Server      * psapi                          0000000077890000  0000000077896FFF  00007000
2013-11-28 11:30:37.22 Server      * instapi10                      00000000734F0000  00000000734FCFFF  0000d000
2013-11-28 11:30:37.22 Server      * cscapi                         000007FEFADA0000  000007FEFADAEFFF  0000f000
2013-11-28 11:30:37.22 Server      * sqlevn70                       0000000073220000  0000000073420FFF  00201000
2013-11-28 11:30:37.22 Server      * CRYPTSP                        000007FEFD3C0000  000007FEFD3D6FFF  00017000
2013-11-28 11:30:37.22 Server      * rsaenh                         000007FEFD0C0000  000007FEFD106FFF  00047000
2013-11-28 11:30:37.22 Server      * CRYPTBASE                      000007FEFDA20000  000007FEFDA2EFFF  0000f000
2013-11-28 11:30:37.22 Server      * BROWCLI                        000007FEFABD0000  000007FEFABE1FFF  00012000
2013-11-28 11:30:37.22 Server      * AUTHZ                          000007FEFD590000  000007FEFD5BEFFF  0002f000
2013-11-28 11:30:37.22 Server      * MSCOREE                        000007FEFAB60000  000007FEFABCEFFF  0006f000
2013-11-28 11:30:37.22 Server      * mscoreei                       000007FEFAA50000  000007FEFAADFFFF  00090000
2013-11-28 11:30:37.22 Server      * ole32                          000007FEFE690000  000007FEFE892FFF  00203000
2013-11-28 11:30:37.22 Server      * credssp                        000007FEFCFC0000  000007FEFCFC9FFF  0000a000
2013-11-28 11:30:37.22 Server      * msv1_0                         000007FEFD2F0000  000007FEFD340FFF  00051000
2013-11-28 11:30:37.22 Server      * cryptdll                       000007FEFD6F0000  000007FEFD703FFF  00014000
2013-11-28 11:30:37.22 Server      * kerberos                       000007FEFD3E0000  000007FEFD493FFF  000b4000
2013-11-28 11:30:37.22 Server      * MSASN1                         000007FEFDBD0000  000007FEFDBDEFFF  0000f000
2013-11-28 11:30:37.22 Server      * schannel                       000007FEFD150000  000007FEFD1A5FFF  00056000
2013-11-28 11:30:37.22 Server      * CRYPT32                        000007FEFDD90000  000007FEFDEF9FFF  0016a000
2013-11-28 11:30:37.22 Server      * security                       0000000073080000  0000000073082FFF  00003000
2013-11-28 11:30:37.22 Server      * WS2_32                         000007FEFE640000  000007FEFE68CFFF  0004d000
2013-11-28 11:30:37.22 Server      * SHELL32                        000007FEFE940000  000007FEFF6C7FFF  00d88000
2013-11-28 11:30:37.22 Server      * OLEAUT32                       000007FEFDF10000  000007FEFDFE6FFF  000d7000
2013-11-28 11:30:37.22 Server      * ftimport                       0000000060000000  0000000060024FFF  00025000
2013-11-28 11:30:37.22 Server      * MSFTE                          0000000049980000  0000000049D2DFFF  003ae000
2013-11-28 11:30:37.22 Server      * VERSION                        000007FEFCC80000  000007FEFCC8BFFF  0000c000
2013-11-28 11:30:37.22 Server      * dbghelp                        0000000072E00000  0000000072F5DFFF  0015e000
2013-11-28 11:30:37.22 Server      * WINTRUST                       000007FEFDC90000  000007FEFDCC8FFF  00039000
2013-11-28 11:30:37.22 Server      * ncrypt                         000007FEFD540000  000007FEFD58CFFF  0004d000
2013-11-28 11:30:37.22 Server      * bcrypt                         000007FEFD510000  000007FEFD531FFF  00022000
2013-11-28 11:30:37.22 Server      * mswsock                        000007FEFD360000  000007FEFD3B4FFF  00055000
2013-11-28 11:30:37.22 Server      * wship6                         000007FEFD350000  000007FEFD356FFF  00007000
2013-11-28 11:30:37.22 Server      * wshtcpip                       000007FEFCD50000  000007FEFCD56FFF  00007000
2013-11-28 11:30:37.22 Server      * ntmarta                        000007FEFCC50000  000007FEFCC7CFFF  0002d000
2013-11-28 11:30:37.22 Server      * WLDAP32                        000007FEFE470000  000007FEFE4C1FFF  00052000
2013-11-28 11:30:37.22 Server      * ntdsapi                        000007FEFA740000  000007FEFA766FFF  00027000
2013-11-28 11:30:37.22 Server      * bcryptprimitives               000007FEFD000000  000007FEFD04BFFF  0004c000
2013-11-28 11:30:37.22 Server      * CLBCatQ                        000007FEFE150000  000007FEFE1E8FFF  00099000
2013-11-28 11:30:37.22 Server      * sqlncli10                      00000000720C0000  000000007237BFFF  002bc000
2013-11-28 11:30:37.22 Server      * COMCTL32                       000007FEF4100000  000007FEF419FFFF  000a0000
2013-11-28 11:30:37.22 Server      * COMDLG32                       000007FEFE8A0000  000007FEFE936FFF  00097000
2013-11-28 11:30:37.22 Server      * SQLNCLIR10                     0000000072080000  00000000720B6FFF  00037000
2013-11-28 11:30:37.22 Server      * netbios                        000007FEF40F0000  000007FEF40F9FFF  0000a000
2013-11-28 11:30:37.22 Server      * xplog70                        0000000074D20000  0000000074D2FFFF  00010000
2013-11-28 11:30:37.22 Server      * xplog70                        0000000072070000  0000000072071FFF  00002000
2013-11-28 11:30:37.22 Server      * SAMLIB                         000007FEFB370000  000007FEFB38CFFF  0001d000
2013-11-28 11:30:37.22 Server      * xpstar                         0000000071FE0000  0000000072067FFF  00088000
2013-11-28 11:30:37.22 Server      * SQLSCM                         0000000072BB0000  0000000072BBDFFF  0000e000
2013-11-28 11:30:37.22 Server      * ODBC32                         000007FEF9E40000  000007FEF9EF0FFF  000b1000
2013-11-28 11:30:37.22 Server      * ATL80                          0000000074D70000  0000000074D8FFFF  00020000
2013-11-28 11:30:37.22 Server      * odbcint                        0000000071FA0000  0000000071FD7FFF  00038000
2013-11-28 11:30:37.22 Server      * clusapi                        000007FEF6FF0000  000007FEF703FFFF  00050000
2013-11-28 11:30:37.22 Server      * resutils                       000007FEF6FD0000  000007FEF6FE8FFF  00019000
2013-11-28 11:30:37.22 Server      * xpstar                         0000000071F70000  0000000071F94FFF  00025000
2013-11-28 11:30:37.22 Server      * DNSAPI                         000007FEFD1E0000  000007FEFD23AFFF  0005b000
2013-11-28 11:30:37.22 Server      * rasadhlp                       000007FEFB270000  000007FEFB277FFF  00008000
2013-11-28 11:30:37.22 Server      * fwpuclnt                       000007FEFBB60000  000007FEFBBB2FFF  00053000
2013-11-28 11:30:37.22 Server      * perfdisk                       000007FEF4500000  000007FEF450CFFF  0000d000
2013-11-28 11:30:37.22 Server      * CFGMGR32                       000007FEFDBE0000  000007FEFDC15FFF  00036000
2013-11-28 11:30:37.22 Server      * perfos                         000007FEF4D80000  000007FEF4D8AFFF  0000b000
2013-11-28 11:30:37.22 Server      * dbghelp                        0000000065460000  00000000655BDFFF  0015e000
2013-11-28 11:30:37.22 Server      *
2013-11-28 11:30:37.22 Server      *     P1Home: 0044004C00510053:  
2013-11-28 11:30:37.22 Server      *     P2Home: 0000000000467FB4:  0122002501210023  0024002900230027  0026002D0025002B  012800310127002F  002A003500290033  002C0039002B0037  
2013-11-28 11:30:37.22 Server      *     P3Home: 0000000000475A80:  00000000198A25E0  0000000005A6C5F0  00000000198A2670  0000000005A6C950  00000000198F7860  00000000198F6700  
2013-11-28 11:30:37.22 Server      *     P4Home: 0000000000000000:  
2013-11-28 11:30:37.22 Server      *     P5Home: 0000000000740072:  
2013-11-28 11:30:37.22 Server      *     P6Home: 000000000049BF58:  004D005C003A0064  004C005100530053  00530053004D005C  00300031004C0051  002E00300035005F  005100530053004D  
2013-11-28 11:30:37.23 Server      * ContextFlags: 000000000010004F:  0000000000000000  0000000000000000  0000000000000000  0000000000000000  0000000000000000  0000000000000000  
2013-11-28 11:30:37.23 Server      *      MxCsr: 0000000000001F80:  
2013-11-28 11:30:37.23 Server      *      SegCs: 0000000000000033:  
2013-11-28 11:30:37.23 Server      *      SegDs: 000000000000002B:  
2013-11-28 11:30:37.23 Server      *      SegEs: 000000000000002B:  
2013-11-28 11:30:37.24 Server      *      SegFs: 0000000000000053:  
2013-11-28 11:30:37.24 Server      *      SegGs: 000000000000002B:  
2013-11-28 11:30:37.24 Server      *      SegSs: 000000000000002B:  
2013-11-28 11:30:37.24 Server      *     EFlags: 0000000000000202:  
2013-11-28 11:30:37.24 Server      *        Rax: 0000000070A54D29:  
2013-11-28 11:30:37.24 Server      *        Rcx: 000000000725BB40:  0044004C00510053  0000000000467FB4  0000000000475A80  0000000000000000  0000000000740072  000000000049BF58  
2013-11-28 11:30:37.24 Server      *        Rdx: 0000000000000000:  
2013-11-28 11:30:37.24 Server      *        Rbx: 0000000000000000:  
2013-11-28 11:30:37.24 Server      *        Rsp: 000000000725C150:  0000000000000000  0000000000000000  000000000725C380  000007FFFFFA8000  00000000000042AC  0000000000000000  
2013-11-28 11:30:37.24 Server      *        Rbp: 000000000399887C:  0000000719930522  0000000202D888A4  0000000F02D88954  0000016002D888DC  0000000000000000  00000000FFFFFFFF  
2013-11-28 11:30:37.24 Server      *        Rsi: 0000000000000000:  
2013-11-28 11:30:37.24 Server      *        Rdi: 000000000725C380:  000000000049BF50  0000000000000000  0000000000000000  0000000000000000  0000000000000000  0000000000000000  
2013-11-28 11:30:37.24 Server      *         R8: 0000000000000000:  
2013-11-28 11:30:37.24 Server      *         R9: 0000000000000000:  
2013-11-28 11:30:37.24 Server      *        R10: 0000000000000000:  
2013-11-28 11:30:37.24 Server      *        R11: 000000000725C960:  0044004C00510053  0000000000467FB4  0000000000475A80  0000000000000000  0000000000740072  000000000049BF58  
2013-11-28 11:30:37.24 Server      *        R12: 0000000000000001:  
2013-11-28 11:30:37.24 Server      *        R13: 0000000000000000:  
2013-11-28 11:30:37.24 Server      *        R14: 00000000030FDF00:  0074005F00780065  0069006D00720065  006F00740061006E  0020002D00200072  007400730061004C  0061006800630020  
2013-11-28 11:30:37.24 Server      *        R15: 000000000000002F:  
2013-11-28 11:30:37.24 Server      *        Rip: 000007FEFDC2BCCD:  C3000000C8C48148  9090909090909090  18245C8948909090  4156415541544155  45ED3320EC834857  F08B4DE98B4DE432  
2013-11-28 11:30:37.24 Server      * *******************************************************************************
2013-11-28 11:30:37.24 Server      * -------------------------------------------------------------------------------
2013-11-28 11:30:37.24 Server      * Short Stack Dump
2013-11-28 11:30:37.50 Server      000007FEFDC2BCCD Module(KERNELBASE+000000000000BCCD)
2013-11-28 11:30:37.50 Server      0000000002CB981D Module(sqlservr+00000000020A981D)
2013-11-28 11:30:37.50 Server      0000000002CBDD3A Module(sqlservr+00000000020ADD3A)
2013-11-28 11:30:37.50 Server      0000000002CBD89D Module(sqlservr+00000000020AD89D)
2013-11-28 11:30:37.50 Server      00000000030FDDC2 Module(sqlservr+00000000024EDDC2)
2013-11-28 11:30:37.53 Server      00000000030FD5AB Module(sqlservr+00000000024ED5AB)
2013-11-28 11:30:37.53 Server      0000000074EDACF0 Module(MSVCR80+000000000003ACF0)
2013-11-28 11:30:37.53 Server      0000000074ED9E0B Module(MSVCR80+0000000000039E0B)
2013-11-28 11:30:37.53 Server      0000000074EDA62B Module(MSVCR80+000000000003A62B)
2013-11-28 11:30:37.53 Server      0000000074EDA86B Module(MSVCR80+000000000003A86B)
2013-11-28 11:30:37.55 Server      0000000074EDABE7 Module(MSVCR80+000000000003ABE7)
2013-11-28 11:30:37.55 Server      00000000776F9D0D Module(ntdll+0000000000029D0D)
2013-11-28 11:30:37.55 Server      00000000776E91AF Module(ntdll+00000000000191AF)
2013-11-28 11:30:37.55 Server      0000000077721278 Module(ntdll+0000000000051278)
2013-11-28 11:30:37.55 Server      0000000000C16F5A Module(sqlservr+0000000000006F5A)
2013-11-28 11:30:37.55 Server      0000000000C16FB9 Module(sqlservr+0000000000006FB9)
2013-11-28 11:30:37.55 Server      0000000000C172D7 Module(sqlservr+00000000000072D7)
2013-11-28 11:30:37.55 Server      000000000104A5C8 Module(sqlservr+000000000043A5C8)
2013-11-28 11:30:37.55 Server      00000000013AB3CE Module(sqlservr+000000000079B3CE)
2013-11-28 11:30:37.55 Server      000000000107D83D Module(sqlservr+000000000046D83D)
2013-11-28 11:30:37.55 Server      000000000107DC99 Module(sqlservr+000000000046DC99)
2013-11-28 11:30:37.55 Server      000000000104AD10 Module(sqlservr+000000000043AD10)
2013-11-28 11:30:37.55 Server      000000000104ABB1 Module(sqlservr+000000000043ABB1)
2013-11-28 11:30:37.55 Server      00000000013A6BDA Module(sqlservr+0000000000796BDA)
2013-11-28 11:30:37.56 Server      0000000000C5DC11 Module(sqlservr+000000000004DC11)
2013-11-28 11:30:37.56 Server      0000000000C1BBD8 Module(sqlservr+000000000000BBD8)
2013-11-28 11:30:37.56 Server      0000000000C1B8BA Module(sqlservr+000000000000B8BA)
2013-11-28 11:30:37.56 Server      0000000000C1B6FF Module(sqlservr+000000000000B6FF)
2013-11-28 11:30:37.56 Server      0000000001138FB6 Module(sqlservr+0000000000528FB6)
2013-11-28 11:30:37.56 Server      0000000001139175 Module(sqlservr+0000000000529175)
2013-11-28 11:30:37.56 Server      0000000001139839 Module(sqlservr+0000000000529839)
2013-11-28 11:30:37.56 Server      0000000001139502 Module(sqlservr+0000000000529502)
2013-11-28 11:30:37.56 Server      0000000074EA37D7 Module(MSVCR80+00000000000037D7)
2013-11-28 11:30:37.57 Server      0000000074EA3894 Module(MSVCR80+0000000000003894)
2013-11-28 11:30:37.57 Server      00000000775C652D Module(kernel32+000000000001652D)
2013-11-28 11:30:37.57 Server      00000000776FC521 Module(ntdll+000000000002C521)
2013-11-28 11:30:37.59 Server      Stack Signature for the dump is 0x0000000101041A55

Han you help me to investigate please ?

Thanks !


R.

Is there a way through a Central Management Server to collect information on Memory Utilization?

$
0
0

We are using SQL Utility to collect CPU information.  Unfortunately it does not collect memory information.  Is there a way through a Central Management Server to collect information on memory utilization?


lcerni



Restoring a database - explorer view - no detailed view???

$
0
0

It seems about once a week I come across something that changed in 2012 products for the WORST.

I'm restoring a database from a local .bak file, I'm in the "Locate Backup File" explorer window.  There is no option to view a a Detailed View so I can see file dates?

Seriously?

Checkpoint

$
0
0

I have Question about Checkpoint:

If Checkpoint failure during database transaction, what will exactly happen with the database.

Is database will shutdown or what?

Thank you in advance!

Failed to open the explicitly specified database

$
0
0

We have an application loading data into a SQL Server 2008 R2 Express database. The application runs about half way through then terminates with an error saying that SQL login failed for the current Windows user. We are using Windows authentication and it works for the part of the data.

The error log has this information

Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
  <Provider Name="MSSQL$AURORAXMP" />
  <EventID Qualifiers="49152">18456</EventID>
  <Level>0</Level>
  <Task>4</Task>
  <Keywords>0x90000000000000</Keywords>
  <TimeCreated SystemTime="2012-06-27T02:17:41.000000000Z" />
  <EventRecordID>27743</EventRecordID>
  <Channel>Application</Channel>
  <Computer>D0101026.idacorp.local</Computer>
  <Security UserID="S-1-5-21-140328221-716536946-747242864-6054" />
  </System>
- <EventData>
  <Data>IPCO\SLW5493</Data>
  <Data>Reason: Failed to open the explicitly specified database.</Data>
  <Data>[CLIENT: <local machine>]</Data>
  <Binary>184800000E00000013000000440030003100300031003000320036005C004100550052004F005200410058004D0050000000070000006D00610073007400650072000000</Binary>
  </EventData>
  </Event>

Can somebody suggest where to look for the problem?

Thanks,

SQL keeps losing service credentials on server restart

$
0
0

Hi,

 

I have a sql instance that I have to manually reenter the SQL service credentials every time the server is restarted, or the service will not start. I have verified that the SPN is correct.  What can I do to fix this?

 

Thanks!

How to access the server database from local-system SQL server

$
0
0

hi, i want to access the "SQL server DB" in server from the Local SQL server ..

they were connected via LAN. is there any configuration is needed to access the sever DB from Local ?

Pls suggest me a solution .. i want to access the server db from local for Back-End process and debugging 

Viewing all 12963 articles
Browse latest View live


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