An insert it takes sometimes 2 hours ends instead of 4 minutes
DearsI have the following insert runing daily overnight batch in Production
INSERT / * + APPEND * / INTO my_table
(col_id, col1, dat_1, col2, col3, col4, dat_2, col5,
col6, col7,..., coln)
SELECT / * + index (dist_tab index_ni) * /.
(col_id, col1, dat_1, col2, col3, col4, dat_2, col5,
col6, col7,..., coln)
OF distant_table dist_tab
WHERE the dist_tab.dat_1 BETWEEN TRUNC(sysdate-6) AND TRUNC (sysdate + 1).
AND dist_tab.dat_2 BETWEEN TRUNC(sysdate-3)
AND TRUNC(sysdate-1) + (1-1/24/60/60)
AND NOT EXISTS (SELECT NULL
FROM my_table local_tab
WHERE local_tab.col1 = dist_tab.col_1
AND local_tab.dat_1 = dist_tab.dat_1
AND local_tab.col_2 = dist_tab.col_2);
Several months ago the inset above took more than 2 hours to complete. When I go back with the 10046 trace event and when I profiled this trace with RST$ generator xtat from Christian antognini profiles, I found that 94.295% of the response time is DB file sequential read.
The local table my_table is partitioned by dat_1. I'm in it insert the data from a remote table (more dblink) here named dist_tab.
the table my_table has a loca_index single index locally partitioned (col1, dat_1, col_2).
So I decided to
(a) alter table my_table parallel 4
(b) alter index loca_index parallel 4
This alter the insert began to fill in 4 minutes of time on average.
But, there is always a but. Sometimes (once or twice a month) this insert last more than 2 hours.
I printed here below the execution time of the last two days and the number of records inserted into my_table
start time end time nbr inserted records
2009-12-22 04:53:54 2009-12-22 04:59:40 115.350
2009-12-23 04:24:33 2009-12-23 06:04:43 119.365
Today, it took 2 hours to complete all yesterday and all the other days before it took about 4 minutes to insert almost the same number of records
The last time my_table was analyzed is 2009-12-17 13:28:5 and so it's to its index
Select last_analyzed
of all_ind_statistics
where index-name = "loca_index"; Returns the 17/12/2009 13:35:43
The last time the distant table was abalyzed 20/12/2009 01:58:09
Select last_analyzed all_tables where table_name = 'distant_table ';
So, where can I look for to understand this time not very often high insertion?
Thanks in advance
Tags: Database
Similar Questions
-
my printer takes half an hour to print a single page
My hp5510 suddenly began to take half an hour to print a single Web page. Yet, sometimes it prints quickly. The colors are also washed in or very weak or very dark, even though I have installed two new ink cartridges. It happened after an update of Windows, I think. HPDR shows no problems with it.
Hello hsmof5.
Please, try to remove and reinstall the cartridges and perform the alignment of cartridges from the Toolbox.
See you soon!
-
BlackBerry Smartphones made reconciliation should take 3-4 hours?
Just buy the BBerry curve which replaced my Treo. On the Treo, you might push "send/receive" and it would be looking for emails as well as to reconcile with the POP3/ISP server. that is if I had downloaded or deleted from the server (earthlink) messages, then they would immediately disappear from the PDA. I can't find a way to do it on the BBerry. He does eventually - but it takes sometimes up to three or four hours before the delete. By pushing the button of reconciliation does not seem to do anything, even if a connection is made. Can you please help me to have the blackberry don't show that messages that are still not downloaded and/or not deleted and delete the messages downloaded or deleted more quickly? Thank you!
1. There is no such thing as send/receive on the BB, its all about mail push, comes automatically.
2 reconcile work but not sacred now, is not the priority, it takes a few hours as you said b4 nessage gets removed from BB, again its all about push email, receving your mail, everyhting else is secondary.
Yet how recociliation works: http://www.blackberry.com/btsc/search.do?cmd=displayKC&docType=kc&externalId=KB05133&sliceId=SAL_Pub...
Now you have to leave a copy of the message you rmail server to receive all messages on BB, or if you do not leave a copy onmail server, messages only appear on BB so your e-mail (outlook) program is off, other wise, they will come in outlook (some random messages can always come on BB).
You can set balance option on BB if you want to remove the message on your e-mail server when deleting on the BB.
-
Extract data from an xml file takes almost an hour to 2.5 M data.
Hello
Any help would be much appreciated. Extract data from an xml file takes almost an hour to 2.5 M. data is there a solution to this.
WITH t AS
(SELECT XMLTYPE (response) pass FROM dual
)
SELECT
b.entity_id,
c.INSTANCE_ID,
d.attribute_id,
d.DATA_TYPE,
d.ATTRIBUTE_VALUE,
d.outcome_style
T,.
XMLTABLE (XMLNamespaces ("http://schemas.xmlsoap.org/soap/envelope/" AS "SOAP-ENV"
'http://oracle.com/determinations/server/10.3/rulebase/assess/types' AS 'type')
, ' SOAP - ENV:Envelope / SOAP - ENV:Body / typ: assess-response/typ: global instance / typ:entity'
PASSAGE t.col
Path of COLUMNS entity_id VARCHAR2 (256) "@id".
path XMLTYPE res_tmp2 'typ:instance') b
xmltable (XMLNamespaces ("http://schemas.xmlsoap.org/soap/envelope/" AS "SOAP-ENV"
'http://oracle.com/determinations/server/10.3/rulebase/assess/types' AS 'type')
, "typ:instance".
PASSAGE b.res_tmp2
Path of COLUMNS instance_id VARCHAR2 (256) "@id".
path XMLTYPE res_tmp3 'typ:attribute') c
xmltable (XMLNamespaces ("http://schemas.xmlsoap.org/soap/envelope/" AS "SOAP-ENV"
'http://oracle.com/determinations/server/10.3/rulebase/assess/types' AS 'type')
, "typ:attribute".
PASSAGE c.res_tmp3
Path of VARCHAR2 (256) COLUMNS attribute_id '@id '.
, data_type VARCHAR2 (256) path '@type '.
, attribute_value VARCHAR2 (256) path '.'
path VARCHAR2 (256) outcome_style '@inferred') d;
Thank you
MhandOK, in this case the best option is to store the answer in a binary table of XMLType (may be a temporary table if you want to) and run the query from there:
CREATE TABLE tmp_xml OF XMLType XMLType STORE AS SECUREFILE BINARY XML -- default storage in your version ;
INSERT INTO tmp_xml VALUES(XMLType(response));
SELECT b.entity_id, c.instance_id, d.attribute_id, d.data_type, d.attribute_value, d.outcome_style FROM tmp_xml t, XMLTABLE( XMLNamespaces('http://schemas.xmlsoap.org/soap/envelope/' AS "SOAP-ENV" , 'http://oracle.com/determinations/server/10.3/rulebase/assess/types' AS "typ") , 'SOAP-ENV:Envelope/SOAP-ENV:Body/typ:assess-response/typ:global-instance/typ:entity' PASSING t.object_value COLUMNS ...
-
Backup process takes about 17 hours, which includes the audit of 18 GB of data
I backed up my system Windows XP Home edition on an external hard drive with the NTBackup utility system. This process takes about 17 hours, which includes the audit of 18 GB of data. Is there a problem with backup on my system causing this slow time of execution?
Now, I created a disk image of my system using the NTBackup utility of the system from the installation disc, and also, it takes about 17 hours. There may be some kind of hardware problem.
My computer has installed in USB1 and translates into a slow backup.
NTBackup is one of the worst possible for the backup options (as you can see from your experience). I can recommend a far superior alternative. But first, you must let us know what your goal is:
1. regularly back up data ONLY (for example Word documents, photos, mp3s, etc.)?or2. make incremental copies perfect bootable on your system, including all service packs, updates, installed programs, etc. (and possibly your data as well)? -
We can insert a new line at the end of af: table declaratively?
Mr President.
We can insert a new line at the end of af: table declaratively?
Concerning
In the t impl class substitution as below, after that, you should be able to insert at the end of the table.
@Override
{} public void insertRow (rank)
Line lastRow = this.last ();
If (lastRow! = null) {}
int j = this.getRangeIndexOf (lastRow) + 1;
this.insertRowAtRangeIndex (j, line);
this.setCurrentRow (row);
} else {}
super.insertRow (row);
}
}
-
How to insert the e-mail at the end of a tutorial in Captivate 5.5?
Hello - is it possible to insert an email address at the end of a captivate slide that would confirm the completion of watch the tutorial? How is it possible in Captivate 5.5?
Hello
Here's the URL for the widget.
http://www.Adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&EXTID=3072025
Thank you
Vish
-
A couple of months, I forgot that I had left my computer on when I'm gone for browsing the web. When I came back a few hours later it pop ups promote pornographic sites on the screen. Firefox has been locked and I had to "leave power." Since then, I have problems to a new window. If I repeated attempts, several windows open at the same time a little later. Buttons on toolbar menu and toolbar buttons module runs at the beginning but often stop working after half an hour or two. When this happens, I generally have to 'force quite' to escape from Firefox. I tried to remove Firefox from my computer and download a new version, but the problem continues. No other program seems affected. I integro Virus Barrier X 5 and I use a trial version of X 6 but I have found no sign of any other malicious software. Suggestions?
July 25, 2010, when I try to access my accounts to mutual funds to Dodge and Cox, they reject my user ID. If I do this using Internet Explorer, it works fine. The D & C, person that I talked to said I should check Firefox so that it has 128-bit security. How can I do this?
Robert
-
For about three years and a half years, I have used the same monitor ViewSonic VX2255wm-4 with my Sony Vaio laptop (Windows 7) with zero problems. A few weeks ago, a question arose. When I wake the Vaio from hibernation, he wakes up immediately, but the external monitor now takes about half an hour to wake up, during which the laptop flashes on and offer as it attempts to send the signal to the external display. If I unplug the monitor, I use Notepad, then plug the monitor later. Once the monitor is awake, it works normally in all respects. I use it now to type this message. Response time is great, the colors are fine, is superb, etc..
Regularly, I have install all updates to Windows, but have not updated the driver from ViewSonic. I went looking for him, but not been able to find one on the ViewSonic website. I contacted ViewSonic support, but the suggestions were not useful.
Any thoughts here? Monitor is probably a failure? Funky Windows update? Setting I may have inadvertently changed (I can't think of something I've done, but it is possible)?
Any suggestion would be appreciated. Thank you very much!
Hello
Could be monitor external happened to mine (different brand) and I finally
had to replace it. If possible try on another system. You have changed the settings on
power on the computer settings or the monitor?Double check the wiring on both ends - remove and re - connect the connectors. Check
with the support of Sony, their documentation online and drivers and ask in their forums
on known problems. Check the video drivers.Sony - Contacts
http://eSupport.Sony.com/us/Perl/contact-land.plSony - drivers
http://eSupport.Sony.com/Perl/select-System.plSony - Support
http://eSupport.Sony.com/Sony - Forums
https://Forum.sel.Sony.com/?XID=M:Showcase:eSupportI hope this helps.
Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="">-><- mark="" twain="" said="" it="">->
-
Hello!
I have a laptop HP Pavilion 15 n011TX. I use windows 10. I use the laptop for more than two years now. Recently, he began to get 100% usage of the drive and the laptop started to freeze and trolling. So, I decided to fix it myself by watching videos and forums. I stopped and disabled some services (BITS, Superftech, Windows Search, Prefetch). It worked fine for awhile, but the trunk started to slow down a lot.I tried a few other corrections on the internet but nothing worked! Now the computer does not even start. He just asks me to enter my username and password. And then, after 10 minutes of loading, it starts to "fix disk errors. "It could take more than an hour to finish".
I let do that for more than six hours, and then I restarted my computer (after frustrated!) and the same thing started again. Please tell me how to solve this problem!
Thanks in advance!
It is a fact that no process is perfect.
Hard drives badly.
This is why they are included in the free replacement warranty if the failure occurs within the warranty period.
-
Uninstalling the app takes over an hour to complete.
'uninstall' runs very slowly, like an hour to uninstall a simple application. I suspect that something is missing from the configuration of the installer. It seems to take most of his time "preparing to remove... How can I check the integrity of the configuration of the installer and related services? I could have put something out while diagnosing a vector boot virus.
Thank you
Hello
· Did you do changes on the computer before the show?
· What application you uninstall?
· You get the error message?
Follow these methods.
Method 1: Follow the steps in the article.
How to solve problems when you install or uninstall programs on a Windows computer
Method 2: Performs a search using the Microsoft safety scanner.
http://www.Microsoft.com/security/scanner/en-us/default.aspx
Note: The data files that are infected must be cleaned only by removing the file completely, which means that there is a risk of data loss.
-
my computer won't boot and when she does takes like an hour to start
Hi there, my computer has been drop a few days there, from a height of about 1 foot or less and since then it won't start normally and when it does start it takes a long time to load as an hour or two, what could be the problem? It is a compaq cq229-219wm running windows 7
Hey josevhp,
303 error seems to indicate that the drive is defective and must be replaced - it is also compatible with startup problems you describe.
If your laptop is still under warranty, contact HP and arrange for the disc replaced. Normally, what happens is that HP will send you the replacement of HARD drive to mount yourself - you pay a deposit which is refunded when you return the defective HARD drive
Here is the # to the http://goo.gl/czF57 US
If you are in another part of the world, http://goo.gl/qHlWX
THX
-
Creates a new database of GR 11, 2 dw, tested insert record 10million took 1 hour - slow
I just created a 11.2.0.3 db based on data warehouse model and tested 10 000 000 insert records through sysbench and took 1 hour.
IT is extremely slow. I did not tune the db parameters still, I guess that the parameters are good for datawarehouse.
Operating system is linux redhat.
Anyone has any advice on this?
Thanks in advancce.Hello
This is a forum for issues of data retrieval.
Try the DB general forum
Thank you, Mark -
My videos take over an hour to download using the first and error
I have a 4 minute video you are trying to download and it takes about 100 minutes only at the very end, it gives me an error (with less than a minute left) code and do not download.
This does not indicate a problem of Flash. If it is a question of first, try to post in this forum.
-
I have Vista Home Basic and the 17/01/2010, I got a virus called Desktop Defender 2010. BAD!
I could buy & download Spyware Doctor and Antivirus. as soon as I activated the Spyware, I lost my internet connection and have not been able to reconnect again! My Dr. said Spyare my Antivirus is NOT enabled: my problem... I can't connect to the internet for updates or to contact PCTools and reactivate them me so I can clean the virus... (FYI my computer husbands did NOT have a virus when I added Dr. Spyware, but his doctor spyware antivirus was down too and I got chatting to PCTools and responsive guy there, no problem) If I could do it online, I believe that my Spyware is going to fix it.
I followed a lot of instructions step by step to remove Desktop Defender 2010, finally eliminating MOST, I could even remove from Add/REMOVE PROGRAMS, but I'm afraid not, not all. (perhaps even hidden files?)
So, I see that I also called Virus Elite v5.0, which is a virus. I have to be able to remove this slot add/REMOVE PROGRAMS. I removed it (i Think)... (not sure about hidden files)
But there is something else... e5t4wrvrt8wl.exe this thing appears now instead where Desktop Defender used to. And I saw in my departure up...c:\users\shelbyyys 8d\appdata\roaming\e5t4wrvrt8wl.exe I don't know how to get out of there.
also I tried to restore the system once a couple and they have failed, usually in a few minutes... then I started last night a restoration of the system, set at 1/11/2010...and she is still ongoing, 16 hours now what the heck?
Where should I go, what am I doing here?
Thank you very much
Hi AnnsVista,
1 how much space you have on your computer?
2. are you an error while trying to go online?
You can try the safe mode system restore and see if it works from there.
http://Windows.Microsoft.com/en-us/Windows-Vista/start-your-computer-in-safe-modeReset the internet Explorer and see if you are able to go online. Open the link below and click it fix this button that resets the settings automatically.
http://support.Microsoft.com/kb/923737
NOTE: The feature reset the Internet Explorer settings can reset security settings or privacy settings that you have added to the list of Trusted Sites. Reset the Internet Explorer settings can also reset parental control settings. We recommend that you note these sites before you use the reset Internet Explorer settings.
Perform a virus scan online on your computer after that you are able to get online.
http://www.Microsoft.com/Security_Essentials/
Bindu S - Microsoft Support
[If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message.] [Marking a post as answer, or relatively useful, you help others find the answer more quickly.
Maybe you are looking for
-
When vistiting some websites, it says not availible in this country
Hello My question is; I would use swagbucks but it says it is not available in the Netherlands (I know that you can not solve the problem), but y at - it an option that you can then change my country is changed. I have no problem with the fact that t
-
Codec in windows movie maker error when you try to import files to DVD
codec in windows movie maker error I copied a VHS on DVD and you want to put in wmm. There are 5 files VTS. The first file gets the codec error, but the rest of the files will be important. So, Miss me the first 24 minutes of my video. I tried to dow
-
He is stuck on a blue screen with the words ' configuration updated 3/3 0% ", then after a while he will be stopped, instantly restart and return to this blue page and repeat again and again. How to turn on just? Thank you
-
install the surface power of words for Grand vista converter
I can't convert windows vista wrks files in pdf format. I tried to download several pdf converters. I always get the converter of pdf not found message. Any suggestions?
-
BlackBerry lost emails from my BB Curve 9300 Smartphone
Hello, it's already 3 or 4 times I lose all of my emails for a week! This means that I usually have all my emails from last 3 months (as I put it to keep 90 days), but all of a sudden, from one minute to the next I see only those in recent days.If I