Viewing 15 posts - 76 through 90 (of 108 total)
angeshwar (1/13/2014)
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]...
January 13, 2014 at 10:38 am
angeshwar (1/8/2014)
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 11, 2014 at 6:05 am
Hi. Thank you for the effort.
My query will return queries from cached plans. I think you missed one point. You need to click query_plan column on each row to visualize...
January 10, 2014 at 9:14 am
Could you run this query to get cached queries for ENGINE_ENTITIES table.
This will return cached query plan which you can open by clicking it. After that save them in .sqlplan...
January 9, 2014 at 7:23 am
We are using hibernate and jpa with glassfish with no problems after adding this property to connection string. Varchars are sent as varchars. Previously they were sent as nvarchar.
Could you...
January 8, 2014 at 12:05 pm
You were quicker than me 🙂
Without seeing actual or estimated execution plan my guess is that nonclustered index beginning with NODE_INSTANCE_ID was not exclusive enough to do index seek or...
January 8, 2014 at 9:30 am
angeshwar (1/6/2014)
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...
January 6, 2014 at 9:52 am
angeshwar (1/6/2014)
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?
<inputbuf>
(@P0 nvarchar(4000),@P1 bigint)select nodeinstan0_.id as id35_, nodeinstan0_.BPMN_ELEMENT_ID...
January 6, 2014 at 5:15 am
I can see from info that you have provided that your queries will not use indexes. Your table has varchar fields and query is called with nvarchar.
You need to alter...
January 3, 2014 at 11:29 am
Couple of things.
Can't you just use constraints?
Your posted code seems to assume that there will be just one row coming to trigger, which might not be the case.
December 22, 2013 at 12:44 am
By how many of those hundred columns client wants to order? If number is limited then adding clustered primary key and index to each column helps.
Is there lot of changes...
December 12, 2013 at 11:46 pm
What are you trying to do?
There must be easier way to this.
December 12, 2013 at 2:50 pm
ALTER TRIGGER trgFatalToxicity ON Symptom
AFTER INSERT
SET NOCOUNT ON;
IF EXISTS (SELECT *
FROM inserted
WHERE inserted.Grade=5)
BEGIN
PRINT 'Patient died!,...
November 24, 2013 at 3:12 am
Do you have any kind of problems?
If not, I can't see any reason for trying to solve this.
November 17, 2013 at 11:11 pm
I think you need to go trough items in list and check selected for each one of them. Generate SQL from that and use in (selected items separated with comma)...
November 15, 2013 at 1:31 am
Viewing 15 posts - 76 through 90 (of 108 total)