Open database (recovery) takes too long
HelloIve been using your great BerkeleyDB Java Edition for a couple of years and have been very happy with it.
I am facing a problem with trying to open the database after a full disk problem (which gave rise to the database is unable to write and therefore not closed).
While recovery seems to work, it took a lot of time - 16 hours so far. My database has data about 200 GB, which has swollen to more than 450 GB during the deletion of entries, so gobble up all the free space on the disk.
My questions are:
* Should I continue to wait for the recovery?
* Are there opportunities in loop?
* Is there an easier way (DBDump?) to extract data from the database without having to perform a recovery?
Other information that can help:
* The recovery has reduced the size of the last important file and created 3 new files since it started running.
* I did open (using lsof) files and they change every now and then to other files, but a good amount of his time came near the end of the database.
So, I feel like recovery runs normally just takes too long. Please let me know your opinion.
A few other things I should mention about my question:
* The database was, until yesterday, running on java bdb 3.3.75. After several hours of recovery, I upgraded to 4.1.10 (since I read about a possible recovery loop bug in one of the versions)
* Once 4.1.10 began recovering, he spat errors on the last 2 files. Only on deleting those 2 files (the latter being 0 bytes, the 2nd last one being about 5 k) made the beginning of recovery. Note that the recovery 3.3.75's longer never complained about these files. I can post errors here as appropriate.
* Some files jdb (about 500 cases of the 47 000 files that make up the database) are files of 100 MB, because I had experienced with files of larger sizes for a few days, then returned the setting.
All these above would affect a successful recovery?
My configuration is:
OS: Linux CentOS 5.2, 64-bit, kernel 2.6.18 - 92.el5
JVM: Sun Java 1.6.0_20, 64-bit
Memory: 16 GB of RAM, including 8 GB is allocated to the java process (- Xmx8000M - Xms8000M)
Cache of BDB for use 6 GB of RAM (envconfig.setCacheSize (6000000000))
Only the basic BDB API is to be used (environment, data, the sliders). We do use DPL, or HA features.
Waiting for your kind response,
Sushant has
Tags: Database
Similar Questions
-
Satellite L20 - 120 - recovery takes too long
I'm not sure, if I take the right recovery DVDs - I got it from my client. I have a DVD "GMR400864GR0", Windows XP Prof, 2008. After restoration, remove the DVD, first start XP - execution of the VBI for more than 2 hours (said I should not stop)-is it possible? Or have I done something wrong or took a bad DVD?
Thank you for your help.
Hi Austria,.
I can t tell you if it s the right recovery disk so you can find any information on the disk as recovery disk Toshiba for Satellite L20?
You will find all information about the model on the disk?If the recovery disk doesn't work, you should try a disc of Microsoft. All the drivers and tools can be downloaded from Toshiba! :)
-
Why it takes too long to open attachments of the e-mail account?
It takes forever to download attachments from my mail account. I tried to do the following tasks explained on the vista forum: http://windowshelp.microsoft.com/Windows/en-US/help/6b046ae9-1434-4423-9303-400ff6fe686b1033.mspx#ESD, but none of the fixed work possible.
After clicking on open on the box pop up asking if I want to open or save the attachment, it takes too long to download. The transfer window remains open to showing that he is ready to download, but rest in this window of bhox. I press cancel and try to open once again, if the chance that it opens this file, otherwise it takes forever forceing me to cancel. Very small files most of the time, usually between 50 KB should take seconds.
I even tried to save the files, but once again the same process. The transfer case remains open but does not download.
One of the ideas.
Thanks in advance.
Hello
It is not easy to tell exactly what is happening, but it must be something with the e-mail account provider and their page. For me, this case is not a typical problem of Vista, but you can try to find the solution on Vista from Microsoft IT Pro forum.
By the way: you have an alternative email by another provider address? Is it the same situation?
-
my laptop takes too long to open photos
My laptop takes too long to open the pictures.
It's a HP Pavilion dm4-3055dx, processor Intel i5, 8 GB memory and Windows 7.
Thank you.
Hello
How big are your photos and what application are you using? Where are the pictures? On your computer or card reader? Have you tried opening the photos using the following software?
http://www.IrfanView.com/main_download_engl.htm
You can set it as the default Photo Viewer, it has many more functions also.
Kind regards.
-
HP ENVY 15-j110, takes too long to start
Hey guys I have HP ENVY 15-j110 I bought recently, but now, after a month it takes too long to open and sometimes only a black screen.
He
Product number is this #ACJ F6C58PA
answer as soon as possible.
This could be due to the application running in the back ground and starting applications. Try
Selective startup:
http://Windows.Microsoft.com/en-us/Windows/Run-Selective-startup-system-configuration#1TC=Windows-7
-
Take too long time to come for Windows
Hello
I have Pavilion g6-2031se and of the last two days it takes too long to come to Windows. I faced this problem for the first time and I do not use my notebook for Skype, Facebook and only very light work. Can someone help me with this?
Thank you
Ganga
@Ganga,
No worries, I would like you to try a clean boot. This allows the computer to boot without unnecessary programs or offers to start with it. When you open this document of croll to the section "How to perform a clean boot" once listed there to expand the section for your operating system to get the appropriate instructions.
Once you have made the appropriate changes, restart the computer at least 3 times and see if you notice a difference not how long it takes to start.
Please answer as soon as possible.
Thank you
-
Windows update takes too long to find the updates
I had just installed a new hard drive on my laptop Dell inspiron N5050. I did a reinstall of system clean of my operating system to windows 7. After that, I started to run windows update to get all the necessary updates that I need to update completely from the computer. He has worked for a very long time with no result. In addition, at least 2 hours. all the settings for windows update is set to the settings recommended. but for some reason, in my view, takes too long to get updates. can someone help me please this possible issue
Hello Darrin,
Thanks for posting your query on the Microsoft Community.
According to the description, the Windows updates take a long time to find the updates.
I suggest to follow the methods below and check if that helps.
Method 1: If your computer is experiencing problems find and install updates of the operating system, try using the troubleshooter.to of update of Windows the problem fix. He makes sure your computer is connected to the Internet and checks to see if your network card and Windows Update services are running properly.
Reference:
Open the Windows Update troubleshooting tool
If the problem persists, try Method 2,
Method 2: run the clean boot: Place your system in the clean boot state helps determine if third-party applications or startup items are causing the problem. Check this question in the clean boot state.
Reference: How to perform a clean boot in Windows
http://support.Microsoft.com/kb/929135
Note: After the boot minimum troubleshooting step, read the sections "How to reset the computer to start as usual after a clean boot troubleshooting" in the link provided to return the computer to a Normal startup mode.
See also:
Problems with installing updates
Hope this information is useful. Let us know if you need more help, we will be happy to help you.
-
Hyperion EPM services take too long to start
Hyperion 11.1.2.3
Windows 2008 R2
32 GB of memory on each server
Java 1.6.35
Server environment four (Foundation/FDMEE, planning, Essbase and SQL server).
Some how it takes too long to start the services of Hyperion. Using the batch script to start all services. Can someone advise where to start looking. Here's the log of HyS9Planning_SERVER-sysout. If this can give an idea
< 12 February 2014 12:40:34 hours EST > < Info > < security > < BEA-090905 > < disabling CryptoJ JCE provider auto-intégrité for better startup performance. To allow this control, enter - Dweblogic.security.allowCryptoJDefaultJCEVerification = true >
< 12 February 2014 12:40:35 hours EST > < Info > < security > < BEA-090906 > < change the default Random Number Generator in RSA CryptoJ of ECDRBG to FIPS186PRNG. To disable this change, specify - Dweblogic.security.allowCryptoJDefaultPRNG = true >
< 12 February 2014 12:40:35 hours EST > < opinion > < WebLogicServer > < BEA-000395 > < according to the contents of the extensions added at the end of the classpath directory:
D:\u01\Oracle\Middleware\user_projects\domains\EPMSystemHYDEV\lib\audit-client.jar;D:\u01\Oracle\Middleware\user_projects\domains\EPMSystemHYDEV\lib\css.jar;D:\u01\Oracle\Middleware\user_projects\domains\EPMSystemHYDEV\lib\ctg_custom.jar;D:\u01\Oracle\Middleware\user_projects\domains\EPMSystemHYDEV\lib\ldapbp.jar;D:\u01\Oracle\Middleware\user_projects\domains\EPMSystemHYDEV\lib\opencsv-1.8.jar;D:\u01\Oracle\Middleware\user_projects\domains\EPMSystemHYDEV\lib\registry-api.jar;D:\u01\Oracle\Middleware\user_projects\domains\EPMSystemHYDEV\lib\wlpool.jar>
< 12 February 2014 12:40:35 hours EST > < Info > < WebLogicServer > < BEA-000377 > < start WebLogic Server with Oracle JRockit (R) Version R28.2.5-50-153520-1.6.0_37-20121220-0844-windows-x86_64 of Oracle Corporation >
< 12 February 2014 12:41:19 hours EST > < Info > < management > < BEA-141107 > < Version: WebLogic Server 10.3.6.0 Mar 15 08:52:36 PST Nov 2011 1441050 >
< 12 February 2014 12:41:43 hours EST > < emergency > < management > < BEA-141151 > < Management Server could not be reached at http://hydevf01.uts.mcmaster.ca:7001. >
< 12 February 2014 12:41:43 hours EST > < Info > < Configuration Management > < BEA-150018 > < this server will be started in mode of managed server independence in the absence of the admin server. >
< 12 February 2014 12:41:43 hours EST > < opinion > < WebLogicServer > < BEA-000365 > < server status changed initially >
< 12 February 2014 12:41:43 hours EST > < Info > < WorkManager > < BEA-002900 > < self-adjusting Initializing of thread pool >
< 12 February 2014 12:41:44 hours EST > < opinion > < LoggingService > < BEA-320400 > < D:\u01\Oracle\Middleware\user_projects\domains\EPMSystemHYDEV\servers\Planning0\logs\Planning0.log log file will be rotated. Reopen the log file if stopped tailings. This can happen on some platforms such as Windows. >
< 12 February 2014 12:41:44 hours EST > < opinion > < LoggingService > < BEA-320401 > < log file was shot in D:\u01\Oracle\Middleware\user_projects\domains\EPMSystemHYDEV\servers\Planning0\logs\Planning0.log00014. Log messages will continue to be logged in D:\u01\Oracle\Middleware\user_projects\domains\EPMSystemHYDEV\servers\Planning0\logs\Planning0.log. >
< 12 February 2014 12:41:44 hours EST > < opinion > < Log Management > < BEA-170019 > < D:\u01\Oracle\Middleware\user_projects\domains\EPMSystemHYDEV\servers\Planning0\logs\Planning0.log server log file is opened. All events in the log server-side will be written to this file. >
OracleFileSSOWalletImpl.getWalletData: enter...
OracleFileSSOWalletImpl.getWalletData: System.getProperty (user.name) = sp_hydevadm
OracleFileSSOWalletImpl.getWalletData: dummy sso (shared) file locking...
OracleFileSSOWalletImpl.getWalletData: locking (shared) file sso...
Oracle Wallet: Pocket size 12573
OracleWallet: getSecretStore
OracleSecretStore: load flow wallet
OracleSSOKeyStoreImpl: engineLoad
OracleKeyStoreSpi: Load flow wallet
OracleKeyStoreSpi: Safe opening 0
OracleKeyStoreSpi: Safe opening 0
OracleKeyStoreSpi: found cert bag
OracleKeyStoreSpi: found cert bag
OracleKeyStoreSpi: found cert bag
OracleKeyStoreSpi: found cert bag
OracleKeyStoreSpi: found cert bag
OracleKeyStoreSpi: found cert bag
OracleKeyStoreSpi: found cert bag
OracleKeyStoreSpi: found cert bag
OracleKeyStoreSpi: Safe opening 0
OracleKeyStoreSpi: found secret store bag
OracleKeyStoreSpi: found secret store bag
OracleKeyStoreSpi: found secret store bag
OracleKeyStoreSpi: found secret store bag
OracleKeyStoreSpi: found secret store bag
OracleKeyStoreSpi: found secret store bag
OracleKeyStoreSpi: found secret store bag
OracleKeyStoreSpi: found secret store bag
OracleKeyStoreSpi: Safe opening 0
OracleKeyStoreSpi: Safe opening 0
Treatment TP 0
Storage TP 0 as CN = Entrust .net Secure Server Certification Authority
TP-1 treatment
Storage TP 1 as CN = Entrust .net Secure Server Certification Authority 1
Treatment of TP 2
TP 2 storing as authority of Certification CN = Entrust .net (2048)
Treatment TP 3
Storage of TP 3 in CN = GTE CyberTrust Global Root
TP 4 of treatment
TP 4 storing as OU = Secure Server Certification Authority
Treatment TP 5
TP 5 storing as UO = class public primary Certification Authority 1
Treatment TP 6
TP 6 by storing like UO = class public primary Certification Authority 2
TP treatment 7
TP 7 by storing like UO = class public primary Certification Authority 3
OracleKeyStoreSpi: Storage Secret0
Get the sequence of bag
Get the alias of sequence
Get the secret of the sequence
OracleKeyStoreSpi: Storage Secret1
Get the sequence of bag
Get the alias of sequence
Get the secret of the sequence
OracleKeyStoreSpi: Storage Secret2
Get the sequence of bag
Get the alias of sequence
Get the secret of the sequence
OracleKeyStoreSpi: Storage Secret3
Get the sequence of bag
Get the alias of sequence
Get the secret of the sequence
OracleKeyStoreSpi: Storage of Secret4
Get the sequence of bag
Get the alias of sequence
Get the secret of the sequence
OracleKeyStoreSpi: Storage Secret5
Get the sequence of bag
Get the alias of sequence
Get the secret of the sequence
OracleKeyStoreSpi: Storage Secret6
Get the sequence of bag
Get the alias of sequence
Get the secret of the sequence
OracleKeyStoreSpi: Storage Secret7
Get the sequence of bag
Get the alias of sequence
Get the secret of the sequence
OracleKeyStoreSpi: Keystore loaded
OracleWallet: getSecretStore
OracleFileSSOWalletImpl.getWalletData: enter...
OracleFileSSOWalletImpl.getWalletData: System.getProperty (user.name) = sp_hydevadm
OracleFileSSOWalletImpl.getWalletData: dummy sso (shared) file locking...
OracleFileSSOWalletImpl.getWalletData: locking (shared) file sso...
Oracle Wallet: Pocket size 3941
OracleWallet: getSecretStore
OracleSecretStore: load flow wallet
OracleSSOKeyStoreImpl: engineLoad
OracleKeyStoreSpi: Load flow wallet
OracleKeyStoreSpi: Safe opening 0
OracleKeyStoreSpi: Safe opening 0
OracleKeyStoreSpi: found cert bag
OracleKeyStoreSpi: found cert bag
OracleKeyStoreSpi: found cert bag
OracleKeyStoreSpi: found cert bag
OracleKeyStoreSpi: Safe opening 0
OracleKeyStoreSpi: found secret store bag
OracleKeyStoreSpi: found secret store bag
OracleKeyStoreSpi: found secret store bag
OracleKeyStoreSpi: found secret store bag
OracleKeyStoreSpi: Safe opening 0
OracleKeyStoreSpi: Safe opening 0
Treatment TP 0
Storing TP 0 as UO = class public primary Certification Authority 1
TP-1 treatment
Storage of TP 1 in CN = GTE CyberTrust Global Root
Treatment of TP 2
TP 2 by storing like UO = class public primary Certification Authority 2
Treatment TP 3
TP 3 by storing like UO = class public primary Certification Authority 3
OracleKeyStoreSpi: Storage Secret0
Get the sequence of bag
Get the alias of sequence
Get the secret of the sequence
OracleKeyStoreSpi: Storage Secret1
Get the sequence of bag
Get the alias of sequence
Get the secret of the sequence
OracleKeyStoreSpi: Storage Secret2
Get the sequence of bag
Get the alias of sequence
Get the secret of the sequence
OracleKeyStoreSpi: Storage Secret3
Get the sequence of bag
Get the alias of sequence
Get the secret of the sequence
OracleKeyStoreSpi: Keystore loaded
OracleWallet: getSecretStore
< 12 February 2014 12:42:11 hours EST > < opinion > < security > < BEA-090082 > < security initialization using security realm myrealm. >
< 12 February 2014 12:42:55 hours EST > < WARNING > < JTA > < BEA-110503 > < migration tool (the AdminServer for JTA manual migration policy, or the captain Singleton for automatic migration JTA strategy) is not available. Jump JTA TRS restoration because isStrictOwnershipCheck is [false]. This may cause corruption of potential TLOG if TRS of Planning0 has been migrated to the backup server and the backup server accesses the TLOG of Planning0. More security can be achieved by setting isStrictOwnershipCheck [true]. >
< 12 February 2014 12:42:56 hours EST > < opinion > < LoggingService > < BEA-320400 > < D:\u01\Oracle\Middleware\user_projects\domains\EPMSystemHYDEV\servers\Planning0\logs\access.log log file will be rotated. Reopen the log file if stopped tailings. This can happen on some platforms such as Windows. >
< 12 February 2014 12:42:56 hours EST > < opinion > < LoggingService > < BEA-320401 > < log file was shot in D:\u01\Oracle\Middleware\user_projects\domains\EPMSystemHYDEV\servers\Planning0\logs\access.log00030. Log messages will continue to be logged in D:\u01\Oracle\Middleware\user_projects\domains\EPMSystemHYDEV\servers\Planning0\logs\access.log. >
< 12 February 2014 12:43:01 hours EST > < WARNING > < oracle.dms.jrockit.jfr > < DMS-58041 > < The JRockit FlightRecorder class declares that it is not active and so the DMS cannot use it. >
< 12 February 2014 12:44:01 hours EST > < opinion > < WebLogicServer > < BEA-000365 > < server changed to STANDBY status >
< 12 February 2014 12:44:01 hours EST > < opinion > < WebLogicServer > < BEA-000365 > < server status changed initially >
Using the OraclePKI provider
taken javax.net.ssl.TrustManagerFactory supported
taken javax.net.ssl.KeyManagerFactory supported
Using the OracleJSSE103 provider
< 12 February 2014 12:47:37 hours EST > < WARNING > < security > < BEA-090668 > < ignored the role 'Admin' resource deployment ' type = < url >, application is DMS Application #11.1.1.1.0, contextPath = / dms, uri = / ">".
< 12 February 2014 12:51:03 hours EST > < WARNING > < oracle.adfinternal.view.faces.partition.FeatureUtils > < ADF_FACES-30130 > < without taking into account the dependence of the feature on the function "AdfDvtCommon". There is no such feature. >
ATTENTION: From post-deployment of ADF library jar on WebLogic Server. "Provider-lazy-inited" init-param missing LibraryFilter? Ignore this warning if the ADFJspResourceProvider is not used.
On the road: ADF library non-ADFJspResourceProvider after deployment
Finishing: ADF library non-ADFJspResourceProvider after deployment (millis): 16
null
< 12 February 2014 12:51:17 hours EST > < opinion > < Cluster > < BEA-000197 > < listening for cluster communications using unicast cluster messaging >
< 12 February 2014 12:51:17 hours EST > < opinion > < Cluster > < BEA-000133 > < waiting to synchronize with other members in the planning stages. >
< 12 February 2014 12:51:22 hours EST > < WARNING > < Log Management > < BEA-170011 > < The LogBroadcaster on this server has no messages to the server admin log. The server administrator can not run. Emissions of message to the administrator of the server will be disabled. >
< 12 February 2014 12:51:48 hours EST > < opinion > < WebLogicServer > < BEA-000365 > < server status changed to ADMIN >
< 12 February 2014 12:51:48 hours EST > < opinion > < WebLogicServer > < BEA-000365 > < Server State has changed for RESUMING >
< 12 February 2014 12:52:24 hours EST > < opinion > < Cluster > < BEA-000162 > < "async" replication service to start with remote cluster address "null" >
< 12 February 2014 12:52:24 hours EST > < opinion > < Server > < BEA-002613 > < Channel "Default" is now listening on 172.26.55.119:8300 for protocols iiop, t3, CLUSTER-STREAM, ldap, snmp, http. >
< 12 February 2014 12:52:24 hours EST > < opinion > < Server > < BEA-002613 > < Channel "Default [2]" is now listening on fe80:0:0:0:0:100:7f:fffe:8300 for protocols iiop, t3, CLUSTER-STREAM, ldap, snmp, http. >
< 12 February 2014 12:52:24 hours EST > < opinion > < Server > < BEA-002613 > < channel 'by default [5]' now listen on 0:0:0:0:0:0:0:1:8300 for protocols iiop, t3, CLUSTER-STREAM, ldap, snmp, http. >
< 12 February 2014 12:52:24 hours EST > < opinion > < Server > < BEA-002613 > < Channel "Default [4]" now listen on 127.0.0.1:8300 for protocols iiop, t3, CLUSTER-STREAM, ldap, snmp, http. >
< 12 February 2014 12:52:24 hours EST > < opinion > < Server > < BEA-002613 > < Channel "[1] by default ' is now listening on fe80:0:0:0:385e:468:a776:2aac:8300 for protocols iiop, t3, CLUSTER-STREAM, ldap, snmp, http. >
< 12 February 2014 12:52:24 hours EST > < opinion > < Server > < BEA-002613 > < Channel "Default [3]" is now listening on fe80:0:0:0:0:5efe:ac1a:3777:8300 for protocols iiop, t3, CLUSTER-STREAM, ldap, snmp, http. >
< 12 February 2014 12:52:24 hours EST > < WARNING > < Server > < BEA-002611 > < Hostname "HYDEVP01.uts.mcmaster.ca", corresponds to multiple IP addresses: 172.26.55.119, fe80:0:0:0:385e:468:a776:2aac % 14 >
< 12 February 2014 12:52:24 hours EST > < opinion > < WebLogicServer > < BEA-000358 > < started WebLogic independent server managed by "Planning0" for the domain "EPMSystemHYDEV" running in Production Mode >
< 12 February 2014 12:52:24 hours EST > < WARNING > < JMX > < BEA-149510 > < could not establish connectivity JMX with the Administration Server AdminServer to < JMXServiceURL:null >. >
< 12 February 2014 12:52:39 hours EST > < WARNING > < Socket > < BEA-000449 > < socket closure as no data read on 172.26.55.119:52,430 for the configured timeout of 5 seconds >
< 12 February 2014 12:52:39 hours EST > < WARNING > < Socket > < BEA-000449 > < socket closure as no data read on 172.26.55.119:52,427 for the configured timeout of 5 seconds >
< 12 February 2014 12:52:39 hours EST > < WARNING > < Socket > < BEA-000449 > < socket closure as no data read on 172.26.55.119:52,429 for the configured timeout of 5 seconds >
< 12 February 2014 12:52:40 hours P.M. > < WARNING > < Socket > < BEA-000449 > < socket closure as no data read on 172.26.55.119:52,428 for the configured timeout of 5 seconds >
< 12 February 2014 12:52:49 hours EST > < WARNING > < Socket > < BEA-000449 > < socket closure as no data read on 172.26.55.119:52,441 for the configured timeout of 5 seconds >
< 12 February 2014 12:52:49 hours EST > < WARNING > < Socket > < BEA-000449 > < socket closure as no data read on 172.26.55.119:52,442 for the configured timeout of 5 seconds >
< 12 February 2014 12:52:49 hours EST > < WARNING > < Socket > < BEA-000449 > < socket closure as no data read on 172.26.55.119:52,443 for the configured timeout of 5 seconds >
< 12 February 2014 12:52:49 hours EST > < WARNING > < Socket > < BEA-000449 > < socket closure as no data read on 172.26.55.119:52,439 for the configured timeout of 5 seconds >
Do you still have this problem after restarting the server?
See you soon
John
-
Hearing of 2015 CC takes too long to start
Hearing of 2015 CC takes too long to start. As more than a minute.
Using administrator rights does not make a difference.
Fresh install... even though I updated from Windows 8.1 to 10 Windows (Windows updater) and I had hearing in Win8.1 so... is there any cleaner Adobe application that I could use to solve this problem?
I found the solution!
Simply find the file dynamiclinkmanager.exe on any folder of Adobe products, that is having this same problem, and remove the extension (.exe) format to it.
Confirm the action and open the hearing as quickly as it should.
-
How can you know which application takes too long to run in a database? and most of the resources consumption?
user3636719 wrote:
How can you know which application takes too long to run in a database? and most of the resources consumption?Try to use the following text:
SELECT * FROM
(SELECT
sql_fulltext,
sql_id,
child_number,
disk_reads,
executions,
first_load_time,
last_load_time
V $ sql
ORDER BY DESC elapsed_time)
WHERE ROWNUM<>
;Also, try the v$ session_longops querying:
Select * from)
Select the target, sofar, less, totalwork.
units, elapsed_seconds, message
from v$ session_longops by start_time desc)
where rownum<>Kind regards
Rizwan Wangde
SR Oracle DBA.
http://Rizwan-DBA.blogspot.com -
Inserting data in the remote table takes too long
Hello
I have a table in the remote database and insert the data into this particular table... takes too long.
Could you please advice me some tips for the DML can quickly...
Concerning
DASThat takes a lot of time, then don't you have an idea how can we send the data fast
Buy more band witdth?
No, honestly. As you can see, the quality of my answers match the quality of your question.
You must locate the bottleneck, where is - this "too much" time has passed.
Is it
collection of data on the local side?
net send?
Actual insertion on remote site?
Maybe you have a condition on the remote site, which causes the data sent to the remote side to local?Impossible to give advice without knowing anything about what is happening.
Concerning
Peter -
Data dictionary query takes too long.
Hello
I'm using ORACLE DATABASE 11 g.
The following query takes too long to run and not give the result. As I've tried a few tricks SQL Oracle but it forces developed.
Please guide me what to do? to run this query in a fast paced mode...SELECT distinct B.TABLE_NAME, 'Y' FROM USER_IND_PARTITIONS A, USER_INDEXES B, USER_IND_SUBPARTITIONS C WHERE A.INDEX_NAME = B.INDEX_NAME AND A.PARTITION_NAME = C.PARTITION_NAME AND C.STATUS = 'UNUSABLE' OR A.STATUS = 'UNUSABLE' OR B.STATUS = 'INVALID';
Thanks in advance...Your query is incorrect. It returns all tables if A.STATUS = "UNUSABLE" or B.STATUS = "INVALID". Most likely, you meant:
SELECT distinct B.TABLE_NAME, 'Y' FROM USER_IND_PARTITIONS A, USER_INDEXES B, USER_IND_SUBPARTITIONS C WHERE A.INDEX_NAME = B.INDEX_NAME AND A.PARTITION_NAME = C.PARTITION_NAME AND (C.STATUS = 'UNUSABLE' OR A.STATUS = 'UNUSABLE' OR B.STATUS = 'INVALID');
But the above will return sous-partitionnee tables not valid/no usable index. He ain't no non-sous-partitioned tables partitioned index/index not valid/not usable with same partitions in the form of tables not partitioned with valid/no unusable indexes. If you want to get any table with indexes not valid/not usable, you outer join that's going to hurt even more performance. I suggest you use the UNION:
SELECT DISTINCT TABLE_NAME, 'Y' FROM ( SELECT INDEX_NAME,'Y' FROM USER_INDEXES WHERE STATUS = 'INVALID' UNION ALL SELECT INDEX_NAME,'Y' FROM USER_IND_PARTITIONS WHERE STATUS = 'UNUSABLE' UNION ALL SELECT INDEX_NAME,'Y' FROM USER_IND_SUBPARTITIONS WHERE STATUS = 'UNUSABLE' ) A, USER_INDEXES B WHERE A.INDEX_NAME = B.INDEX_NAME /
SY.
-
Statement Update takes too long to run
Hi all
I am trying to run this update statement. But its takes too long to run.
UPDATE ops_forecast_extract b SET position_id = (SELECT a.row_id FROM s_postn a WHERE UPPER(a.desc_text) = UPPER(TRIM(B.POSITION_NAME))) WHERE position_level = 7 AND b.am_id IS NULL;
SELECT COUNT(*) FROM S_POSTN; 214665
SELECT COUNT(*) FROM ops_forecast_extract; 49366
What could be the reason for the update statement to run so long?SELECT count(*) FROM s_postn a, ops_forecast_extract b WHERE UPPER(a.desc_text) = UPPER(TRIM(B.POSITION_NAME)); 575
Thank youpolasa wrote:
Hi allI am trying to run this update statement. But its takes too long to run.
What could be the reason for the update statement to run so long?
You did not say what means "too long", but a simple and good reason might be that the scalar subquery on "s_postn" using a full table for each run scan. Potentially this subquery is executed for each row of the table "ops_forecast_extract" that satisfies your filter predicates. 'Potentially' due to "filter/subquery optimization" cunning of the Oracle execution engine that tries to cache results of already executed of instances of subquery. Given that the in-memory hash table that contains these cached results is limited in size, the optimization algorithm depends on the sort order of data and could suffer collisions of hash that it is unpredictable, how this optimization works in your particular case.
You can view the execution plan, it should at least tell you how Oracle will run the scalar subquery (that tell you nothing about this "filter/subquery optimization" feature).
Follow the generic guidelines how to generate a useful plan explain output and how to post here:
Could please post a correctly formatted explain you plan output using DBMS_XPLAN. SCREEN, including the 'Predicate information' section below the plan to provide more details about your statement. Please use the noformat} [{noformat} code {noformat}] {noformat} before tag and {noformat} [{noformat} / code {noformat}] {noformat} tag or after the noformat} {{noformat} code {noformat}} {noformat} tag before and after to improve the readability of the outing:
In SQL * more:
SET LINESIZE 130 EXPLAIN PLAN FOR
; SELECT * FROM TABLE(DBMS_XPLAN.DISPLAY); Note that the DBMS_XPLAN package. DISPLAY is only available from 9i on.
In 9i and above, if "Predicate information" section is missing from the DBMS_XPLAN. Output display, but you get the message "Plan table is old version" instead, you must recreate your plan table using the script server '$ORACLE_HOME/rdbms/admin/utlxplan.sql '.
In previous versions, you can run the following in SQL * Plus (on the server) instead:
@?/rdbms/admin/utlxpls
A different approach in SQL * more:
SET AUTOTRACE ON EXPLAIN
; also displays the execution plan.
In order to get a better understanding where your statement passes the time, you might want to turn on SQL tracing as described here:
When your query takes too long...
and after the "tkprof' out here, too.
Kind regards
RandolfOracle related blog stuff:
http://Oracle-Randolf.blogspot.com/SQLTools ++ for Oracle (Open source Oracle GUI for Windows):
http://www.sqltools-plusplus.org:7676 /.
http://sourceforge.NET/projects/SQLT-pp/ -
My daughter Air2 IPad takes too long to save. It is plugged in, connected to wifi and the screen is locked. Any tips?
How long is too long? If it lasts for more than a few hours - and even that is too long in my humble OPINION - then something is wrong. Completely backup, because it will not terminate in any case if its been so long, forced to reboot the device and try again.
To force the reboot your device, press and hold the two buttons of sleep/wake and home for at least ten seconds, until you see the Apple logo.
This may not work either. The backup may be damaged and you will need to remove and start over. However, its easy starting point and it will not hurt anything. If the backup will not end, he has nothing to lose.
-
I am a new user of Iphone, I must he keep plugging my Iphone to the computer during the update download process? especially the download will take too long because it is more than 2 GB and my internet speed is not fast, I can unplug my Iphone until the full download?
Without doubt, but why not just make the day downloading overnight?
Maybe you are looking for
-
Photos lets me add faces on my photos. I go to a photo in my album, click on 'Get Info', then 'Add Face.' A circle appears in the photo. I'm supposed to be able to drag and resize this circle to animate Photos where the face is. I can't move the
-
How to transfer to a new content of an old iPad
How to transfer to a new content of an old iPad?
-
Re: Is it possible to update the graphics on Qosmio G20-105 PQG20E
Is it possible to update the graphics card on my G20-105 (PQG20E)?Looking for something more powerful to manage new and future games any recommendations? Currently have the NVidia Geforce Go6600 series.
-
Problem with installing Shadowrun (PC) on Windows 7
I just bought Shadowrun for my new computer and I waited to play this game because it is out. And now I installed it I can not start the game. Whenever I start the game the black screen comes up, then flashes back on the desktop and a"Failed to initi
-
Selected to turn it off, but it always has. Any ideas? Thank you. MIRAX