Finding the Seventh Weekday.
Hi,
I have this requirement where I am required to run a program if today is the seventh weekday of the month. To get to that, I kind of wrote this sql. I know this is long-winded, but, just checking if there is another way for me to write this:
SELECT actual_date seventh_weekday
FROM (SELECT CASE
WHEN to_char(actual_date,
'dy') IN ('mon',
'tue',
'wed',
'thu',
'fri') THEN
1
ELSE
0
END is_it_weekday,
actual_date,
SUM(CASE
WHEN to_char(actual_date,
'dy') IN ('mon',
'tue',
'wed',
'thu',
'fri') THEN
1
ELSE
0
END) over(ORDER BY actual_date rows BETWEEN unbounded preceding AND CURRENT ROW) is_this_seventh_weekday
FROM (SELECT trunc(SYSDATE,
'month') + LEVEL - 1 actual_date
FROM dual
CONNECT BY trunc(SYSDATE,
'month') + LEVEL - 1 <= last_day(SYSDATE)))
WHERE is_this_seventh_weekday = 7
AND to_char(actual_date,
'dy') IN ('mon', 'tue', 'wed', 'thu', 'fri')
As an illustration. It's pretty common superstition around here that fridays are not lucky days, especially to get something started and it's even worse when they occur on the 13th of the month. Suppose you have to find those worst cases for the current year. you can:
with
current_year as -- generate all days of the year (365 or 366 rows)
(select trunc(sysdate,'year') + level - 1 as the_date
from dual
connect by level <= add_months(trunc(sysdate,'year'),12) - trunc(sysdate,'year')
select the_date
from current_year
where to_char(the_date,'dy') = 'fri'
and to_char(the_date,'dd') = '13'
with
current_year as -- generate all fridays of the year (52 or 53 rows)
(select trunc(sysdate,'year') + 7 * (level - 1) + to_number(to_char(next_day(trunc(sysdate,'year'),'friday'),'dd')) - 1 as the_date
from dual
connect by level <= floor((add_months(next_day(trunc(sysdate,'year'),'friday'),12) - next_day(trunc(sysdate,'year'),'friday')) / 7)
select the_date
from current_year
where to_char(the_date,'dd') = '13'
with
current_year as -- generate all 13th of the months of the year (12 rows)
(select to_date('13.' || to_char(level) || '.' || to_char(sysdate,'yyyy'),'dd.mm.yyyy') as the_date
from dual
connect by level <= 12
select the_date
from current_year
where to_char(the_date,'dy') = 'fri'Regards
Etbin
Similar Messages
-
Find the 'DAY' for a given 'DATE'
Hi Folks,
I need a help regarding finding the day for a given date.
My requirement is that..,
If I enter a date using 'parameters', it should write the 'day' for the corresponding date.
To be more specific.....,
if I enter date as ' 07/15/2008 ' it should return me the day as 'Tuesday'.
Regards,
Naveen GHI,
FM LIST WITH RESPECT TO DAY, WEEK, AND MONTH.
CALCULATE_DATE : Calculates the future date based on the input .
DATE_TO_DAY : Returns the Day for the entered date.
DATE_COMPUTE_DAY : Returns weekday for a date
DATE_GET_WEEK : Returns week for a date
RP_CALC_DATE_IN_INTERVAL : Add days / months to a date
MONTHS_BETWEEN_TWO_DATES : To get the number of months between the two dates.
END_OF_MONTH_DETERMINE_2 : Determines the End of a Month.
HR_HK_DIFF_BT_2_DATES : Find the difference between two dates in years, months and days.
FIMA_DAYS_AND_MONTHS_AND_YEARS : Find the difference between two dates in years, months and days.
MONTH_NAMES_GET : Get the names of the month
WEEK_GET_FIRST_DAY : Get the first day of the week
HRGPBS_HESA_DATE_FORMAT : Format the date in dd/mm/yyyy format
SD_CALC_DURATION_FROM_DATETIME : Find the difference between two date/time and report the difference in hours
L_MC_TIME_DIFFERENCE : Find the time difference between two date/time
HR_99S_INTERVAL_BETWEEN_DATES : Difference between two dates in days, weeks, months
LAST_DAY_OF_MONTHS : Returns the last day of the month
DATE_CHECK_PLAUSIBILITY :Check for the invalid date.
Reward points if useful,
siri -
How do I find the start day of each month
Hi all,
Hope someone can give a a hand here I've to do a calender project for college and I'm not allowed to use any built in Java classes so fun all the way so far :-)
I've got one question that is bugging me at the moment. and that is how to find the start day for each month in a year and store them in an array.
I'm starting my week at Monday (0) and stopping at Sunday (6) and I do have a formula for discovering the first day in Jan of the given year its
((y-1900)*365 + (y-1901)/4)%7
I was just wondering how I could amend this to find the first day in Feb, March etc.
Any suggestions greatly accepted.
Thanks in advance.Irish-Student wrote:
newark maybe I didnt make clear exactly what I want to do.
I have each day of the week starting at 0 for Monday up to 6 for Sunday I want to map what the start day of a month as a number between 0 and 6.
The formula I have discovering the first day of Jan of a given year will give you 1 i.e. Tuesday
what I need to do is find out what number between 0 and 6 the start day of each other month of a given year is.
For example the 1st of Feb is a Friday which is 4 on the weekday map.
Your suggestion of 31%7 won't work for this, sorry more than likely my fault for not being clearer in what my requirements were.
Cheers for the help so far and yep your right not being able to use the built in classes is a pain :-)
Edited by: Irish-Student on 03-Mar-2008 20:01This doesn't really change much of my first suggestion. If you can already calculate the first day of the month of January for any given year, then there's no problem figuring out the other months. Say I want to know the first day April 1, 1978. You already know how to find January 1, 1978. So find that. Then find the number of days between January 1 and April 1 (remember to account for leap years). Once you have the number of days, you can figure out how many weeks and days that is, and thus what day of the week it is. -
Two MaxDB crashes in the last 5 days, how can I find the reason ?
Hello,
My MaxDB-Server crashed two times in the last 5 days and I have no idea why. Can you help me to find the reason for the crashes ? My MaxDB 7.6.05 is running on a Linux server and I never had such problems before.
Here are some lines from the knldiag.err file:
First crash:
2009-01-09 15:02:05 0 ERR 11330 COREHAND ABORTING due to signal 11
2009-01-09 15:02:05 0 ERR 11599 BTRACE -
> Emergency Stack Back Trace <----
2009-01-09 15:02:05 0 ERR 11599 BTRACE -
> Register Dump <----
2009-01-09 15:02:05 0 ERR 11599 BTRACE -
2009-01-09 15:02:05 0 ERR 11599 BTRACE ds es 0x6409007b 0x0000007b
2009-01-09 15:02:05 0 ERR 11599 BTRACE fs gs 0xc0100000 0x00000033
2009-01-09 15:02:05 0 ERR 11599 BTRACE trap err 0x0000000e 0x00000014
2009-01-09 15:02:05 0 ERR 11599 BTRACE efl ss 0x00010216 0x0000007b
2009-01-09 15:02:05 0 ERR 11599 BTRACE edi esi 0xb7bbe3e0 0x50042938
2009-01-09 15:02:05 0 ERR 11599 BTRACE eax ebx 0x00000001
2009-01-09 15:02:05 0 ERR 11599 BTRACE ecx edx 0xb7bbe3e0
2009-01-09 15:02:05 0 ERR 11599 BTRACE esp uesp 0x6421defc 0x6421defc
2009-01-09 15:02:05 0 ERR 11599 BTRACE ebp eip 0x0121df84 0x00000000
2009-01-09 15:02:05 0 ERR 11599 BTRACE cs cr2 0x00000073 0x00000000
2009-01-09 15:02:05 0 ERR 11599 BTRACE -
2009-01-09 15:02:05 0 ERR 11599 BTRACE cw - sw - tag 0xffff037f 0xffff0020 0xffffffff
2009-01-09 15:02:05 0 ERR 11599 BTRACE ipoff - cssel 0xb7e1a284 0x077d0073
2009-01-09 15:02:05 0 ERR 11599 BTRACE dataoff-datasel 0x6421dd7c 0x0000007b
2009-01-09 15:02:05 0 ERR 11599 BTRACE f00 [0x3c00 0x5821 0xf70a 0x91c1 - 0x4008]
2009-01-09 15:02:05 0 ERR 11599 BTRACE f01 [0x3c00 0x5821 0xf70a 0x9201 - 0x4008]
2009-01-09 15:02:05 0 ERR 11599 BTRACE f02 [0x0000 0x0000 0x0000 0xb600 - 0x4006]
2009-01-09 15:02:05 0 ERR 11599 BTRACE f03 [0x435e 0x0d79 0x35e5 0xd794 - 0x3ff9]
2009-01-09 15:02:05 0 ERR 11599 BTRACE f04 [0x435e 0x0d79 0x35e5 0xd794 - 0x3ff9]
2009-01-09 15:02:05 0 ERR 11599 BTRACE f05 [0x0000 0x0000 0x0000 0x8000 - 0x3fff]
2009-01-09 15:02:05 0 ERR 11599 BTRACE f06 [0x0000 0x0000 0x0000 0xdcc0 - 0xc028]
2009-01-09 15:02:05 0 ERR 11599 BTRACE f07 [0x0000 0x5720 0x77d2 0xc691 - 0x401e]
2009-01-09 15:02:05 0 ERR 11599 BTRACE -
2009-01-09 15:02:05 0 ERR 11599 BTRACE -
> Module List <----
2009-01-09 15:02:05 0 ERR 11599 BTRACE |.text Start |.text End | Module File Name
2009-01-09 15:02:05 0 ERR 11599 BTRACE | 0x08048000 | 0x08e62000 | /opt/sdb/7603/pgm/kernel
2009-01-09 15:02:05 0 ERR 11599 BTRACE | 0x5aa91000 | 0x5acbc000 | /opt/sdb/7603/lib/liboms.so
2009-01-09 15:02:05 0 ERR 11599 BTRACE | 0xb7267000 | 0xb726f000 | /lib/libnss_nis-2.6.1.so
2009-01-09 15:02:05 0 ERR 11599 BTRACE | 0xb7271000 | 0xb7284000 | /lib/libnsl-2.6.1.so
2009-01-09 15:02:05 0 ERR 11599 BTRACE | 0xb7288000 | 0xb728e000 | /lib/libnss_compat-2.6.1.so
2009-01-09 15:02:05 0 ERR 11599 BTRACE | 0xb7b93000 | 0xb7b9b000 | /lib/libnss_files-2.6.1.so
2009-01-09 15:02:05 0 ERR 11599 BTRACE | 0xb7ce2000 | 0xb7e0f000 | /lib/libc-2.6.1.so
2009-01-09 15:02:05 0 ERR 11599 BTRACE | 0xb7e0f000 | 0xb7e10000 | /lib/libc-2.6.1.so
2009-01-09 15:02:05 0 ERR 11599 BTRACE | 0xb7e16000 | 0xb7e20000 | /lib/libgcc_s.so.1
2009-01-09 15:02:05 0 ERR 11599 BTRACE | 0xb7e22000 | 0xb7e45000 | /lib/libm-2.6.1.so
2009-01-09 15:02:05 0 ERR 11599 BTRACE | 0xb7e47000 | 0xb7eff000 | /usr/lib/libstdc++.so.5.0.7
2009-01-09 15:02:05 0 ERR 11599 BTRACE | 0xb7f09000 | 0xb7f10000 | /lib/librt-2.6.1.so
2009-01-09 15:02:05 0 ERR 11599 BTRACE | 0xb7f12000 | 0xb7f14000 | /lib/libdl-2.6.1.so
2009-01-09 15:02:05 0 ERR 11599 BTRACE | 0xb7f16000 | 0xb7f29000 | /lib/libpthread-2.6.1.so
2009-01-09 15:02:05 0 ERR 11599 BTRACE | 0xb7f39000 | 0xb7f53000 | /lib/ld-2.6.1.so
2009-01-09 15:02:05 0 ERR 11599 BTRACE | 0xffffe000 | 0xfffff000 | [vdso]
2009-01-09 15:02:05 0 ERR 11599 BTRACE
2009-01-09 15:02:05 0 ERR 11599 BTRACE -
> Symbolic Stack Back Trace <----
2009-01-09 15:02:05 0 ERR 11599 BTRACE -
> End of Stack Back Trace <----
2009-01-09 15:02:05 0 ERR 11330 COREHAND dump of siginfo content:
2009-01-09 15:02:05 0 ERR 11330 COREHAND signal 11 (SIGSEGV)
2009-01-09 15:02:05 0 ERR 11330 COREHAND code 1 (ILL_ILLOPC:illegal opcode)
2009-01-09 15:02:05 0 ERR 11330 COREHAND errno 0
2009-01-09 15:02:05 0 ERR 11330 COREHAND value(int) 4640
2009-01-09 15:02:05 0 ERR 11330 COREHAND value(ptr) @1220
2009-01-09 15:02:05 0 ERR 11330 COREHAND pid 0
2009-01-09 15:02:05 0 ERR 11330 COREHAND addr @0
2009-01-09 15:02:05 0 ERR 11599 BTRACE analysing LVCMem_Allocator_001
2009-01-09 15:02:05 0 ERR 11599 BTRACE
2009-01-09 15:02:05 0 ERR 11599 BTRACE no problems detected in LVCMem_Allocator_001
2009-01-09 15:02:05 0 ERR 11599 BTRACE analysing LVCMem_Allocator_002
2009-01-09 15:02:05 0 ERR 11599 BTRACE
2009-01-09 15:02:05 0 ERR 11599 BTRACE no problems detected in LVCMem_Allocator_002
2009-01-09 15:02:06 0 ERR 12006 DBCRASH Kernel exited without core and exit status 0x2f00
2009-01-09 15:02:06 0 ERR 12008 DBCRASH Kernel exited due to reentered signal handler
2009-01-09 15:02:06 ___ Stopping GMT 2009-01-09 14:02:06 7.6.05 Build 009-121-191-997
Second crash:
2009-01-13 11:03:22 0 ERR 11330 COREHAND ABORTING due to signal 11
2009-01-13 11:03:22 0 ERR 11599 BTRACE -
> Emergency Stack Back Trace <----
2009-01-13 11:03:22 0 ERR 11599 BTRACE -
> Register Dump <----
2009-01-13 11:03:22 0 ERR 11599 BTRACE -
2009-01-13 11:03:22 0 ERR 11599 BTRACE ds es 0x6413007b 0x0000007b
2009-01-13 11:03:22 0 ERR 11599 BTRACE fs gs 0xc0100000 0x00000033
2009-01-13 11:03:22 0 ERR 11599 BTRACE trap err 0x0000000e 0x00000014
2009-01-13 11:03:22 0 ERR 11599 BTRACE efl ss 0x00010216 0x0000007b
2009-01-13 11:03:22 0 ERR 11599 BTRACE edi esi 0xb7c61400 0x5003fad0
2009-01-13 11:03:22 0 ERR 11599 BTRACE eax ebx 0x00000001
2009-01-13 11:03:22 0 ERR 11599 BTRACE ecx edx 0xb7c61400
2009-01-13 11:03:22 0 ERR 11599 BTRACE esp uesp 0x63e3eefc 0x63e3eefc
2009-01-13 11:03:22 0 ERR 11599 BTRACE ebp eip 0x01e3ef84 0x00000000
2009-01-13 11:03:22 0 ERR 11599 BTRACE cs cr2 0x00000073 0x00000000
2009-01-13 11:03:22 0 ERR 11599 BTRACE -
2009-01-13 11:03:22 0 ERR 11599 BTRACE cw - sw - tag 0xffff037f 0xffff0020 0xffffffff
2009-01-13 11:03:22 0 ERR 11599 BTRACE ipoff - cssel 0xb7ebb284 0x077d0073
2009-01-13 11:03:22 0 ERR 11599 BTRACE dataoff-datasel 0x63e3ed7c 0x0000007b
2009-01-13 11:03:22 0 ERR 11599 BTRACE f00 [0x8800 0xc349 0x8885 0x91ff - 0x4008]
2009-01-13 11:03:22 0 ERR 11599 BTRACE f01 [0x8800 0xc349 0x8885 0x923f - 0x4008]
2009-01-13 11:03:22 0 ERR 11599 BTRACE f02 [0x0000 0x0000 0x0000 0xf300 - 0x4007]
2009-01-13 11:03:22 0 ERR 11599 BTRACE f03 [0xb7b6 0xdb6d 0x6db6 0xf25b - 0x4007]
2009-01-13 11:03:22 0 ERR 11599 BTRACE f04 [0x0000 0x0000 0x0000 0x9800 - 0x4002]
2009-01-13 11:03:22 0 ERR 11599 BTRACE f05 [0x0000 0x0000 0x0000 0xfbd3 - 0x400e]
2009-01-13 11:03:22 0 ERR 11599 BTRACE f06 [0x0000 0x0000 0x0000 0xa000 - 0xc023]
2009-01-13 11:03:22 0 ERR 11599 BTRACE f07 [0x0000 0x10ec 0x76ec 0xc1c0 - 0x401d]
2009-01-13 11:03:22 0 ERR 11599 BTRACE -
2009-01-13 11:03:22 0 ERR 11599 BTRACE -
> Module List <----
2009-01-13 11:03:22 0 ERR 11599 BTRACE |.text Start |.text End | Module File Name
2009-01-13 11:03:22 0 ERR 11599 BTRACE | 0x08048000 | 0x08e62000 | /opt/sdb/7603/pgm/kernel
2009-01-13 11:03:22 0 ERR 11599 BTRACE | 0x5a756000 | 0x5a981000 | /opt/sdb/7603/lib/liboms.so
2009-01-13 11:03:22 0 ERR 11599 BTRACE | 0xb7308000 | 0xb7310000 | /lib/libnss_nis-2.6.1.so
2009-01-13 11:03:22 0 ERR 11599 BTRACE | 0xb7312000 | 0xb7325000 | /lib/libnsl-2.6.1.so
2009-01-13 11:03:22 0 ERR 11599 BTRACE | 0xb7329000 | 0xb732f000 | /lib/libnss_compat-2.6.1.so
2009-01-13 11:03:22 0 ERR 11599 BTRACE | 0xb7c34000 | 0xb7c3c000 | /lib/libnss_files-2.6.1.so
2009-01-13 11:03:22 0 ERR 11599 BTRACE | 0xb7d83000 | 0xb7eb0000 | /lib/libc-2.6.1.so
2009-01-13 11:03:22 0 ERR 11599 BTRACE | 0xb7eb0000 | 0xb7eb1000 | /lib/libc-2.6.1.so
2009-01-13 11:03:22 0 ERR 11599 BTRACE | 0xb7eb7000 | 0xb7ec1000 | /lib/libgcc_s.so.1
2009-01-13 11:03:22 0 ERR 11599 BTRACE | 0xb7ec3000 | 0xb7ee6000 | /lib/libm-2.6.1.so
2009-01-13 11:03:22 0 ERR 11599 BTRACE | 0xb7ee8000 | 0xb7fa0000 | /usr/lib/libstdc++.so.5.0.7
2009-01-13 11:03:22 0 ERR 11599 BTRACE | 0xb7faa000 | 0xb7fb1000 | /lib/librt-2.6.1.so
2009-01-13 11:03:22 0 ERR 11599 BTRACE | 0xb7fb3000 | 0xb7fb5000 | /lib/libdl-2.6.1.so
2009-01-13 11:03:22 0 ERR 11599 BTRACE | 0xb7fb7000 | 0xb7fca000 | /lib/libpthread-2.6.1.so
2009-01-13 11:03:22 0 ERR 11599 BTRACE | 0xb7fda000 | 0xb7ff4000 | /lib/ld-2.6.1.so
2009-01-13 11:03:22 0 ERR 11599 BTRACE | 0xffffe000 | 0xfffff000 | [vdso]
2009-01-13 11:03:22 0 ERR 11599 BTRACE
2009-01-13 11:03:22 0 ERR 11599 BTRACE -
> Symbolic Stack Back Trace <----
2009-01-13 11:03:22 0 ERR 11599 BTRACE -
> End of Stack Back Trace <----
2009-01-13 11:03:22 0 ERR 11330 COREHAND dump of siginfo content:
2009-01-13 11:03:22 0 ERR 11330 COREHAND signal 11 (SIGSEGV)
2009-01-13 11:03:22 0 ERR 11330 COREHAND code 1 (ILL_ILLOPC:illegal opcode)
2009-01-13 11:03:22 0 ERR 11330 COREHAND errno 0
2009-01-13 11:03:22 0 ERR 11330 COREHAND value(int) 4640
2009-01-13 11:03:22 0 ERR 11330 COREHAND value(ptr) @1220
2009-01-13 11:03:22 0 ERR 11330 COREHAND pid 0
2009-01-13 11:03:22 0 ERR 11330 COREHAND addr @0
2009-01-13 11:03:22 0 ERR 11599 BTRACE analysing LVCMem_Allocator_001
2009-01-13 11:03:22 0 ERR 11599 BTRACE
2009-01-13 11:03:22 0 ERR 11599 BTRACE no problems detected in LVCMem_Allocator_001
2009-01-13 11:03:22 0 ERR 11599 BTRACE analysing LVCMem_Allocator_002
2009-01-13 11:03:22 0 ERR 11599 BTRACE
2009-01-13 11:03:22 0 ERR 11599 BTRACE no problems detected in LVCMem_Allocator_002
2009-01-13 11:03:23 0 ERR 12006 DBCRASH Kernel exited without core and exit status 0x2f00
2009-01-13 11:03:23 0 ERR 12008 DBCRASH Kernel exited due to reentered signal handler
2009-01-13 11:03:23 ___ Stopping GMT 2009-01-13 10:03:23 7.6.05 Build 009-121-191-997
How can I find the reason for the crash and prevent them in the future ? Or can you explain to me where the problem is ?
Bye
ClausHello,
I made the suggested settings.
The operating system of the MaxDB server is SuSE Linux 10.3 with kernel version 2.6.22.5-31-bigsmp
Here is the output for "param_directgetall"
KERNELVERSION KERNEL 7.6.05 BUILD 009-121-191-997
INSTANCE_TYPE OLTP
MCOD NO
SERVERDBFOR_SAP YES
_UNICODE NO
DEFAULT_CODE ASCII
DATE_TIME_FORMAT INTERNAL
CONTROLUSERID <username>
CONTROLPASSWORD
MAXLOGVOLUMES 2
MAXDATAVOLUMES 16
LOG_VOLUME_NAME_001 LOG_001
LOG_VOLUME_TYPE_001 F
LOG_VOLUME_SIZE_001 64000
DATA_VOLUME_NAME_0003 DAT_0003
DATA_VOLUME_NAME_0002 DAT_0002
DATA_VOLUME_NAME_0001 DAT_0001
DATA_VOLUME_TYPE_0003 F
DATA_VOLUME_TYPE_0002 F
DATA_VOLUME_TYPE_0001 F
DATA_VOLUME_SIZE_0003 13107200
DATA_VOLUME_SIZE_0002 13107200
DATA_VOLUME_SIZE_0001 13107200
DATA_VOLUME_MODE_0003 NORMAL
DATA_VOLUME_MODE_0002 NORMAL
DATA_VOLUME_MODE_0001 NORMAL
DATA_VOLUME_GROUPS 1
LOG_BACKUP_TO_PIPE NO
MAXBACKUPDEVS 2
LOG_MIRRORED NO
MAXVOLUMES 19
LOG_IO_BLOCK_COUNT 8
DATA_IO_BLOCK_COUNT 64
BACKUP_BLOCK_CNT 64
DELAYLOGWRITER 0
LOG_IO_QUEUE 50
RESTARTTIME 600
MAXCPU 2
LOCAL_REDO_LOG_BUFFER_SIZE 0
MAX_LOG_QUEUE_COUNT 0
USED_MAX_LOG_QUEUE_COUNT 2
LOG_QUEUE_COUNT 1
MAXUSERTASKS 75
TRANSRGNS 8
TABRGNS 8
OMSREGIONS 0
OMSRGNS 7
LOCKMANAGERENABLED NO
LMLOCK_REGIONS 0
LMREQUEST_REGIONS 0
LMTRANS_REGIONS 0
OMS_HEAP_LIMIT 0
OMS_HEAP_COUNT 2
OMS_HEAP_BLOCKSIZE 10000
OMS_HEAP_THRESHOLD 100
OMS_VERS_THRESHOLD 2097152
HEAP_CHECK_LEVEL 0
ROWRGNS 8
RESERVEDSERVERTASKS 21
MINSERVERTASKS 38
MAXSERVERTASKS 38
MAXGARBAGECOLL 1
_MAXTRANS 604
MAXLOCKS 6080
LOCKSUPPLY_BLOCK 100
DEADLOCK_DETECTION 4
DEADLOCK_DUMP_FILENAME
SESSION_TIMEOUT 900
OMS_STREAM_TIMEOUT 30
REQUEST_TIMEOUT 5000
IOPROCSPER_DEV 2
IOPROCSFOR_PRIO 0
IOPROCSFOR_READER 0
USEIOPROCS_ONLY NO
IOPROCSSWITCH 2
LRU_FOR_SCAN NO
PAGESIZE 8192
PACKETSIZE 131072
MINREPLYSIZE 4096
MBLOCKDATA_SIZE 32768
MBLOCKQUAL_SIZE 32768
MBLOCKSTACK_SIZE 32768
MBLOCKSTRAT_SIZE 16384
WORKSTACKSIZE 8192
WORKDATASIZE 8192
CATCACHE_MINSIZE 262144
CAT_CACHE_SUPPLY 4864
INIT_ALLOCATORSIZE 262144
ALLOW_MULTIPLE_SERVERTASK_UKTS NO
TASKCLUSTER01 tw;al;ut;2000sv,100bup;10ev,10gc;
TASKCLUSTER02 ti,100dw;38us;
TASKCLUSTER03 equalize
DYNTASK_STACK NO
MPRGN_QUEUE YES
MPRGN_DIRTY_READ DEFAULT
MPRGN_BUSY_WAIT DEFAULT
MPDISP_LOOPS 2
MPDISP_PRIO DEFAULT
MP_RGN_LOOP -1
MPRGN_PRIO DEFAULT
MAXRGN_REQUEST -1
PRIOBASE_U2U 100
PRIOBASE_IOC 80
PRIOBASE_RAV 80
PRIOBASE_REX 40
PRIOBASE_COM 10
PRIOFACTOR 80
DELAYCOMMIT NO
MAXTASKSTACK 1024
MAX_SERVERTASK_STACK 500
MAX_SPECIALTASK_STACK 500
DWIO_AREA_SIZE 50
DWIO_AREA_FLUSH 50
FBM_VOLUME_COMPRESSION 50
FBM_VOLUME_BALANCE 10
FBMLOW_IO_RATE 10
CACHE_SIZE 150000
DWLRU_TAIL_FLUSH 25
XP_DATA_CACHE_RGNS 0
DATACACHE_RGNS 48
XP_CONVERTER_REGIONS 0
CONVERTER_REGIONS 48
XP_MAXPAGER 0
MAXPAGER 48
SEQUENCE_CACHE 1
IDXFILELIST_SIZE 2048
VOLUMENO_BIT_COUNT 8
OPTIM_MAX_MERGE 500
OPTIM_INV_ONLY YES
OPTIM_CACHE NO
OPTIM_JOIN_FETCH 0
JOIN_SEARCH_LEVEL 0
JOIN_MAXTAB_LEVEL4 16
JOIN_MAXTAB_LEVEL9 5
READAHEADBLOBS 32
READAHEAD_TABLE_THRESHOLD 0
CLUSTER_WRITE_THRESHOLD 80
CLUSTERED_LOBS NO
CLUSTERCOMPRESSIONTHRESHOLD 1000
CLUSTERCOMPRESSIONFILLTHRESHOLD 10
RUNDIRECTORY /var/opt/sdb/data/wrk/<dbname>
OPMSG1 /dev/console
OPMSG2 /dev/null
_KERNELDIAGFILE knldiag
KERNELDIAGSIZE 800
_EVENTFILE knldiag.evt
_EVENTSIZE 0
_MAXEVENTTASKS 2
_MAXEVENTS 100
_KERNELTRACEFILE knltrace
TRACE_PAGES_TI 2
TRACE_PAGES_GC 20
TRACE_PAGES_LW 5
TRACE_PAGES_PG 3
TRACE_PAGES_US 10
TRACE_PAGES_UT 5
TRACE_PAGES_SV 5
TRACE_PAGES_EV 2
TRACE_PAGES_BUP 0
KERNELTRACESIZE 1121
EXTERNAL_DUMP_REQUEST NO
AKDUMP_ALLOWED YES
_KERNELDUMPFILE knldump
_RTEDUMPFILE rtedump
UTILITYPROTFILE dbm.utl
UTILITY_PROTSIZE 100
BACKUPHISTFILE dbm.knl
BACKUPMED_DEF dbm.mdf
MAXMESSAGE_FILES 0
_SHMKERNEL 9640
__PARAM_CHANGED___ 0
__PARAM_VERIFIED__ 2009-01-18 20:09:54
DIAG_HISTORY_NUM 2
DIAG_HISTORY_PATH /var/opt/sdb/data/wrk/<dbname>/DIAGHISTORY
DIAGSEM 1
SHOW_MAX_STACK_USE NO
SHOW_MAX_KB_STACK_USE NO
LOG_SEGMENT_SIZE 21333
_COMMENT
SUPPRESS_CORE NO
FORMATTING_MODE PARALLEL
FORMAT_DATAVOLUME YES
OFFICIAL_NODE
UKT_CPU_RELATIONSHIP NONE
HIRES_TIMER_TYPE CPU
LOAD_BALANCING_CHK 0
LOAD_BALANCING_DIF 10
LOAD_BALANCING_EQ 5
HS_STORAGE_DLL libhsscopy
HS_SYNC_INTERVAL 50
USE_OPEN_DIRECT YES
USE_OPEN_DIRECT_FOR_BACKUP NO
SYMBOL_DEMANGLING NO
EXPAND_COM_TRACE NO
JOIN_TABLEBUFFER 128
SET_VOLUME_LOCK YES
SHAREDSQL YES
SHAREDSQL_CLEANUPTHRESHOLD 25
SHAREDSQL_COMMANDCACHESIZE 262144
MEMORY_ALLOCATION_LIMIT 0
USE_SYSTEM_PAGE_CACHE YES
USE_COROUTINES YES
FORBID_LOAD_BALANCING YES
MIN_RETENTION_TIME 60
MAX_RETENTION_TIME 480
MAX_SINGLE_HASHTABLE_SIZE 512
MAX_HASHTABLE_MEMORY 5120
ENABLE_CHECK_INSTANCE YES
RTE_TEST_REGIONS 0
HASHED_RESULTSET YES
HASHED_RESULTSET_CACHESIZE 262144
CHECK_HASHED_RESULTSET 0
AUTO_RECREATE_BAD_INDEXES NO
AUTHENTICATION_ALLOW
AUTHENTICATION_DENY
TRACE_AK NO
TRACE_DEFAULT NO
TRACE_DELETE NO
TRACE_INDEX NO
TRACE_INSERT NO
TRACE_LOCK NO
TRACE_LONG NO
TRACE_OBJECT NO
TRACE_OBJECT_ADD NO
TRACE_OBJECT_ALTER NO
TRACE_OBJECT_FREE NO
TRACE_OBJECT_GET NO
TRACE_OPTIMIZE NO
TRACE_ORDER NO
TRACE_ORDER_STANDARD NO
TRACE_PAGES NO
TRACE_PRIMARY_TREE NO
TRACE_SELECT NO
TRACE_TIME NO
TRACE_UPDATE NO
TRACE_STOP_ERRORCODE 0
TRACE_ALLOCATOR 0
TRACE_CATALOG 0
TRACE_CLIENTKERNELCOM 0
TRACE_COMMON 0
TRACE_COMMUNICATION 0
TRACE_CONVERTER 0
TRACE_DATACHAIN 0
TRACE_DATACACHE 0
TRACE_DATAPAM 0
TRACE_DATATREE 0
TRACE_DATAINDEX 0
TRACE_DBPROC 0
TRACE_FBM 0
TRACE_FILEDIR 0
TRACE_FRAMECTRL 0
TRACE_IOMAN 0
TRACE_IPC 0
TRACE_JOIN 0
TRACE_KSQL 0
TRACE_LOGACTION 0
TRACE_LOCKMANAGER 0
TRACE_LOGHISTORY 0
TRACE_LOGPAGE 0
TRACE_LOGTRANS 0
TRACE_LOGVOLUME 0
TRACE_MEMORY 0
TRACE_MESSAGES 0
TRACE_OBJECTCONTAINER 0
TRACE_OMS_CONTAINERDIR 0
TRACE_OMS_CONTEXT 0
TRACE_OMS_ERROR 0
TRACE_OMS_FLUSHCACHE 0
TRACE_OMS_INTERFACE 0
TRACE_OMS_KEY 0
TRACE_OMS_KEYRANGE 0
TRACE_OMS_LOCK 0
TRACE_OMS_MEMORY 0
TRACE_OMS_NEWOBJ 0
TRACE_OMS_SESSION 0
TRACE_OMS_STREAM 0
TRACE_OMS_VAROBJECT 0
TRACE_OMS_VERSION 0
TRACE_PAGER 0
TRACE_RUNTIME 0
TRACE_SHAREDSQL 0
TRACE_SQLMANAGER 0
TRACE_SRVTASKS 0
TRACE_SYNCHRONISATION 0
TRACE_SYSVIEW 0
TRACE_TABLE 0
TRACE_VOLUME 0
CHECK_BACKUP NO
CHECK_DATACACHE NO
CHECK_KB_REGIONS NO
CHECK_LOCK NO
CHECK_LOCK_SUPPLY NO
CHECK_REGIONS NO
CHECK_TASK_SPECIFIC_CATALOGCACHE NO
CHECK_TRANSLIST NO
CHECK_TREE NO
CHECK_TREE_LOCKS NO
CHECK_COMMON 0
CHECK_CONVERTER 0
CHECK_DATAPAGELOG 0
CHECK_DATAINDEX 0
CHECK_FBM 0
CHECK_IOMAN 0
CHECK_LOGHISTORY 0
CHECK_LOGPAGE 0
CHECK_LOGTRANS 0
CHECK_LOGVOLUME 0
CHECK_SRVTASKS 0
OPTIMIZE_AGGREGATION YES
OPTIMIZE_FETCH_REVERSE YES
OPTIMIZE_STAR_JOIN YES
OPTIMIZE_JOIN_ONEPHASE YES
OPTIMIZE_JOIN_OUTER YES
OPTIMIZE_MIN_MAX YES
OPTIMIZE_FIRST_ROWS YES
OPTIMIZE_OPERATOR_JOIN YES
OPTIMIZE_JOIN_HASHTABLE YES
OPTIMIZE_JOIN_HASH_MINIMAL_RATIO 1
OPTIMIZE_OPERATOR_JOIN_COSTFUNC YES
OPTIMIZE_JOIN_PARALLEL_MINSIZE 1000000
OPTIMIZE_JOIN_PARALLEL_SERVERS 0
OPTIMIZE_JOIN_OPERATOR_SORT YES
OPTIMIZE_QUAL_ON_INDEX YES
DDLTRIGGER YES
SUBTREE_LOCKS NO
MONITOR_READ 2147483647
MONITOR_TIME 2147483647
MONITOR_SELECTIVITY 0
MONITOR_ROWNO 0
CALLSTACKLEVEL 0
OMS_RUN_IN_UDE_SERVER NO
OPTIMIZE_QUERYREWRITE OPERATOR
TRACE_QUERYREWRITE 0
CHECK_QUERYREWRITE 0
PROTECT_DATACACHE_MEMORY NO
FILEDIR_SPINLOCKPOOL_SIZE 10
TRANS_HISTORY_SIZE 0
TRANS_THRESHOLD_VALUE 60
ENABLE_SYSTEM_TRIGGERS YES
DBFILLINGABOVELIMIT 70L80M85M90H95H96H97H98H99H
DBFILLINGBELOWLIMIT 70L80L85L90L95L
LOGABOVELIMIT 50L75L90M95M96H97H98H99H
AUTOSAVE 1
BACKUPRESULT 1
CHECKDATA 1
EVENT 1
ADMIN 1
ONLINE 1
UPDSTATWANTED 1
OUTOFSESSIONS 3
ERROR 3
SYSTEMERROR 3
DATABASEFULL 1
LOGFULL 1
LOGSEGMENTFULL 1
STANDBY 1
USESELECTFETCH YES
USEVARIABLEINPUT NO
UPDATESTAT_PARALLEL_SERVERS 0
UPDATESTAT_SAMPLE_ALGO 1
SIMULATE_VECTORIO IF_OPEN_DIRECT_OR_RAW_DEVICE
COLUMNCOMPRESSION YES
TIME_MEASUREMENT NO
CHECK_TABLE_WIDTH NO
MAX_MESSAGE_LIST_LENGTH 100
SYMBOL_RESOLUTION YES
PREALLOCATE_IOWORKER NO
CACHE_IN_SHARED_MEMORY NO
INDEX_LEAF_CACHING 2
NO_SYNC_TO_DISK_WANTED NO
SPINLOCK_LOOP_COUNT 30000
SPINLOCK_BACKOFF_BASE 1
SPINLOCK_BACKOFF_FACTOR 2
SPINLOCK_BACKOFF_MAXIMUM 64
ROW_LOCKS_PER_TRANSACTION 50
USEUNICODECOLUMNCOMPRESSION NO
FBM_CLUSTER_MODE MIXED
I found a file called "comseg.dump" in the "DIAGHISTORY" directory. Here are the first lines from the file:
====================================================
Big Communication segment dump for UKT007 (due to Task T097)
big_comseg_header DUMP (size 4983832)-----
bc_size 4983832
bc_version 1
bc_comseg_cnt 38
bc_packet_cnt 38
bc_comseg_size 72
bc_packet_size 131072
bc_comseg_offset 48
bc_list_offset 2784
bc_packet_offset 3088
bc_kp_running 0
bc_common_flag 1
big_comseg content DUMP-----
0x00000 180B4B00 01000000 26000000 26000000 ..L.....&...&...
0x00010 48000000 00000200 30000000 D0000000 H.......0.......
0x00020 100B0000 00000000 01000000 00000000 ................
0x00030 00000000 01000000 01000000 00000200 ................
0x00040 D0000000 00000000 70230000 00000000 ........z#......
0x00050 01000000 00000000 00000000 00000000 ................
0x00060 02000000 00000000 04800200 12000404 ................
0x00070 00000000 00000000 00000000 01000000 ................
0x00080 01000000 00000200 D8000000 00000000 ................
0x00090 78230000 00000000 01000000 00000000 x#..............
0x000A0 00000000 00000000 02000000 00000000 ................
0x000B0 04800200 12800304 00000000 00000000 ................
0x000C0 00000000 01000000 01000000 00000200 ................
0x000D0 F0000000 00000000 7B230000 00000000 ........|#......
0x000E0 01000000 00000000 00000000 00000000 ................
0x000F0 02000000 00000000 04800200 12800404 ................
0x00100 00000000 00000000 00000000 01000000 ................
0x00110 01000000 00000200 F8000000 00000000 ................
0x00120 34230000 00000000 01000000 00000000 4#..............
0x00130 00000000 00000000 02000000 00000000 ................
0x00140 04800200 1200F503 00000000 00000000 ................
0x00150 00000000 01000000 01000000 00000200 ................
0x00160 000A0000 00000000 86230000 00000000 .........#......
0x00170 01000000 00000000 00000000 00000000 ................
0x00180 02000000 00000000 04800200 12000704 ................
0x00190 00000000 00000000 00000000 01000000 ................
0x001A0 01000000 00000200 080A0000 00000000 ................
0x001B0 7D230000 00000000 01000000 00000000 ~#..............
0x001C0 00000000 00000000 02000000 00000000 ................
0x001D0 04800200 12000504 00000000 00000000 ................
0x001E0 00000000 01000000 01000000 00000200 ................
0x001F0 100A0000 00000000 80230000 00000000 .........#......
0x00200 01000000 00000000 00000000 00000000 ................
0x00210 02000000 00000000 04800200 12800504 ................
0x00220 00000000 00000000 00000000 01000000 ................
0x00230 01000000 00000200 180A0000 00000000 ................
0x00240 84230000 00000000 01000000 00000000 .#..............
0x00250 00000000 00000000 02000000 00000000 ................
0x00260 04800200 12800604 00000000 00000000 ................
0x00270 00000000 01000000 01000000 00000200 ................
0x00280 200A0000 00000000 88230000 00000000 ........#......
0x00290 01000000 00000000 00000000 00000000 ................
0x002A0 02000000 00000000 04800200 12800704 ................
0x002B0 00000000 00000000 00000000 01000000 ................
0x002C0 01000000 00000200 280A0000 00000000 ........(.......
0x002D0 4F230000 00000000 01000000 00000000 O#..............
0x002E0 00000000 00000000 02000000 00000000 ................
0x002F0 04800200 1280F003 00000000 00000000 ................
0x00300 00000000 01000000 01000000 00000200 ................
0x00310 300A0000 00000000 38230000 00000000 0.......8#......
0x00320 01000000 00000000 00000000 00000000 ................
0x00330 02000000 00000000 04800200 1200F603 ................
0x00340 00000000 00000000 00000000 01000000 ................
0x00350 01000000 00000200 380A0000 00000000 ........8.......
0x00360 30230000 00000000 01000000 00000000 :#..............
0x00370 00000000 00000000 02000000 00000000 ................
0x00380 04800200 1280F603 00000000 00000000 ................
0x00390 00000000 01000000 01000000 00000200 ................
0x003A0 400A0000 00000000 3B230000 00000000 @.......<#......
0x003B0 01000000 00000000 00000000 00000000 ................
0x003C0 02000000 00000000 04800200 1200F703 ................
0x003D0 00000000 00000000 00000000 01000000 ................
0x003E0 01000000 00000200 480A0000 00000000 ........H.......
0x003F0 43230000 00000000 01000000 00000000 C#..............
0x00400 00000000 00000000 02000000 00000000 ................
0x00410 04800200 1280F703 00000000 00000000 ................
0x00420 00000000 01000000 01000000 00000200 ................
0x00430 500A0000 00000000 45230000 00000000 P.......E#......
0x00440 01000000 00000000 00000000 00000000 ................
0x00450 02000000 00000000 04800200 1200F803 ................
0x00460 00000000 00000000 00000000 01000000 ................
0x00470 01000000 00000200 580A0000 00000000 ........X.......
0x00480 49230000 00000000 01000000 00000000 I#..............
0x00490 00000000 00000000 02000000 00000000 ................
0x004A0 04800200 1200F903 00000000 00000000 ................
0x004B0 00000000 01000000 01000000 00000200 ................
0x004C0 600A0000 00000000 6D230000 00000000 `.......n#......
0x004D0 01000000 00000000 00000000 00000000 ................
0x004E0 02000000 00000000 04800200 12000104 ................
0x004F0 00000000 00000000 00000000 01000000 ................
0x00500 01000000 00000200 680A0000 00000000 ........h.......
0x00510 6B230000 00000000 01000000 00000000 l#..............
0x00520 00000000 00000000 02000000 00000000 ................
0x00530 04800200 12800004 00000000 00000000 ................
0x00540 00000000 01000000 01000000 00000200 ................
0x00550 700A0000 00000000 47230000 00000000 p.......G#......
0x00560 01000000 00000000 00000000 00000000 ................
0x00570 02000000 00000000 04800200 1280F803 ................
0x00580 00000000 00000000 00000000 01000000 ................
0x00590 01000000 00000200 780A0000 00000000 ........x.......
0x005A0 4C230000 00000000 01000000 00000000 M#..............
0x005B0 00000000 00000000 02000000 00000000 ................
0x005C0 04800200 1200F003 00000000 00000000 ................
0x005D0 00000000 01000000 01000000 00000200 ................
0x005E0 800A0000 00000000 4A230000 00000000 ........K#......
0x005F0 01000000 00000000 00000000 00000000 ................
0x00600 02000000 00000000 04800200 1280F903 ................
0x00610 00000000 00000000 00000000 01000000 ................
0x00620 01000000 00000200 880A0000 00000000 ................
0x00630 53230000 00000000 01000000 00000000 S#..............
0x00640 00000000 00000000 02000000 00000000 ................
0x00650 04800200 1280FA03 00000000 00000000 ................
0x00660 00000000 01000000 01000000 00000200 ................
0x00670 900A0000 00000000 51230000 00000000 ........Q#......
0x00680 01000000 00000000 00000000 00000000 ................
0x00690 02000000 00000000 04800200 1200FA03 ................
0x006A0 00000000 00000000 00000000 01000000 ................
0x006B0 01000000 00000200 980A0000 00000000 ................
0x006C0 55230000 00000000 01000000 00000000 U#..............
0x006D0 00000000 00000000 02000000 00000000 ................
0x006E0 04800200 1200FB03 00000000 00000000 ................
0x006F0 00000000 01000000 01000000 00000200 ................
0x00700 000A0000 00000000 57230000 00000000 ........W#......
0x00710 01000000 00000000 00000000 00000000 ................
0x00720 02000000 00000000 04800200 1280FB03 ................
0x00730 00000000 00000000 00000000 01000000 ................
0x00740 01000000 00000200 080A0000 00000000 ................
0x00750 59230000 00000000 01000000 00000000 Y#..............
0x00760 00000000 00000000 02000000 00000000 ................
0x00770 04800200 1200FC03 00000000 00000000 ................
0x00780 00000000 01000000 01000000 00000200 ................
0x00790 A00A0000 00000000 5A230000 00000000 ........[#......
0x007A0 01000000 00000000 00000000 00000000 ................
0x007B0 02000000 00000000 04800200 1280FC03 ................
0x007C0 00000000 00000000 00000000 01000000 ................
0x007D0 01000000 00000200 A80A0000 00000000 ................
0x007E0 62230000 00000000 01000000 00000000 b#..............
0x007F0 00000000 00000000 02000000 00000000 ................
0x00800 04800200 1200FD03 00000000 00000000 ................
0x00810 00000000 01000000 01000000 00000200 ................
0x00820 B00A0000 00000000 64230000 00000000 ........d#......
0x00830 01000000 00000000 00000000 00000000 ................
0x00840 02000000 00000000 04800200 1280FD03 ................
0x00850 00000000 00000000 00000000 01000000 ................
0x00860 01000000 00000200 B80A0000 00000000 ................
0x00870 66230000 00000000 01000000 00000000 f#..............
0x00880 00000000 00000000 02000000 00000000 ................
0x00890 04800200 1200FF03 00000000 00000000 ................
0x008A0 00000000 01000000 01000000 00000200 ................
0x008B0 C00A0000 00000000 68230000 00000000 ........h#......
0x008C0 01000000 00000000 00000000 00000000 ................
0x008D0 02000000 00000000 04800200 1280FF03 ................
0x008E0 00000000 00000000 00000000 01000000 ................
0x008F0 01000000 00000200 C80A0000 00000000 ................
0x00900 60230000 00000000 01000000 00000000 j#..............
0x00910 00000000 00000000 02000000 00000000 ................
0x00920 04800200 12000004 00000000 00000000 ................
0x00930 00000000 01000000 01000000 00000200 ................
0x00940 D00A0000 00000000 36230000 00000000 ........6#......
0x00950 01000000 00000000 00000000 00000000 ................
0x00960 02000000 00000000 04800200 1280F503 ................
0x00970 00000000 00000000 00000000 01000000 ................
0x00980 01000000 00000200 D80A0000 00000000 ................
0x00990 82230000 00000000 01000000 00000000 .#..............
0x009A0 00000000 00000000 02000000 00000000 ................
0x009B0 04800200 12000604 00000000 00000000 ................
0x009C0 00000000 01000000 01000000 00000200 ................
0x009D0 F00A0000 00000000 70230000 00000000 ........p#......
0x009E0 01000000 00000000 00000000 00000000 ................
0x009F0 02000000 00000000 04800200 12800104 ................
0x00A00 00000000 00000000 00000000 01000000 ................
0x00A10 01000000 00000200 F80A0000 00000000 ................
0x00A20 72230000 00000000 01000000 00000000 r#..............
0x00A30 00000000 00000000 02000000 00000000 ................
0x00A40 04800200 12000204 00000000 00000000 ................
0x00A50 00000000 01000000 01000000 00000200 ................
0x00A60 000B0000 00000000 76230000 00000000 ........v#......
0x00A70 01000000 00000000 00000000 00000000 ................
0x00A80 02000000 00000000 04800200 12000304 ................
0x00A90 00000000 00000000 00000000 01000000 ................
0x00AA0 01000000 00000200 080B0000 00000000 ................
0x00AB0 74230000 00000000 01000000 00000000 t#..............
0x00AC0 00000000 00000000 02000000 00000000 ................
0x00AD0 04800200 12800204 00000000 00000000 ................
0x00AE0 100B0000 00000000 100B0200 00000000 ................
0x00AF0 100B0400 00000000 100B0600 00000000 ................
0x00B00 100B0800 00000000 100B0000 00000000 ................
0x00B10 100B0B00 00000000 100B0D00 00000000 ................
0x00B20 100B1000 00000000 100B1200 00000000 ................
0x00B30 100B1400 00000000 100B1600 00000000 ................
0x00B40 100B1800 00000000 100B1000 00000000 ................
0x00B50 100B1B00 00000000 100B1D00 00000000 ................
0x00B60 100B2000 00000000 100B2200 00000000 .. .......".....
0x00B70 100B2400 00000000 100B2600 00000000 ..$.......&.....
0x00B80 100B2800 00000000 100B2000 00000000 ..(.......*.....
0x00B90 100B2B00 00000000 100B2D00 00000000 ..,.............
0x00BA0 100B3000 00000000 100B3200 00000000 ..0.......2.....
0x00BB0 100B3400 00000000 100B3600 00000000 ..4.......6.....
0x00BC0 100B3800 00000000 100B3000 00000000 ..8.......:.....
0x00BD0 100B3B00 00000000 100B3D00 00000000 ..<.......>.....
0x00BE0 100B4000 00000000 100B4200 00000000 [email protected].....
0x00BF0 100B4400 00000000 100B4600 00000000 ..D.......F.....
0x00C00 100B4800 00000000 100B4000 00000000 ..H.......J.....
0x00C10 60000000 00400000 5D000000 01000000 `....@..^.......
0x00C20 00000400 60000000 00020000 37303630 ....`.......7060
0x00C30 354F4442 60FF0100 28000000 00000100 5ODB`...(.......
0x00C40 00000000 00000000 28000000 00000000 ........(.......
0x00C50 00000100 02303030 30300000 00000000 .....00000......
0x00C60 00000000 F2000000 00000000 00000000 ................
0x00C70 03000100 00000000 15000000 28FF0100 ............(...
0x00C80 524F4B4B 4241434A 20574F52 4A205245 ROLLBACK WORK RE
0x00C90 4B454153 45FFFFFF 0B000000 08FF0100 LEASE...........
0x00CA0 000FBF5F 00003001 54002B00 FFFFFFFF ..._..:.T.,.....
0x00CB0 0B000100 00000000 07000000 D8FD0100 ................
0x00CC0 FF303839 336532FF 36376630 35323532 .0893e2.67f05252
0x00CD0 36636335 31646139 31323032 32313030 6cc51da912022100
0x00CE0 30302720 4F524445 52204259 20636DFF 00' ORDER BY cn.
0x00CF0 00000000 B4178400 000000B4 17850000 ................
0x00D00 0000B417 86000000 00B41787 00000000 ................
0x00D10 B4178800 000000B4 17890000 0000B418 ................
0x00D20 98000000 FFFFFFFF 0A000100 00000000 ................
0x00D30 0B000000 70FD0100 000FBF5F 00003001 ....p......_..:.
0x00D40 54002B00 FFFFFFFF 20202020 20202020 T.,.....
0x00D50 20202020 20202020 20202020 20202020
0x00D60 - 0x00D8F identical
0x00D90 20202020 20202020 20206465 20202020 de
0x00DA0 20202020 20202020 20202020 20202020
0x00DB0 - 0x0118F identical
0x01190 20202020 20202020 2020FFFF FFFFFFFF ......
0x011A0 0A000100 00000000 0B000000 F8F90100 ................
0x011B0 000FBF5F 00003101 54002B00 FFFFFFFF ..._..1.T.,.....
0x011C0 20202020 20202020 08005375 6D646179 ..Sunday
0x011D0 20202020 20202020 20202020 20202020
0x011E0 20200600 5065726F 20202020 20202020 ..Zero
0x011F0 04005065 726F6574 68202020 20200700 ..Zeroeth ..
0x01200 4F6D6520 20202020 20202020 03004669 One ..Fi
0x01210 72737420 20202020 20200500 54776F20 rst ..Two
0x01220 20202020 20202020 03005365 636F6D64 ..Second
0x01230 20202020 20200600 54687265 65202020 ..Three
0x01240 20202020 05005468 69726420 20202020 ..Third
0x01250 20200500 466F7572 20202020 20202020 ..Four
0x01260 0400466F 75727468 20202020 20200600 ..Fourth ..
0x01270 46697665 20202020 20202020 04004669 Five ..Fi
0x01280 66746820 20202020 20200500 53697820 fth ..Six
0x01290 20202020 20202020 03005369 78746820 ..Sixth
0x012A0 20202020 20200500 53657665 6D202020 ..Seven
0x012B0 20202020 05005365 76656D74 68202020 ..Seventh
0x012C0 20200700 45696768 74202020 20202020 ..Eight
0x012D0 05004569 67687468 20202020 20200600 ..Eighth ..
0x012E0 4D696D65 20202020 20202020 04004D69 Nine ..Ni
0x012F0 6D746820 20202020 20200500 54656D20 nth ..Ten
0x01300 20202020 20202020 03005465 6D746820 ..Tenth
0x01310 20202020 20200500 456B6576 656D2020 ..Eleven
0x01320 20202020 0600456B 6576656D 74682020 ..Eleventh
0x01330 20200800 5477656B 76652020 20202020 ..Twelve
0x01340 06005477 656B6674 68202020 20200700 ..Twelfth ..
0x01350 54686972 7465656D 20202020 08005468 Thirteen ..Th
0x01360 69727465 656D7468 20200000 466F7572 irteenth ..Four
0x01370 7465656D 20202020 0800466F 75727465 teen ..Fourte
0x01380 656D7468 20200000 46696674 65656D20 enth ..Fifteen
0x01390 20202020 07004669 66746565 6D746820 ..Fifteenth
0x013A0 20200900 53697874 65656D20 20202020 ..Sixteen
0x013B0 07005369 78746565 6D746820 20200900 ..Sixteenth ..
0x013C0 53657665 6D746565 6D202020 09005365 Seventeen ..Se
0x013D0 76656D74 65656D74 68200A00 45696768 venteenth ..Eigh
0x013E0 7465656D 20202020 08004569 67687465 teen ..Eighte
0x013F0 656D7468 20200000 4D696D65 7465656D enth ..Nineteen
0x01400 20202020 08004D69 6D657465 656D7468 ..Nineteenth
0x01410 20200000 5477656D 74792020 20202020 ..Twenty
0x01420 06005477 656D7469 65746820 20200900 ..Twentieth ..
0x01430 54686972 74792020 20202020 06005468 Thirty ..Th
0x01440 69727469 65746820 20200900 466F7572 irtieth ..Four
0x01450 74792020 20202020 0600466F 75727469 ty ..Fourti
0x01460 65746820 20200900 46696674 79202020 eth ..Fifty
0x01470 20202020 05004669 66746965 74682020 ..Fiftieth
0x01480 20200800 53697874 79202020 20202020 ..Sixty
0x01490 05005369 78746965 74682020 20200800 ..Sixtieth ..
0x014A0 53657665 6D747920 20202020 07005365 Seventy ..Se
0x014B0 76656D74 69657468 20200000 45696768 ventieth ..Eigh
0x014C0 74792020 20202020 06004569 67687469 ty ..Eighti
0x014D0 65746820 20200900 4D696D65 74792020 eth ..Ninety
0x014E0 20202020 06004D69 6D657469 65746820 ..Ninetieth
0x014F0 20200900 00000000 00000000 00000000 ..............
.... <much more>
It seems to contain some sql queries and other informations. Can I convert the file to a more readable format ? Is the content helpful ?
The company I am working for is a SAP customer.
Bye
Claus -
How to find the timing in audio
how to find starting and ending time of each word in the audio
Yes, of course. I believe that we understand that you're working on a job that requires you to synchronize some sort of an automation to a vocal narration that, we can only assume, will be included in the final movie/video. We understand that you are seeking the most efficient way to be effective. I sketched at least the highlights of The Best Way that I have discovered (so far) and another fine person (adninjastrator) has given you His Best Shot.
I was interested enough in the possibility of my finding a better way to do my work ( which is also rather long and troubling ) that I took the time to carefully study the material he presented. Have you also taking the time to look at it?
Like I said above, what I gave you before was only the tiniest highlight of what I do. I'll now refer you to a more extended description of it that I made in response to another forum participant's question. It is found here : voice synchronization with text(words) in flash http://forums.adobe.com/thread/900695?tstart=0
There are some inherent difficulties that we all face in this kind of work. One of them is that, when we are speaking naturally, there are many places in our speech where there is no clear break between the words, like the one you can see in the "mixdown" example that I provided. The only automated way of which I am acquainted that even begins to crack that tough nut a problem is the voice recognition software, such as Dragon NaturallySpeaking by Nuance. It, however, is not intended to give us what we need for our current projects. I would expect, however, that if you're made out of big time money and have, say, fifty grand available, you might approach the Nuance people and ask them to adapt their Very Fine Tool to greatly assist us in the work that we're doing. ( By the way, I am speaking this into Dragon now and it is typing for me. )
I have developed a way by which I present written text as it is being heard in the narration. There are places in which the words are distinct and are separated by pauses, and there are times in which only phrases or clusters of words are separated by silent periods. As you will discover by reading the thread to which I referred earlier, the way I present the written text is by first covering each word or phrase of it with an opaque rectangle whose color matches the background color, then by smoothly changing its opacity from 100% to 0% at the appropriate time. In much of the work that I did earlier, before I learned better methods, my chunks of text presentation were quite large, sometimes entire lines at a time. In the new work that I'm now doing, most of it will be presented one word at a time. That is the case in the two examples will show you next.
Just a few technical details : I'm running at thirty frames per second, using classic tweens, using an easing in value of -100 and an easing out value of +100. Many of my transitions are about eighty frames long. Some are lot longer. Here is a little pic showing two sentences being displayed :
These next two pics show the display of a twelve word sentence, smoothly presented.
There was a small pause after the seventh word, and the ending of the tweens for those players allows those words to be fully displayed while the last five are still getting going.
In the methods that were suggested by adninjastrator, you could obtain an amplitude graph of either just the overall volume of any waveform, or if you wanted to get really fancy, could do the same thing from only a portion of the frequency spectrum of the waveform. The method that I showed you earlier provides the first of those possible results directly and immediately. The second approach that adninjastrator presented is probably not necessary for either the work that you or I or vplusvw are doing.
You say that your audio length is big. That is not a surprise. Things Take Time. Big and valuable and important things often take a lot of time. You say you don't want to do it manually. We understand, from our own experience, that life is difficult and that we don't want to make it any harder than is necessary.
We have no way of knowing the nature of your project or how important it is to you. You could tell us a little about the first part, but only you can decide the second one. The work that I'm doing is terribly important to me. The work being pursued by vplusvw appears to be of value to that fine person.
Two of us have tried to help. We've given you our best shot. Our methods, or some related version of them, might be the better way that you seek. There is an eternal, universal truth, however. There is no Royal Road to knowledge. In so many important pursuits in life, there is no Easy Way. You have asked for the better way. I have given you the best way I know. I am willing to explain it in greater detail if that would appear to be of some value to you.
There simply was No Easy Way to build either the Golden Gate Bridge, the Transcontinental Railway, or the Hoover Dam. There is No Easy Way to do the work that I am doing. There is probably No Easy Way for you to do the work that you want to do. If it gets done at all, let along done well, there will certainly be some Serious Tediousness involved. That is for sure.
Back over to you. -
i have bought a film from itunes and the credit has come out of my account, but i can't find the film anywhere, it said it was downloading, then i left the laptop and on return i couldn't find the film. how do i find the film?
Maybe it is in the Purchased category of iTunes,
Try going there -
How are you supposed to get help from Apple if you don't know what your serial number is? They say to input the serial number of the "product" that you are asking about. Since my problem is how to deauthorize/authorize computers, and they are saying I have more than 5 (which I have never owned more than 5 computers in my life), I can't imagine what serial number they mean. Does it mean your desktop computer? If so, which one? Do they mean your device? LIke your iPhone, iPod or whatever? Do they mean the software ON one of your computers and/or devices? If so, which program, and on which computer/device?
We have three operational computers, one does not have iTunes on it. Since Apple is saying I have more than 5 authorized computers, and I can't imagine what they are, I am afraid to deauthorize all my computers. See what I mean? I just wanted to ask the question about how I can find out WHICH computers Apple thinks I have authorized, so I can decide if it's safe to deauthorize them all or not. I only know of 2 computers that have iTunes on them, so how can there be 5? We also have 2 iPhones and 2 iPods in this family, but one of the iPhones has his own apple id. He may have been using mine, since his computer died. I read that those don't count as "computers" to the 5. Do they, then?
Help! I can't contact apple because I have no idea what they mean about serial number. I doubt they would help me anyway. In order to get the serial number off my desktop computer (that has iTunes on it already), I will have to move furniture, so I don't want to if that's not it. Is there some way to find the serial number in the software, either on my desktop or my iPhone?sunshinecowgill wrote:
We have three operational computers, one does not have iTunes on it. Since Apple is saying I have more than 5 authorized computers, and I can't imagine what they are, I am afraid to deauthorize all my computers. See what I mean? I just wanted to ask the question about how I can find out WHICH computers Apple thinks I have authorized, so I can decide if it's safe to deauthorize them all or not.
You could have more 5 computers authorized if you ever, for example, reformatted a hard drive or replaced a hard drive without deauthorizing the computer first. Apple's system would see that as a different computer, even though you don't. There's nothing to be afraid of in deauthorizing everything and the reauthorizing what you actually have. You won't lose any data. Mistimp is correct, they can't tell you which computers are authorized. -
How do I find the total size of all my Music in iTunes 11?
I'm looking to get a new iPod, either a nano or Touch, so I'm trying to find the total size of all of my Music. Since iTunes 11's interface is so different from previous versions, I don't see a way to view that.
Ctrl B to show top menu
View Show Status Bar to show the grey bar at the bottom with the info you want.
While your there View> Show Sidebar and see if you prefer that. -
How do I find the cookies I want to keep
Recently I asked for some help but I think my request has got lost.
I had beenadvised to save the cookies I want to keep but this is beyond me.
My question is how do I find the cookie I want to keep? It is a cookie for an ebook and I have no idea what it is.
Will deleting all other cookies mean that it will also delete my passwords and log ins on several sites? I don't want this to happen.
Which brings me to the last point - You say that if I list exceptions to cookies I want to keep (at least I think that is what you mean), how do I find all those cookies?
Again, sorry for troubling you but until I can find out more about the cookies, I don't want to delete these in case I delete the wrong ones, such as the ebook.
Thank you cor-el. I do appreciate your advice...enormously.
AnthonyDear Sir,
Thank you so much for the above. It will be of great help in telling me where to go. But my problem is that if I can find cookies, I don't know which ones I want to keep. Are they labelled with the sites they refer to? If so that will help me. Apart from one which is the cookie I need to get to my online ebook, I guess there are cookies for the various passwords I have saved?
Forgive me but I am an old man and not real great with computers.
Thanks,
Anthony -
I typically have several open Preview files at any one time and often forget where, sometimes if, I saved them. In Mountain Lion, how do I find the location of an open Preview File? Tried holding option + command in spotlight but I don't see a path name appear anywhere.
Yes, cmd-option on a file you choose in Spotlight and the path will appear at the bottom of the Preview window.
EDIT: Also, if it is bookmarked the path is in Bookmarks. -
How do I find the position of a single character on a page?
Hi guys,
I am developing a PDFEditor, but am having trouble implementing the code which finds the location of glyph characters on a page (in device space). I have read the pdf reference on Text, but do not quite understand it.
I have worked out the individual character spacings, but I cannot accurately find the location of the first character .
Here is my current attempt:
float y = CGPDFPageGetBoxRect([current_page pageReference], kCGPDFCropBox).size.height-current_matrix_position.y;
float x = current_matrix_position.x;
float xa = a * x + c * y + e;
float ya = b * x + d * y + f;
text_position = [NSValue valueWithCGRect: CGRectMake(xa, ya, 15, d)];
(where text_position is the location of the start character in device space. a,b,c etc come from the Tm operator.
current_matrix_position is set as a point (e,f) from the cm operator.)
This code seems to work with some PDF files:
But does not work with others:
(Note there is text in the box above the blue which cannot be disclosed for reasons...)
Is there something I am missing (like another operator?) or is my formula completely wrong.
Your help would be greatly appreciatedHi Irosenth,
I have been reading the spec and trying to understand it for several weeks. Unfortunately, I am still confused with how to find the coordinates of the text.
>> You need to parse the content stream(s) that are associated with the page and
I have done this. My program finds both the cm operator, the tm operator and the font widths etc. Unfortunately, now that I have all of this information, I am unsure what to do with it.
How do I properly add these two matricies together? I have looked in the spec which describes it as:
x' = a * x + c * y + e
y' = b * x + d * y + f
I tried this and the results worked on some pages, but not on others (several thousand x coordinates out...). I am finding the ISO 32000-1:2008 very confusing in this section.
>> manage what you find there
This is the part I am having major trouble with. Using the coordinate transformation matricies, how can I determine the starting coordinate for the first glyph in a text (BT, ET) on a non-scaled page (so 1 unit = 1 pixel) using the matricies?
Thanks -
How do i find the length of a string??
trying to use the substring, I know the beginIndex (in my case 10), but the string will vary in size and so i need to find the last character and set it as the endIndex, how do i do this?
public String substring(int beginIndex,
int endIndex)Returns a new string that is a substring of this string. The substring begins at the specified beginIndex and extends to the character at index endIndex - 1. Thus the length of the substring is endIndex-beginIndex.
Examples:
"hamburger".substring(4, 8) returns "urge"
"smiles".substring(1, 5) returns "mile"
Parameters:
beginIndex - the beginning index, inclusive.
endIndex - the ending index, exclusive.
Returns:
the specified substring.Hi
To substring the string where u know the begin index and want to extract till the end use the following function from the String class of the java.lang package
String substring(int beginindex);
String test = "Hello";
String xx = test.substring(1);
The Value stored in xx will be ello
This is in case u need till the end of the String
If wanna skip the last character u can
use
String substring(int beginindex,int endindex);
String test = "Hello";
String xx = test.substring(1,test.length()-1);
The Value stored in xx will be ell -
How do I find the original photo that is used in one of my contact photo in "Contacts"?
Hi everyone,
I am in a bit of a dilemma. I desperately need to find and/or access the original photo used as a contacts photo in the OSX built in app "Contacts". I can resize the photo and I can see it in full but I can't find the original anywhere and in any way.
I'd really appreciate some help here, as the photo is dear to my heart but seems to have gone missing. It was originally scanned in but isn't showing up where all my scanned photos are saved. Eek!
If anyone has any pointers on where I could find this photo in its original size, please do share them!
Ta,
posiesHi DonTimo,
I've tried doing that, but in the said folder there are only default pictures. I can't find the images of any contacts in the app "Contacts" anywhere. The thread you refered me to and many others that are smilar to it, date back to about 2009-2010.
Really need this photo. Any other pointers? -
Hi,
I am trying fresh install of exchange2007, everything gone well but, finally it thrown a error saying :
Unable to initialize the Microsoft Exchange Information Store service. Failed to find the working directory parameter from the registry - Error 0x80004005.
the installation log says
6/5/2007 3:14:05 PM] [1] Processing component 'Mailbox Service Control (Last)' (Starting mailbox services).
[6/5/2007 3:14:05 PM] [1] Executing 'start-SetupService -ServiceName MSExchangeIS -MaximumWaitTime "unlimited"', handleError = False
[6/5/2007 3:14:05 PM] [2] Launching sub-task '$error.Clear(); start-SetupService -ServiceName MSExchangeIS -MaximumWaitTime "unlimited"'.
[6/5/2007 3:14:05 PM] [2] Beginning processing.
[6/5/2007 3:14:05 PM] [2] The maximum wait for the operation is set to 'unlimited'.
[6/5/2007 3:14:05 PM] [2] Service checkpoint has progressed. Previous checkpoint='0' - Current checkpoint='1'.
[6/5/2007 3:14:05 PM] [2] Will wait '10000' milliseconds for the service 'MSExchangeIS' to reach status 'Running'.
[6/5/2007 3:14:15 PM] [2] Service 'MSExchangeIS' failed to reach status 'Running' on this server after waiting for '10000' milliseconds.
[6/5/2007 3:14:15 PM] [2] Service 'MSExchangeIS' failed to start. Check the event log for possible reasons for the service start failure.
[6/5/2007 3:14:15 PM] [2] [ERROR] Unexpected Error
[6/5/2007 3:14:15 PM] [2] [ERROR] Service 'MSExchangeIS' failed to start. Check the event log for possible reasons for the service start failure.
[6/5/2007 3:14:15 PM] [2] Ending processing.
[6/5/2007 3:14:15 PM] [1] The following 1 error(s) occurred during task execution:
[6/5/2007 3:14:15 PM] [1] 0. ErrorRecord: Service 'MSExchangeIS' failed to start. Check the event log for possible reasons for the service start failure.
[6/5/2007 3:14:15 PM] [1] 0. ErrorRecord: Microsoft.Exchange.Configuration.Tasks.ServiceFailedToStartException: Service 'MSExchangeIS' failed to start. Check the event log for possible reasons for the service start failure.
[6/5/2007 3:14:15 PM] [1] [ERROR] Service 'MSExchangeIS' failed to start. Check the event log for possible reasons for the service start failure.
[6/5/2007 3:14:15 PM] [1] Setup is halting task execution because of one or more errors in a critical task.
[6/5/2007 3:14:15 PM] [1] Finished executing component tasks.
[6/5/2007 3:14:15 PM] [1] Ending processing.
[6/5/2007 3:14:18 PM] [0] End of Setup
[6/5/2007 3:14:18 PM] [0] **********************************************
this I am trying on my test system please help me out in resolving the issue
thanks in advance,Gary,
Open Registry Editor.
In Registry Editor, navigate to the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeIS\ParametersSystem
Create the following value (REG_SZ): Working Directory and give it a value that points to the new database folder.
Make sure you back up the registry before you do any changes on it.
Raj -
Hi,
I have a new Airport TimeCapsule that I set up about two weeks ago in combination with a new iMac running OS 10.9.4. It ran fine until 2 days ago, when the TC disk image disappeared from the iMac and Time Machine was not able to back up. I tried to find the TC in Airport Utility and it states the "Airport Time Capsule was previously part of your network. Check that it is still in range of your network and is plugged into a power outlet..." I've tried restarting the time capsule. I've tried restarting everything in order (modem>TC>iMac) and the iMac still cannot see the TC disk.
I've had two other issues that I will list in case they are all related somehow:
1) The time capsule took several attempts to set up when I first bought it. I had to reset the TC several times before I got all the way through the set up process successfully.
2) I tried hooking up my printer to the USB port on the airport time capsule and although my MacBook could see it and print to it just fine, my iMac was never able to see it.
The TC is hooked up to the iMac via ethernet cable. Does any of this sound familiar to anyone? I'm about ready to send the time capsule back and just resurrect my old airport that worked flawlessly for years. This airport TC has been a huge disappointment so far.
ThanksThere are some real issues between Mavericks and TC .. (or just network bugginess!!)
There is a heap of things you can do but it is easier to just run through the whole lot in order. None is necessarily the cure and that is why doing all is important.
The list is in this thread.
Airport Utility shows "unexpected error - please try again" when connecting to Time Capsule
In your case using ethernet can be a problem.. let me say please make sure you have ipv6 set to link-local only in your ethernet setup. I usually only show it in wireless but for you it must be ethernet. The wireless connection seems to be utterly required now for connection.. and hidden away into the airport utility is a switch over from wireless to ethernet. When I made the manual setup instructions above this particular ability (or stupidity) of the Airport Utility was not apparent to me.
So here is typical Airport Utility (AU) v6.. but it is actually working over wireless only. (The v5 utility was wireless + ethernet).
I have an ethernet client on the network that is completely invisible.
Click on the Other WiFi Devices (wrongly named.. it should say other devices).
And you will see the option to choose ethernet.
Then the AU sees the ethernet client and none of the wireless clients.. brilliant stuff eh??
PS this is just a test setup.. never would I have any TC with such an illegal name.. But I hope it shows you what to do.
Fix the names.. most important.. keep them short.. less than 10 characters all the better.
No spaces and pure alphanumeric.
Maybe you are looking for
-
Best practice for dual SSD RAID0 boot drive configuration
What is optimal stripe size for RAID0 OS/Boot Drives in OSX Software RAID?
-
Has copy and paste been broken in the latest iOS in Numbers
Just tried copying and pasting in the latest version of Numbers on a V3 iPad. The only time I could get it to work, was by copying into the same table. And then only once. I've been using this for months, but not since the latest update. Anyone else
-
URL parameters in combination with RRI
Hi BW people, I have two web templates. Template 2 should use the same variables of the variable screen shown for Template 1 (without showing a secons veriable screen). That is why I use a RRI. In the first template there are sevaral buttons that red
-
Dear All, We have created query,We have 4 types of billing document as per our business process,we have created 4 new billing document fields(VBRK-VBELN)-SQ02,Now the output and report is coming fine,But for each billing document one separate line
-
IDOC Message type 'ORDCHG' - Sales Order Delete funcanility
Dear Guru's, I have a requirement for a client where client is sending a EDI message to change & Delete a Sales order. I have mapped change option with IDOC message type 'ORDCHG' and basic message type 'ORDERS05'. Change option for the sales order is