RE: date-time domain overhead in express queries.

DateTimeData objects in Forte are inefficient, both in terms of memory
footprint and instantiation speed. My understanding is that it stores
different parts of the date as separate textdata sub-objects.. Large
footprint also means they take a long time to pass across the network.
We rarely use DataTimeData or any related "domain" type objects. We have
our own date class which stores the entire date and time in a single string
attribute.. Much faster, much smaller footprint, etc. Fetches from the
database use a "to_char(...)" approach to format the date from the database
directly in to the internal string attribute in the correct format, again
for speed..
-Greg
-----Original Message-----
From: Jones, Kerreck [SMTP:[email protected]]
Sent: Tuesday, January 19, 1999 11:36 AM
To: '[email protected]'
Subject: date-time domain overhead in express queries.
In our application, we have an outline window which displays 11 fields, 3
of
which are date time domain.
Our database currently contains about 1500 entries, and the query takes as
long as 70 seconds. If we
remove the DTG domains from the application model, then the query takes
only
35 seconds. Is there any
known problem with the overhead of the express date time domain when doing
queries?
Thanks in advance for any info.
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>-
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

I have considered this but have not found an elegant solution to the
problem of working accross multiple time-zones.
The application I am working on will ultimately need to work within Europe,
potentially servicing multiple time zones. By converting the date to a
string we lose the time-zone conversion that Forte does when an object
moves partitions and this is likely to cause problems as we then have no
"central" point of application time. If this is not a problem for you then
I would use strings as much as you possibly can.
If anyone has any thougths on how I could use scalar's in this case I'd be
interested to hear them. I've thought about forcing clients to "register"
with my central clock and then doing conversions behind the scenes but it
seems a bit inelegant.
However, one thing cannot be emphasised enough. Using the simple object
types (TextData's, IntegerData's etc) as class attributes is a really bad
idea, and will give you a number of performance penatlies.
Serialisation/De-serialisation of objects is really slow when compared with
scalars.
Scalars take up no 'object space' so you save on garbage collection.
Scalars are tiny when compared with their object equivalents.
Hope that helps.
From: [email protected]
To: [email protected]
Cc: [email protected]
Subject: RE: date-time domain overhead in express queries.
Date: 19 January 1999 18:22
DateTimeData objects in Forte are inefficient, both in terms of memory
footprint and instantiation speed. My understanding is that it stores
different parts of the date as separate textdata sub-objects.. Large
footprint also means they take a long time to pass across the network.
We rarely use DataTimeData or any related "domain" type objects. We have
our own date class which stores the entire date and time in a singlestring
attribute.. Much faster, much smaller footprint, etc. Fetches from the
database use a "to_char(...)" approach to format the date from thedatabase
directly in to the internal string attribute in the correct format, again
for speed..
-Greg
-----Original Message-----
From: Jones, Kerreck [SMTP:[email protected]]
Sent: Tuesday, January 19, 1999 11:36 AM
To: '[email protected]'
Subject: date-time domain overhead in express queries.
In our application, we have an outline window which displays 11 fields,
3
of
which are date time domain.
Our database currently contains about 1500 entries, and the query takesas
long as 70 seconds. If we
remove the DTG domains from the application model, then the query takes
only
35 seconds. Is there any
known problem with the overhead of the express date time domain whendoing
queries?
Thanks in advance for any info.
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive<URL:http://pinehurst.sageit.com/listarchive/>
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>-
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

Similar Messages

  • How do I set the date/time on my Airport Express?

    I am using an Apple Airport Express to connect to a wireless router in another part of the house. However, I am unable to set the date/time correctly and so the logs all start from Dec 13, 0hrs.
    I have tried using an internet time server, but to no avail.
    Any ideas?

    Open AirPort Utility and click Manual Setup
    Click the Base Station tab just under the row of icons
    Settings for Time Zone and the option to Set Time Automatically are there
    Click Update to save your new settings and restart the AirPort Express

  • How to transfer from time domain data to FFT domain

    I have built Labview program to acquire data, which in time domain I would like to change it to frequency domain in the same program for further processing,

    There are a large number of shipping examples. Open the example finder, go to the search tab and either enter fft or spectrum as the search keyword. However, I think all require that you have the full version of LabVIEW and not the base version.

  • How to set defalut value to DB current date time in EO using sql

    HI,
    I am using below query to set default date time as DB current date
    select to_char(sysdate, 'DD-MM-YYYY HH24:MI:SS') from dual
    but it is throwing exception
    (oracle.jbo.AttributeLoadException) JBO-27021: Failed to load custom data type value at index 7 with java object of type oracle.jbo.domain.Timestamp due to java.sql.SQLException.

    Halo,
    I tested it & was able to find the values inserted in db in hiredate column.. What is that you did? Was this..
    In EO of emp -- Hire date column of datatype timestamp :
    details tab.. Default value -- expression :
    DBTransaction.currentDbTimeIf you would have done this,
    On run time when we click createInsert button , by default you will see the date.. After committing the changes, query it in db and will find the inserted record with default value..
    Sample data i tested :
    SQL Statement which produced this data:
      select * from emp where empno=1111
    EMPNO,ENAME,JOB,MGR,HIREDATE,SAL,COMM,DEPTNO
    1111,null,null,null,06/05/2013 17:18:41,4500,null,nullRegards,
    Archana

  • SSRS parameter date/time properties

    Hello,
    I wanted to see if someone could help me with a SSRS parameter issue.
    I’m using parameters to create user defined @BeginDate and @EndDate for the report.
     I’m formatting the parameter properties as a Date/Time format to get calendar controls in the report.
    The problem I’m having is the ‘date field’ in underlying data set is formatted as (char(8), not null). 
    I believe this is causing problems with the Date/Time format in SSRS parameter properties.
    The data field would look like this 20500401.
    Is there any way that someone could show me how to format my @BeginDate and @EndDate in my dataset query to work with the SSRS parameter properties Date/Time format?
    Any information would be greatly appreciated.
    x

    Hi Tracy,
    The dates aren't field that are in my SSRS dataset.  They filters in query though
    Originally my query was before I added parameters:
    ...Where TRANS_DATE between '20140101' and '20140331' 
    After adding parameters:
    ....Where TRANS_DATE between @BeginDate and @EndDate
    Is there anyway that I could convert the TRANS_DATE field in my dataset query to work with SSRS Date/Time format instead?
    If I was returning the TRANS_DATE field in my dataset I think I could use your expression in the filter.
    Thanks,
    x

  • How to change system time on Cisco MeetingPlace Express Server

    How to change system time on Cisco MeetingPlace Express Server
    Model MCS-7825-I4

    Hi Vijay,
    As per the install guide for MPX 1.x as well as 2.x "Caution! Be sure you enter the correct date and time. You must reinstall the Cisco Unified MeetingPlace Express operating system and application if you need to change the date or time of your server in the future."
    http://docwiki.cisco.com/wiki/Cisco_Unified_MeetingPlace_Express,_Release_2.x_--_Configuring_the_Cisco_Unified_MeetingPlace_Express_Server#Configuring_the_Cisco_Unified_MeetingPlace_Express_Server
    http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/meetingplace_express/1_2/english/installation/guide/iug/mpxinst3.html
    HTH
    Manish

  • How to return a specific date/time range and last event details, when checking the event log via command prompt

    I am new to scripting (literally started reading/learning scripting a few hours ago), and I am stuck in trying to get my current script/command to filter a specific date range.
    * Note: I am working with Server 2003 and 2008; because of the environment I am in, a lot of scripts (such as Powershell and VBScript) don't work; trying to stick with command line, as it appears to be the only thing that functions correctly in my environment
    I am trying to search the System log in event viewer, for the most recent server reboot. Here is the command that I am currently running:
    ===========================================================
    C:\Windows\System32\cscript C:\Windows\System32\eventquery.vbs /L System /FI "id eq 1074"
    ===========================================================
    When run, the output looks like this:
    ===========================================================
    Microsoft (R) Windows Script Host Version 5.6
    Copyright (C) Microsoft Corporation 1996-2001. All rights reserved
    Listing the events in 'system' log of host 'xxxxxxxxxxxxxxx'
    Type Event
    Date Time    Source
    Information 1074
    12/18/2013 2:48:06 AM    USER32
    Information 1074
    11/20/2013 3:25:04 AM    USER32
    Information 1074
    10/23/2013 2:06:09 AM    USER32
    ===========================================================
    What I would like it to do is only show events that have happened in the last seven days, as well as show the event details if it does find an event that matches the criteria.
    Any help would be greatly appreciated. Thanks!
    Nick

    I would prefer using Powershell , you can use below code 
    function Get-EventViewer
    param(
    [string[]]$ComputerName = $ENV:COMPUTERNAME,[string]$LogName,[int]$eventid
    $Object =@()
    foreach ($Computer in $ComputerName)
    $ApplicationEvents = get-eventlog -logname $LogName -cn $computer -after (Get-Date).AddDays(-7) | ?{$_.eventid -eq "$eventid" }
    foreach ($event in $ApplicationEvents) {
    $Object += New-Object -Type PSObject -Property @{
    ComputerName = $Computer.ToUpper();
    TimeGenerated = $event.TimeGenerated;
    EntryType = $event.EntryType;
    Source = $event.Source;
    Message = $event.Message;
    $column1 = @{expression="ComputerName"; width=12; label="ComputerName"; alignment="left"}
    $column2 = @{expression="TimeGenerated"; width=22; label="TimeGenerated"; alignment="left"}
    $column3 = @{expression="EntryType"; width=10; label="EntryType"; alignment="left"}
    $column4 = @{expression="Source"; width=15; label="Source"; alignment="left"}
    $column5 = @{expression="Message"; width=100; label="Message"; alignment="left"}
    $Object|format-table $column1, $column2, $column3 ,$column4 ,$column5
    $Object.GetEnumerator() | Out-GridView -Title "Event Viewer"
    You can do a function call like
    Get-EventViewer -LogName system -ComputerName "computername" -eventid "2017"

  • How to convert the date time from MM-DD-YYYThh:mm:ss to YYYY-MM-DDThh:mm:ss format

    Hi All,
    I have a requirement in my project like to convert the date time from one format to another.my situation is like to convert the date time from MM-DD-YYYThh:mm:ss to YYYY-MM-DDThh:mm:ss format. I am using the soa suite 11.1.1.6.
    Can any one suggest me how to convert in the BPEL transformation.
    Thanks,
    Sanju.

    Hi Sanju,
    Store the date to be converted into a variable viz. dateVar. Now, process an expression in assign as: xp20:format-dateTime($dateVar,'[Y0001]-[M01]-[D01] [h]:[m01]:[s01]').
    Regards

  • Capture Date/Time - clobbered by LR 1.1

    Oh No!
    It appears that LR 1.1 has clobbered the Capture Date/Time after writing out the metadata.
    To try to be clearer, I've been using Elements 5.0 which organizes my photos (all jpg) by date. The date the photo was taken (which is also the date the file was created) are important to me. Those fields are respected by other Adobe products (Album, Elements 5.0 and Bridge CS2). Somehow LR 1.1 treats this date differently and with less importance than other Adobe and non-Adobe applications.
    I am not too concerned about the date that the metadata was changed, which LR shows. I want to see the date the picture was taken.
    The only way I managed to see that in LR was to customize the display using
    Jeffrey's Lightroom Metadata Viewer Preset Builder (for Lightroom 1.1). (Why I had to use a 3rd party add template creator to see the Capture Date/Time I don't know - it should be right there in LR - but leave that aside for the moment) .
    Anyhow, I manipulate the metadata by adding keywords and then tell LR to write that to the files. In this process the creation date/time vanished on a number of photos. The only way I could get it back was to use a backup of the original files (losing keywords and other data in the process)or to use Exifier to set the date/time, remove the collection from LR and reimport.
    Something as important as the date and time the photo was taken (file creation) is a key bit of data that should be readily available and visible in the metadata display and should not be clobbered or lost when writing out metadata to the files. I see there are other complaints about this and some expressing horror that Adobe didn't fix it in LR 1.1.
    My point is simple - for my purposes I cannot fully utilize LR 1.1 if the Creation Date/Time cannot be readily seen, or is in danger of being lost, I would have to use other software.
    Geeze, and I was beginning to get comfortable with LR...
    Maybe the good folks at Adobe have some comment and might be able to rectify this?
    In the alternative, is there something I'm missing about the way Capture Date/Time is supposed to be treated by LR users?
    Advice and pointers would be appreciated.

    Christopher wrote:
    "I hear ya, but if someone could just say, this is how dates are supposed to work ... that would be helpful. In particular, what fields or fields does the Metadata Browser use to sort an image into a date bin? If I knew that, I might be able to determine why so many of my images are put into the Unknown Date heading."
    Here we go:
    1. None DateTime tag defined in exif (or DateTime tags corrupted)
    -in Metadata Browser (left panel) Date will be seen as Unknown Date.
    -Thumbnail show no DateTime value,
    -in Matadata (right) panel, there will be no DateTime caption visible
    2. Only ModifyDate defined in exif
    -in Matadata Browser value of ModifyDate will be shown,
    -Thumbnail show no DateTime value,
    -in Matadata panel, ModifyDate will be shown as Time
    3. Only CreateDate defined in exif
    -in Metadata Browser value of CreateDate will be shown,
    -Thumbnail show no DateTime value,
    -in Metadata panel, CreateDate will be shown as DateTimeDigitized
    4. Only DateTimeOriginal defined in exif
    -in Metadata Browser value of DateTimeOriginal will be shown,
    -Thumbnail shows value of DateTimeOriginal,
    -in Metadata panel, DateTimeOriginal will be shown as Capture Time
    +in Medatada panel, DateTimeOriginal will be shown as Time
    5. All three DateTime values defined in exif
    -in Metadata Browser value of DateTimeOriginal will be shown,
    -Thumbnail shows value of DateTimeOriginal,
    -Metadata panel shows CreateDate as DateTimeDigitized,
    +Metadata panel shows DateTimeOriginal as CaptureTime,
    +Metadata panel shows ModifyDate as Time
    That's it. Now... why are we confused in LR when speaking of DateTime?
    In Metadata Browser any of exif's DateTime value can be shown. That is, looking at this panel only, we never know what Date is being used! Anyway, DateTimeOriginal has priority: if DateTimeOriginal exist, it will be used for Metadata Browser -otherwise any other existing exif DateTime tag will be used.
    But if only DateTimeOriginal is missing (so both, CreateDate and ModifyDate exist), then CreateDate has priority over ModifyDate: CreateDate will be shown.
    Priority in short: DateTimeOriginal, CreateDate, ModifyDate.
    Thumbnails: only if DateTimeOriginal exists, thumbnail will contain DateTime value -otherwise thumbnail's DateTime will be blank.
    Sorting of thumbnails per CaptureTime (hence by exif DateTimeOriginal) is another story and can be quite confusing at first sight... because DateTime priorities seems to be the same as for Metadata Browser:
    If exif DateTimeOriginal exist (=CaptureTime in LR), then this value will be used for sorting. But if this value is missing, LR will try to use exif CreateDate and if this is missing too, ModifyDate will be used. OK, there's some logic... except, why I'm repeating "if this tag is missing..."?
    Because when you modify/rewrite some image, then some tool may damage DateTime in exif -remember: damaged DateTime tag is the same as tag doesn't exist!
    In short: if there's exif DateTime corruption involved, you can't be sure which of three DateTime tags is being used for sorting. For some images DateTimeOriginal will be used, for those that are missing that tag, CreateDate will be used instead.
    Images missing exif DateTime tags (or these are corrupted), will be shown as first (sort A-Z).
    Bogdan

  • How to get calendar icon to show again when entering data in date/time field.

    Hello,
    First time posting on this site.  I am fairly new to using SQL Server Express.  I created a split-database in MS Access 2010 and have successfully migrated over the backend database to SQL Server Express.  When I was using the FE forms in
    Access, I use to be able to see a calendar icon where I could select the month and day in the date/time field.  
    I compiled the FE forms to binary format .accde so that I could distribute this to the users and they couldn't change my forms. After migrating the tables to SQL Server express for the BE, I am no longer able to see the calendar icon when I try to enter
    in data in the date/time field.   Same for the original .accdb file before the binary conversion to .accde.  
    How do I get the calendar icon back to show on the form when a user is entering in data?  I appreciate any assistance I can get. Thank you!
    Thai

    Hello Cheer,
    I don't believe the table changed when migrating from Access.  I had two tables before the migration, one was for the SwitchBoard Manager and the other table was for the database table.  I used the Switchboard to navigate to different menus, such
    as the Main Form, Power Form, Server Form, etc.  Let me know if I can provide any other information to help you narrow this down for me.   
    Thank you for your assistance. 
    Thai

  • How to dispaly System date time on Jsff page ?

    Friends,
    It would be simple question for you , Any one has idea about
    How to dispaly System date time on Jsff page using any expression laungage ?
    Thanks in Advance

    Hi,
    I have a solution for you I hope that is helps.
    add this to the top of your page...
    <jsp:useBean id="now" class="java.util.Date" scope="request" />
    so, you want the current date?
    <af:outputText value="#{now}"/>
    you can use the format for date also.
    I hope it is what you want.

  • How to autofill a date/time field on a print event?

    I am trying to have a read only field auto populate the date and time when a form is printed.
    How do I set up a script to initiate on a prePrint event?  I am very new to trying to script my own events.
    Thank you for your help!
    S.

    that worked thanks a lot,
    the values are inserted into the database now but i still get an error
    SQLException: [Microsoft][ODBC Microsoft Access Driver] Data type mismatch in criteria expression.
    but the values are inserted....a bit confused about that any reason why that would happen?

  • How not to insert a Date/Time field on INSERT

    hi all, i have a MSAccess table which has a lot of fields one of which is a date/time field......
    when i run the SQL code to insert values into this table i want the date/time field to be left blank.....
    i have tried to insert a blank space using '' but it shows the error
    SQLException: [Microsoft][ODBC Microsoft Access Driver] Data type mismatch in criteria expression.
    does anyone know how i can overcome this problem.....?

    that worked thanks a lot,
    the values are inserted into the database now but i still get an error
    SQLException: [Microsoft][ODBC Microsoft Access Driver] Data type mismatch in criteria expression.
    but the values are inserted....a bit confused about that any reason why that would happen?

  • How to insert EXIF date time data on photo using Photoshop CS5.5

    Is there any script or function available in photoshop CS5.5 which can help me in inserting date time from EXIF onto the photograph.
    An automated solution which can do multiple images at once will be preferable.

    Before proceeding further, it is to be highlighted that the version being referred to is Photoshop CS5 Extended which is actually Photoshop Version 12.1 and is a part of Adobe Master Collection CS5.5. A screenshot of the version information is attached below for information.
    Hence, I dont understand the concern expressed by many about the lowest version eligible for scripting being available in the product.
    My version is in effect 12.1 and not 7 or 8.
    Accordingly someone may advise on what script to use for inserting the EXIF data onto the image. I also want that the positioning of the text is predetermined and same for a batch of images required to be processed. I dont want to fix the position of text for each individual image.

  • Convert date/time to Unix epoch

    I have thousands of date time stamps I would like to convert to Unix epoch ten-digit strings. That is, take some thing like:
    Dec 9, 2005 10:24 AM
    and convert to
    1234567890 (only in the correct unix epoch time)
    What formula can I use? I've found that this "=DATE(1970,1,1)+P2/86400" can convert a 10 string epoch time down to just a date correctly, but without time. But I need to go in the opposite direction, with the time included.
    Using Numbers 09 ver 2.0.5 (368)

    CP,
    An up-to-date Unix Time would be provided by:
    =DUR2SECONDS((NOW()-"1/1/1970"))
    A somewhat more robust form would be:
    =DUR2SECONDS(NOW()-DATE(1970,1,1))
    If the time to be converted is in Cell P2, the expression would be:
    =DUR2SECONDS(P2-DATE(1970,1,1))
    Jerry

Maybe you are looking for

  • Count(1) returns null in group by

    hi gems..good afternoon.. I read that the COUNT() function always returns 0 (zero) if there is no matching rows in the table. The following code returns the 0 as expected: SELECT COUNT(1) FROM book_table              WHERE client_id = 10009          

  • How to submit a Feature Request

    Anyone know how ot submit a feature request to the Mail team?  I'm so tired of inline attachments.  I feel like I'm using a mail client from the mid 90's.

  • Absence days vs payroll days - their implications to absence quota counting

    Hi Gurus Would like to understand why is absence quota deduction based on payroll days instead of absence days? If there is a scenario in which the officer applied for a leave period which encompasses a Saturday (ws at that time is on alternate satur

  • Are there any trial versions of quicktime pro 7 ?

    After bying i new camera i found out it produces mp 4 that can´t be imported to either Iphoto or Imovie. However they opens in quicktime. I have tried testversions of ImTOO videconverter Ultimate 6 and Bigasoft movie converter and they successfully c

  • Access/SQL connection being lost

    Hello, Here is the situation: Windows Server 2012 Standard Edition, SQLServer 2012 Standard edition, MSAccess 2013 using ODBC 11. Sometime Access users get a message that they do not have permission to access SQLServer or that is doesn't exist. I che