Suggestion on Code PLSQL and concern for the Performance
Legends of dear,
We have the following code in place of a TRIGGER in a generation of report and as a Jr.DBA, I was able to analyze my development team does an AFTER DELETE or INSERT or UPDATE on a Table.
CREATE or REPLACE TRIGGER SOL_trigger
after delete or insert or update on SOL_MV
FOR EACH LINE
BEGIN
If the UPDATE can
UPDATE DIM_SOL
SET
DIM_SOL_ID =: new. DIM_SOL_ID,
ORGANIZATION_ID =:New.ORGANIZATION_ID,
SOL_ID =: new. SOL_ID,
CREATION_DATE =: new. CREATION_DATE,
..................
..................
where SOL_ID =: old. SOL_ID;
end if;
If the INSERTION
INSERT INTO DIM_SOL
VALUES)
: new. DIM_SOL_ID,
: new.ORGANIZATION_ID,.
: new. SOL_ID,
: new. CREATION_DATE,
...................
);
end if;
If REMOVE then
REMOVE FROM DIM_SOL
WHERE SOL_ID =: old. SOL_ID;
end if;
END;
/
My Question is:
1 will be this query gives any Performance issues when retrieving a large number of records as more than 100000. ?
2. this request may be adjusted better?
3 is there an order or sequence to perform an INSERTION DELETION or UPDATE? To avoid any competition or any other conflict?
4 or this request is better?
FYI--this request is now implemented and work very well so for. Just to acquire additional knowledge in terms of performance, I am looking for a better answer. Thanks in advance.
Thank you
Knockaert
c699f53e-f619-44F2-a5f7-3b1276d4f4d4 wrote:
My Question is:
1 will be this query gives any Performance issues when retrieving a large number of records as more than 100000. ?
By rΘcupΦre do you SELECT? SELECT has nothing to do with the trigger. The trigger code will not run when you run SELECT on the table.
2. this request may be adjusted better?
Query refers to the SELECT statement. I don't see any SELECT statement. What do you mean by query? The trigger code are you referring? I think the trigger code is simple and nothing much needs to be done.
3 is there an order or sequence to perform an INSERTION DELETION or UPDATE? To avoid any competition or any other conflict?
When the trigger is executed the event calling (insert, delete, or update) determines what part of the code in the trigger must be executed. All of them will not be executed in a single call. Its just one of the three.
4 or this request is better?
Still, once having no idea about what you're talking about. You use the query term very loosely without knowing its meaning, I suppose!
Tags: Database
Similar Questions
-
Adobe CC will not update my Photoshop and Lightroom for the new 2015 CC, it fails at 43% every time and gives an error code 50.
Hi Gregory,
Please refer to the threads below to resolve the error code 50:
Which is updated CC 50 error Code?
Setup error - code error 50 creative cloud.
You can also try to download the app from the link below:
Direct download links of Adobe CC 2015: 2015 creative cloud release | ProDesignTools
* Be sure to read the important Instructions before downloading *.
Kind regards
Sheena
-
Separated from this thread.
Hello
I'm faced with the same question. I went to settings of your laptop and ran the recovery, but it did not help. I went to Device Manager and I noticed an error: Windows has stopped this device because it has reported problems. (Code 43) A request for the USB device descriptor has failed. Tried to fix that with an alternative of Microsoft Community (http://support.microsoft.com/mats/hardware_device_problems/?wa=wsignin1.0), but the issue could not be resolved. I don't know if they are related, but I think so. Spent so much time trying to solve this problem and would be really grateful for the help. Have had the computer for less than 3 weeks...
Ewa
Hi Ewa,
Thanks for the reply.
I suggest you to update the drivers for the chipset of your computer and check if it helps. You can use the link below. Select the appropriate component and the operating system from the list. The link given below is for Lenovo 11 2 yoga, if you have any other device then please provide us with the exact model number or select the correct model number.
As you mentioned that the other two USB ports work correctly, according to me is not a problem with the driver. It seems to be a hardware problem.
Let us know the status.
-
Sales order form, line status code is displayed as "WITHDRAWN". but the same code appears as "AWAITING_SHIPPING" for the same line in the database.
Where the value in the frontend is filling?
It differs from the flow_status_code in oe_order_lines_all?
Thanks for the correction.
He slipped right out of my mind!
Here is a detailed explanation of this case:
Status of orders picked and picked partial
Kind regards
Bashar
-
In the middle of my teens adding devices, and registration for the apple's music, security issues have been changed and now nobody seems to remember the answers. How can you bypass those to change your settings?
You must ask security team account Apple to reset your security questions. To contact them, click here and choose a method; If this page does not list one for your country or if you are unable to call, complete and submit this form.
(140233) -
How can I set the default font size and type for the outgoing Hotmail mail?
How can I set the default font size and type for the outgoing Hotmail mail?
Hi Dale,
What is the email client do you use?
Outlook can be configured per - start Outlook-> Tools-> Options-> mail-> fixed Format and fonts... Select the font and size you need... Click ok on all screens.
I hope this helps.
-
How can I correct random lines horizontal and glitter for the LCD screens for windows vista HP Pavilion dv5? Only, it happens randomly and can get all a few minutes at a time every few hours. The entire screen white and black and horizontal lines will appear during the flickering on the half top of the screen only. Nothing else changes. My sound is immutable, and none of my screens change the size or location. However, they may appear up and down during the flashing. Can someone give me an idea of what is wrong? I looked on Google for possible corrections, but most of them seem to be for refresh rate and I don't have a notch for this and can't change it according to the steps they offer.
Read my initial response on what it takes to please.
"See if this helps you:
These lines indicate corruption graphics driver or lack of graphic material.
Go to the HP Web site > Search a drivers and download article > search your laptop model number > your operating system > drivers for it: either video / graphic / Chipset (according to the wording it) > download and install the drivers.
http://WWW8.HP.com/us/en/support-drivers.html
If that fixed it, it seems to me be a problem of graphic material.
Because it's a laptop; If under warranty, contact HP.
If is not under warranty, contact a repair shop, local. »
See you soon.
-
Hello
According to http://support.hp.com/us-en/document/c01664444 it doesn't seem to be a software and drivers for the LaserJet Pro M1132 MFP.
When will they be available?
I read in http://support.hp.com/us-en/document/c03427752 that "today, a solution for your printer is not available for the Mountain Lion. However, an update of the driver will be available in fall 2012 . "Since it's already winter 2012, a solution will be available before January 2013?
Thank you.
Hi Chun Pong,
Seems to download the software I mentioned before has been deleted. This means that a new driver will be downloaded.
Please visit the site from time to time if a new software is available. I'll keep an eye as well and provide an update here, if the new software can be downloaded. It may take a few days.
-
Where to put the report server ip and port for the Siebel server?
Hello
Where to put the report server ip and port for the Siebel server? I have checked the document "Reports Siebel Guide" but does not know where is the configuration section ' ip address of the server and port ' for 'Oracle BI Publisher.
Note: I have installed BI Publisher, now necessary to define the ip editor and siebel server port.
Please help, thanks.
Hello
Communication between Siebel and BEEP coming through webservices. You must set the Siebel Outboundwebservice 'PublicReportService' address to address BI Publisher.
Similarly, the address of the webservice Siebel Inbound 'BIPSiebelSecurityWS' will be used by BEEP setting under the security model of Siebel - Siebel end Webservice poin of connecting to Siebel EAI, data inorder of success authenticate the Siebel user to perform the tasks of report being initiate Siebel UI.
Please go through the integration document attached to the thread "Re: ADVISE WEBCAST: BI Publisher 11g Configuration with Siebel", it is any integration Siebel with BEEP 11g steps. " But if you go through each step, there are details about why we do it. Through this way you can better understand the integration.
I hope this helps.
Thank you
Maria -
I bought a new laptop which has Windows 8. I heard that Windows 8 is new, it only is not automatically provided some 'things' - forgive me for my lack of knowledge in technology. I intend to play games on my new laptop, but according to my knowledge, Windows 8 does not support things like Visual C++ and Directx 9. I am very uncertain about this subject, however. If anyone understands this as am I mean, can you please correct and/or explain more on this topic? I would like to have the best possible experience for the games on my laptop and I want to download everything that is necessary for the performance of the games.
Original title: what's missing in Windows 8?
Jack
We were all new at one point, so don't worry what you know. Win 8 is compatible with all previous OS. It supports C++, and depends on your video card supports DIrectX 9, 10 and 11.
The only thing that doesn't come with win 8 (and since you bought it, it may already be installed) is windows media player.
What exactly are you trying to do, or can you give us more information for we can help you better?
-
I need to create combinations of text and images for the web. How to do this in elements or do I need Photoshop for this feature? Please advise!
slynn5236 wrote:
I need to create combinations of text and images for the web. How to do this in elements or do I need Photoshop for this feature? Please advise!
You can do in PSE.
- Do the math to see how much space you'll need on your canvas to the image and text.
- Navigate to the file queue > new.blank. Enter the width & height, background color, resolution 72 px / in. It is your canvas, and in the layers palette will be the background layer.
- Copy and paste the image. It turns on a separate layer
- Activate the tool move, position the image and resize if necessary
- Activate the text tool, and then type your text. It will be on a separate so layer
- Position the text.
- Flatten layers and go to file > save for web. I'm usually on the long side about 800 px. Don't forget to check "constrain proportions". Adjust the quality slider to suit. You will probably want the type of JPEG file for web work.
-
am I correct assuming that the copy I have Photoshop CS is usless and headed for the trash?
See here and follow the directions:
Error: "Activation Server is not available. CS2, Acrobat 7, pass a hearing 3
-
Just got registered and paid for the clouds, but it now says my ios 10.6.8 isn't it - how make it past this? Is there an older version that I use, and if yes, what should I do then? There is no weekend help...
Previous through Cloud http://helpx.adobe.com/creative-cloud/help/install-apps.html#previous
- and if you have Cloud application manager 2015 https://forums.adobe.com/thread/1906752 of difference
Cancel see answer #1 in https://forums.adobe.com/thread/2023066 - includes a link to Chat from Monday to Friday
Or, update your Mac to a new operating system
-
Unable to display the results of a detailed report or the results of a questionnaire in a bed within the project. I checked the preferences of quiz and enabled for the draft declaration. I use SCORM 1.2. My LMS is not listed (MCN) and so I chose 'other LMS standard. Any ideas on why I see the results?
Publish your SCORM SCORM Cloud and test if it will show you the results you want. If so, then your problem is with your LMS. If this is not your problem may be due to something in the settings of your current project. Eliminate one thing at a time.
-
I bought adobe illustrator and waiting for the e-mail so I can download it but it does not appear
I bought adobe illustrator and waiting for the e-mail so I can download it but it does not appear
Hello
I don't see no active membership/registration under the Adobe Id on the forums.
Please confirm if there is any other Adobe Id in which you may have subscribed.
Kind regards
Sheena
Maybe you are looking for
-
Lenovo sells Y450 replacement adapters more? Mine doesn't work more (no idea why). Model is ADP-65YB B and output is 19V 3. 42A. Thanks for your help!
-
Email & save the spreadsheet in pdf format based on cell references
I'm using Mail_Every_Worksheet_With_Address_In_A1_PDF of Ron as an example and I would like to save and name the PDF to a folder using cells Ref: A2_Client name with a suffix of the name of the journal. For example: my documents/Clients ABC Company l
-
HP M6-w103dx: Best Buy Exclusive model HDD SSD
Hello. Best Buy is running a Black Friday deal on a computer laptop touchscreen HP 2 in 1. Model # laptop as described on the website of Best Buy's "M6-W103DX. This exact model seems to appear when I search on the HP website. The laptop comes with a
-
Muse of the links in iFrame not to launch Apple Maps, but due to HTML.
Go to this Web site and the date of May 28/29TOURClick on the 'map' and on your desktop, it will launch Apple Maps.If you try it on an iPhone, it will hold no cards of Apple.BUTIf you go to this site, where the direct file is at, it works perfectlyht
-
My scripts when redirecting to mobile?
I tried to get call rail to show me the origins of appeal of my site from google, but it won't show me due to the redirection of site Office and apparently it does not work the CallRail script.CallRail told me that as long as the script is running, a