SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Seibel Support


Seibel Support

Author
Message
rajaster
rajaster
Valued Member
Valued Member (54 reputation)Valued Member (54 reputation)Valued Member (54 reputation)Valued Member (54 reputation)Valued Member (54 reputation)Valued Member (54 reputation)Valued Member (54 reputation)Valued Member (54 reputation)

Group: General Forum Members
Points: 54 Visits: 351
Hello,

I've got users using an application called contract works that is written on Seibel. I have had reports of it timing out and slowing down.

The application is on the same server as the databases (which is SQL 2000).

There is 4 gb of RAM of which 2.5 GB is assigned to the Datababse however SQL is only ever using around 1.8GB.

The application is written using dynamic cursors, there are next to no Stored procedures called. Beyond that i've seen as many as 20 databases called in queries with left outer joins and the execution plans are showing 100% utilisation at page scans, however no recomendations were made to add any indexes. It looks like the required indexes already exist.

I've checked to see if there are any locks, which there were none. Checked IO/memory/CPU and could see spikes and the heavy usage queries being returned. I guess returning data going as far back as 2003 using cursors is extremely inefficient and I just cant see how I could improve performance beyond recommending better hardware and more memory. I believe the drives are also old and probably around 5400 rpm adding to the problem.

I was hoping for further recommendations or advise.

please see the presentation:

https://docs.google.com/viewer?a=v&q=cache:BtrmSjg8wZMJ:download.microsoft.com/download/4/d/f/4df96113-8fee-40b0-8000-794202296569/SiebelTuningonSQLServer.ppt+&hl=en&gl=uk&pid=bl&srcid=ADGEESiXTLE6wInCTbJTpNp2SvQDS1H7OxtqYxBL2jlwLXRqGAWOHlLP-gBMUkLlFkUiWbCAu5CeKvF6izxMPP3aWDnAO6ZPJWzcYKvKivUPdedHpPf7_xQ7NS2uCDk-oLxM-EQ1W_tm&sig=AHIEtbS36d5fhNrEIaqWjj9YPQ7PszkjMA

beyond that current things i've tried.

Daily job:

EXEC sp_configure 'max server memory', 2048
RECONFIGURE;
GO

maintenence plan to rebuild stats daily, and reorganise indexes weekly(using sql 2000 maintenence plans). Although I'm not sure if I should rebuild the indexes once a week.

Beyond that I was running checkpoint and DBCC DropCleanBuffers daily too but noticed at the start of each day performance is hit as plans are reritten.

Wait times are high often when theres a large query running.

any recommendations are much appreciated.
rajaster
rajaster
Valued Member
Valued Member (54 reputation)Valued Member (54 reputation)Valued Member (54 reputation)Valued Member (54 reputation)Valued Member (54 reputation)Valued Member (54 reputation)Valued Member (54 reputation)Valued Member (54 reputation)

Group: General Forum Members
Points: 54 Visits: 351
to follow up the data file for the database is 8.6GB but the log file is 2 MB as it is in Bulk-Logged mode and the Torn page detection and auto update stats are enabled.
rajaster
rajaster
Valued Member
Valued Member (54 reputation)Valued Member (54 reputation)Valued Member (54 reputation)Valued Member (54 reputation)Valued Member (54 reputation)Valued Member (54 reputation)Valued Member (54 reputation)Valued Member (54 reputation)

Group: General Forum Members
Points: 54 Visits: 351
after monitoring the above server for several weeks and with the addition of the monitoring i placed, this problem wasnt as easy or as straight forward as simply saying upgrade hard ware on the database server.

The problems were beyond the scope of the database, and we realised there were other IIS related issues also. So as it stands the occassional restart of services for seibel and also the database and IIS resolves issues temporarily.

IIS is 5.0 and the way that the app is written querying data via cursors it is just so badly written that i'm lost for words.

I've suggested the company consider migrating data to a new CRM package. but as they are using a custom made bespoke application management are not supporting this call.

I dont think anyone out there can advise. but its certainly been an interesting road for beefing up my perfmon skills.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search