What is in swap
Is there a way to see which apps have been swapped?
Or maybe something more low-level if it's not possible.
Thanks!
I get strange results with it.
I just booted my PC (I turn it off over the night) and there's no swap being used, as top itself shows:
Mem: 319356k total, 278588k used, 40768k free, 13216k buffers
Swap: 497972k total, 0k used, 497972k free, 130092k cached
But then it shows that firefox is using 108m on the column swap:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ SWAP COMMAND
3766 root 19 -1 72604 27m 4548 S 29.8 9.0 0:59.64 42m X
3815 andre 20 0 196m 88m 21m S 14.4 28.4 1:56.06 108m firefox
Similar Messages
-
What is normal swap space utilization on Solaris 10
Hi all,
I'm running Oracle 11.2 on Solaris 10 on a couple of HP Proliant DL 360 servers.
Both servers have 72G of physical RAM with swap space set to 16G on both of them.
Server A has only one database and total memory free = 30G.
Server A
top: Memory: 72G phys mem, 30G free mem, 16G total swap, 16G free swap
swap -s: total: 27249744k bytes allocated + 13873764k reserved = 41123508k used, 1000552k available
prstat:
NPROC USERNAME SWAP RSS MEMORY TIME CPU
257 oracle 39G 38G 53% 222:11:52 5.6%
31 root 57M 59M 0.1% 414:47:23 0.1%
1 smmsp 1776K 7736K 0.0% 0:00:34 0.0%
6 zabbix 4752K 4092K 0.0% 0:58:31 0.0%
4 daemon 3864K 6456K 0.0% 0:00:35 0.0%Server B has two databases and total memory free = 9G.
Server B
top: Memory: 72G phys mem, 9890M free mem, 16G total swap, 16G free swap
swap -s: total: 29223360k bytes allocated + 627312k reserved = 29850672k used, 16926320k available
prstat:
NPROC USERNAME SWAP RSS MEMORY TIME CPU
157 oracle 28G 28G 39% 15:38:41 0.4%
34 root 58M 65M 0.1% 2:56:57 0.0%
6 zabbix 5580K 4816K 0.0% 0:00:31 0.0%
1 smmsp 1776K 5724K 0.0% 0:00:00 0.0%
5 hpsmh 17M 13M 0.0% 0:00:00 0.0%
4 daemon 3204K 5912K 0.0% 0:00:00 0.0%We are using zfs file system on both servers (which is pretty much the standard these days on Solaris).
Recently I got an OEM alert that my swap space on server A had crossed the 95% threshhold on one of the servers.
But when I checked the server, I found that the average swap space utilization was 97.45.
In fact, what actually happened was my swap utilization momentarily dropped below 95% and then returned back to its normal range above 95% which caused the alert to be triggered.
So this made me wonder why my swap space utilization was so high on server A, or is this just normal for Solaris (v.10).
Checking with server B, I see that my swap utilization is only at 63.6% (even though server B has much more physical memory in use by the two databases than server A).
Main question is why is swap utilization so high on server A, which is configured the same as server B and with less physical memory actually in use.
Next question is should I be concerned.
When I check vmstat, I do not see any paging in or out or blocked processes.
See below for server A
Server A
$ vmstat -S 5 5
kthr memory page disk faults cpu
r b w swap free si so pi po fr de sr s0 s1 s2 s5 in sy cs us sy id
0 0 0 1059868 30507176 0 0 0 0 0 0 2 7 -0 123 30 13742 25008 7264 5 2 93
0 0 0 1024076 30982140 0 0 0 0 0 0 0 23 0 0 122 4433 14793 6854 6 2 92
0 0 0 1030292 30987500 0 0 0 0 0 0 0 0 0 0 102 4055 15049 7014 8 1 91
0 0 0 1044484 30999572 0 0 0 0 0 0 0 0 0 0 129 5905 19196 8127 6 1 93
0 0 0 1028584 30987636 0 0 0 0 0 0 0 0 0 0 114 10611 19925 7259 6 3 90974632 wrote:
Looks like we don't have 'free' on these Solaris boxes (only the man pages).
I'm guessing that free is for linux (since it works fine on my linux boxes).
$ whereis free
free: /usr/man/man3c/free.3cdarn!
Realize that SWAP is purely an OS facility; which is 100% external to Oracle.
The OS send little used or idle processes into SWAP when RAM is scarce resource.
The fact that SWAP is being used is not a Bad Thing, in and of itself.
as long as vmstat shows that BI+BO > SI+SO I would ignore the Chicken Little warnings. -
What is the swaps height and width shortcut key?
Can please someone tell me, what is the shortcut key of swaps height and width(crop tool)
in adobe photoshop cs4.
Thanx in advance
Regards:
Shami Photos
www.shamiphotos.comYeps, I know it already.
But i need shortcut key. in speedy work I feel disturbance to go upward.
Can we assign it manually?
Regards:
Farrukh Shami
Online Printing -
Iphone 4 randomly freezes - what hardware to swap
Good Afternoon, ive recently started up my own business fixing mobile phones - mostly cracked screens and chassis replacements.
Just recently i thought id got a bargain on ebay regarding an iphone 4.
It was described as working correctly, can make / receive calls and send texts etc but randomly locks up.
Ive got the phone today, unfortunately its locked to the 3 network so ive got a micro sim on the way so I cant actually proceed further at this point. Although it did crash once on me when i tried to select language's etc - had to hold the home and power button down until it turned off.
Ive read on the forums that this is a common fault, and can occur to any iphone - faulty or otherwise. And the main concensus seems to be to take it back to the store for a swap.
My main question is - seeing how im likely to come across this fault again - is the fault software or hardware related?
If its hardware related what circuit board is likely to be the culprit? If we could identify the problem then im sure I could just order the required part on ebay.
The fact that apple havent recalled the iphone and that they will accept these faulty iphone's back and swap for new suggests to me its an easy fix - its just easier for the technicians to go in the store room and get a brand new one.
Secondly ive just got another iphone 4 white - bought cheap as its totally dead. Tried a new battery and still nothing. Got a new dock / charging connector on the way - is it likely to be this at fault? Doesnt seem to be any sign of water damage, and it wasnt described as this on the ebay page.
When id swapped the new battery over i tried to charge the phone ( to see if id fixed it ) and it got extremely hot - so i disconnected right away and left it to cool off.
Whats likely to be the issue with that one?
Thanks, and hope someone can help
AdamApple does not sell parts. There are no legitimate sources for iPhone parts. Apple considers iPhone to NOT be user servicable, and any attempt by anyone other than Apple to open or service an iPhone will void any warranty and forfeit all rights to have the phone serviced by Apple.
Your assumptions that a) the problem you have is widespread, and b) that it is an easy fix are incorrect.
If you want advice of repairing iPhones, try someplace like www.ifixit.com.
What you're doing is not supported or condoned by Apple.
By the way, almost every single case of an exploding iPhone or an iPhone catching fire can be traced to a botched 3rd party repair. -
What's The Deal With Ram?
I just got my MBP with 4g's of RAM after working with a PB 512 RAM.
So here's the deal. I still get the spining wheel often when opening and closing programs; render and export time is similar in FCP and iMovie;
and here's the clincher-when I check Activity Monitor during "RAM Intensive"
functions, it's like 2-3 gigs green.
I'm begining to feel as if RAM is not what it's cracked up to be?
Am I wrong?The best answer/explaination is that it really depends upon what you are doing. A couple of examples and a rule of thumb:
First the OS must have enough RAM to do its job. I'm not sure what the value is but Apple is selling MBPs with 2g of RAM. Lets say that is what is required to allow the OS to function and "typical" programs to run.
When you run a program it needs to be loaded into RAM. If there is free RAM then it will go there. If not then the OS does what is called swapping. It takes parts of programs and code that are not currently needed and moves them to a special disk file and then it loads your program into RAM and it begins running.
This swapping process is usually one of the slowest things Mac OS can do. If it has to happen at some point you generally see it with spinning beachballs and bouncing icons in the dock. Your computer is not dead, it is just working really hard to make space.
If you want to see this happen, open the program Activity Monitor and look at the memory usage and watch it change as you open more and more programs.
Adding RAM makes the need to swap much more rare.
But no matter how much RAM you have, how fast your processor is, all things still must go through the disk system. If you are loading big batches of data then it will take time.
Mark -
How to create swap partition on my mac
Hi All,
I am very new to MAC OS and I have VMWare installed on my MAC upon VMware running window7.
And I am using Macbook Air with 8GB RAM the problem is I am running low RAM space and due to this system gets hugs all times.
Rather than upgrading to new lappy just wanted to enquiry is there a chance to create a swap partition ?
if it possible please let me the know the process to make it.
Advanced Thanx
SrinivasCsound1 wrote:
Your Mac already has a swapfile, what is a swap partition?
Exactly what it sounds like. A reserved section of disk that is used for swap. Normally the fastest part of the disk (or a dedicated disk) is chosen.
The OS already handles expanding & swapping RAM to disk. It's only an issue on spinning disks, do you have an SSD Srinivas_Gadi?
I can't see how a swap partition can be that much faster, ultimately if RAM is still writing back to the same disk it will perform within it's capabilities. All the other disk IO will be slowing the process too.
See some of the old posts too…
"swap" partition -
How to get details on swapped out processes?
I am trying to get the details on some swapped out processes. Currently vmstat is showing 71 processes a swapped out:
vmstat 3 3
kthr memory page disk faults cpu
r b w swap free re mf pi po fr de sr vc vc vc -- in sy cs us sy id
*0 0 6 5598448 512968 155 352 428 40 42 0 22 3 28 1 0 1982 3904 1905 7 14 79*
*0 0 71 5091488 436568 0 4 0 0 0 0 0 0 1 0 0 976 1215 945 0 3 97*
*0 0 71 5099088 440896 2 5 0 0 0 0 0 0 2 0 0 1004 1221 991 1 2 97*
A search of the MOS knowledge base turned up Support Recommended doc 1009494.1 How to use DTrace and mdb to Interpret vmstat Statistics.
The section titled "kthr: Swapped out Threads (w)" includes the following statements and commands:
To see the kernel threads swapped out during the sample period:
$ dtrace -q -n 'fbt::swapout_lwp:entry{ proc = (proc *)arg[0]->t_procp; printf("Lwp: %d of \t Proc: %s being swaped out\n",arg[0]->t_id, proc->p_user.u_comm);}'
The vmstat output doesn't tell what processes are swapped out. Mdb(1) can be used to print swapped out processes:
# echo "::walk thread myvar|::print kthread_t t_schedflag|::grep .==0x8|::eval <myvar=K|::print kthread_t t_procp|::print proc_t p_user.u_comm"|mdb -k
The dtrace command does not pass edit:
*dtrace -q -n 'fbt::swapout_lwp:entry{ proc = (proc *)arg[0]->t_procp; printf("Lwp: %d of \t Proc: %s being swaped out\n",arg[0]->t_id, proc->p_user.u_comm);}'*
*dtrace: invalid probe specifier fbt::swapout_lwp:entry{ proc = (proc *)arg[0]->t_procp; printf("Lwp: %d of \t Proc: %s being swaped out\n",arg[0]->t_id, proc->p_user.u_comm);}: syntax error near ")"*
The mdb command does not return any thing:
*#echo "::walk thread myvar|::print kthread_t t_schedflag|::grep .==0x8|::eval <myvar=K|::print kthread_t t_procp|::print proc_t p_user.u_comm"|mdb -k*
The server is running:
uname -a
SunOS rizzotest 5.10 Generic_142900-11 sun4v sparc SUNW,SPARC-Enterprise-T5220
cat /etc/release
Solaris 10 10/09 s10s_u8wos_08a SPARC
Copyright 2009 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 16 September 2009
Thanks,
GlenGSatellite M505-S4975
There are some utilities that read SMART data from the log.
Comparison of S.M.A.R.T. tools
But, as Peter says, there is no way to tell when such a drive will fail. Best to replace it now.
-Jerry -
Swap constantly grows - but why?
Hello.
I've noticed that my system constantly makes the swapfile bigger but I don't quite understand why…
MacBook-Pro:~ alex$ du -sch /private/var/vm/swapfile*
64M /private/var/vm/swapfile0
64M /private/var/vm/swapfile1
128M /private/var/vm/swapfile2
256M /private/var/vm/swapfile3
512M /private/var/vm/swapfile4
512M /private/var/vm/swapfile5
512M /private/var/vm/swapfile6
512M /private/var/vm/swapfile7
512M /private/var/vm/swapfile8
512M /private/var/vm/swapfile9
3,5G total
If I sum up the amount of the physical memory shown by activity monitor, I end up with about 2.4 GB. I've got 4 GB RAM. Why is any Swap used at all in this case? And even more important: Why does it keep on growing?
!http://i.pgu.me/Vsava6Fi_original.png!
Thanks,
AlexanderBecause between the time you booted your Mac and when you look at /var/vm,
you ran applications that wanted more memory than you have phyical RAM.
And looking at your resident RAM usage is meaningless with respect to swap usage.
There is no easy way to figure out what is in swap.
Virtual memory is filled with empty holes, so that cannot be used
to measure swap usage.
And both virtual and resident RAM may be counting shared library code
so there may be double (or greater) counting of the same physical RAM page.
If you have 3.5GB of swap, it is because you peaked out at needing 3.5GB
of swap.
The more important question is, are you seeing a performance issue due
to swapping?
I like to start a Terminal session and run the following command:
sar -g 60 100
which will show pageout activity once per minute for 100 minutes
(adjust values to suit your tastes).
When you see jumps in pageout activity, you can cross reference
that against what you are currently doing.
Web browsers can be memory intensive depending on what web sites
you visit. Also photo and movie editors are very memory intensive. -
Protocol for swap install of files
When reaching the limit of physical memory, enter /sbin swapon -a.
What protocol exists for the entry of data into swap...lifo...fifo ...?
What data enters swap, already installed or newly installed?lilsirecho wrote:
Interesting, iphitus.
In my actual case, everything in Arch is in memory, Live Larch and that means it is categorized in various locations, opt, etc, var, etc.
What determines the modus operandi for the exodus to swap?
The data entering is one large GB file, contiguous data...video.
not sure how filesystems in ram are dealt with in terms of swap, or even if they are swapped. I suspect that kswapd doesnt discriminate or even know what things are taking up ram, it just swaps pages of ram that havnt been used, from certain zones of memory irrelevant of what they are.
James -
Hello,
I have installed Max DB 7.6.03.16 on AIX 5.3, however when trying to create a database I receive following message:
-24994 Runtime environment error (db_admin -f); 1, Check knldiag! Kernel exited with '0' before reaching ADMIN state (OS error code 11000)
I have reduced the CACHE_SIZE parameter to 800 and still receive the error.
Any suggestions?
Below is the knldiag and the ulimit for the user creating the database.
=============================================
Date Time TID Typ MsgID Label Message-Text
2008-08-27 14:32:49 2 12821 TASKING Thread 2 starting
2008-08-27 14:32:49 1 12600 VERSION 'Kernel 7.6.03 Build 015-123-173-107'
2008-08-27 14:32:49 1 12600 VERSION 'X64/AIX 7.6.03 Build 015-123-173-107'
2008-08-27 14:32:49 1 12769 INFO Starting SERVERDB: 'ARMDEMO'
2008-08-27 14:32:49 1 12770 INFO SERVERNODE: 'cscsvachb1app3'
2008-08-27 14:32:49 1 12773 INFO Date: 2008-08-27
2008-08-27 14:32:49 1 12771 INFO Process ID: 323762
2008-08-27 14:32:49 1 12772 INFO Owner: 'sdb'
2008-08-27 14:32:49 1 12772 INFO Group: 'sdba'
2008-08-27 14:32:49 1 12781 INFO Version: '64BIT Kernel'
2008-08-27 14:32:49 1 12781 INFO Version: 'X64/AIX 7.6.03 Build 015-123-173-107'
2008-08-27 14:32:49 1 12781 INFO Version: 'FAST'
2008-08-27 14:32:49 1 12806 INFO Machine: 'IBM RS 6000 (00CCE0FC4C00)'
2008-08-27 14:32:49 1 12775 INFO Processors: 4
2008-08-27 14:32:49 1 12780 INFO Current directory: '/var/opt/sdb/data/wrk/ARMDEMO'
2008-08-27 14:32:49 1 12780 INFO LIBPATH: '/opt/sdb/7603/lib/lib64:/opt/sdb/7603/sap'
2008-08-27 14:32:49 1 20233 RTE Dump of all kernel parameters start
2008-08-27 14:32:49 1 20206 RTE Using mode NORMAL for data volume 1
2008-08-27 14:32:49 1 20234 RTE ADMIN=1
2008-08-27 14:32:49 1 20234 RTE AKDUMP_ALLOWED=YES
2008-08-27 14:32:49 1 20234 RTE ALLOW_MULTIPLE_SERVERTASK_UKTS=NO
2008-08-27 14:32:49 1 20234 RTE AUTHENTICATION_ALLOW=
2008-08-27 14:32:49 1 20234 RTE AUTHENTICATION_DENY=
2008-08-27 14:32:49 1 20234 RTE AUTOSAVE=1
2008-08-27 14:32:49 1 20234 RTE AUTO_RECREATE_BAD_INDEXES=NO
2008-08-27 14:32:49 1 20234 RTE BACKUPRESULT=1
2008-08-27 14:32:49 1 20234 RTE BACKUP_BLOCK_CNT=64
2008-08-27 14:32:49 1 20234 RTE BACKUPHISTFILE=dbm.knl
2008-08-27 14:32:49 1 20234 RTE BACKUPMED_DEF=dbm.mdf
2008-08-27 14:32:49 1 20234 RTE CACHE_IN_SHARED_MEMORY=NO
2008-08-27 14:32:49 1 20234 RTE CACHE_SIZE=2500
2008-08-27 14:32:49 1 20234 RTE CALLSTACKLEVEL=0
2008-08-27 14:32:49 1 20234 RTE CATCACHE_MINSIZE=262144
2008-08-27 14:32:49 1 20234 RTE CAT_CACHE_SUPPLY=1344
2008-08-27 14:32:49 1 20234 RTE CHECKDATA=1
2008-08-27 14:32:49 1 20234 RTE CHECK_BACKUP=NO
2008-08-27 14:32:49 1 20234 RTE CHECK_COMMON=0
2008-08-27 14:32:49 1 20234 RTE CHECK_CONVERTER=0
2008-08-27 14:32:49 1 20234 RTE CHECK_DATACACHE=NO
2008-08-27 14:32:49 1 20234 RTE CHECK_DATAINDEX=0
2008-08-27 14:32:49 1 20234 RTE CHECK_DATAPAGELOG=0
2008-08-27 14:32:49 1 20234 RTE CHECK_FBM=0
2008-08-27 14:32:49 1 20234 RTE CHECK_HASHED_RESULTSET=0
2008-08-27 14:32:49 1 20234 RTE CHECK_IOMAN=0
2008-08-27 14:32:49 1 20234 RTE CHECK_KB_REGIONS=NO
2008-08-27 14:32:49 1 20234 RTE CHECK_LOCK_SUPPLY=NO
2008-08-27 14:32:49 1 20234 RTE CHECK_LOCK=NO
2008-08-27 14:32:49 1 20234 RTE CHECK_LOGHISTORY=0
2008-08-27 14:32:49 1 20234 RTE CHECK_LOGPAGE=0
2008-08-27 14:32:49 1 20234 RTE CHECK_LOGTRANS=0
2008-08-27 14:32:49 1 20234 RTE CHECK_LOGVOLUME=0
2008-08-27 14:32:49 1 20234 RTE CHECK_QUERYREWRITE=0
2008-08-27 14:32:49 1 20234 RTE CHECK_REGIONS=NO
2008-08-27 14:32:49 1 20234 RTE CHECK_SRVTASKS=0
2008-08-27 14:32:49 1 20234 RTE CHECK_TABLE_WIDTH=NO
2008-08-27 14:32:49 1 20234 RTE CHECK_TASK_SPECIFIC_CATALOGCACHE=NO
2008-08-27 14:32:49 1 20234 RTE CHECK_TRANSLIST=NO
2008-08-27 14:32:49 1 20234 RTE CHECK_TREE_LOCKS=NO
2008-08-27 14:32:49 1 20234 RTE CHECK_TREE=NO
2008-08-27 14:32:49 1 20234 RTE CLUSTERED_LOBS=NO
2008-08-27 14:32:49 1 20234 RTE CLUSTER_WRITE_THRESHOLD=80
2008-08-27 14:32:49 1 20234 RTE COLUMNCOMPRESSION=YES
2008-08-27 14:32:49 1 20234 RTE _COMMENT=
2008-08-27 14:32:49 1 20234 RTE CONTROLPASSWORD=***
2008-08-27 14:32:49 1 20234 RTE CONTROLUSERID=DBM
2008-08-27 14:32:49 1 20234 RTE CONVERTER_REGIONS=8
2008-08-27 14:32:49 1 20234 RTE DATABASEFULL=1
2008-08-27 14:32:49 1 20234 RTE DATACACHE_RGNS=8
2008-08-27 14:32:49 1 20234 RTE DATA_IO_BLOCK_COUNT=64
2008-08-27 14:32:49 1 20234 RTE DATA_VOLUME_GROUPS=1
2008-08-27 14:32:49 1 20234 RTE DATA_VOLUME_MODE_0001=NORMAL
2008-08-27 14:32:49 1 20234 RTE DATA_VOLUME_NAME_0001=/dev/dat_001
2008-08-27 14:32:49 1 20234 RTE DATA_VOLUME_SIZE_0001=100000
2008-08-27 14:32:49 1 20234 RTE DATA_VOLUME_TYPE_0001=R
2008-08-27 14:32:49 1 20234 RTE DATE_TIME_FORMAT=INTERNAL
2008-08-27 14:32:49 1 20234 RTE DBFILLINGABOVELIMIT=70L80M85M90H95H96H97H98H99H
2008-08-27 14:32:49 1 20234 RTE DBFILLINGBELOWLIMIT=70L80L85L90L95L
2008-08-27 14:32:49 1 20234 RTE DDLTRIGGER=YES
2008-08-27 14:32:49 1 20234 RTE DEADLOCK_DETECTION=4
2008-08-27 14:32:49 1 20234 RTE DEFAULT_CODE=ASCII
2008-08-27 14:32:49 1 20234 RTE DELAYCOMMIT=NO
2008-08-27 14:32:49 1 20234 RTE DELAYLOGWRITER=0
2008-08-27 14:32:49 1 20234 RTE DIAG_HISTORY_NUM=2
2008-08-27 14:32:49 1 20234 RTE DIAG_HISTORY_PATH=/var/opt/sdb/data/wrk/ARMDEMO/DIAGHISTORY
2008-08-27 14:32:49 1 20234 RTE DIAGSEM=0
2008-08-27 14:32:49 1 20234 RTE DWIO_AREA_FLUSH=50
2008-08-27 14:32:49 1 20234 RTE DWIO_AREA_SIZE=50
2008-08-27 14:32:49 1 20234 RTE DWLRU_TAIL_FLUSH=25
2008-08-27 14:32:49 1 20234 RTE DYNTASK_STACK=NO
2008-08-27 14:32:49 1 20234 RTE ENABLE_CHECK_INSTANCE=YES
2008-08-27 14:32:49 1 20234 RTE ENABLE_SYSTEM_TRIGGERS=YES
2008-08-27 14:32:49 1 20234 RTE ERROR=3
2008-08-27 14:32:49 1 20234 RTE _EVENTFILE=knldiag.evt
2008-08-27 14:32:49 1 20234 RTE _EVENTSIZE=0
2008-08-27 14:32:49 1 20234 RTE EVENT=1
2008-08-27 14:32:49 1 20234 RTE EXPAND_COM_TRACE=NO
2008-08-27 14:32:49 1 20234 RTE EXTERNAL_DUMP_REQUEST=NO
2008-08-27 14:32:49 1 20234 RTE FBMLOW_IO_RATE=10
2008-08-27 14:32:49 1 20234 RTE FBM_VOLUME_BALANCE=10
2008-08-27 14:32:49 1 20234 RTE FBM_VOLUME_COMPRESSION=50
2008-08-27 14:32:49 1 20234 RTE FILEDIR_SPINLOCKPOOL_SIZE=10
2008-08-27 14:32:49 1 20234 RTE FORBID_LOAD_BALANCING=YES
2008-08-27 14:32:49 1 20234 RTE FORMATTING_MODE=PARALLEL
2008-08-27 14:32:49 1 20234 RTE FORMAT_DATAVOLUME=YES
2008-08-27 14:32:49 1 20234 RTE HASHED_RESULTSET_CACHESIZE=262144
2008-08-27 14:32:49 1 20234 RTE HASHED_RESULTSET=YES
2008-08-27 14:32:49 1 20234 RTE HEAP_CHECK_LEVEL=0
2008-08-27 14:32:49 1 20234 RTE HS_STORAGE_DLL=libhsscopy
2008-08-27 14:32:49 1 20234 RTE HS_SYNC_INTERVAL=50
2008-08-27 14:32:49 1 20234 RTE IDXFILELIST_SIZE=0
2008-08-27 14:32:49 1 20234 RTE INDEX_LEAF_CACHING=2
2008-08-27 14:32:49 1 20234 RTE INIT_ALLOCATORSIZE=262144
2008-08-27 14:32:49 1 20234 RTE INSTANCE_TYPE=OLTP
2008-08-27 14:32:49 1 20234 RTE IOPROCSFOR_PRIO=0
2008-08-27 14:32:49 1 20234 RTE IOPROCSFOR_READER=0
2008-08-27 14:32:49 1 20234 RTE IOPROCSPER_DEV=2
2008-08-27 14:32:49 1 20234 RTE IOPROCSSWITCH=2
2008-08-27 14:32:49 1 20234 RTE JOIN_MAXTAB_LEVEL4=16
2008-08-27 14:32:49 1 20234 RTE JOIN_MAXTAB_LEVEL9=5
2008-08-27 14:32:49 1 20234 RTE JOIN_SEARCH_LEVEL=0
2008-08-27 14:32:49 1 20234 RTE JOIN_TABLEBUFFER=128
2008-08-27 14:32:49 1 20234 RTE _KERNELDIAGFILE=knldiag
2008-08-27 14:32:49 1 20234 RTE KERNELDIAGSIZE=800
2008-08-27 14:32:49 1 20234 RTE _KERNELDUMPFILE=knldump
2008-08-27 14:32:49 1 20234 RTE _KERNELTRACEFILE=knltrace
2008-08-27 14:32:49 1 20234 RTE KERNELTRACESIZE=1099
2008-08-27 14:32:49 1 20234 RTE KERNELVERSION=KERNEL 7.6.03 BUILD 015-123-173-107
2008-08-27 14:32:49 1 20234 RTE LOAD_BALANCING_CHK=0
2008-08-27 14:32:49 1 20234 RTE LOAD_BALANCING_DIF=10
2008-08-27 14:32:49 1 20234 RTE LOAD_BALANCING_EQ=5
2008-08-27 14:32:49 1 20234 RTE LOCAL_REDO_LOG_BUFFER_SIZE=0
2008-08-27 14:32:49 1 20234 RTE LOCKSUPPLY_BLOCK=100
2008-08-27 14:32:49 1 20234 RTE LOGABOVELIMIT=50L75L90M95M96H97H98H99H
2008-08-27 14:32:49 1 20234 RTE LOGFULL=1
2008-08-27 14:32:49 1 20234 RTE LOGSEGMENTFULL=1
2008-08-27 14:32:49 1 20234 RTE LOG_BACKUP_TO_PIPE=NO
2008-08-27 14:32:49 1 20234 RTE LOG_IO_BLOCK_COUNT=8
2008-08-27 14:32:49 1 20234 RTE LOG_IO_QUEUE=50
2008-08-27 14:32:49 1 20234 RTE LOG_MIRRORED=NO
2008-08-27 14:32:49 1 20234 RTE LOG_QUEUE_COUNT=1
2008-08-27 14:32:49 1 20234 RTE LOG_SEGMENT_SIZE=2133
2008-08-27 14:32:49 1 20234 RTE LOG_VOLUME_NAME_001=/dev/log_001
2008-08-27 14:32:49 1 20234 RTE LOG_VOLUME_SIZE_001=8000
2008-08-27 14:32:49 1 20234 RTE LOG_VOLUME_TYPE_001=R
2008-08-27 14:32:49 1 20234 RTE LRU_FOR_SCAN=NO
2008-08-27 14:32:49 1 20234 RTE MAXBACKUPDEVS=2
2008-08-27 14:32:49 1 20234 RTE MAXCPU=1
2008-08-27 14:32:49 1 20234 RTE MAXDATAVOLUMES=64
2008-08-27 14:32:49 1 20234 RTE _MAXEVENTS=100
2008-08-27 14:32:49 1 20234 RTE _MAXEVENTTASKS=2
2008-08-27 14:32:49 1 20234 RTE MAXGARBAGECOLL=1
2008-08-27 14:32:49 1 20234 RTE MAXLOCKS=2500
2008-08-27 14:32:49 1 20234 RTE MAXLOGVOLUMES=2
2008-08-27 14:32:49 1 20234 RTE MAXPAGER=64
2008-08-27 14:32:49 1 20234 RTE MAXRGN_REQUEST=-1
2008-08-27 14:32:49 1 20234 RTE MAXSERVERTASKS=134
2008-08-27 14:32:49 1 20234 RTE MAXTASKSTACK=1024
2008-08-27 14:32:49 1 20234 RTE _MAXTRANS=168
2008-08-27 14:32:49 1 20234 RTE MAXUSERTASKS=20
2008-08-27 14:32:49 1 20234 RTE MAXVOLUMES=67
2008-08-27 14:32:49 1 20234 RTE MAX_HASHTABLE_MEMORY=5120
2008-08-27 14:32:49 1 20234 RTE MAX_LOG_QUEUE_COUNT=0
2008-08-27 14:32:49 1 20234 RTE MAXMESSAGE_FILES=0
2008-08-27 14:32:49 1 20234 RTE MAX_MESSAGE_LIST_LENGTH=100
2008-08-27 14:32:49 1 20234 RTE MAX_RETENTION_TIME=480
2008-08-27 14:32:49 1 20234 RTE MAX_SERVERTASK_STACK=500
2008-08-27 14:32:49 1 20234 RTE MAX_SINGLE_HASHTABLE_SIZE=512
2008-08-27 14:32:49 1 20234 RTE MAX_SPECIALTASK_STACK=500
2008-08-27 14:32:49 1 20234 RTE MBLOCKDATA_SIZE=32768
2008-08-27 14:32:49 1 20234 RTE MBLOCKQUAL_SIZE=32768
2008-08-27 14:32:49 1 20234 RTE MBLOCKSTACK_SIZE=32768
2008-08-27 14:32:49 1 20234 RTE MBLOCKSTRAT_SIZE=16384
2008-08-27 14:32:49 1 20234 RTE MCOD=NO
2008-08-27 14:32:49 1 20234 RTE MEMORY_ALLOCATION_LIMIT=0
2008-08-27 14:32:49 1 20234 RTE MINREPLYSIZE=4096
2008-08-27 14:32:49 1 20234 RTE MINSERVERTASKS=134
2008-08-27 14:32:49 1 20234 RTE MIN_RETENTION_TIME=60
2008-08-27 14:32:49 1 20234 RTE MONITOR_READ=2147483647
2008-08-27 14:32:49 1 20234 RTE MONITOR_ROWNO=0
2008-08-27 14:32:49 1 20234 RTE MONITOR_SELECTIVITY=0
2008-08-27 14:32:49 1 20234 RTE MONITOR_TIME=2147483647
2008-08-27 14:32:49 1 20234 RTE MPDISP_LOOPS=2
2008-08-27 14:32:49 1 20234 RTE MPDISP_PRIO=DEFAULT
2008-08-27 14:32:49 1 20234 RTE MPRGN_BUSY_WAIT=DEFAULT
2008-08-27 14:32:49 1 20234 RTE MPRGN_DIRTY_READ=DEFAULT
2008-08-27 14:32:49 1 20234 RTE MP_RGN_LOOP=-1
2008-08-27 14:32:49 1 20234 RTE MPRGN_PRIO=DEFAULT
2008-08-27 14:32:49 1 20234 RTE MPRGN_QUEUE=YES
2008-08-27 14:32:49 1 20234 RTE NO_SYNC_TO_DISK_WANTED=NO
2008-08-27 14:32:49 1 20234 RTE OFFICIAL_NODE=
2008-08-27 14:32:49 1 20234 RTE OMS_HEAP_BLOCKSIZE=10000
2008-08-27 14:32:49 1 20234 RTE OMS_HEAP_COUNT=1
2008-08-27 14:32:49 1 20234 RTE OMS_HEAP_LIMIT=0
2008-08-27 14:32:49 1 20234 RTE OMS_HEAP_THRESHOLD=100
2008-08-27 14:32:49 1 20234 RTE OMSREGIONS=0
2008-08-27 14:32:49 1 20234 RTE OMSRGNS=7
2008-08-27 14:32:49 1 20234 RTE OMS_RUN_IN_UDE_SERVER=NO
2008-08-27 14:32:49 1 20234 RTE OMS_STREAM_TIMEOUT=30
2008-08-27 14:32:49 1 20234 RTE OMS_VERS_THRESHOLD=2097152
2008-08-27 14:32:49 1 20234 RTE ONLINE=1
2008-08-27 14:32:49 1 20234 RTE OPMSG1=/dev/console
2008-08-27 14:32:49 1 20234 RTE OPMSG2=/dev/null
2008-08-27 14:32:49 1 20234 RTE OPTIMIZE_AGGREGATION=YES
2008-08-27 14:32:49 1 20234 RTE OPTIMIZE_FETCH_REVERSE=YES
2008-08-27 14:32:49 1 20234 RTE OPTIMIZE_FIRST_ROWS=YES
2008-08-27 14:32:49 1 20234 RTE OPTIMIZE_JOIN_HASHTABLE=YES
2008-08-27 14:32:49 1 20234 RTE OPTIMIZE_JOIN_HASH_MINIMAL_RATIO=1
2008-08-27 14:32:49 1 20234 RTE OPTIMIZE_JOIN_ONEPHASE=YES
2008-08-27 14:32:49 1 20234 RTE OPTIMIZE_JOIN_OPERATOR_SORT=YES
2008-08-27 14:32:49 1 20234 RTE OPTIMIZE_JOIN_OUTER=YES
2008-08-27 14:32:49 1 20234 RTE OPTIMIZE_JOIN_PARALLEL_MINSIZE=1000000
2008-08-27 14:32:49 1 20234 RTE OPTIMIZE_JOIN_PARALLEL_SERVERS=0
2008-08-27 14:32:49 1 20234 RTE OPTIMIZE_MIN_MAX=YES
2008-08-27 14:32:49 1 20234 RTE OPTIMIZE_OPERATOR_JOIN_COSTFUNC=YES
2008-08-27 14:32:49 1 20234 RTE OPTIMIZE_OPERATOR_JOIN=YES
2008-08-27 14:32:49 1 20234 RTE OPTIMIZE_QUAL_ON_INDEX=YES
2008-08-27 14:32:49 1 20234 RTE OPTIMIZE_QUERYREWRITE=OPERATOR
2008-08-27 14:32:49 1 20234 RTE OPTIMIZE_STAR_JOIN=YES
2008-08-27 14:32:49 1 20234 RTE OPTIM_CACHE=NO
2008-08-27 14:32:49 1 20234 RTE OPTIM_INV_ONLY=YES
2008-08-27 14:32:49 1 20234 RTE OPTIM_JOIN_FETCH=0
2008-08-27 14:32:49 1 20234 RTE OPTIM_MAX_MERGE=500
2008-08-27 14:32:49 1 20234 RTE OUTOFSESSIONS=3
2008-08-27 14:32:49 1 20234 RTE PACKETSIZE=131072
2008-08-27 14:32:49 1 20234 RTE PAGESIZE=8192
2008-08-27 14:32:49 1 20234 RTE PREALLOCATE_IOWORKER=NO
2008-08-27 14:32:49 1 20234 RTE PRIOBASE_COM=10
2008-08-27 14:32:49 1 20234 RTE PRIOBASE_IOC=80
2008-08-27 14:32:49 1 20234 RTE PRIOBASE_RAV=80
2008-08-27 14:32:49 1 20234 RTE PRIOBASE_REX=40
2008-08-27 14:32:49 1 20234 RTE PRIOBASE_U2U=100
2008-08-27 14:32:49 1 20234 RTE PRIOFACTOR=80
2008-08-27 14:32:49 1 20234 RTE PROTECT_DATACACHE_MEMORY=NO
2008-08-27 14:32:49 1 20234 RTE READAHEADBLOBS=32
2008-08-27 14:32:49 1 20234 RTE REQUEST_TIMEOUT=5000
2008-08-27 14:32:49 1 20234 RTE RESERVEDSERVERTASKS=69
2008-08-27 14:32:49 1 20234 RTE RESTARTTIME=600
2008-08-27 14:32:49 1 20234 RTE ROW_LOCKS_PER_TRANSACTION=50
2008-08-27 14:32:49 1 20234 RTE ROWRGNS=8
2008-08-27 14:32:49 1 20234 RTE _RTEDUMPFILE=rtedump
2008-08-27 14:32:49 1 20234 RTE RTE_TEST_REGIONS=0
2008-08-27 14:32:49 1 20234 RTE RUNDIRECTORY=/var/opt/sdb/data/wrk/ARMDEMO
2008-08-27 14:32:49 1 20234 RTE SEQUENCE_CACHE=1
2008-08-27 14:32:49 1 20234 RTE SERVERDBFOR_SAP=YES
2008-08-27 14:32:49 1 20234 RTE SESSION_TIMEOUT=900
2008-08-27 14:32:49 1 20234 RTE SET_VOLUME_LOCK=YES
2008-08-27 14:32:49 1 20234 RTE SHAREDSQL_CLEANUPTHRESHOLD=25
2008-08-27 14:32:49 1 20234 RTE SHAREDSQL_COMMANDCACHESIZE=262144
2008-08-27 14:32:49 1 20234 RTE SHAREDSQL=YES
2008-08-27 14:32:49 1 20234 RTE _SHMKERNEL=10001
2008-08-27 14:32:49 1 20234 RTE SHOW_MAX_KB_STACK_USE=NO
2008-08-27 14:32:49 1 20234 RTE SHOW_MAX_STACK_USE=NO
2008-08-27 14:32:49 1 20234 RTE SIMULATE_VECTORIO=NEVER
2008-08-27 14:32:49 1 20234 RTE SPINLOCK_BACKOFF_BASE=1
2008-08-27 14:32:49 1 20234 RTE SPINLOCK_BACKOFF_FACTOR=2
2008-08-27 14:32:49 1 20234 RTE SPINLOCK_BACKOFF_MAXIMUM=64
2008-08-27 14:32:49 1 20234 RTE SPINLOCK_LOOP_COUNT=30000
2008-08-27 14:32:49 1 20234 RTE STANDBY=1
2008-08-27 14:32:49 1 20234 RTE SUBTREE_LOCKS=NO
2008-08-27 14:32:49 1 20234 RTE SUPPRESS_CORE=YES
2008-08-27 14:32:49 1 20234 RTE SYMBOL_DEMANGLING=NO
2008-08-27 14:32:49 1 20234 RTE SYMBOL_RESOLUTION=YES
2008-08-27 14:32:49 1 20234 RTE SYSTEMERROR=3
2008-08-27 14:32:49 1 20234 RTE TABRGNS=8
2008-08-27 14:32:49 1 20234 RTE TASKCLUSTER01=tw;al;ut;2000sv,100bup;10ev,10gc;
2008-08-27 14:32:49 1 20234 RTE TASKCLUSTER02=ti,100dw;30000us;
2008-08-27 14:32:49 1 20234 RTE TASKCLUSTER03=compress
2008-08-27 14:32:49 1 20234 RTE TIME_MEASUREMENT=NO
2008-08-27 14:32:49 1 20234 RTE TRACE_AK=NO
2008-08-27 14:32:49 1 20234 RTE TRACE_ALLOCATOR=0
2008-08-27 14:32:49 1 20234 RTE TRACE_CATALOG=0
2008-08-27 14:32:49 1 20234 RTE TRACE_CLIENTKERNELCOM=0
2008-08-27 14:32:49 1 20234 RTE TRACE_COMMON=0
2008-08-27 14:32:49 1 20234 RTE TRACE_COMMUNICATION=0
2008-08-27 14:32:49 1 20234 RTE TRACE_CONVERTER=0
2008-08-27 14:32:49 1 20234 RTE TRACE_DATACACHE=0
2008-08-27 14:32:49 1 20234 RTE TRACE_DATACHAIN=0
2008-08-27 14:32:49 1 20234 RTE TRACE_DATAINDEX=0
2008-08-27 14:32:49 1 20234 RTE TRACE_DATAPAM=0
2008-08-27 14:32:49 1 20234 RTE TRACE_DATATREE=0
2008-08-27 14:32:49 1 20234 RTE TRACE_DBPROC=0
2008-08-27 14:32:49 1 20234 RTE TRACE_DEFAULT=NO
2008-08-27 14:32:49 1 20234 RTE TRACE_DELETE=NO
2008-08-27 14:32:49 1 20234 RTE TRACE_FBM=0
2008-08-27 14:32:49 1 20234 RTE TRACE_FILEDIR=0
2008-08-27 14:32:49 1 20234 RTE TRACE_FRAMECTRL=0
2008-08-27 14:32:49 1 20234 RTE TRACE_INDEX=NO
2008-08-27 14:32:49 1 20234 RTE TRACE_INSERT=NO
2008-08-27 14:32:49 1 20234 RTE TRACE_IOMAN=0
2008-08-27 14:32:49 1 20234 RTE TRACE_IPC=0
2008-08-27 14:32:49 1 20234 RTE TRACE_JOIN=0
2008-08-27 14:32:49 1 20234 RTE TRACE_KSQL=0
2008-08-27 14:32:49 1 20234 RTE TRACE_LOCK=NO
2008-08-27 14:32:49 1 20234 RTE TRACE_LOGACTION=0
2008-08-27 14:32:49 1 20234 RTE TRACE_LOGHISTORY=0
2008-08-27 14:32:49 1 20234 RTE TRACE_LOGPAGE=0
2008-08-27 14:32:49 1 20234 RTE TRACE_LOGTRANS=0
2008-08-27 14:32:49 1 20234 RTE TRACE_LOGVOLUME=0
2008-08-27 14:32:49 1 20234 RTE TRACE_LONG=NO
2008-08-27 14:32:49 1 20234 RTE TRACE_MEMORY=0
2008-08-27 14:32:49 1 20234 RTE TRACE_MESSAGES=0
2008-08-27 14:32:49 1 20234 RTE TRACE_OBJECTCONTAINER=0
2008-08-27 14:32:49 1 20234 RTE TRACE_OBJECT_ADD=NO
2008-08-27 14:32:49 1 20234 RTE TRACE_OBJECT_ALTER=NO
2008-08-27 14:32:49 1 20234 RTE TRACE_OBJECT_FREE=NO
2008-08-27 14:32:49 1 20234 RTE TRACE_OBJECT_GET=NO
2008-08-27 14:32:49 1 20234 RTE TRACE_OBJECT=NO
2008-08-27 14:32:49 1 20234 RTE TRACE_OMS_CONTAINERDIR=0
2008-08-27 14:32:49 1 20234 RTE TRACE_OMS_CONTEXT=0
2008-08-27 14:32:49 1 20234 RTE TRACE_OMS_ERROR=0
2008-08-27 14:32:49 1 20234 RTE TRACE_OMS_FLUSHCACHE=0
2008-08-27 14:32:49 1 20234 RTE TRACE_OMS_INTERFACE=0
2008-08-27 14:32:49 1 20234 RTE TRACE_OMS_KEYRANGE=0
2008-08-27 14:32:49 1 20234 RTE TRACE_OMS_KEY=0
2008-08-27 14:32:49 1 20234 RTE TRACE_OMS_LOCK=0
2008-08-27 14:32:49 1 20234 RTE TRACE_OMS_MEMORY=0
2008-08-27 14:32:49 1 20234 RTE TRACE_OMS_NEWOBJ=0
2008-08-27 14:32:49 1 20234 RTE TRACE_OMS_SESSION=0
2008-08-27 14:32:49 1 20234 RTE TRACE_OMS_STREAM=0
2008-08-27 14:32:49 1 20234 RTE TRACE_OMS_VAROBJECT=0
2008-08-27 14:32:49 1 20234 RTE TRACE_OMS_VERSION=0
2008-08-27 14:32:49 1 20234 RTE TRACE_OPTIMIZE=NO
2008-08-27 14:32:49 1 20234 RTE TRACE_ORDER_STANDARD=NO
2008-08-27 14:32:49 1 20234 RTE TRACE_ORDER=NO
2008-08-27 14:32:49 1 20234 RTE TRACE_PAGER=0
2008-08-27 14:32:49 1 20234 RTE TRACE_PAGES_BUP=0
2008-08-27 14:32:49 1 20234 RTE TRACE_PAGES_EV=2
2008-08-27 14:32:49 1 20234 RTE TRACE_PAGES_GC=20
2008-08-27 14:32:49 1 20234 RTE TRACE_PAGES_LW=5
2008-08-27 14:32:49 1 20234 RTE TRACE_PAGES_PG=3
2008-08-27 14:32:49 1 20234 RTE TRACE_PAGES_SV=5
2008-08-27 14:32:49 1 20234 RTE TRACE_PAGES_TI=2
2008-08-27 14:32:49 1 20234 RTE TRACE_PAGES_US=10
2008-08-27 14:32:49 1 20234 RTE TRACE_PAGES_UT=5
2008-08-27 14:32:49 1 20234 RTE TRACE_PAGES=NO
2008-08-27 14:32:49 1 20234 RTE TRACE_PRIMARY_TREE=NO
2008-08-27 14:32:49 1 20234 RTE TRACE_QUERYREWRITE=0
2008-08-27 14:32:49 1 20234 RTE TRACE_RUNTIME=0
2008-08-27 14:32:49 1 20234 RTE TRACE_SELECT=NO
2008-08-27 14:32:49 1 20234 RTE TRACE_SHAREDSQL=0
2008-08-27 14:32:49 1 20234 RTE TRACE_SQLMANAGER=0
2008-08-27 14:32:49 1 20234 RTE TRACE_SRVTASKS=0
2008-08-27 14:32:49 1 20234 RTE TRACE_STOP_ERRORCODE=0
2008-08-27 14:32:49 1 20234 RTE TRACE_SYNCHRONISATION=0
2008-08-27 14:32:49 1 20234 RTE TRACE_SYSVIEW=0
2008-08-27 14:32:49 1 20234 RTE TRACE_TABLE=0
2008-08-27 14:32:49 1 20234 RTE TRACE_TIME=NO
2008-08-27 14:32:49 1 20234 RTE TRACE_UPDATE=NO
2008-08-27 14:32:49 1 20234 RTE TRACE_VOLUME=0
2008-08-27 14:32:49 1 20234 RTE TRANS_HISTORY_SIZE=0
2008-08-27 14:32:49 1 20234 RTE TRANSRGNS=8
2008-08-27 14:32:49 1 20234 RTE TRANS_THRESHOLD_VALUE=60
2008-08-27 14:32:49 1 20234 RTE _UNICODE=YES
2008-08-27 14:32:49 1 20234 RTE UPDATESTAT_PARALLEL_SERVERS=0
2008-08-27 14:32:49 1 20234 RTE UPDATESTAT_SAMPLE_ALGO=1
2008-08-27 14:32:49 1 20234 RTE UPDSTATWANTED=1
2008-08-27 14:32:49 1 20234 RTE USED_MAX_LOG_QUEUE_COUNT=1
2008-08-27 14:32:49 1 20234 RTE USESELECTFETCH=YES
2008-08-27 14:32:49 1 20234 RTE USEUNICODECOLUMNCOMPRESSION=NO
2008-08-27 14:32:49 1 20234 RTE USEVARIABLEINPUT=NO
2008-08-27 14:32:49 1 20234 RTE USE_COROUTINES=YES
2008-08-27 14:32:49 1 20234 RTE USEIOPROCS_ONLY=NO
2008-08-27 14:32:49 1 20234 RTE USE_OPEN_DIRECT_FOR_BACKUP=NO
2008-08-27 14:32:49 1 20234 RTE USE_OPEN_DIRECT=NO
2008-08-27 14:32:49 1 20234 RTE USE_SYSTEM_PAGE_CACHE=YES
2008-08-27 14:32:49 1 20234 RTE UTILITYPROTFILE=dbm.utl
2008-08-27 14:32:49 1 20234 RTE UTILITY_PROTSIZE=100
2008-08-27 14:32:49 1 20234 RTE VOLUMENO_BIT_COUNT=8
2008-08-27 14:32:49 1 20234 RTE WORKDATASIZE=8192
2008-08-27 14:32:49 1 20234 RTE WORKSTACKSIZE=8192
2008-08-27 14:32:49 1 20234 RTE XP_CONVERTER_REGIONS=0
2008-08-27 14:32:49 1 20234 RTE XP_DATA_CACHE_RGNS=0
2008-08-27 14:32:49 1 20234 RTE XP_MAXPAGER=0
2008-08-27 14:32:49 1 20235 RTE Dump of all kernel parameters done
2008-08-27 14:32:50 1 12770 INFO SERVERNODE: 'cscsvachb1app3'
2008-08-27 14:32:50 1 12932 INFO maximum cpu time: unlimited
2008-08-27 14:32:50 1 12891 INFO maximum core size: 1023 MB
2008-08-27 14:32:50 1 12892 INFO maximum number of open files: 2000
2008-08-27 14:32:50 1 12934 INFO maximum file size: 1023 MB
2008-08-27 14:32:50 1 12895 INFO maximum number of threads: 32767
2008-08-27 14:32:50 1 12935 INFO maximum stack size: 32 MB
2008-08-27 14:32:50 1 12893 INFO maximum virtual memory size: unlimited
2008-08-27 14:32:50 1 12937 INFO resident set size size: 32 MB
2008-08-27 14:32:50 1 12894 INFO maximum heap size: 128 MB
2008-08-27 14:32:50 1 12898 ENVIRON Environment dump start
2008-08-27 14:32:50 1 12898 ENVIRON AUTHSTATE=compat
2008-08-27 14:32:50 1 12898 ENVIRON A__z=! LOGNAME
2008-08-27 14:32:50 1 12898 ENVIRON DBROOT=/opt/sdb/7603
2008-08-27 14:32:50 1 12898 ENVIRON EXTSHM=OFF
2008-08-27 14:32:50 1 12898 ENVIRON G_BROKEN_FILENAMES=1
2008-08-27 14:32:50 1 12898 ENVIRON HOME=/root
2008-08-27 14:32:50 1 12898 ENVIRON LANG=en_US
2008-08-27 14:32:50 1 12898 ENVIRON LC__FASTMSG=true
2008-08-27 14:32:50 1 12898 ENVIRON LIBPATH=/opt/sdb/7603/lib/lib64:/opt/sdb/7603/sap
2008-08-27 14:32:50 1 12898 ENVIRON LOCPATH=/usr/lib/nls/loc
2008-08-27 14:32:50 1 12898 ENVIRON LOGIN=root
2008-08-27 14:32:50 1 12898 ENVIRON LOGNAME=root
2008-08-27 14:32:50 1 12898 ENVIRON MAIL=/usr/spool/mail/root
2008-08-27 14:32:50 1 12898 ENVIRON MAILMSG=[YOU HAVE NEW MAIL]
2008-08-27 14:32:50 1 12898 ENVIRON ODMDIR=/etc/objrepos
2008-08-27 14:32:50 1 12898 ENVIRON PATH=/opt/sdb/7603/bin:/opt/sdb/programs/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java14/jre/b
2008-08-27 14:32:50 1 12898 ENVIRON in:/usr/java14/bin
2008-08-27 14:32:50 1 12898 ENVIRON PWD=/opt/sdb/programs/bin
2008-08-27 14:32:50 1 12898 ENVIRON SERVERDB=ARMDEMO
2008-08-27 14:32:50 1 12898 ENVIRON SHELL=/bin/ksh93
2008-08-27 14:32:50 1 12898 ENVIRON SSH_CLIENT=20.7.220.218 1835 22
2008-08-27 14:32:50 1 12898 ENVIRON SSH_CONNECTION=20.7.220.218 1835 20.7.220.21 22
2008-08-27 14:32:50 1 12898 ENVIRON SSH_TTY=/dev/pts/0
2008-08-27 14:32:50 1 12898 ENVIRON TERM=xterm
2008-08-27 14:32:50 1 12898 ENVIRON TZ=CST6CDT
2008-08-27 14:32:50 1 12898 ENVIRON USER=root
2008-08-27 14:32:50 1 12898 ENVIRON VISUAL=/usr/bin/vi
2008-08-27 14:32:50 1 12898 ENVIRON =./xserver
2008-08-27 14:32:50 1 12898 ENVIRON Environment dump completed
2008-08-27 14:32:50 1 12883 DBSTATE Core dump suppressed
2008-08-27 14:32:50 1 20219 RTE Memory allocation not limited
2008-08-27 14:32:50 1 20220 RTE System page cache usage enabled
2008-08-27 14:32:50 1 12927 TASKING Using coroutines for tasks
2008-08-27 14:32:50 1 12927 TASKING Using ucontext_t for coroutine context
2008-08-27 14:32:50 1 12692 TCLUSTER tw;al;ut;2000sv,100bup;10ev,10gc;ti,100dw;30000us;compress
2008-08-27 14:32:50 1 12693 TCLUSTER number of 'BUP': 0
2008-08-27 14:32:50 1 12693 TCLUSTER number of ' DW': 64
2008-08-27 14:32:50 1 12693 TCLUSTER number of ' US': 20
2008-08-27 14:32:50 1 12693 TCLUSTER number of ' SV': 134
2008-08-27 14:32:50 1 12693 TCLUSTER number of ' EV': 2
2008-08-27 14:32:50 1 12693 TCLUSTER number of ' GC': 1
2008-08-27 14:32:50 1 12692 TCLUSTER Total Number of UKT 7
2008-08-27 14:32:50 1 12692 TCLUSTER Number of UKT with User Tasks 1
2008-08-27 14:32:50 1 12698 IPC Common RTE specific IPC key: 0x44000000
2008-08-27 14:32:50 1 11536 init_shm attached shared section at 0x700000000000000
2008-08-27 14:32:50 1 11537 init_shm shared section ends at 0x700000010000000
2008-08-27 14:32:52 1 11520 PIPE_IO Input check for pipe with fstat supported
2008-08-27 14:32:52 1 11522 PIPE_IO Input check for pipe with poll supported
2008-08-27 14:32:52 1 11000 INITIAL Verified that open of needed 695 file descriptors is possible
2008-08-27 14:32:53 3 12821 TASKING Thread 3 starting
2008-08-27 14:32:53 1 12767 CLOCK started
2008-08-27 14:32:53 4 12821 TASKING Thread 4 starting
2008-08-27 14:32:53 1 12769 INFO Starting SERVERDB: '+++++++++++++++++++++++++++++++++++++++++++++++++'
2008-08-27 14:32:53 1 12769 INFO Starting SERVERDB: '+++++++++++++++++++ Kernel Forked +++++++++++++++'
2008-08-27 14:32:53 1 12769 INFO Starting SERVERDB: 'ARMDEMO'
2008-08-27 14:32:53 1 12771 INFO Process ID: 385100
2008-08-27 14:32:53 1 12769 INFO Starting SERVERDB: '+++++++++++++++++++++++++++++++++++++++++++++++++'
2008-08-27 14:32:53 1 12811 EVENTING Suppressing output to 'knldiag.evt' 0 pages
2008-08-27 14:32:53 1 12812 EVENTING Eventbuffer 2 events 100 tasks
2008-08-27 14:32:53 5 12821 TASKING Thread 5 starting
2008-08-27 14:32:53 1 12885 MEMORY 2500 Pages allocated for I/O buffer cache
2008-08-27 14:32:53 1 12886 TASKING Maximum task stack size 1024KB
2008-08-27 14:32:53 1 12886 TASKING Task stack at system choosen address
2008-08-27 14:32:53 1 ERR 8 RTEMem No more system pages for 236855296 bytes available,BYTE_SIZE=4096,DESCRIPTION=valloc,ERRORTEXT=ENOMEM ? out of memo
2008-08-27 14:32:53 1 ERR 8 RTEMem ry
2008-08-27 14:32:53 1 ERR 11 RTEMem + Used 24141824 bytes from system heap with a limit of system imposed limitation bytes,ALLOC_COUNT=15,FREE_COUNT
2008-08-27 14:32:53 1 ERR 11 RTEMem + =0,ERROR_COUNT=0,BYTES_MAX_USED=260997120
2008-08-27 14:32:53 1 12886 TASKING Allocating task stack chunk for 225 tasks
2008-08-27 14:32:53 1 12886 TASKING Maximum single aligned task stack size 1024KB
2008-08-27 14:32:53 1 12886 TASKING Size of single task guard area 4KB
2008-08-27 14:32:53 1 ERR 11903 MEMORY FATAL: Allocate of task stack chunk failed
2008-08-27 14:32:53 1 ERR 11903 MEMORY Reduce number of tasks or task stack size to solve this problem
2008-08-27 14:32:53 1 ERR 11196 DBCRASH vabort:Emergency Shutdown, RTE_Crash.cpp: 127
2008-08-27 14:32:53 1 ERR 11599 BTRACE -
> Emergency Stack Back Trace <----
2008-08-27 14:32:53 1 ERR 11599 BTRACE (0):0x1001cbc2c [0xfffffffffffef90]
2008-08-27 14:32:53 1 ERR 11599 BTRACE (1):0x1001c8f24 [0xffffffffffff020]
2008-08-27 14:32:53 1 ERR 11599 BTRACE (2):0x10010ef9c [0xffffffffffff0b0]
2008-08-27 14:32:53 1 ERR 11599 BTRACE (3):0x10007bc30 [0xffffffffffff140]
2008-08-27 14:32:53 1 ERR 11599 BTRACE (4):0x10007cf20 [0xffffffffffff260]
2008-08-27 14:32:53 1 ERR 11599 BTRACE (5):0x100079b48 [0xffffffffffff2f0]
2008-08-27 14:32:53 1 ERR 11599 BTRACE (6):0x1001e2740 [0xffffffffffff360]
2008-08-27 14:32:53 1 ERR 11599 BTRACE (7):0x10021e784 [0xffffffffffff560]
2008-08-27 14:32:53 1 ERR 11599 BTRACE (8):0x1001deea4 [0xffffffffffff620]
2008-08-27 14:32:53 1 ERR 11599 BTRACE (9):0x10021e6c4 [0xffffffffffffa00]
2008-08-27 14:32:53 1 ERR 11599 BTRACE (10):0x1000002d4 [0xffffffffffffaa0]
2008-08-27 14:32:53 1 ERR 11599 BTRACE -
> Module List <----
2008-08-27 14:32:53 1 ERR 11599 BTRACE |.text Start |.text End | Module File Name
2008-08-27 14:32:53 1 ERR 11599 BTRACE |0x0000000100000000|0x0000000101624c9d| kernel
2008-08-27 14:32:53 1 ERR 11599 BTRACE |0x090000000003af80|0x090000000004c406| /usr/lib/libperfstat.a
2008-08-27 14:32:53 1 ERR 11599 BTRACE |0x090000000004d000|0x0900000000084be7| /usr/lib/libpthreads.a
2008-08-27 14:32:53 1 ERR 11599 BTRACE |0x0900000000085c80|0x09000000000a7a3e| /usr/lib/libC.a
2008-08-27 14:32:53 1 ERR 11599 BTRACE |0x09000000000a8360|0x09000000001fe63f| /usr/lib/libC.a
2008-08-27 14:32:53 1 ERR 11599 BTRACE |0x09000000001fff80|0x0900000000212493| /usr/lib/libcfg.a
2008-08-27 14:32:53 1 ERR 11599 BTRACE |0x0900000000213040|0x0900000000228401| /usr/lib/libodm.a
2008-08-27 14:32:53 1 ERR 11599 BTRACE |0x0900000000229da0|0x090000000029ac0c| /usr/lib/liblvm.a
2008-08-27 14:32:53 1 ERR 11599 BTRACE |0x090000000029bfe0|0x09000000002b59e6| /usr/lib/libC.a
2008-08-27 14:32:53 1 ERR 11599 BTRACE |0x09000000002b6a00|0x09000000002d4d9b| /usr/lib/libC.a
2008-08-27 14:32:53 1 ERR 11599 BTRACE |0x09000000002d56b0|0x09000000002d611a| /usr/lib/libC.a
2008-08-27 14:32:53 1 ERR 11599 BTRACE |0x09000000002d78a8|0x09000000002d82b2| /usr/lib/libC.a
2008-08-27 14:32:53 1 ERR 11599 BTRACE |0x09000000002d9280|0x09000000002d9cab| /usr/lib/libcrypt.a
2008-08-27 14:32:53 1 ERR 11599 BTRACE |0x09000000002e0000|0x09000000002e02fb| /usr/lib/libdl.a
2008-08-27 14:32:53 1 ERR 11599 BTRACE |0x09000000002f12c0|0x090000000057400e| /usr/lib/threads/libc.a
2008-08-27 14:32:53 1 ERR 11599 BTRACE
2008-08-27 14:32:53 1 ERR 11599 BTRACE -
> Symbolic Stack Back Trace <----
2008-08-27 14:32:53 1 ERR 11599 BTRACE 0: 0x00000001001cbc2c eo670_CTraceStackOCB +0x0040
2008-08-27 14:32:53 1 ERR 11599 BTRACE kernel
2008-08-27 14:32:53 1 ERR 11599 BTRACE Frameinfo [0xfffffffffffef90]
2008-08-27 14:32:53 1 ERR 11599 BTRACE 1: 0x00000001001c8f24 vabort +0x0040
2008-08-27 14:32:53 1 ERR 11599 BTRACE kernel
2008-08-27 14:32:53 1 ERR 11599 BTRACE Frameinfo [0xffffffffffff020]
2008-08-27 14:32:53 1 ERR 11599 BTRACE 2: 0x000000010010ef9c RTE_Crash__FRC20SAPDBErr_MessageList +0x00cc
2008-08-27 14:32:53 1 ERR 11599 BTRACE kernel
2008-08-27 14:32:53 1 ERR 11599 BTRACE Frameinfo [0xffffffffffff0b0]
2008-08-27 14:32:53 1 ERR 11599 BTRACE 3: 0x000000010007bc30 ReserveOrAllocateBigChunk__20RTE_TaskStackControlFb +0x02d4
2008-08-27 14:32:53 1 ERR 11599 BTRACE kernel
2008-08-27 14:32:53 1 ERR 11599 BTRACE Frameinfo [0xffffffffffff140]
2008-08-27 14:32:53 1 ERR 11599 BTRACE 4: 0x000000010007cf20 Initialize__35RTE_BigAddressSpaceTaskStackControlFlP9TASK_TYPET2 +0x0064
2008-08-27 14:32:53 1 ERR 11599 BTRACE kernel
2008-08-27 14:32:53 1 ERR 11599 BTRACE Frameinfo [0xffffffffffff260]
2008-08-27 14:32:53 1 ERR 11599 BTRACE 5: 0x0000000100079b48 en88CreateAndPrepareTaskStacks +0x0030
2008-08-27 14:32:53 1 ERR 11599 BTRACE kernel
2008-08-27 14:32:53 1 ERR 11599 BTRACE Frameinfo [0xffffffffffff2f0]
2008-08-27 14:32:53 1 ERR 11599 BTRACE 6: 0x00000001001e2740 en81RunKernel +0x039c
2008-08-27 14:32:53 1 ERR 11599 BTRACE kernel
2008-08-27 14:32:53 1 ERR 11599 BTRACE Frameinfo [0xffffffffffff360]
2008-08-27 14:32:53 1 ERR 11599 BTRACE 7: 0x000000010021e784 en80RunKernel +0x006c
2008-08-27 14:32:53 1 ERR 11599 BTRACE kernel
2008-08-27 14:32:53 1 ERR 11599 BTRACE Frameinfo [0xffffffffffff560]
2008-08-27 14:32:53 1 ERR 11599 BTRACE 8: 0x00000001001deea4 en81_kernel_main +0x05b8
2008-08-27 14:32:53 1 ERR 11599 BTRACE kernel
2008-08-27 14:32:53 1 ERR 11599 BTRACE Frameinfo [0xffffffffffff620]
2008-08-27 14:32:53 1 ERR 11599 BTRACE 9: 0x000000010021e6c4 main +0x0198
2008-08-27 14:32:53 1 ERR 11599 BTRACE kernel
2008-08-27 14:32:53 1 ERR 11599 BTRACE Frameinfo [0xffffffffffffa00]
2008-08-27 14:32:53 1 ERR 11599 BTRACE -
> End of Stack Back Trace <----
2008-08-27 14:32:53 1 11987 dump_rte rtedump written to file 'rtedump'
2008-08-27 14:32:53 1 ERR 7 Messages Begin of dump of registered messages
2008-08-27 14:32:53 1 ERR 8 Messages End of the message list registry dump
2008-08-27 14:32:53 1 ERR 11195 DBCRASH vabort:Emergency Shutdown
2008-08-27 14:32:53 1 12696 DBSTATE Change DbState to 'KILL'(29)
2008-08-27 14:32:53 1 12696 DBSTATE Change DbState to 'NO_TRACEFLAG'(0)
2008-08-27 14:32:53 1 12696 DBSTATE Change DbState to 'NO_DUMPFLAG'(0)
+++++++++++++++++++++++++++++++++++++++ Kernel Exit ++++++++++++++++++++++++++++
2008-08-27 14:32:54 0 11987 dump_rte rtedump written to file 'rtedump'
2008-08-27 14:32:54 0 ERR 12006 DBCRASH Kernel exited without core and exit status 0x100
2008-08-27 14:32:54 0 ERR 12010 DBCRASH Kernel exited exit code 1
2008-08-27 14:32:54 0 12890 DIAGHIST Backup of diagnostic files will be forced at next restart
2008-08-27 14:32:54 0 12696 DBSTATE Change DbState to 'OFFLINE '(29)
current write position -
========================================
$ ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) unlimited
stack(kbytes) 2500000
memory(kbytes) unlimited
coredump(blocks) unlimited
nofiles(descriptors) unlimited
Any ideas or suggestions?
Thanks,
Daviddavid possinger wrote:
> 2008-08-27 14:32:53 1 12885 MEMORY 2500 Pages allocated for I/O buffer cache
> 2008-08-27 14:32:53 1 12886 TASKING Maximum task stack size 1024KB
> 2008-08-27 14:32:53 1 12886 TASKING Task stack at system choosen address
> 2008-08-27 14:32:53 1 ERR 8 RTEMem No more system pages for 236855296 bytes available,BYTE_SIZE=4096,DESCRIPTION=valloc,ERRORTEXT=ENOMEM ? out of memo
> 2008-08-27 14:32:53 1 ERR 8 RTEMem ry
> 2008-08-27 14:32:53 1 ERR 11 RTEMem + Used 24141824 bytes from system heap with a limit of system imposed limitation bytes,ALLOC_COUNT=15,FREE_COUNT
> 2008-08-27 14:32:53 1 ERR 11 RTEMem + =0,ERROR_COUNT=0,BYTES_MAX_USED=260997120
> 2008-08-27 14:32:53 1 12886 TASKING Allocating task stack chunk for 225 tasks
> 2008-08-27 14:32:53 1 12886 TASKING Maximum single aligned task stack size 1024KB
> 2008-08-27 14:32:53 1 12886 TASKING Size of single task guard area 4KB
> 2008-08-27 14:32:53 1 ERR 11903 MEMORY FATAL: Allocate of task stack chunk failed
> 2008-08-27 14:32:53 1 ERR 11903 MEMORY Reduce number of tasks or task stack size to solve this problem
Hi David,
see above. Did you try to reduce the number of tasks?
What about free memory on OS level? What about free swap space on OS level? Are there any kernel parameters to be set in AIX? I'm not very familiar with AIX as I come from Solaris. But on Solaris you can configure different parameters for max files open etc. using kernel parameters. Is there something similiar in AIX?
Regards
André -
Faulty hard drive? Memory analysis
Hey
Been trying to figure out whether or not my new MBP's hard drive is faulty.
It's a 13" 2,56GHz (Core2Duo) with 4 GB RAM
Can you help me find out by "analyzing" these numbers?
I did this clean install and got these numbers - after the clean install, no extra software installed and no external HDD plugged in:
Uptime: 3 days
Load averages: 0,38 0,49 0,62
Page ins: 2,26 GB
Page outs: 384 KB
Swap-disc used: 3,0 MB
0,6 GB free + 1,4 GB passive memory / 4 GB total = 50 %,
when running 13 diff. apps, incl. Safari with 10 tabs open (a slight bit of Flash)
Hard drive sleeping turned off.
Numbers after doing doing a full restore from Time Machine:
Did a test, running 30 apps (pretty heavy ones too, like all iWork apps, FF, Chrome, Safari etc.).
Free memory was gone, but had 1 GB passive left at all times. Got a lot of page outs though.
See screenshot.
[URL="http://img30.imageshack.us/i/screenshotot.png/"]http://img30.imageshack.us/i/screenshotot.png/[/URL]
Not sure why my memory usage stays this, somewhat, high now when only having very few apps open.
Also, what about the SWAP disc number, is that bad?
After another 24 hours, just normal usage (no heavy multitasking at all):
See second screenshot
[URL="http://img402.imageshack.us/i/screenshot2ux.png/"]http://img402.imageshack.us/i/screenshot2ux.png/[/URL]
System does seem a little slow and i'm getting some beachballs
Hope you can help me out
Thanks in advanceWhat you've posted gives no indication of any problem with your hard drive. Indeed, it has hardly anything to do with your hard drive. OS X is busy managing RAM to allow all your applications to keep running at once, and that's about all that appears to be happening.
You may want to read this Apple article about the several different RAM usage states and OS X's RAM management strategies:
http://support.apple.com/kb/HT1342
It may reassure you about the normality of what you're seeing. -
Installing SSD in GT60 Dominator
Hi,
I just picked up a new GT60 Dominator 3K Edition. The laptop did not come with an SSD installed, though I had a 240GB SSD from my old laptop, and I would love to be able to shift the OS over to the SSD and use the 1TB drive just for data and a few rarely used programs.
Anybody have any answers as to how to do this?
F3 system Reset/Refresh doesn't give me the option to install on a different drive, Creating a recovery disc using BurnRecovery software doesn't seem to work? Any solutions? What if i Swap the 2 drives over physcially inside the laptop, and use the different SATA ports, would that get me anywhere?
Thanks in advance?There's a number of different ways to do it, but here's my preference....
1. Make the MSI Burn Recovery (backup) disks/DVD's.
2. Before installing the SSD, ensure that there are NO partitions on the SSD. It needs to be unpartitioned so the Burn Recovery disks can set it up properly.
3. Remove HDD, Install SSD (into SATA3 location).
4. Install the OS and such using MSI Burn Recovery.
5. After setting up the OS and getting everything running properly, shutdown.
6. Install HDD into secondary/SATA2 slot.
7. Ensure that the BIOS recognizes both drives and that the SSD is set as the boot drive.
This is much longer than just attempting to clone, but I don't trust cloning from a HDD to an SSD. In the end, if/when it doesn't work, you'll end up doing this anyway. Personally, again, I know this works and it's how I would do it. Save yourself the headache.
IF MSI Burn Recovery isn't working, I'd contact MSI. Something might be wrong with your installation.
>>How to contact MSI.<< -
Solaris 10 Cluster 3.2 with 2 zones in a failover scenario
Hi
Looking for the best way to set up things for the following scenario
I have 2 M5000 servers with internal storage and a 6140 array for shared storage
I need to create 2 zones on each in a failover scenario (active /standby)
On Server1 3 out of 4 cpus for Oracle Database Server 11g and 1 out of 4 cpus for Oracle Application Server
On Server2 3 out of 4 cpus for Oracle Application Server and 1 out of 4 cpus for Oracle Database Server 11g
Database files will be placed on the shared storage. In case of failure of Server1 Oracle Database will fail over to Server2 and in case Server2 is down Oracle Application Server will fail to Server1.
Would a zone cluster using clzonecluster be better?if yes how can i achieve the difference in cpu power in case of failure.
where is best to keep the zone root path on the internal storage or on the shared storage?
What about the swap space for both zones?
Better use exclusive ips or shared will be fine?
Will it be better to have sparse zone installation for the zone or do the whole thing?
What is the best way to achieve the cpu assignments needed and how much should be left for the global zone?
Thanks in advance
vangelisHi Vangelis,
Building a cluster, requires some planning and understanding the concepts.
A good start would be reading some of the documents linked to in this url: http://docs.sun.com/app/docs/doc/819-2969/gcbkf?a=view
Regards,
Davy -
Just looking for high-level information on BI content with regard to:
1.Costed BOM & Routing
2.Yearly Comparison Reporting
3.What-if Reporting (Swap materials, Change Prices, change usage or routing)
4.Material UOM Conversion (EA, CSE, LBS, Sell Unit, Net Weight, Gross Weight, Volume) & time dependant.
All ideas are welcome.
ASHAshok,
Have u looked at the SAP Best Practices?
http://help.sap.com/bp_biv235/BI_EN/html/Bw.htm
See whether if is of any use.
Regs
Gopi -
Design of DB which stores files and has a history.
We have a very simple requirement: Object 'A' might have several attachments. Attachment means either a physical file stored in the DB (max 10 MB) or URL pointing to a file in the web/network/anywhere. In case an attachment is a file,
that file cannot be updated. Attachments might be deleted.
We started with the following simple DB schema:
Then we realized that we need to have a History table for the attachments to track changes in the FILE_NAME and URL columns. (The file stored in the ATTACHMENT column cannot be changed, but its name can be changed). The whole row in the
attachments table might be deleted. So the initial thought was to create this table:
However, this design has one drawback – the same file is duplicated (stored in several places). Since the file once inserted, can never be changed, there is no point to store it in the history table every time its name was changed.
Option 1.
My idea is to leave this schema unchanged, but to change the logic a bit. Every
update in the ATTACHMENTS table should trigger copying only of ATTACHMENT_PID, TABLE_A_ID, FILE_NAME and URL fields from that table to ATTACHMENTS_HIST. The ATTCHMENT field is not copied. When the row is
deleted from ATTACHMENTS table, then all fields including the file itself are copied to the ATTACHMENTS_HIST table. As a result of this, we store the file only in one place.
See option 2 in the next message..
AlexeyOption 2.
Split ATTACHMENTS table into 2 tables (ATTACHMENTS_META and ATTACHMENTS_DATA) to store the file in a separate table. Files will never be deleted. As a result, we can safely remove ATTACMENT column from ATTACHMENTS_HIST table. We don’t
need it anymore because ATTACHMENT_ID will always point to the file:
Here ATTACHMENTS_DATA table has FK:
CONSTRAINT FK_ATTACHMENTS_DATA__ATTACHMENTS_META
FOREIGN KEY (ATTACHMENT_ID)
REFERENCES dbo.ATTACHMENTS_META
(ATTACHMENT_ID)
Because of this, the relationship between ATTACHMENTS_META table and ATTACHMENTS_DATA table is 1:1.
At first blush the idea possesses common sense, but on closer examination it fails because we cannot delete a row from ATTACHMENTS_META. Why? Because it is a Master table and ATTACHMENTS_DATA is a Details table. We cannot leave the detail
without master. (The data in the ATTACHMENTS_DATA never deleted.)
What if we swap Master and Details table? I mean if ATTACHMENTS_DATA is Master and ATTACHMENTS_META is Details. Well, in this case we can delete a row from ATTACHMENTS_META table and leave the corresponding file in the ATTACHMENTS_DATA.
So it seems that it solves the problem.
However, it raises another issue. Do you remember that instead of a file we can have URL? URL stored in the ATTACHMENTS_META table which is Details table in this case. And we cannot create a row in that table until we create a row in the
Master table. But we don’t need a file for URL attachment. So this solution will not work.
Eventually, option 2 has the following solution:
Here ATTACHMENT_DATA table is Master and ATTACHMENT_META table is Details. Optional (null-able) ATTACHMENT_DATA_ID column was added to ATTACHMENT_META table. It allows splitting PK and FK in this table.
Now the question: Which option (1 or 2) would you prefer? Can you suggest option 3?
Option 1
+ There are only 3 tables
- File is copied from ATTACHMENTS to ATTACHMENTS_HIST table before deleting from ATTACHMENTS.
Option 2
+ File is not copied.
- There are 4 tables.
- Relationship between ATTACHMENTS_DATA table and ATTACHMENTS_META table is 1:n which actually does not reflect the reality.
Thank you in advance.
Alexey
Maybe you are looking for
-
Hy ALL I have a little problem with the correct selection. I select data from VBAK, but the selection is not correct. Coding AND aedat GE i_aedat AND erzet GE i_erzet But i does not work. For Example, erzet = 12:00:00. If the day Change i could not f
-
Howdy all! Is it possible for two threads to be using the same socket at the same time - where one is just writing to the socket's OutputStream and the other is just reading from the socket's InputStream - and for the same to be happenning on the oth
-
How to control the rounding rule at answer?
Hi grus, I use the BIEE 11.1.1.6.5. And I create the 2 answers(A and B) with a same column which setting is same column formula and data format(Treat Numbers As "number", Decimal places "2") on column properties. Then I run the answer A that the valu
-
Serial number alternatively getting picked in incoming excise invoice-J1IEX
Hi All, Serial number alternatively getting picked in incoming excise invoice-J1IEX part2 posting. This problem we are facing only from today. Can there be any problem in programme? Pls suggest. Regards, Pavan
-
How can delete my all Google?
My Google account back time is delete