Viewing 10 posts - 1 through 11 (of 11 total)
Hi,
Yes, corrected the index for ENGINE_ENTITIES
CREATE TABLE [dbo].[ENGINE_ENTITIES](
[ID] [bigint] IDENTITY(1,1) NOT NULL,
[CREATED_DATE] [datetime] NULL,
[ENTITY_ID] [varchar](255) NULL,
[ENTITY_TYPE] [varchar](255) NULL,
[PROCESS_INSTANCE_ID] [bigint] NULL,
[STRING_DATA] [varchar](255) NULL,
[UPDATED_DATE] [datetime] NULL,
[XML_DATA] [text] NULL,
PRIMARY KEY NONCLUSTERED
(
[ID] ASC
)WITH...
January 13, 2014 at 2:17 am
Hi,
Thanks for pointing that. I ensured my connection String has
sendStringParametersAsUnicode=false
To be double sure I also cleared my current cache with
DBCC FreeProcCache
DBCC DropCleanbuffers
and ran the Application again.
The in the deadlock...
January 10, 2014 at 10:26 am
Hi,
Pls find attached the sqplplan(s) generated by the query you have provided.
January 10, 2014 at 7:57 am
Yes,
sendStringParametersAsUnicode=false
was added to the connection String.
I think hibernate is passing the arguments as varchar and JTDS driver is converting it to NVARCHAR.
I also tried creating table with datatype NVARCHAR -...
January 8, 2014 at 11:28 am
Structure of ENGINE_ENTITIES
CREATE TABLE [dbo].[ENGINE_ENTITIES](
[ID] [bigint] IDENTITY(1,1) NOT NULL,
[CREATED_DATE] [datetime] NULL,
[ENTITY_ID] [varchar](255) NULL,
[ENTITY_TYPE] [varchar](255) NULL,
[PROCESS_INSTANCE_ID] [bigint] NULL,
[STRING_DATA] [varchar](255) NULL,
[UPDATED_DATE] [datetime] NULL,
[XML_DATA] [text] NULL,
PRIMARY KEY CLUSTERED
(
[ID] ASC
)WITH (PAD_INDEX =...
January 8, 2014 at 9:20 am
Hi,
yes, there is only one transaction in each of the sessions.
The deadlock I have on table NODE_INSTANCE_LOG is gone now after making the following change
/* Deadlock Fix */
CREATE TABLE [dbo].[NODE_INSTANCE_LOG](
[id]...
January 8, 2014 at 8:42 am
I am attaching the Deadlock report and the XML file with the execution plan (as zip files)
Would appreciate if some one can help me analyse it.
January 7, 2014 at 8:06 am
I have updated my connection string to
jdbc.url=jdbc:jtds:sqlserver://XXXXX:1433/XXXXX;instance=MSSQLServer;sendStringParametersAsUnicode=false
I am still facing the deadlock.
Can confirm that 2 queries causing deadlock are #select#.
I am not able to find the actual values that...
January 6, 2014 at 5:47 am
Hi,
I have read the link
http://technet.microsoft.com/en-us/library/ms378988.aspx
for sendStringParametersAsUnicode=false.
I see no relationship between this parameter and indexes not being used.
Can you pls clarify?
regards
D
January 6, 2014 at 4:13 am
Correct to my earlier observation. Its not a select/update that's causing the deadlock but its a select/select
I am pasting an extract from the Tracer
<deadlock victim="process6a9048">
<process-list>
<process id="process6a9048" taskpriority="0" logused="15888" waitresource="KEY: 6:72057594142588928...
January 3, 2014 at 10:25 am
Viewing 10 posts - 1 through 11 (of 11 total)