Oracle/SQL Query Optimisations

Ukončen Zveřejněno před 5 lety K zaplacení v momentě doručení
Ukončen

We have an enterprise solution and have recently lost our primary DBA resource. We have a small number of specific database queries/updates that are causing major performance issues for a number of clients.

In addition, we are not currently using BIND VARIABLES in either SQL or Oracle and would seek input/guidance on adoption thereof.

Our application is an [login to view URL] webforms solution.

We are seeking DBA support to help on this.

This is a typical query (in Oracle format):

SELECT * FROM (SELECT JOB_HEADERS_FW.*, COALESCE(STATUS_CODES_FW.DESCRIPTION_FW,JOB_HEADERS_FW.JOB_STATUS_FW) AS JOB_STATUS, COALESCE(JOB_REASONS_FW.DESCRIPTION_FW,JOB_HEADERS_FW.REASON_CODE_FW) AS REASON_CODE, COALESCE(FITTERS_FW.FITTER_NAME_FW,JOB_HEADERS_FW.FITTER_FW) AS FITTER_NAME, (SELECT SUM(COALESCE(STANDARD_HOURS_FW,HOURS_FW)) FROM JOB_DETAILS_fW WHERE JOB_DETAILS_FW.JOB_NUMBER_FW=JOB_HEADERS_FW.JOB_NUMBER_FW AND JOB_DETAILS_FW.JOB_DETAIL_STATUS_FW='FINISH' AND (JOB_DETAILS_FW.JOB_TYPE_FW = 'L' OR (JOB_DETAILS_FW.JOB_TYPE_FW IS NULL OR LENGTH(JOB_DETAILS_FW.JOB_TYPE_FW) = 0) ) ) AS STANDARD_COMPLETED, (SELECT SUM(COALESCE(STANDARD_HOURS_FW,HOURS_FW)) FROM JOB_DETAILS_fW WHERE JOB_DETAILS_FW.JOB_NUMBER_FW=JOB_HEADERS_FW.JOB_NUMBER_FW AND (JOB_DETAILS_FW.JOB_TYPE_FW = 'L' OR (JOB_DETAILS_FW.JOB_TYPE_FW IS NULL OR LENGTH(JOB_DETAILS_FW.JOB_TYPE_FW) = 0) ) ) AS STANDARD_TOTAL, STATUS_CODES_FW.BACKGROUND_COLOUR_FW FROM JOB_HEADERS_FW LEFT OUTER JOIN JOB_REASONS_FW ON JOB_HEADERS_FW.REASON_CODE_FW=JOB_REASONS_FW.CODE_FW AND JOB_REASONS_FW.ARCHIVE_STATUS_FW='N' LEFT OUTER JOIN FITTERS_FW ON JOB_HEADERS_FW.FITTER_FW=FITTERS_FW.FITTER_FW AND FITTERS_FW.ARCHIVE_STATUS_FW='N' LEFT OUTER JOIN STATUS_CODES_FW ON JOB_HEADERS_FW.JOB_STATUS_FW=STATUS_CODES_FW.STATUS_CODE_FW AND STATUS_CODES_FW.JOB_HEADERS_FW=1 AND STATUS_CODES_FW.ARCHIVE_STATUS_FW='N' WHERE JOB_HEADERS_FW.ARCHIVE_STATUS_FW='N' AND (JOB_HEADERS_FW.DEPOT_ID_FW='MDNK1N' OR (JOB_HEADERS_FW.DEPOT_ID_FW IS NULL OR LENGTH(JOB_HEADERS_FW.DEPOT_ID_FW) = 0)) AND (NOT (STATUS_CODES_FW.CLOSING_FW=1 OR STATUS_CODES_FW.EXCLUDE_WORKSHOP_SCHEDULE_FW =1) OR JOB_HEADERS_FW.JOB_END_DATE_FW=TO_DATE('2018-05-14', 'yyyy-mm-dd')) AND JOB_HEADERS_FW.JOB_STATUS_FW<>'FINISH' AND JOB_HEADERS_FW.JOB_NUMBER_FW IN (SELECT DISTINCT JOB_NUMBER_FW FROM JOB_DETAILS_FW WHERE ARCHIVE_STATUS_FW ='N' AND FITTER_FW ='8226157841' AND (JOB_DETAIL_STATUS_FW IN ('','WND','WIP','AWP','FINISH') OR JOB_DETAIL_STATUS_FW IS NULL ) AND (JOB_DETAILS_FW.JOB_TYPE_FW = 'L' OR (JOB_DETAILS_FW.JOB_TYPE_FW IS NULL OR LENGTH(JOB_DETAILS_FW.JOB_TYPE_FW) = 0) ) UNION ALL (SELECT DISTINCT JOB_NUMBER_FW FROM JOB_DETAILS_FW WHERE ARCHIVE_STATUS_FW ='N' AND FITTER_FW ='8226157841' AND JOB_DETAIL_STATUS_FW IN ('COMPLETED','DFT','CHO') AND (JOB_DETAILS_FW.JOB_TYPE_FW = 'L' OR (JOB_DETAILS_FW.JOB_TYPE_FW IS NULL OR LENGTH(JOB_DETAILS_FW.JOB_TYPE_FW) = 0) ) AND JOB_NUMBER_FW NOT IN ( (SELECT DISTINCT JOB_NUMBER_FW FROM JOB_DETAILS_FW WHERE FITTER_FW = '8226157841' AND ARCHIVE_STATUS_FW = 'N' ) INTERSECT (SELECT DISTINCT JOB_NUMBER_FW FROM JOB_DETAILS_FW WHERE ARCHIVE_STATUS_FW ='N' AND FITTER_FW <>'8226157841' AND (JOB_DETAIL_STATUS_FW IN('','WND','WIP','AWP') OR JOB_DETAIL_STATUS_FW IS NULL ) AND (JOB_DETAILS_FW.JOB_TYPE_FW = 'L' OR (JOB_DETAILS_FW.JOB_TYPE_FW IS NULL OR LENGTH(JOB_DETAILS_FW.JOB_TYPE_FW) = 0) ) )) )) AND JOB_STATUS_FW<>'CLOSED' AND JOB_STATUS_FW<>'COMPLETE' AND JOB_STATUS_FW<>'WFS_COMPLETE_FW' AND JOB_STATUS_FW<>'DFT' AND JOB_STATUS_FW<>'DEFERRED' AND JOB_STATUS_FW<>'WFS_C_FW' AND JOB_STATUS_FW<>'A' AND JOB_STATUS_FW<>'WFS_DFT_FW' AND STATUS_CODES_FW.CLOSING_FW=0) tmpsqltop WHERE ROWNUM <= 50 ORDER BY FITTER_NAME,PRIORITY_FW,JOB_DATE_FW,JOB_NUMBER_FW

Správa databází Programování databází Microsoft SQL Server Oracle SQL

Identifikační číslo projektu: #17081358

O projektu

47 nabídek Projekt na dálku Aktivní před 5 lety

47 Freelnceři na váš projekt zveřejňují nabídky v průměru £32/hod.

aanvikm

Hello Sir, I am an expert with query optimization and would like to discuss this project with you. Requesting you to open chat for discussion. Thanks Aanvik

£30 GBP / hodina
(55 Recenzí)
6.9
Yknox

Dear employer. I am Gang Lee, web developer . I've just read your job posting and I'm very interested. I'm a certificated freelancer with almost 1000 good reviews from clients. I'm a Good ASP.NET , MS SQL ,Oracle, Další

£30 GBP / hodina
(24 Recenzí)
6.7
jagdishbhatt38

I am having more than 9 years of experience in IT industry.I have worked on .net(c#.net,vb.net,asp,asp.net,mvc) with sql server 2005/2008/2012/2014/2016 and oracle(pl/sql). I can provide you better solution by utili Další

£30 GBP / hodina
(35 Recenzí)
5.2
qualifiedcoders

Hi, Good Day. I have read your post and would like to discuss things further as I am an expert database developer and administrator as I am having advanced knowledge of sql and query optimizations.I have worked i Další

£30 GBP / hodina
(13 Recenzí)
5.2
sreenivas2903

Hi i could able to perform optimizations

£33 GBP / hodina
(21 Recenzí)
4.5
c4cuteconain

I am a professional with a decade of experience working with Oracle currently serving in a US based NASDAQ registered company. Have just implemented Complete Oracle setup in the company. Can help you with any related i Další

£27 GBP / hodina
(3 Recenzí)
3.2
asif2478

hi there! I am an expert in oracle database management and administration. I have already completed similar tasks with high reviews. I can provide you the MOST OPTIMIZED AND FASTEST FUNCTIONING SQL QUERIES. It s Další

£25 GBP / hodina
(5 Recenzí)
3.3
donovan6

I'm an Oracle DBA/Developer with over 15 years experience and that is one of the most horrible queries I have ever seen - I'm not surprised your users are having performance issues. I can sort this out for you but I Další

£26 GBP / hodina
(2 Recenzí)
3.5
pratikgedia

As an Oracle Database Administrator have performance tuned SQL's using SQL hints, Tuning Advisor,Segment Advisor, ADDM reports,ASH reports,AWR reports. Could we please have an discussion? Thanks,

£22 GBP / hodina
(4 Recenzí)
3.3
gosaidarshan066

Hi, I have good knowlege of sql.i can make your query faster but for that i need to check once database design and query s which you are using for fetch data. Please let me know for more contact. Thanks, Darshan

£35 GBP / hodina
(0 Recenzí)
0.0
rinkugautam1331

Hi, I will help you in your SQL query optimization. I have 6+ years of professional experience as an Oracle DBA in Infosys Limited. Looking forward to hear from you. Thanks, Rinku Gautam

£30 GBP / hodina
(0 Recenzí)
0.0
Musta80

Complexed Query, from first look I can see some changes are required to make it better. Although modifications on Table(s) are most probably required. I will be glad to check and fix it with you in a minimum time.

£22 GBP / hodina
(0 Recenzí)
0.0
pkosanam

Worked on many projects with SQL and dynamic sql. Used trace files, Explain plan a nd Oracle Enterprise manager to optimize the queries and deliver very high performance. Expert in performance tuning, Tuned some querie Další

£38 GBP / hodina
(0 Recenzí)
0.0
sunilmudunuri

I would be able to deliver your solution within the timeline with better quality I have 9 years of experience in SQL Server design, development and optimization. I have used Erwin tool for data modelling and i am we Další

£30 GBP / hodina
(0 Recenzí)
0.0
dondetelj

This query is so poor..... Here is a quick sample of a more efficient query GO WITH detail AS ( SELECT JOB_NUMBER_FW, SUM(CASE WHEN f.JOB_DETAIL_STATUS_FW = 'FINISH Další

£111 GBP / hodina
(0 Recenzí)
0.0
rbmurussi

I'm work the company credit card with so much transactions, of which I already had problems with performance also, the database is oracle, can I optimize the table as a whole depending of the oracle version with compre Další

£30 GBP / hodina
(0 Recenzí)
0.0
VISITNKS

I have 10 year of strong PL/SQL development experience.

£27 GBP / hodina
(0 Recenzí)
0.0
baluyedida

i want to do this project because i am having good skills in sql and you people want to solve complicated queries. so iam expert in it

£20 GBP / hodina
(0 Recenzí)
0.0
JoseOB

I has experience creating models Andrés tuning databases in Oracle/SQL Server. I did work with queries getting millions of rows from different sources. I have experience checking execution plans and database configur Další

£20 GBP / hodina
(0 Recenzí)
0.0
Jay2202

I have 5 years of experience in optimising and developing SQL queries in Oracle database. I worked for several India banks as well as Saudi Bank. Relevant Skills and Experience PL/SQL, SQL, DATAMART, DATA WAREHOUSE

£27 GBP / hodina
(0 Recenzí)
0.0