We are in the process of making some performance improvements for our production

We are in the process of making some performance improvements for our production environment for certain records. We are pulling data from 5 different database tables to create our record. Currently, we are using a view to combine the data but we are finding the performance is dismal. So we have decided to try and combine this data into a new table. I am was able to get the sql to work for a small subset of the data but trying to combine all of the data is killing our environment (95% + memory utilization) and it did not complete. I will post the sql code to see if anyone has a better idea.

CREATE TABLE bar (tcentryid int, wrid int,title varchar(500),groupid int, projectmanagerid int, taskid int, taskname varchar(255), hours decimal, vendorid int, resourceid int, tpid int, timeperiodstartdate date, timeperiodenddate date) SELECT timecardentrycdt.tcentryid, workrequestcdt.wrid, workrequestcdt.title, workrequestcdt.groupid, workrequestcdt.proje...

OriginalPostID-164844

OriginalPostID-164844

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data