JVM takes more RAM than defined in -Xmx param on solaris
Hi all,
We have a problem on production installation of our product on Solaris paltfroms: jvm takes more (much more) RAM than defined in -Xmx param and without any OutOfMemory exceptions. (how itt possible at all ?)
The only JNI call in application is SAP interface connector, but application uses a lot of Runtime.exec() calls.
Is it possible to have such kind of "leaks" in java using JNI or Runtime.exec()?
I will be very appreciate for any tip how to find the root of this problem and how we can fix it ?
//rv
system details:
COMMAND
nohup /system/jre/bin/java -XX:+DisableExplicitGC -XX:NewSize=80m -XX:MaxNewSize=80m -Xms256m -Xmx256m -cp /system/bin/application.jar: applicationstart >/sysem/bin/../log/jvm.log
JAVAVERSION
SRV12345/root # /system/jre/bin/java -fullversion
java full version "1.4.2_08-b03"
OS-VERSION
[root@SRV12345] /->uname -r
5.8
TASKS
[root@SRV12345] /->prstat
PID USERNAME SIZE RSS STATE PRI NICE TIME CPU PROCESS/NLWP
6415 root 964M 913M sleep 29 10 20:33.12 0.3% java/128
Total: 75 processes, 310 lwps, load averages: 0.02, 0.04, 0.08
CPUS
root@SRV12345] /->psrinfo -v
Status of virtual processor 0 as of: 07/27/06 16:33:23
on-line since 05/22/06 11:40:25.
The sparcv9 processor operates at 1320 MHz,
and has a sparcv9 floating point processor.
Status of virtual processor 1 as of: 07/27/06 16:33:23
on-line since 05/22/06 11:40:26.
The sparcv9 processor operates at 1320 MHz,
and has a sparcv9 floating point processor.
HARDWARE
[root@SRV12345] /->prtconf
System Configuration: Sun Microsystems sun4us
Memory size: 4096 Megabytes
System Peripherals (Software Nodes):
MEMORY USAGE - PROCESS
[root@SRV12345] /->pmap -x 6415
6415: /oms/OMSSpooler/system/jre/bin/java -XX:+DisableExplicitGC -XX:NewSize
Address Kbytes Resident Shared Private Permissions Mapped File
00010000 72 72 72 - read/exec java
00030000 16 16 - 16 read/write/exec java
00034000 636528 636456 618112 18344 read/write/exec [ heap ]
DA77A000 8 8 - 8 read/write/exec [ anon ]
DA77E000 16 16 8 8 read/write/exec [ anon ]
DAD7A000 32 32 8 24 read/write/exec [ anon ]
DAE7A000 32 32 8 24 read/write/exec [ anon ]
DB07A000 32 32 8 24 read/write/exec [ anon ]
DB17A000 32 32 8 24 read/write/exec [ anon ]
DB278000 40 40 32 8 read/write/exec [ anon ]
DB67A000 32 32 8 24 read/write/exec [ anon ]
DB97A000 32 32 8 24 read/write/exec [ anon ]
DBA7A000 32 32 24 8 read/write/exec [ anon ]
DBB7A000 32 32 8 24 read/write/exec [ anon ]
DBC7A000 8 8 8 - read/write/exec [ anon ]
DBC7E000 16 16 8 8 read/write/exec [ anon ]
DBD76000 48 48 48 - read/write/exec [ anon ]
DBE7A000 32 32 8 24 read/write/exec [ anon ]
DBF78000 40 40 24 16 read/write/exec [ anon ]
DC07A000 8 8 - 8 read/write/exec [ anon ]
DC07E000 16 16 - 16 read/write/exec [ anon ]
DC17A000 32 32 24 8 read/write/exec [ anon ]
DC27A000 8 8 8 - read/write/exec [ anon ]
DC27E000 16 16 8 8 read/write/exec [ anon ]
DC37A000 8 8 8 - read/write/exec [ anon ]
DC37E000 16 16 8 8 read/write/exec [ anon ]
DC47A000 8 8 8 - read/write/exec [ anon ]
DC47E000 16 16 8 8 read/write/exec [ anon ]
DC778000 16 16 8 8 read/write/exec [ anon ]
DC77E000 16 16 - 16 read/write/exec [ anon ]
DC87A000 8 8 8 - read/write/exec [ anon ]
DC87E000 16 16 8 8 read/write/exec [ anon ]
DC97A000 8 8 8 - read/write/exec [ anon ]
DC97E000 16 16 8 8 read/write/exec [ anon ]
DCA7A000 8 8 8 - read/write/exec [ anon ]
DCA7E000 16 16 8 8 read/write/exec [ anon ]
DCB7A000 8 8 8 - read/write/exec [ anon ]
DCB7E000 16 16 8 8 read/write/exec [ anon ]
DCF7A000 32 32 16 16 read/write/exec [ anon ]
DD07A000 32 32 8 24 read/write/exec [ anon ]
DD17A000 32 32 8 24 read/write/exec [ anon ]
DD278000 40 40 16 24 read/write/exec [ anon ]
DD478000 40 40 40 - read/write/exec [ anon ]
DD67A000 32 32 8 24 read/write/exec [ anon ]
DD778000 40 40 16 24 read/write/exec [ anon ]
DDA7A000 32 32 16 16 read/write/exec [ anon ]
DDB78000 40 40 16 24 read/write/exec [ anon ]
DDC7A000 8 8 - 8 read/write/exec [ anon ]
DDC7E000 16 16 8 8 read/write/exec [ anon ]
DDD78000 40 40 32 8 read/write/exec [ anon ]
DDE78000 40 40 40 - read/write/exec [ anon ]
DE07A000 32 32 8 24 read/write/exec [ anon ]
DE178000 40 40 16 24 read/write/exec [ anon ]
DE276000 48 48 40 8 read/write/exec [ anon ]
DE37A000 32 32 8 24 read/write/exec [ anon ]
DE578000 40 40 16 24 read/write/exec [ anon ]
DE77A000 32 32 16 16 read/write/exec [ anon ]
DE87A000 32 32 32 - read/write/exec [ anon ]
DE97A000 32 32 8 24 read/write/exec [ anon ]
DEA78000 40 40 16 24 read/write/exec [ anon ]
DEB7A000 32 32 16 16 read/write/exec [ anon ]
DEC7A000 32 32 8 24 read/write/exec [ anon ]
DED78000 40 40 40 - read/write/exec [ anon ]
DEE7A000 32 32 8 24 read/write/exec [ anon ]
DEF7A000 32 32 8 24 read/write/exec [ anon ]
DF07A000 32 32 16 16 read/write/exec [ anon ]
DF27A000 32 32 24 8 read/write/exec [ anon ]
DF478000 40 40 40 - read/write/exec [ anon ]
DF578000 40 40 - 40 read/write/exec [ anon ]
DF77A000 32 32 8 24 read/write/exec [ anon ]
DF87A000 32 32 16 16 read/write/exec [ anon ]
DFA78000 40 40 16 24 read/write/exec [ anon ]
DFC7A000 8 8 - 8 read/write/exec [ anon ]
DFC7E000 16 16 - 16 read/write/exec [ anon ]
E0078000 40 40 8 32 read/write/exec [ anon ]
E0278000 40 40 16 24 read/write/exec [ anon ]
E067A000 32 32 24 8 read/write/exec [ anon ]
E077A000 8 8 8 - read/write/exec [ anon ]
E077E000 16 16 8 8 read/write/exec [ anon ]
E0878000 40 40 32 8 read/write/exec [ anon ]
E0978000 40 40 32 8 read/write/exec [ anon ]
E0A78000 40 40 24 16 read/write/exec [ anon ]
E0B78000 40 40 16 24 read/write/exec [ anon ]
E0C78000 40 40 32 8 read/write/exec [ anon ]
E0E7A000 8 8 8 - read/write/exec [ anon ]
E0E7E000 16 16 8 8 read/write/exec [ anon ]
E1076000 48 48 48 - read/write/exec [ anon ]
E117A000 32 32 32 - read/write/exec [ anon ]
E127A000 32 32 24 8 read/write/exec [ anon ]
E137A000 32 32 8 24 read/write/exec [ anon ]
E147A000 32 32 32 - read/write/exec [ anon ]
E1578000 40 40 16 24 read/write/exec [ anon ]
E187A000 8 8 - 8 read/write/exec [ anon ]
E187E000 16 16 - 16 read/write/exec [ anon ]
E1978000 40 40 24 16 read/write/exec [ anon ]
E1A78000 40 40 24 16 read/write/exec [ anon ]
E1B78000 40 40 16 24 read/write/exec [ anon ]
E1C7A000 32 32 16 16 read/write/exec [ anon ]
E1D7A000 32 32 8 24 read/write/exec [ anon ]
E1E78000 40 40 24 16 read/write/exec [ anon ]
E1F78000 40 40 8 32 read/write/exec [ anon ]
E207A000 32 32 32 - read/write/exec [ anon ]
E217A000 8 8 8 - read/write/exec [ anon ]
E217E000 16 16 8 8 read/write/exec [ anon ]
E227A000 32 32 8 24 read/write/exec [ anon ]
E2378000 40 40 16 24 read/write/exec [ anon ]
E247A000 32 32 32 - read/write/exec [ anon ]
E257A000 32 32 16 16 read/write/exec [ anon ]
E267A000 32 32 16 16 read/write/exec [ anon ]
E2878000 40 40 16 24 read/write/exec [ anon ]
E297A000 32 32 16 16 read/write/exec [ anon ]
E2A7A000 32 32 16 16 read/write/exec [ anon ]
E2B7A000 32 32 16 16 read/write/exec [ anon ]
E2C00000 4408 688 688 - read/exec librfccm.so
E305C000 2584 664 624 40 read/write/exec librfccm.so
E32E2000 688 320 312 8 read/write/exec librfccm.so
E3400000 2072 120 120 - read/exec libsapjcorfc.so
E3614000 24 24 24 - read/write/exec libsapjcorfc.so
E36FA000 32 32 8 24 read/write/exec [ anon ]
E38FA000 8 8 - 8 read/write/exec [ anon ]
E38FE000 16 16 - 16 read/write/exec [ anon ]
E39F6000 48 48 - 48 read/write/exec [ anon ]
E3AFA000 32 32 32 - read/write/exec [ anon ]
E3BF8000 40 40 16 24 read/write/exec [ anon ]
E3CFA000 32 32 16 16 read/write/exec [ anon ]
E3DFA000 32 32 32 - read/write/exec [ anon ]
E3EFA000 8 8 - 8 read/write/exec [ anon ]
E3EFE000 16 16 - 16 read/write/exec [ anon ]
E3FF8000 40 40 40 - read/write/exec [ anon ]
E40FA000 8 8 - 8 read/write/exec [ anon ]
E40FE000 16 16 - 16 read/write/exec [ anon ]
E41F6000 48 48 40 8 read/write/exec [ anon ]
E42FA000 32 32 32 - read/write/exec [ anon ]
E43F6000 48 48 - 48 read/write/exec [ anon ]
E44F8000 40 40 - 40 read/write/exec [ anon ]
E45F8000 40 40 32 8 read/write/exec [ anon ]
E46FA000 8 8 - 8 read/write/exec [ anon ]
E46FE000 16 16 - 16 read/write/exec [ anon ]
E47F8000 40 40 16 24 read/write/exec [ anon ]
E48FA000 32 32 24 8 read/write/exec [ anon ]
E49F8000 40 40 16 24 read/write/exec [ anon ]
E4AFA000 8 8 - 8 read/write/exec [ anon ]
E4AFE000 16 16 - 16 read/write/exec [ anon ]
E4BFA000 8 8 - 8 read/write/exec [ anon ]
E4BFE000 16 16 - 16 read/write/exec [ anon ]
E4CF6000 48 48 40 8 read/write/exec [ anon ]
E4DF6000 48 48 - 48 read/write/exec [ anon ]
E4E80000 720 112 112 - read/shared dev:85,6 ino:2414099
E4F80000 1616 16 16 - read/shared dev:85,6 ino:2604124
E5180000 584 24 24 - read/shared dev:85,6 ino:2604127
E5280000 560 32 32 - read/shared dev:85,6 ino:2604145
E5380000 504 16 16 - read/shared dev:85,6 ino:2604133
E5480000 1776 40 40 - read/shared dev:85,6 ino:2604140
E5680000 1120 56 56 - read/shared dev:85,6 ino:2604138
E5800000 277504 277344 268008 9336 read/write/exec [ anon ]
F9900000 752 8 8 - read/shared dev:85,6 ino:899745
F9A80000 8 8 - 8 read/write/exec [ anon ]
F9B7C000 24 24 16 8 read/write/exec [ anon ]
F9C00000 9280 8944 8760 184 read/write/exec [ anon ]
FBC50000 8 8 8 - read/shared dev:85,6 ino:2414079
FBC60000 16 16 16 - read/shared dev:85,6 ino:2414042
FBC70000 24 24 24 - read/shared dev:85,6 ino:2414043
FBC80000 440 32 32 - read/shared dev:85,6 ino:2604129
FBD80000 8 8 - 8 read/write/exec [ anon ]
FBD90000 8 8 - 8 read/write/exec [ anon ]
FBDA0000 56 56 56 - read/exec libnet.so
FBDBC000 16 16 16 - read/write/exec libnet.so
FBDD0000 176 16 16 - read/shared dev:85,6 ino:2604126
FBE80000 8 8 - 8 read/write/exec [ anon ]
FBE90000 128 8 8 - read/shared dev:85,6 ino:2604148
FBEC0000 216 8 8 - read/shared dev:85,6 ino:2604125
FBF7A000 32 32 24 8 read/write/exec [ anon ]
FBF90000 416 8 8 - read/shared dev:85,6 ino:2604128
FC000000 5696 8 8 - read/shared dev:85,6 ino:1450986
FC5A0000 344 40 40 - read/shared dev:85,6 ino:2604131
FC67A000 32 32 24 8 read/write/exec [ anon ]
FC690000 24 24 24 - read/exec libpthread.so.1
FC6A6000 8 8 8 - read/write/exec libpthread.so.1
FC6B0000 304 40 40 - read/shared dev:85,6 ino:2604144
FC780000 8 8 - 8 read/write/exec [ anon ]
FC7A0000 352 24 24 - read/shared dev:85,6 ino:2604147
FC800000 23464 16 16 - read/shared dev:85,6 ino:1451026
FDEF0000 8 8 8 - read/exec libw.so.1
FDF00000 192 24 24 - read/shared dev:85,6 ino:2604142
FDF40000 96 8 8 - read/shared dev:85,6 ino:2604134
FDF60000 240 40 40 - read/shared dev:85,6 ino:2604157
FDFA0000 360 352 352 - read/write/exec [ anon ]
FE000000 4032 2472 2472 - read/exec libjvm.so
FE3F0000 128 128 88 40 read/write/exec libjvm.so
FE410000 56 56 48 8 read/write/exec libjvm.so
FE430000 32 32 32 - read/shared dev:85,6 ino:2604137
FE440000 208 40 40 - read/shared dev:85,6 ino:2604135
FE480000 544 544 328 216 read/write/exec [ anon ]
FE520000 8 8 8 - read/write/exec [ anon ]
FE530000 32 32 32 - read/shared dev:85,6 ino:2604146
FE540000 16 16 16 - read/shared dev:85,6 ino:2604123
FE550000 40 16 16 - read/shared dev:85,6 ino:2604139
FE560000 56 - - - read/shared dev:85,6 ino:899744
FE580000 152 152 152 - read/write/exec [ anon ]
FE610000 112 8 8 - read/shared dev:85,6 ino:899742
FE630000 32 32 24 8 read/write/exec [ anon ]
FE660000 72 - - - read/shared dev:85,6 ino:1450975
FE680000 872 8 8 - read/shared dev:85,6 ino:1450985
FE760000 8 8 8 - read/shared dev:85,6 ino:2604132
FE770000 88 16 16 - read/shared dev:85,6 ino:1450974
FE790000 64 64 64 - read/exec libzip.so
FE7A0000 8 8 8 - read/write/exec libzip.so
FE7B0000 8 8 - 8 read/write/exec [ anon ]
FE7C0000 136 136 136 - read/exec libjava.so
FE7F2000 8 8 8 - read/write/exec libjava.so
FE802000 8 8 8 - read/write/exec [ anon ]
FE904000 8 8 8 - read/write/exec [ anon ]
FEA06000 8 8 8 - read/write/exec [ anon ]
FEB08000 8 8 8 - read/write/exec [ anon ]
FEC0A000 8 8 8 - read/write/exec [ anon ]
FED0C000 8 8 8 - read/write/exec [ anon ]
FEE0A000 8 8 8 - read/write/exec [ anon ]
FEE0E000 8 8 8 - read/write/exec [ anon ]
FEF0C000 8 8 - 8 read/write/exec [ anon ]
FEF10000 8 8 8 - read/write/exec [ anon ]
FF00E000 8 8 8 - read/write/exec [ anon ]
FF020000 88 88 88 - read/exec libverify.so
FF046000 8 8 8 - read/write/exec libverify.so
FF050000 16 16 16 - read/shared dev:85,6 ino:899743
FF060000 40 40 40 - read/exec libhpi.so
FF07A000 8 8 8 - read/write/exec libhpi.so
FF07C000 8 - - - read/write/exec libhpi.so
FF090000 16 16 16 - read/exec libmp.so.2
FF0A4000 8 8 8 - read/write/exec libmp.so.2
FF0B0000 224 104 104 - read/exec libm.so.1
FF0F6000 8 8 8 - read/write/exec libm.so.1
FF100000 576 576 576 - read/exec libnsl.so.1
FF190000 40 40 32 8 read/write/exec libnsl.so.1
FF19A000 24 16 16 - read/write/exec libnsl.so.1
FF1B0000 8 8 8 - read/exec libsched.so.1
FF1C2000 8 8 8 - read/write/exec libsched.so.1
FF1D0000 8 8 - 8 read/write/exec [ anon ]
FF1E0000 40 40 40 - read/exec libsocket.so.1
FF1FA000 8 8 8 - read/write/exec libsocket.so.1
FF200000 688 688 688 - read/exec libc.so.1
FF2BC000 32 32 8 24 read/write/exec libc.so.1
FF2D0000 48 48 48 - read/exec libCrun.so.1
FF2EA000 8 8 8 - read/write/exec libCrun.so.1
FF2EC000 16 8 8 - read/write/exec libCrun.so.1
FF300000 16 16 16 - read/write/shared dev:0,2 ino:7595433
FF314000 8 8 8 - read/write/exec [ anon ]
FF320000 8 8 8 - read/write/exec/shared [ anon ]
FF330000 8 8 - 8 read/write/exec [ anon ]
FF340000 8 8 - 8 read/write/exec libdl.so.1
FF350000 112 112 112 - read/exec libthread.so.1
FF37C000 8 8 - 8 read/write/exec libthread.so.1
FF37E000 48 48 - 48 read/write/exec libthread.so.1
FF390000 8 8 8 - read/exec libc_psr.so.1
FF3A0000 184 184 184 - read/exec ld.so.1
FF3DE000 8 8 - 8 read/write/exec ld.so.1
FF3E0000 8 8 - 8 read/write/exec ld.so.1
FFB70000 24 - - - - [ anon ]
FFBD6000 104 104 96 8 read/write/exec [ stack ]
total Kb 986752 936008 905624 30384
See http://java.sun.com/j2se/1.5/pdf/jdk50_ts_guide.pdf and look into using libumen on Solaris.
-kto
Similar Messages
-
KDE 4.4 eating up more RAM than 4.3
Given the same settings on both versions and after numerous testing, upon bootup, KDE 4.4 is eating up more RAM than KDE 4.3, at least 25 MB more on the average. I realize the developers mentioned they fixed numerous bugs from the previous version, but shouldn't they be working on getting it lighter? Where's the most likely culprit for this additional RAM usage? Can it be attributed to the newer QT version 4.6.1, or something else? Opinions much appreciated, thanks.
Last edited by ejmarkow (2010-02-10 21:07:15)eldarion wrote:It's not that simple. I'ts a controversial subject that was discussed many times before.
As for preload, i installed that some time ago and after 1-2 months i found out that it don't give me a visible speedup on cold start of my apps. In fact, the only thing it was doing was making my linux boot very slow.
Well, it really is that simple. If I have spare RAM, I want something on my computer to start using it.
Preload greatly increases speed on my end on some apps. Mostly big apps, like Openoffice and Kontact, which starts instantly with preload, and takes forever to run if I disable it. It doesn't increase boot time at all for me (I just start it in background, the rest of the loading happens after login and is not noticable on my system). Guess our milage are different.
unixguru wrote:
rune0077 wrote:
Don't complain about RAM-use unless you're running out. Free RAM is wasted RAM (and, worse, wasted money you spend on that RAM). If there's RAM not being used, a good OS will find ways to use it.
Instead of worrying about how to free up your used RAM, start worrying about how to use the RAM that is not being used (increase browser-cache, install preload, give Nepomuk more memory, etc).
Certainly free RAM is a wasted resource, but the point of the discussion is whether the increase in RAM usage on KDE 4.4 is a good use of RAM. It is quite possible that the increase in RAM usage is due to bugs introduced in the new code and tracing the exact cause is helpful when one wants to submit a bug report to the KDE team. The RAM saved this way could be used for more useful things in the next release of KDE.
True. I was making a general statement, not being specific to KDE. Memory leaks are obviously not RAM being put to good use.
In KDE 4.3 I found nepomuk all but useless. It slowed down my desktop and had a bad habbit of crashing Dolphin. Now it seems to run pretty well and I barely notice it, but it does take up a lot of my RAM compared to memory-usage in 4.3. But then, I feel like I'm getting something for my money. And I still got lots of RAM to spare, and no ideas on what to use it on.
Last edited by rune0077 (2010-02-13 17:01:39) -
Count (*) for select stmt take more time than execute a that sql stmt
HI
count (*) for select stmt take more time than execute a that sql stmt
executing particular select stmt take 2.47 mins but select stmt is using the /*+parallel*/ (sql optimer) in that sql command for faster execute .
but if i tried to find out total number of rows in that query it takes more time ..
almost 2.30 hrs still running to find count(col)
please help me to get count of row faster.
thanks in advance...797525 wrote:
HI
count (*) for select stmt take more time than execute a that sql stmt
executing particular select stmt take 2.47 mins but select stmt is using the /*+parallel*/ (sql optimer) in that sql command for faster execute .
but if i tried to find out total number of rows in that query it takes more time ..
almost 2.30 hrs still running to find count(col)
please help me to get count of row faster.
thanks in advance...That may be because your client is displaying only the first few records when you are running the "SELECT *". But when you run "COUNT(*)", the whole records has to be counted.
As already mentined please read teh FAQ to post tuning questions. -
Delete DML statment takes more time than Update or Insert.
i want to know whether a delete statement takes more time than an update or insert DML command. Please help in solving the doubt.
Regards.i do not get good answers sometimes, so, i ask again.I think Alex answer to your post was quite complete. If you missed some information, continue the same post, instead of opening a new thread with the same subject and content.
You should be satistied with the answers you get, I also answered your question about global indexes, and I do think my answer was very complete. You may ask more if you want, but stop multiposting please. It is quite annoying.
Ok, have a nice day -
Why import of change request in production takes more time than quality?
Hello All,
why import of change request in production takes more time than import into quality?Hi jahangeer,
I believe it takes same time to import a request in both quality and production as they will be in sync.
Even then if it takes more time in production that may depend on the change request.
Thanks
Pavan -
When i put my Mac for sleep it takes more time than normal (>20 secs). Sometimes, coming back from sleep the system is not responding (freeze).
Perform SMC and NVRAM resets:
http://support.apple.com/en-us/HT201295
http://support.apple.com/en-us/HT204063
The try a safe boot:
http://support.apple.com/en-us/HT201262
Any change?
Ciao. -
Specs for my emac specify support for 1GB of ram. In searching for additional ram (I presently have 512MB) I have found some suppliers that claim you can install 2GB (1GB in each of the two slots). I called and they said they have tested this and it works fine. I consider the company I called to be reputable. Has anyone heard of this? What would be the downside of trying it out - other than the extra cost? Is there some kind of power limitations or something that might harm my computer?
Thanks for any insight,
DougYa if you do a search of this group, you will find this has come up a LOT of times and yes your Mac can use more RAM than 1GB if you want.
JIMacG5 I think is being a bit paranoid since, A) your eMac is probably long out of warranty anyway and B) Apple only tests up to whatever RAM was available at the time the model was in production. They do not test RAM for old models so many old models have outdates RAM specs and can use a lot more than they "officially" state they do.
Patrick -
Bought mid/late 2014 15" MBPr with the i7 2.5GHz and 16GB RAM. I'm within 2 week exchange period at Best Buy, and thinking of switching to 2015 13" MBPr with i5 2.7GHz and 8GB RAM for battery life and weight, and they don't offer the upgraded 16GB RAM option for any 13" models.
Needs to be Best Buy because of gift cards
Use docked at office 75% of time vs 25% out of office, so portability and battery life are nice to have but not as important as if I had 8 hour flights on weekly basis
See appeal of having 5th gen i5 in 13" vs my 4th gen i7 that will be updated this summer
Not a gamer and don't use Final Cut or other video editing, but I tend to leave several applications open and usually have between 1-3 GB free RAM of the 16GB total at any time according to my Memory Cleaner readings
Therefore, worried that 8GB is a non-starter as simple math says that I would have shortfall of 5-7GB RAM based on above readings, but wondering if dual core i5 will use RAM more efficiently than quad core i7
Any help greatly appreciated!Also to note, would like this to last 4 years, which was reason that I bought the higher spec'd model even though I don't run games or video editing
-
Zfs destroy command takes more time than usual
Hi,
When I run the destroy command it takes more than usual.
I have exported the lun form this zfs volume ealier.
Later I have removed the lun view and deleted the lun.After that when I run the below command it takes more time (more than 5mins and still running)
#zfs destroy storage/luIs there a way to quickly destroy the filesystem.
It looks it removing the allocated files.
capacity operations bandwidth
pool alloc free read write read write
storage0 107G 116T 3.32K 2.52K 3.48M 37.7M
storage0 107G 116T 840 551 1.80M 6.01M
storage0 106G 116T 273 0 586K 0
storage0 106G 116T 1.19K 0 2.61M 0
storage0 106G 116T 1.47K 0 3.20M -
MBP Memory Upgrade Using More RAM than Before
Hey,
I have a 13-inch, late 2011 Macbook Pro with a 2.8 GHz Intel Core i7 Processor. I recently changed my 4GB memory (2 modules) PC3-10600 DDR3 1333 MHz to a Crucial 16GB PC3-10600 DDR3 1333 MHz.
Before the upgrade, the activity monitor would show memory used at around 3.98GB or so, and I was running only chrome with a few tabs open. Using chrome and a few more apps would slow down the computer significantly, though still usable.
After the upgrade, the activity monitor shows memory used at around 6.5GB with the same apps running (just chrome). My computer does run a faster and can handle a lot more apps.
My question is, why is my Macbook using more RAM after the upgrade?
Thanks,
SebsThe short answer is that memory unused is memory wasted.
Mavericks is designed to decrease reliance upon mass storage, which is orders of magnitude slower than RAM. Mavericks will use all the memory available to it before resorting to using the swapfile. You are likely to find "swap used" to be zero, even with Google Chrome's notoriously profligate use of system resources.
Read: OS X Mavericks: About Activity Monitor -
Can I add more ram than suggested
I need to get some more ram for my imac that apple say I can expand to 16gb. I currently have the standed 4gb.
In the following article from pcworld i noticed the following (especially the bold)
All iMacs come standard with 4GB of memory, installed as a pair of 2GB modules. When you order an iMac through the Apple Online Store, you have the option to upgrade the memory to 8GB (a pair of 4GB modules) on all iMac models for $200, or to 16GB (four 4GB modules) on the 27-inch models for $600. The iMac has four memory slots located at the bottom of the iMac that are user-accessible. Since two slots are empty when you buy an standard-configuration iMac, you can easily add more memory. The 21.5 inch iMac has support for up to 16GB of memory; third party companies are offering 32GB memory upgrades for the new 27-inch iMac.
Does this mean that I can technically go up to 32gb? Is there a down side to adding more the an 16gb suggested.Although you can install up to 16 GBs of RAM in both 21 and 27" models, I can not confirm that you can install 32 GBs in the 27" model. You might check OWC to see what they say.
-
Calc takes more time than previous
Hi All,
I have a problem with the calc as this calc take more time to execute please help!!!
I have included calc cache high in the .cfg file.
FIX (&As, &Af, &C,&RM, @RELATIVE("Pr",0), @RELATIVE("MS",0), @RELATIVE("Pt",0), @RELATIVE("Rn",0),@RELATIVE("Ll",0))
CLEARDATA "RI";
/* 22 Comment */
FIX("100")
"RI" = @ROUND ((("RDL")/("SBE"->"RDL"->"TMS"->"TP"->"TR"->"AF"->"Boom")),8);
ENDFIX
FIX("200")
"RI" = @ROUND ((("RDL")/("ODE"->"RDL"->"TMS"->"T_P"->"TR"->"AF"->"Boom")),8);
ENDFIX
Appriciate your help.
Regards,
Mink.Mink,
If the calculation script ,which you are using is the same which performed better before and data being processes is same ( i mean data might not have exceptionally grown more).Then, there must be other reasons like server side OS , processor or memory issues.Consult sys admin .Atleast you ll be sure that there is nothing wrong with systems.
To fine tune the calc , i think , you can minimise fix statements . But,thats not the current issue though
Sandeep Reddy Enti
HCC
http://analytiks.blogspot.com -
Why HTML report takes more time than the PDF one?
Hi,
I have created report in Reports 6i. When I run the report on the web with FORMAT = PDF it runs very fast and shows all the pages in 2 minutes. But when I run with
FORMAT = HTML it shows the first page in 2 minutes, after that it takes lot of time to show the remaining pages. If the total pages are more than 40, the browser just freezes
Can somebody give me the reason?
Is there any way to rectify this?
Thanks alot.
Ram.Hi Senthil,
Iam running with the below parameters.
Format : HTML
Destination : Screen.
My default browser is IE. When I try to run using Netscape it showed only 1 page out of 34 pages.
When I run Format as PDF it is faster but font size is small when it opens up. Offcourse user can zoom it.
If I increase the report width from 11 to 14 the font size becomes very small when it open up in browser.
Is there any way that I can set up zoom when I run as PDF?
Thanks for your help.
Ram. -
Why Yosemite used more ram than maverick?
After installing Yosemite 10.10, the system used 80% of ram after I streamed serials with Safari. Meanwhile, when I was using it from Maverick, the system only used 50% of the memory.As I typed this, the RAM usage significantly increasing. Please fix this issue of RAM usage. Thanks
I'm using Macbook Pro Retina (13" late 2013)
Ram 8GBHow did you transfer the backup? It sounds like you may have transferred more or less than you should have, which is causing you problems now. Mountain Lion's memory requirements should be about the same as Lion's.
Note that your problems may or may not be RAM-related. Don't be too concerned about low free RAM... free RAM is wasted RAM, and low free RAM should not be a problem in and of itself. If you have low inactive RAM in addition to low free RAM, though, or if your page outs value in Activity Monitor is too high (10% or more of page ins), then it's probably RAM-related.
Still, you definitely should be able to run the same tasks on newer hardware in Mountain Lion just as well as you did in Lion, on the same amount of RAM. If that's not the case, something's wrong and some troubleshooting will be needed. You could try some of the tips in my Mac Performance Guide, though there may be some more specific steps you can take based on the answer to my initial question. -
11g takes more time than 9i to execute
Hi
We are trying to move 9.1.0.7 to 11.1.0.6 on Solaris 5.10. When we are trying to compare the performance on both database using the same SQL, it is noticed that 11g is taking about 10minutes more than 9i. The schema, objects, data, ... everything is similar. Can anyone please give an idea on why this difference?
SQL is:
--sql_id='bt04cp43n28m3'
--hash_value=2461919517
INSERT /*+APPEND */INTO act_com
(act_id, rep, ytd_fee, ytd_commission, mtd_fee, mtd_commission,
monthly_avg_fee, monthly_avg_comm, ttm_fee, ttm_commission,
curr_dec_fee, curr_dec_comm, curr_nov_fee, curr_nov_comm,
curr_oct_fee, curr_oct_comm, curr_sep_fee, curr_sep_comm,
curr_aug_fee, curr_aug_comm, curr_jul_fee, curr_jul_comm,
curr_jun_fee, curr_jun_comm, curr_may_fee, curr_may_comm,
curr_apr_fee, curr_apr_comm, curr_mar_fee, curr_mar_comm,
curr_feb_fee, curr_feb_comm, curr_jan_fee, curr_jan_comm,
yr1_dec_fee, yr1_dec_comm, yr1_nov_fee, yr1_nov_comm,
yr1_oct_fee, yr1_oct_comm, yr1_sep_fee, yr1_sep_comm,
yr1_aug_fee, yr1_aug_comm, yr1_jul_fee, yr1_jul_comm,
yr1_jun_fee, yr1_jun_comm, yr1_may_fee, yr1_may_comm,
yr1_apr_fee, yr1_apr_comm, yr1_mar_fee, yr1_mar_comm,
yr1_feb_fee, yr1_feb_comm, yr1_jan_fee, yr1_jan_comm,
yr2_dec_fee, yr2_dec_comm, yr2_nov_fee, yr2_nov_comm,
yr2_oct_fee, yr2_oct_comm, yr2_sep_fee, yr2_sep_comm,
yr2_aug_fee, yr2_aug_comm, yr2_jul_fee, yr2_jul_comm,
yr2_jun_fee, yr2_jun_comm, yr2_may_fee, yr2_may_comm,
yr2_apr_fee, yr2_apr_comm, yr2_mar_fee, yr2_mar_comm,
yr2_feb_fee, yr2_feb_comm, yr2_jan_fee, yr2_jan_comm,
tot_fee_prev_day, tot_comm_prev_day)
SELECT act.acct_no, x.rep,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr)
THEN x.dollar_amt
ELSE 0
END
) ytd_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr)
THEN x.dollar_amt
ELSE 0
END
) ytd_commission,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr AND curr_mm = mm)
THEN x.dollar_amt
ELSE 0
END
) mtd_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr AND curr_mm = mm)
THEN x.dollar_amt
ELSE 0
END
) mtd_comm,
SUM (CASE
WHEN ( x.cf_ind = 'F'
AND ( (yr = curr_yr - 1 AND mm >= curr_mm)
OR (yr = curr_yr AND mm < curr_mm)
THEN x.dollar_amt
ELSE 0
END
/ 12 monthly_avg_fee,
SUM (CASE
WHEN ( x.cf_ind = 'C'
AND ( (yr = curr_yr - 1 AND mm >= curr_mm)
OR (yr = curr_yr AND mm < curr_mm)
THEN x.dollar_amt
ELSE 0
END
/ 12 monthly_avg_comm,
SUM (CASE
WHEN ( x.cf_ind = 'F'
AND ( (yr = curr_yr - 1 AND mm > curr_mm)
OR (yr = curr_yr AND mm <= curr_mm)
THEN x.dollar_amt
ELSE 0
END
) ttm_fee,
SUM (CASE
WHEN ( x.cf_ind = 'C'
AND ( (yr = curr_yr - 1 AND mm > curr_mm)
OR (yr = curr_yr AND mm <= curr_mm)
THEN x.dollar_amt
ELSE 0
END
) ttm_commission,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr AND mm = 12)
THEN x.dollar_amt
ELSE 0
END
) curr_dec_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr AND mm = 12)
THEN x.dollar_amt
ELSE 0
END
) curr_dec_comm,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr AND mm = 11)
THEN x.dollar_amt
ELSE 0
END
) curr_nov_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr AND mm = 11)
THEN x.dollar_amt
ELSE 0
END
) curr_nov_comm,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr AND mm = 10)
THEN x.dollar_amt
ELSE 0
END
) curr_oct_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr AND mm = 10)
THEN x.dollar_amt
ELSE 0
END
) curr_oct_comm,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr AND mm = 9)
THEN x.dollar_amt
ELSE 0
END
) curr_sep_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr AND mm = 9)
THEN x.dollar_amt
ELSE 0
END
) curr_sep_comm,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr AND mm = 8)
THEN x.dollar_amt
ELSE 0
END
) curr_aug_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr AND mm = 8)
THEN x.dollar_amt
ELSE 0
END
) curr_aug_comm,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr AND mm = 7)
THEN x.dollar_amt
ELSE 0
END
) curr_jul_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr AND mm = 7)
THEN x.dollar_amt
ELSE 0
END
) curr_jul_comm,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr AND mm = 6)
THEN x.dollar_amt
ELSE 0
END
) curr_jun_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr AND mm = 6)
THEN x.dollar_amt
ELSE 0
END
) curr_jun_comm,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr AND mm = 5)
THEN x.dollar_amt
ELSE 0
END
) curr_may_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr AND mm = 5)
THEN x.dollar_amt
ELSE 0
END
) curr_may_comm,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr AND mm = 4)
THEN x.dollar_amt
ELSE 0
END
) curr_apr_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr AND mm = 4)
THEN x.dollar_amt
ELSE 0
END
) curr_apr_comm,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr AND mm = 3)
THEN x.dollar_amt
ELSE 0
END
) curr_mar_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr AND mm = 3)
THEN x.dollar_amt
ELSE 0
END
) curr_mar_comm,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr AND mm = 2)
THEN x.dollar_amt
ELSE 0
END
) curr_feb_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr AND mm = 2)
THEN x.dollar_amt
ELSE 0
END
) curr_feb_comm,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr AND mm = 1)
THEN x.dollar_amt
ELSE 0
END
) curr_jan_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr AND mm = 1)
THEN x.dollar_amt
ELSE 0
END
) curr_jan_comm,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr - 1 AND mm = 12)
THEN x.dollar_amt
ELSE 0
END
) yr1_dec_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr - 1 AND mm = 12)
THEN x.dollar_amt
ELSE 0
END
) yr1_dec_comm,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr - 1 AND mm = 11)
THEN x.dollar_amt
ELSE 0
END
) yr1_nov_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr - 1 AND mm = 11)
THEN x.dollar_amt
ELSE 0
END
) yr1_nov_comm,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr - 1 AND mm = 10)
THEN x.dollar_amt
ELSE 0
END
) yr1_oct_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr - 1 AND mm = 10)
THEN x.dollar_amt
ELSE 0
END
) yr1_oct_comm,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr - 1 AND mm = 9)
THEN x.dollar_amt
ELSE 0
END
) yr1_sep_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr - 1 AND mm = 9)
THEN x.dollar_amt
ELSE 0
END
) yr1_sep_comm,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr - 1 AND mm = 8)
THEN x.dollar_amt
ELSE 0
END
) yr1_aug_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr - 1 AND mm = 8)
THEN x.dollar_amt
ELSE 0
END
) yr1_aug_comm,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr - 1 AND mm = 7)
THEN x.dollar_amt
ELSE 0
END
) yr1_jul_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr - 1 AND mm = 7)
THEN x.dollar_amt
ELSE 0
END
) yr1_jul_comm,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr - 1 AND mm = 6)
THEN x.dollar_amt
ELSE 0
END
) yr1_jun_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr - 1 AND mm = 6)
THEN x.dollar_amt
ELSE 0
END
) yr1_jun_comm,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr - 1 AND mm = 5)
THEN x.dollar_amt
ELSE 0
END
) yr1_may_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr - 1 AND mm = 5)
THEN x.dollar_amt
ELSE 0
END
) yr1_may_comm,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr - 1 AND mm = 4)
THEN x.dollar_amt
ELSE 0
END
) yr1_apr_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr - 1 AND mm = 4)
THEN x.dollar_amt
ELSE 0
END
) yr1_apr_comm,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr - 1 AND mm = 3)
THEN x.dollar_amt
ELSE 0
END
) yr1_mar_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr - 1 AND mm = 3)
THEN x.dollar_amt
ELSE 0
END
) yr1_mar_comm,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr - 1 AND mm = 2)
THEN x.dollar_amt
ELSE 0
END
) yr1_feb_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr - 1 AND mm = 2)
THEN x.dollar_amt
ELSE 0
END
) yr1_feb_comm,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr - 1 AND mm = 1)
THEN x.dollar_amt
ELSE 0
END
) yr1_jan_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr - 1 AND mm = 1)
THEN x.dollar_amt
ELSE 0
END
) yr1_jan_comm,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr - 2 AND mm = 12)
THEN x.dollar_amt
ELSE 0
END
) yr2_dec_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr - 2 AND mm = 12)
THEN x.dollar_amt
ELSE 0
END
) yr2_dec_comm,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr - 2 AND mm = 11)
THEN x.dollar_amt
ELSE 0
END
) yr2_nov_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr - 2 AND mm = 11)
THEN x.dollar_amt
ELSE 0
END
) yr2_nov_comm,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr - 2 AND mm = 10)
THEN x.dollar_amt
ELSE 0
END
) yr2_oct_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr - 2 AND mm = 10)
THEN x.dollar_amt
ELSE 0
END
) yr2_oct_comm,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr - 2 AND mm = 9)
THEN x.dollar_amt
ELSE 0
END
) yr2_sep_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr - 2 AND mm = 9)
THEN x.dollar_amt
ELSE 0
END
) yr2_sep_comm,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr - 2 AND mm = 8)
THEN x.dollar_amt
ELSE 0
END
) yr2_aug_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr - 2 AND mm = 8)
THEN x.dollar_amt
ELSE 0
END
) yr2_aug_comm,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr - 2 AND mm = 7)
THEN x.dollar_amt
ELSE 0
END
) yr2_jul_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr - 2 AND mm = 7)
THEN x.dollar_amt
ELSE 0
END
) yr2_jul_comm,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr - 2 AND mm = 6)
THEN x.dollar_amt
ELSE 0
END
) yr2_jun_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr - 2 AND mm = 6)
THEN x.dollar_amt
ELSE 0
END
) yr2_jun_comm,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr - 2 AND mm = 5)
THEN x.dollar_amt
ELSE 0
END
) yr2_may_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr - 2 AND mm = 5)
THEN x.dollar_amt
ELSE 0
END
) yr2_may_comm,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr - 2 AND mm = 4)
THEN x.dollar_amt
ELSE 0
END
) yr2_apr_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr - 2 AND mm = 4)
THEN x.dollar_amt
ELSE 0
END
) yr2_apr_comm,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr - 2 AND mm = 3)
THEN x.dollar_amt
ELSE 0
END
) yr2_mar_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr - 2 AND mm = 3)
THEN x.dollar_amt
ELSE 0
END
) yr2_mar_comm,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr - 2 AND mm = 2)
THEN x.dollar_amt
ELSE 0
END
) yr2_feb_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr - 2 AND mm = 2)
THEN x.dollar_amt
ELSE 0
END
) yr2_feb_comm,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr - 2 AND mm = 1)
THEN x.dollar_amt
ELSE 0
END
) yr2_jan_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr - 2 AND mm = 1)
THEN x.dollar_amt
ELSE 0
END
) yr2_jan_comm,
SUM (CASE
WHEN (x.cf_ind = 'F' AND asof_cymd = bus_day)
THEN x.dollar_amt
ELSE 0
END
) tot_fee_prev_day,
SUM (CASE
WHEN (x.cf_ind = 'C' AND asof_cymd = bus_day)
THEN x.dollar_amt
ELSE 0
END
) tot_comm_prev_day
FROM (SELECT acct_no, status
FROM action_tab
UNION
SELECT '0' acct_no, 'AC' status
FROM DUAL) act,
(SELECT TO_NUMBER (TO_CHAR (TO_DATE (NVL (asof_cymd, trade_cymd),
'YYYY-MM-DD'
'YYYY'
) yr,
TO_NUMBER (TO_CHAR (TO_DATE (NVL (asof_cymd, trade_cymd),
'YYYY-MM-DD'
'MM'
) mm,
TO_NUMBER (TO_CHAR (h_inner.bus_day, 'yyyy')) curr_yr,
TO_NUMBER (TO_CHAR (h_inner.bus_day, 'mm')) curr_mm,
rep_commission,
TO_DATE (NVL (asof_cymd, trade_cymd),
'YYYY-MM-DD'
) asof_cymd,
c.acct_no, rep_full rep, f.acct_no fba_acct,
CASE
WHEN ( TO_DATE (f.close_cymd, 'YYYY-MM-DD') <=
SYSDATE
OR f.acct_no IS NULL
THEN 'C'
ELSE 'F'
END cf_ind,
CASE
WHEN (adj_commission != 0
AND adj_commission IS NOT NULL
THEN adj_commission
ELSE NVL (commission, 0) + NVL (mark_up_down, 0)
END dollar_amt
FROM coding_tab c, fbaact_tab f, hist_dt_ctrl_tab h_inner
WHERE c.acct_no = f.acct_no(+)) x,
hist_dt_ctrl_tab
WHERE act.acct_no = x.acct_no
AND x.rep IS NOT NULL
--AND act.rep = x.rep
AND act.status IN ('AC', 'IN')
GROUP BY act.acct_no, x.rep
Thanks in advance.Hi
The details given below.
Execution Plan on 9i
1.00 2,412.00 SELECT STATEMENT 93,164.00 260,496.00 93,164.00 CHOOSE
2.00 2,412.00 -SORT GROUP BY 93,164.00 260,496.00 93,164.00
3.00 8,684,104.00 --NESTED LOOPS OUTER 17,410.00 937,883,232.00 17,410.00
4.00 8,684,104.00 ---HASH JOIN 17,410.00 772,885,256.00 17,410.00
5.00 538,055.00 ----MERGE JOIN CARTESIAN 5,632.00 28,516,915.00 5,632.00
6.00 1.00 -----MERGE JOIN CARTESIAN 6.00 14.00 6.00
7.00 1.00 ------TABLE ACCESS FULL HIST_DT_CTRL 3.00 7.00 3.00 ANALYZED
7.00 1.00 ------BUFFER SORT 3.00 7.00 3.00
8.00 1.00 -------TABLE ACCESS FULL HIST_DT_CTRL 3.00 7.00 3.00 ANALYZED
6.00 538,055.00 -----BUFFER SORT 5,629.00 20,984,145.00 5,629.00
7.00 538,055.00 ------VIEW 5,626.00 20,984,145.00
8.00 538,055.00 -------SORT UNIQUE 5,626.00 5,298,870.00 5,599.00
9.00 --------UNION-ALL
10.00 529,887.00 ---------TABLE ACCESS FULL ACTION_TAB 4,164.00 5,298,870.00 4,164.00 ANALYZED
10.00 8,168.00 ---------TABLE ACCESS FULL DUAL 11.00 11.00
5.00 3,518,688.00 ----TABLE ACCESS FULL CODING_TAB 3,978.00 126,672,768.00 3,978.00 ANALYZED
4.00 1.00 ---TABLE ACCESS BY INDEX ROWID FBAACT_TAB 19.00 ANALYZED
5.00 1.00 ----INDEX UNIQUE SCAN FBA_ACT_PK_ACCT_NO ANALYZED
Execution Plan on 11g
1.00 2,399.00 SELECT STATEMENT 37,681.00 271,087.00 17,370,453,529.00 35,293.00 ALL_ROWS
2.00 2,399.00 -HASH GROUP BY 37,681.00 271,087.00 17,370,453,529.00 35,293.00
3.00 10,291,120.00 --HASH JOIN RIGHT OUTER 36,195.00 1,162,896,560.00 6,562,221,120.00 35,293.00
4.00 1.00 ---TABLE ACCESS FULL FBAACT_TAB 2.00 19.00 7,121.00 2.00 ANALYZED
4.00 10,291,120.00 ---HASH JOIN 36,051.00 967,365,280.00 5,529,464,283.00 35,291.00
5.00 660,746.00 ----MERGE JOIN CARTESIAN 14,778.00 38,323,268.00 2,126,486,738.00 14,486.00
6.00 1.00 -----MERGE JOIN CARTESIAN 10.00 16.00 185,497.00 10.00
7.00 1.00 ------TABLE ACCESS FULL HISTDT_CTRL 5.00 8.00 92,749.00 5.00 ANALYZED
7.00 1.00 ------BUFFER SORT 5.00 8.00 92,749.00 5.00
8.00 1.00 -------TABLE ACCESS FULL HISTDT_CTRL 5.00 8.00 92,749.00 5.00 ANALYZED
6.00 660,746.00 -----BUFFER SORT 14,773.00 27,751,332.00 2,126,393,989.00 14,481.00
7.00 660,746.00 ------VIEW 14,768.00 27,751,332.00 2,126,301,241.00 14,476.00
8.00 660,746.00 -------SORT UNIQUE 14,768.00 6,607,450.00 2,119,018,839.00 14,474.00
9.00 --------UNION-ALL
10.00 660,745.00 ---------TABLE ACCESS FULL ACTION_TAB 12,058.00 6,607,450.00 1,494,346,997.00 11,853.00 ANALYZED
10.00 1.00 ---------FAST DUAL 2.00 7,271.00 2.00
5.00 3,418,417.00 ----TABLE ACCESS FULL CODING_TAB 11,116.00 123,063,012.00 1,823,935,730.00 10,865.00 ANALYZED
The differences in INIT Parameters
9i 11g
multi_block_read_count 16 128
optimizer_mode choose all_rows
other h/w and load related
CPUs 8@900MHZ 8@1200MHZ
load used by many QA users just testing to make sure
all our cronjobs are running
fine or not
the above mentioned SQL is part of one of the processes, takes about 41 min on 9i and the same taking about 52-56 minutes on 11g.
Also, I took out every in-line SELECT statement and ran in both envs. looks 11g is executing them fast. But as a whole it takes about 10-12 mins more on 11g. So
I suspect that its problem with INSERT statement. So I just wrote a simple PL/SQL block to insert 1m records and tested on both.
INSERTION OF 1M records 1:46 min 2:06 min
count(*) 0:0.35 sec 0:0.17 sec
delete 0:28.9 sec 0:36.72 sec
rollback 0:32.19 sec 0:41.36 sec
Maybe you are looking for
-
How do I get my email to work.
My email worked great with Mavericks and before. Now I am unable to send and or receive emails on my Mac/Yosemite. the same account still works fine on my MacBook/ (not upgraded to Mavericks) and my iphones and ipads. I have spent hours with the I
-
Do I have DNS problems? Slow loading or no access ...
Hi all, Most of the time my broadband seems to play nicely however I seem to have painfully slow loading or non-loading websites with annoying regularity. It is not all sites and the problem seems rather selective. Sites that I know are up (such as b
-
For years, I have been using the code: <CFIF IsDefined("Word")> <cfheader name="Content-Type" value="application/msword"> <cfheader name="Content-Disposition" value="attachment;filename=MyFile.doc"> </CFIF> to cause a WOrd file to be created in a doc
-
Unable to print chinese characters
Hello experts, A script is triggered when i run the transaction FBL5N and a form is printed. The issue is, i am unable to see the chinese text in the preview as well as print. The chinese characters appers as ###, check boxesor some other symbols. Tr
-
I am using the Google Drive desktop application to drag and drop files from my SSD to Google Drive. After the transfer is complete the available space on my SSD stays the same. I've tried emptying trash, rebooting computer, repair disk utility, but