Citadel ODBC Queries using Lookout SQLexec

AAAARRRRRGGGGGHHHHH!!!!!!!
Why is it so difficult to do queries with SQLexec? I have been trying for
days to get even ONE query to work on the simplest task. I have studied
every Lookout Help file on the subject MANY times and even looked through
some examples that others have provided in this newsgroup. Nothing works!
I always get a "syntax error" or else "unexpected character ". It seems
that every database or version of Excel is expecting the quotes in different
places.
I have been programming nearly my whole life in many different languages,
but this task seems much more complicated that it should be. Does anyone
else have this problem with Lookout and SQLexec?
All I am trying to do is query Citadel for one-minute averages of my data
source. I would like to prompt the user somehow to enter the desired date
and time range and then send the query results to a data table or an Excel
spreadsheet. I have been successful in using the MS Query with Excel 97 so
I can see all of my traces and I know they are in there. Since I have had
no luck using SQLexec so far, I have created a workaround for now that
generates the 1 minute averages using the "Average" object and then log the
results to a "csv" file using the "Spreadsheet" object. This has some
drawbacks since I need to perform some further averaging of my data and
present it back to the user in a Lookout panel (15 minute and 1 hour
averages with data validity calculations).
If anyone has some REAL examples of a working SQLexec function that will do
this task I would be very grateful for some help. I am using Lookout
version 4.01.51 (the latest I believe). Below is an example of a basic
query that I am trying to do (this was copy/pasted from a functioning MS
Query table in Excel 97).
SELECT Traces."LocalTime", Traces."Avg{\\geoff\project1\Exp_1}",
Traces."Avg{\\geoff\project1\Exp_2}"
FROM Traces Traces
WHERE (Traces."LocalTime">"9/13/00 13:00")
AND (Traces."Interval"="01:00")
Thanks in advance,
Geoffrey B. Klotz
GK Associates, Inc.
TEL: (805) 523-8700
FAX: (805) 523-1216
EMAIL: [email protected]

SQL implemented by Citadel ODBC driver is subset of the SQL standard and is
optimized for Citadel performance. The major distinctions are:
1) Database has always two tables TRACES and POINTS (see online help for
more info)
2) You can only perform queries (SELECT statement)
3) You can only search based on LocalTime, UTCTime and Interval columns
(WHERE clause)
A Lookout query can include special commands that perform data transforms to
manipulate and analyze historical data. The AVG transform is one of them.
Avg{Datapoint} returns the TIME WEIGHTED average for Datapoint across a time
range. Time weighted means that the Avg transforms takes into consideration
duration of each value. For example if the Pot1 value across time range is
for the first 25% of the time 0 and for the rest 75% it is 100 then the
average is going to be 25 not 50.
Here is an example how to use the Avg transform in an SQL statement:
SELECT "AVG{\\comp\process1\Pot1}", LocalTime
FROM Traces
WHERE LocalTime > '9/19/2000 6:00:00'
AND LocalTime <= '9/19/2000 18:00:00'
AND Interval = '12:00:00'
This SELECT statement returns one row that represents average value of the
\\comp\process1\Pot1 datapoint across 12 hours time range starting at 6:00AM
and its Timestamp. There is a few important things to notice:
1) The statements are not case sensitive
2) AVG uses curve brackets {} to enclose the datapoint name:
{\\comp\process1\Pot1}
3) The AVG expression is in double quotes: "AVG{\\comp\process1\Pot1}"
4) Time constants can be either in double or single quotes (refer to on-line
help for details on formats)
5) The LocalTime in the select list items (1st row) is optional and in this
case returns the end of the time range ('9/19/2000 18:00:00'). In other
words the average is always "timestamped" with the end of the time range.
The time range across which the average is taken is determined by the
starting LocalTime (LocalTime > '9/19/2000 6:00:00') and the Interval, it is
NOT DETERMINED BY THE ENDING LocalTime (LocalTime <= '9/19/2000 18:00:00').
The AVG transform always try to calculate sequence of averages starting from
the LocalTime, all of them across the specified Interval (12:00). For
example:
1) '9/19/2000 6:00:00' - '9/19/2000 18:00:00' (timestamped as '9/19/2000
18:00:00')
2) '9/19/2000 18:00:00' - '9/20/2000 6:00:00' (timestamped as '9/20/2000
6:00:00')
3) average: '9/20/2000 6:00:00' - '9/20/2000 18:00:00' (timestamped as
'9/20/2000 18:00:00')
This is calculated internally, but only rows determined by the ending
LocalTime are returned. In this case it was specified as LocalTime <=
'9/20/2000 18:00:01', so only the first average is returned. The following
example would return the first TWO rows:
SELECT "AVG{\\comp\process1\Pot1}", LocalTime
FROM Traces
WHERE LocalTime > '9/19/2000 6:00:00'
AND LocalTime <= '9/20/2000 6:00:00' <-- this rows has changed
AND Interval = '12:00:00'
Guy McDonnell
"newsgroups.ni.com" wrote in message
news:[email protected]...
> AAAARRRRRGGGGGHHHHH!!!!!!!
>
> Why is it so difficult to do queries with SQLexec? I have been trying for
> days to get even ONE query to work on the simplest task. I have studied
> every Lookout Help file on the subject MANY times and even looked through
> some examples that others have provided in this newsgroup. Nothing works!
> I always get a "syntax error" or else "unexpected character ". It seems
> that every database or version of Excel is expecting the quotes in
different
> places.
>
> I have been programming nearly my whole life in many different languages,
> but this task seems much more complicated that it should be. Does anyone
> else have this problem with Lookout and SQLexec?
>
> All I am trying to do is query Citadel for one-minute averages of my data
> source. I would like to prompt the user somehow to enter the desired date
> and time range and then send the query results to a data table or an Excel
> spreadsheet. I have been successful in using the MS Query with Excel 97
so
> I can see all of my traces and I know they are in there. Since I have had
> no luck using SQLexec so far, I have created a workaround for now that
> generates the 1 minute averages using the "Average" object and then log
the
> results to a "csv" file using the "Spreadsheet" object. This has some
> drawbacks since I need to perform some further averaging of my data and
> present it back to the user in a Lookout panel (15 minute and 1 hour
> averages with data validity calculations).
>
> If anyone has some REAL examples of a working SQLexec function that will
do
> this task I would be very grateful for some help. I am using Lookout
> version 4.01.51 (the latest I believe). Below is an example of a basic
> query that I am trying to do (this was copy/pasted from a functioning MS
> Query table in Excel 97).
>
> SELECT Traces."LocalTime", Traces."Avg{\\geoff\project1\Exp_1}",
> Traces."Avg{\\geoff\project1\Exp_2}"
> FROM Traces Traces
> WHERE (Traces."LocalTime">"9/13/00 13:00")
> AND (Traces."Interval"="01:00")
>
> Thanks in advance,
> --
> Geoffrey B. Klotz
> GK Associates, Inc.
> TEL: (805) 523-8700
> FAX: (805) 523-1216
> EMAIL: [email protected]
>
>
>

Similar Messages

  • Poor performance of BLOB queries using ODBC

    I'm getting very poor performance when querying a BLOB column using ODBC. I'm using an Oracle 10g database and the Oracle 10g ODBC driver on Windows XP.
    I create two tables:
    create table t1 ( x int primary key, y raw(2000) );
    create table t2 ( x int primary key, y blob );
    Then I load both tables with the same data. Then I run the following queries using ODBC:
    SELECT x, y FROM t1;
    SELECT x, y FROM t2;
    I find that the BLOB query takes about 10 times longer than the RAW query to execute.
    However, if I execute the same queries in SQL*Plus, the BLOB query is roughly as fast as the RAW query. So the problem seems to be ODBC-related.
    Has anyone else come across this problem ?
    Thanks.

    Hi Biren,
    By GUID, are you referring to the Oracle Portal product?

  • Is it possible to save / extract data from a MS SQL database 2008 using lookout 6.2?

    Is it possible to save / extract data from a MS SQL database 2008 using lookout 6.2?
      Now a days we are saving / extracting data in a excel spreadsheet, but we would like to do that using a database because it is better.

    You can use ODBC connection to work with SQL Server database.
    Use SQLExec object to execute the SQL statement. Here is a KB about the SQL statement.
    http://digital.ni.com/public.nsf/allkb/4ADEEA04CD24AE0B862565E20002A16F?OpenDocument
    To write data to spreadsheet is more straightforward because Lookout has built-in spreadsheet object. But you need to write SQL statement by yourself to interact with other database.
    To read the data back is the same way. Just use "select" SQL statement to query. You can use Datatable object to query.
    The "Data Source" can be "DSN = data source name;". The data source name is configured in Control Panel->Administrative Tools->Data Sources(ODBC).
    Ryan Shi
    National Instruments

  • Can I use lookout to retreive data in CSV file stored at a network PC

    The machines I try to interface are PC based machines and network capability. All the informations are stored in CSV files.Is it posssible to use lookout to read these CSV files periodically.
    Thanks

    Lookout does not have built-in functions to read CSV files. However, their are some ODBC drivers that are capable of reading/writing text files, and you can use Lookout's SQLExec object to communicate with those ODBC drivers. For example, the Microsoft Text Driver in your ODBC control panel will let you do this.
    Regards,
    Greg Caesar
    National Instruments,
    Applications Engineer

  • Citadel ODBC Driver for Windows 7 64-bit?

    Lookout 6.5 Installation did not load Citadel ODBC drivers?  Drivers not available for addition in ODBC Data Source Administrator.
    Required for SQLExec....
    Thanks,
    Ed
    Solved!
    Go to Solution.

    Try the C:\Windows\SysWOW64\ODBCAD.exe or C:\Windows\SysWOW64\ODBCAD32.exe
    Ryan Shi
    National Instruments

  • Error Installing Citadel ODBC Driver 3.0.9 On Windows XP

    Hello,
    I am looking to read some data out of a Lookout database which is a Citadel 3 database. I am having an issue installing the Citadel ODBC Driver 3.0.9 on Windows XP (located here: http://www.ni.com/download/citadel-odbc-driver-3.0.9/512/en/). Everytime I run the setup.exe I get the following error:
    I have tried running the setup program in compatitibility mode for Windows 2000, 98, 95, and NT with the same result. Is there something I can do to manually install the driver?
    Thank you,
    Luke

    May have to install on a Win 2000 virtual machine alongside a newer database to convert to Citadel 4/5
    Forshock - Consult.Develop.Solve.

  • Currency Translation Type in queries using currency conversion

    I have a question on the Currency Translation Type (EUR_VAR) that is used in all of the queries using currency conversion on the fly. (currency is maintained automatically nor in table.)
    User wants to use 2 different exchange rates in a single query. The months in 2010 (Actuals) are to
    be converted using Xchangerate-type EURO and the months in 2011 (Planned) to use Xchangerate-type USD.
    But store different rates with different starting dates. This is however not possible because the Currency Translation
    Type is set-up (1) to work with Query Key date - rather than a characteristic in the data and (2) apparently these
    currency translation types only work with time characteristics like 0fiscyear
    My idea is therefor to:
    1. Create a new variable (similar to EXC_RATE) to prompt for a 2nd Exchange Rate type when query starts
    2. Create a new Currency Translation Type (next to EUR_VAR), referencing the new variable or sticking to fixed Xrate type, fixed to EUR
    Is this possible to create Idea (2)
    Many Thanks in Advance.

    The best way would be to create two curr conversion types , one converting to EUR and other to USD .Put them in properties of coressponding KFs in query.For timref in RSCUR , variable time ref can be used individually for two conv types.

  • How to find out the top 20 queries used in a week

    Hi Guru's,
    I would like to know how to gather the information regarding the Top 20 queries used in the system per week, by a multicube.
    Note: I am using BI 7.0 and also Statistics are turned on.
    The aim is to pre-calculate these queries at night to help with the user experience.
    Thanks and regards,

    Hi
    U can check in RSZCOMPDIR if u did not find the info then go to se11 and give RSZ* and press F4 u will get all the tables which relates to reports
    Assign points if it helps
    Khaja

  • Is it possible to determine the volume of a cylindrical tank in the horizontal position using Lookout objects?

    Rather than doing this calculation in my plc's programming language, I was wondering if anyone has done this or might have an idea on how to do it in Lookout. I am using an ultrasonic level sensor to get the tank level, I just am not sure on how to calculate theta (how full the tank is in degrees) using Lookout.
    Any response would be appreciated.
    Thanks!
    Jason Phillips

    Hi, I should have looked in the forums first to find this answer, would have saved me some work. I'm using lookout, and needed to find gallons in a horizontal tank, I came up with the following formula...Then I decided to come to the forums to post the example, and I found this thread already started.
    (LenghFeet*(((DiaFeet/2)^2*(acos(((DiaFeet/2)-(LevelInches/12))/(DiaFeet/2))))-(sqrt(2*((DiaFeet/2)*(LevelInches/12))-(LevelInches/12)^2)*((DiaFeet/2)-(LevelInches/12)))))*7.48
    Where in my example lookout file:
    LenghFeet=Pot used to enter the length of the tank in Feet (would be hard coded in production program)
    DiaFeet=Pot used to enter the diameter of the tank in Feet (would be hard coded in production program)
    LevelInches=Pot used to enter the height of the liquid in the tank in Inches (would be from the field instrument measuring this in inches)
    7.48=gallons in a cubic foot
    The attached example is the source (.lks) file, so you will need to change the extension from .txt to .lks and then compile it.
    I hope this example is useful.
    Rich Anderson
    Green Bay, WI
    Attachments:
    roundhorizontaltank.txt ‏4 KB

  • Using Lookout to write a decimal point to an RTU in the field.

    Is thier a way to send an lookout exp.(ex.1.56) to a known writable register on an RTU out in the field. I am using the modbus object. I plan to send this expression that I have created to a series of regs. in the field and pull the info to a readable screen to display the converted readings from lookout. I want to use lookout to handle the complexed math and send it to the registers. EX. The RTU sends raw data (40003)to lookout. I convert it in an expression and I want to send it to reg(40501) out in the field. Question # 2. I also need to see if I can use a portable laptop in the field that mirrors the main host and is updated when the host updates. This is for the same application above. This is a mobile RTU
    if you will. But as you move around in a 70 mile area repeaters change.

    Hi,
    It's not clear to me what exactly you mean by "you can't send two values to a register."
    I am guessing you're trying to write a 32-bit floating point number. If this is the case, then here's how you would do it:
    To write a 32-bit floating point value (decimal point), you will have to use the F registers. E.g., F40001. Lookout will then split the value into two 16-bit registers accoring to the IEEE floating point notation and write them in two consecutive registers.
    Similarly, when you want Lookout to interpret two (consecutive) 16-bit registers in your PLC as a single 32-bit floating point number, you will use the F registers.
    For a detailed description of all this please see the following two articles:
    Detailed Descripti
    ons of Lookout Accessing Floating Point Numbers/Registers in a Modbus PLC:
    http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/2de82ef20b2cc991862567f600432e33?OpenDocument
    The Working Principle behind Reading Adjacent (32 Bit) D or F Registers of Modbus
    http://digital.ni.com/public.nsf/websearch/4ef459f549fcc7028625660a000a7629?OpenDocument
    I hope this is what you're looking for.
    Regards,
    Khalid

  • Is it possible to do motion control using Lookout

    Is it possible to use activeX controls in Lookout for controlling nuDrive motor drive?

    Hi,
    This doesn't directly answer your question.. but will hopefully give you some ideas to explore. It's more of me thinking aloud..
    Are you familiar with NI's Datalogging and Supervisory Control (DSC) module for LabVIEW? This is an excellent solution for projects involving both, a high number of IO points in an industrial setting and for high-speed measurement and acquisition. You have the benefits of LabVIEW, like DAQ, Motion and Vision, and at the same time have the Supervisory Control features like alarms, historical logging, security, networking, etc., that you want from Lookout. You can get more info' on DSC from:
    http://sine.ni.com/apps/we/nioc.vp?cid=10418〈=US
    I strongly recommend you take a look into this as a solution if your project i
    nvolves Motion along with high number of IO points.
    However, if you HAVE TO use Lookout, another approach would be to use DSC in combination with Lookout. Let the DSC module address Motion issues, and it (DSC) being an OPC Server, can be in turn communicated with Lookout (as an OPC Client).
    Hope this helps,
    Regards,
    Khalid

  • Finding Queries using a KF

    Hi Gurus,
    Is there a quick way to find which queries use a particular Key Figure?
    The where-used-list on the key figures does not give the list of queries. It gives Cubes/ODSs etc. which are using that keyfigure (I want to avoid the hardway of searching all the queries manually for each info-provider).
    Is there an underlying table that would directly give me the list of queries that use a particular keyfigure?
    Please let me know,
    Thanks,
    AT

    There are a couple of different ways to do a where-used on a key figure in BI.  One method gives you a tree view that doesn't include queries, the other gives you a list view that does include queries.  It sounds like you've seen the tree view which is accessed by clicking the where-used button in the display of the key figure.
    To get the latter display the key figure in RSA1 or RSD1 and then from the menu choose Edit --> Where-used list.  This will show you what you want.

  • I am struggling to learn  to create queries(using variables)

    Hi all,
    I am struggling to learn  to create queries(using variables)
    I want to learn from basics to all existing technics.
    (eg of each variable types and process types).
    if you have any docs please mail to <REMOVED>.
    thanks,
    BW Cheta

    check these links.
    http://www.sd-solutions.com/documents/SDS_BW_Replacement%20Path%20Variables.html
    http://help.sap.com/saphelp_nw04/helpdata/en/3f/89533e5ff4d064e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/2c/78a03c1178ad2ce10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/af/809528939d5b4fbff7e16a5bdc0d85/content.htm
    http://help.sap.com/search/highlightContent.jsp
    http://help.sap.com/saphelp_nw04s/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm
    thanks
    kevin.

  • Using GoldenGate SQLEXEC For Lookup Queries

    My target table T is the rsult of joining two source tables - S1 and S2. For each new row in S1 I need to look up S2 attributes and apply combined result to T.
    I am not able to find any extamples of this functionality inplemented on the source. All examples I have seen are implemented in the MAP statement on the target.
    I was able to use SQLEXEC on the target to call lookup proc on the source via dblink. That seems backwards.
    Is there a better way to do this?

    Looks like the solution is to resolve mapping on the source.
    After I configured mapping on the source the data is no longer replicating.
    The extract is running without complaints and correctly reports DMLs and successful EXECSQL calls.
    The replicat is also running without complaints, it just sits there as if it has nothing to do.
    What am I doing wrong?
    Attaching reports.
    GGSCI (pkdb5) 1> view report ext1
    Oracle GoldenGate Capture for Oracle
    Version 11.1.1.0.0 Build 078
    HP/UX, IA64, 64bit (optimized), Oracle 10 on Jul 28 2010 15:49:30
    Copyright (C) 1995, 2010, Oracle and/or its affiliates. All rights reserved.
    Starting at 2011-03-30 14:39:47
    Operating System Version:
    HP-UX
    Version U, Release B.11.31
    Node: pkdb5
    Machine: ia64
    soft limit hard limit
    Address Space Size : unlimited unlimited
    Heap Size : 4294967296 4294967296
    File Size : unlimited unlimited
    CPU Time : unlimited unlimited
    Process id: 1412
    Description:
    ** Running with the following parameters **
    EXTRACT ext1
    TARGETDEFS /u02/GG/source/dirsql/testdef.sql
    USERID ggs_owner, PASSWORD *********
    RMTHOST pkdb6, MGRPORT 7809
    RMTTRAIL /u01/GG/source/dirdat/rt
    TRANLOGOPTIONS ASMUSER goldgatesys@PK5_ASM, ASMPASSWORD ***********
    TABLE atrifonov.test1, SQLEXEC (SPNAME get_lkp, PARAMS (p_col1 = col1)), COLMAP (col1 = col1, col2 = col2, col3 = get_lkp.p_col2), TARG
    ET dwh.test1;
    2011-03-30 14:39:47 INFO OGG-01635 BOUNDED RECOVERY: reset to initial or altered checkpoint.
    Bounded Recovery Parameter:
    Options = BRRESET
    BRINTERVAL = 4HOURS
    BRDIR = /u02/GG/source
    CACHEMGR virtual memory values (may have been adjusted)
    CACHEBUFFERSIZE: 64K
    CACHESIZE: 8G
    CACHEBUFFERSIZE (soft max): 4M
    CACHEPAGEOUTSIZE (normal): 4M
    PROCESS VM AVAIL FROM OS (min): 16G
    CACHESIZEMAX (strict force to disk): 13.99G
    Database Version:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    PL/SQL Release 10.2.0.4.0 - Production
    CORE 10.2.0.4.0 Production
    TNS for HPUX: Version 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - Production
    Database Language and Character Set:
    NLS_LANG environment variable specified has invalid format, default value will be used.
    NLS_LANG environment variable not set, using default value AMERICAN_AMERICA.US7ASCII.
    NLS_LANGUAGE = "AMERICAN"
    NLS_TERRITORY = "AMERICA"
    NLS_CHARACTERSET = "UTF8"
    Warning: your NLS_LANG setting does not match database server language setting.
    Please refer to user manual for more information.
    Maximum supported ASM read buffer size is 28 KB
    Maximum supported ASM read buffer size is 28 KB
    2011-03-30 14:39:48 INFO OGG-00546 Default thread stack size: 262144.
    2011-03-30 14:39:48 INFO OGG-00547 Increasing thread stack size from 262144 to 1048576.
    2011-03-30 14:39:48 INFO OGG-01515 Positioning to begin time Mar 30, 2011 2:39:38 PM.
    2011-03-30 14:40:10 INFO OGG-01516 Positioned to (Thread 1) Sequence 11498, RBA 326680592, SCN 0.0, Mar 30, 2011 2:39:38 PM.
    2011-03-30 14:40:10 INFO OGG-01515 Positioning to begin time Mar 30, 2011 2:39:38 PM.
    2011-03-30 14:40:32 INFO OGG-01516 Positioned to (Thread 2) Sequence 10747, RBA 343953424, SCN 0.0, Mar 30, 2011 2:39:38 PM.
    2011-03-30 14:40:32 INFO OGG-01517 Position of first record processed for Thread 2, Sequence 10747, RBA 343953424, SCN 4.269826912
    1, Mar 30, 2011 2:39:40 PM.
    2011-03-30 14:40:32 INFO OGG-01517 Position of first record processed for Thread 1, Sequence 11498, RBA 326680592, SCN 4.269826912
    2, Mar 30, 2011 2:39:41 PM.
    2011-03-30 14:40:37 INFO OGG-01226 Socket buffer size set to 27985 (flush size 27985).
    2011-03-30 14:40:37 INFO OGG-01055 Recovery initialization completed for target file /u01/GG/source/dirdat/rt000022, at RBA 1233.
    2011-03-30 14:40:37 INFO OGG-01478 Output file /u01/GG/source/dirdat/rt is using format RELEASE 10.4/11.1.
    2011-03-30 14:40:37 INFO OGG-01026 Rolling over remote file /u01/GG/source/dirdat/rt000023.
    2011-03-30 14:40:37 INFO OGG-01053 Recovery completed for target file /u01/GG/source/dirdat/rt000023, at RBA 872.
    2011-03-30 14:40:37 INFO OGG-01057 Recovery completed for all targets.
    ** Run Time Messages **
    TABLE resolved (entry ATRIFONOV.TEST1):
    TABLE ATRIFONOV.TEST1, SQLEXEC (SPNAME get_lkp, PARAMS (p_col1 = col1)), COLMAP (col1 = col1, col2 = col2, col3 = get_lkp.p_col2), TA
    RGET dwh.test1;
    Using the following key columns for source table ATRIFONOV.TEST1: COL1.
    2011-03-30 14:43:02 INFO OGG-01021 Command received from GGSCI: STOP.
    * ** Run Time Statistics ** *
    Report at 2011-03-30 14:43:04 (activity since 2011-03-30 14:41:53)
    Output to /u01/GG/source/dirdat/rt:
    From Table ATRIFONOV.TEST1 to DWH.TEST1:
    # inserts: 1
    # updates: 0
    # deletes: 0
    # discards: 0
    Stored procedure get_lkp:
    attempts: 1
    successful: 1
    REDO Queue Statistics
    -- Write Operations ------------------ -- Read Operations -------------------
    Queue Name Size Count Waited Signaled Count Waited Signaled
    +++consumer 1 Control 128 0 0 0 0 0 0
    coordinator Control 128 1 0 0 1 0 0
    coordinator Records 2048 1 0 0 1 122 1
    Redo Thread 1 Control 128 1 0 0 1 0 0
    Redo Thread 1 Records 2048 1 0 0 1 44 1
    Redo Thread 2 Control 128 1 0 0 1 0 0
    Redo Thread 2 Records 2048 0 0 0 0 149 0
    CACHE OBJECT MANAGER statistics
    CACHE MANAGER VM USAGE
    vm current = 64K vm anon queues = 64K
    vm anon in use = 0 vm file = 0
    vm used max = 64K ==> CACHE BALANCED
    CACHE CONFIGURATION
    cache size = 8G cache force paging = 13.99G
    buffer min = 64K buffer highwater = 4M
    pageout eligible size = 4M
    CACHE Transaction Stats
    trans active = 0 max concurrent = 5
    non-zero total = 2.89K trans total = 2.89K
    CACHE File Caching
    disk current = 0 disk total = 0
    disk caching = 0 file cached = 0
    file retrieves = 0
    CACHE MANAGEMENT
    buffer links = 0 anon gets = 0
    forced unmaps = 0 cnnbl try = 0
    cached out = 0 force out = 0
    Allocation Request Distribution
    < 128B: 0
    128B: 1 0 | 512B: 0 0
    2K: 0 0 | 8K: 0 0
    32K: 0 0 | 128K: 0 0
    512K: 0 0 | 2M: 0 0
    8M: 0 0 | 32M: 0 0
    128M: 0 0 | 512M: 0 0
    2G: 0 0 | 8G: 0
    Cached Transaction Size Distribution
    0: 2.89K
    < 4K: 1
    4K: 0 0 | 16K: 0 0
    64K: 0 0 | 256K: 0 0
    1M: 0 0 | 4M: 0 0
    16M: 0 0 | 64M: 0 0
    256M: 0 0 | 1G: 0 0
    4G: 0 0 | 16G: 0 0
    64G: 0 0 | 256G: 0 0
    1T: 0 0 | 4T: 0 0
    16T: 0 0 | 64T: 0 0
    256T: 0 0 |1024T: 0 0
    QUEUE Statistics:
    num queues = 15 default index = 0
    cur len = 0 max len = 0
    q vm current = 0 vm max = 0
    q hits = 0 q misses = 1
    queue size q hits curlen maxlen cannibalized
    0 64K 0 1 1 0
    1 128K 0 0 0 0
    2 256K 0 0 0 0
    3 512K 0 0 0 0
    4 1M 0 0 0 0
    5 2M 0 0 0 0
    6 4M 0 0 0 0
    7 8M 0 0 0 0
    8 16M 0 0 0 0
    9 32M 0 0 0 0
    10 64M 0 0 0 0
    11 128M 0 0 0 0
    12 256M 0 0 0 0
    13 512M 0 0 0 0
    14 1G 0 0 0 0
    ================================================================================
    CACHE POOL #0
    POOL INFO group: ext1 id: p1412_Redo Thread 2 instance: 2 tid: 0000000000000007
    trans active = 0 trans concurrent (max) = 3
    trans total = 2.18K (2230 )
    flag = 0x00000005
    last error = (0=<none>)
    Allocation Request Distribution
    < 128B: 0
    128B: 0 0 | 512B: 0 0
    2K: 0 0 | 8K: 0 0
    32K: 0 0 | 128K: 0 0
    512K: 0 0 | 2M: 0 0
    8M: 0 0 | 32M: 0 0
    128M: 0 0 | 512M: 0 0
    2G: 0 0 | 8G: 0
    ================================================================================
    CACHE POOL #1
    POOL INFO group: ext1 id: p1412_Redo Thread 1 instance: 1 tid: 0000000000000006
    trans active = 0 trans concurrent (max) = 3
    trans total = 724 (724 )
    flag = 0x00000005
    last error = (0=<none>)
    Allocation Request Distribution
    < 128B: 0
    128B: 1 0 | 512B: 0 0
    2K: 0 0 | 8K: 0 0
    32K: 0 0 | 128K: 0 0
    512K: 0 0 | 2M: 0 0
    8M: 0 0 | 32M: 0 0
    128M: 0 0 | 512M: 0 0
    2G: 0 0 | 8G: 0
    ================================================================================
    CACHE POOL #2
    POOL INFO group: ext1 id: p1412_ORA-LOB-MEMPOOL instance: 0 tid: 0000000000000000
    trans active = 0 trans concurrent (max) = 0
    trans total = 0 (0 )
    flag = 0x00000009
    last error = (0=<none>)
    Allocation Request Distribution
    < 128B: 0
    128B: 0 0 | 512B: 0 0
    2K: 0 0 | 8K: 0 0
    32K: 0 0 | 128K: 0 0
    512K: 0 0 | 2M: 0 0
    8M: 0 0 | 32M: 0 0
    128M: 0 0 | 512M: 0 0
    2G: 0 0 | 8G: 0
    ================================================================================
    CACHE POOL #3
    POOL INFO group: ext1 id: p1412_BLOB instance: 0 tid: 0000000000000000
    trans active = 0 trans concurrent (max) = 0
    trans total = 0 (0 )
    flag = 0x00000000
    last error = (0=<none>)
    Allocation Request Distribution
    < 128B: 0
    128B: 0 0 | 512B: 0 0
    2K: 0 0 | 8K: 0 0
    32K: 0 0 | 128K: 0 0
    512K: 0 0 | 2M: 0 0
    8M: 0 0 | 32M: 0 0
    128M: 0 0 | 512M: 0 0
    2G: 0 0 | 8G: 0
    QUEUE Statistics:
    num queues = 15 default index = 0
    cur len = 0 max len = 0
    q vm current = 0 vm max = 0
    q hits = 0 q misses = 1
    queue size q hits curlen maxlen cannibalized
    0 64K 0 1 1 0
    1 128K 0 0 0 0
    2 256K 0 0 0 0
    3 512K 0 0 0 0
    4 1M 0 0 0 0
    5 2M 0 0 0 0
    6 4M 0 0 0 0
    7 8M 0 0 0 0
    8 16M 0 0 0 0
    9 32M 0 0 0 0
    10 64M 0 0 0 0
    11 128M 0 0 0 0
    12 256M 0 0 0 0
    13 512M 0 0 0 0
    14 1G 0 0 0 0
    ================================================================================
    CACHE POOL #0
    POOL INFO group: ext1 id: p1412_Redo Thread 2 instance: 2 tid: 0000000000000007
    trans active = 0 trans concurrent (max) = 3
    trans total = 2.18K (2230 )
    flag = 0x00000005
    last error = (0=<none>)
    Allocation Request Distribution
    < 128B: 0
    128B: 0 0 | 512B: 0 0
    2K: 0 0 | 8K: 0 0
    32K: 0 0 | 128K: 0 0
    512K: 0 0 | 2M: 0 0
    8M: 0 0 | 32M: 0 0
    128M: 0 0 | 512M: 0 0
    2G: 0 0 | 8G: 0
    ================================================================================
    CACHE POOL #1
    POOL INFO group: ext1 id: p1412_Redo Thread 1 instance: 1 tid: 0000000000000006
    trans active = 0 trans concurrent (max) = 3
    trans total = 724 (724 )
    flag = 0x00000005
    last error = (0=<none>)
    Allocation Request Distribution
    < 128B: 0
    128B: 1 0 | 512B: 0 0
    2K: 0 0 | 8K: 0 0
    32K: 0 0 | 128K: 0 0
    512K: 0 0 | 2M: 0 0
    8M: 0 0 | 32M: 0 0
    128M: 0 0 | 512M: 0 0
    2G: 0 0 | 8G: 0
    ================================================================================
    CACHE POOL #2
    POOL INFO group: ext1 id: p1412_ORA-LOB-MEMPOOL instance: 0 tid: 0000000000000000
    trans active = 0 trans concurrent (max) = 0
    trans total = 0 (0 )
    flag = 0x00000009
    last error = (0=<none>)
    Allocation Request Distribution
    < 128B: 0
    128B: 0 0 | 512B: 0 0
    2K: 0 0 | 8K: 0 0
    32K: 0 0 | 128K: 0 0
    512K: 0 0 | 2M: 0 0
    8M: 0 0 | 32M: 0 0
    128M: 0 0 | 512M: 0 0
    2G: 0 0 | 8G: 0
    ================================================================================
    CACHE POOL #3
    POOL INFO group: ext1 id: p1412_BLOB instance: 0 tid: 0000000000000000
    trans active = 0 trans concurrent (max) = 0
    trans total = 0 (0 )
    flag = 0x00000000
    last error = (0=<none>)
    Allocation Request Distribution
    < 128B: 0
    128B: 0 0 | 512B: 0 0
    2K: 0 0 | 8K: 0 0
    32K: 0 0 | 128K: 0 0
    512K: 0 0 | 2M: 0 0
    8M: 0 0 | 32M: 0 0
    128M: 0 0 | 512M: 0 0
    2G: 0 0 | 8G: 0
    EXT1.rpt: END
    GGSCI (pkdb6) 1> view report rep2
    Oracle GoldenGate Delivery for Oracle
    Version 11.1.1.0.0 Build 078
    HP/UX, IA64, 64bit (optimized), Oracle 11 on Jul 28 2010 16:09:58
    Copyright (C) 1995, 2010, Oracle and/or its affiliates. All rights reserved.
    Starting at 2011-03-30 14:40:39
    Operating System Version:
    HP-UX
    Version U, Release B.11.31
    Node: pkdb6
    Machine: ia64
    soft limit hard limit
    Address Space Size : unlimited unlimited
    Heap Size : 4294967296 4294967296
    File Size : unlimited unlimited
    CPU Time : unlimited unlimited
    ...skipping...
    Oracle GoldenGate Delivery for Oracle
    Version 11.1.1.0.0 Build 078
    HP/UX, IA64, 64bit (optimized), Oracle 11 on Jul 28 2010 16:09:58
    Copyright (C) 1995, 2010, Oracle and/or its affiliates. All rights reserved.
    Starting at 2011-03-30 14:40:39
    Operating System Version:
    HP-UX
    Version U, Release B.11.31
    Node: pkdb6
    Machine: ia64
    soft limit hard limit
    Address Space Size : unlimited unlimited
    Heap Size : 4294967296 4294967296
    File Size : unlimited unlimited
    CPU Time : unlimited unlimited
    Process id: 29967
    Description:
    ** Running with the following parameters **
    REPLICAT rep2
    ASSUMETARGETDEFS
    USERID ggs_owner, PASSWORD *********
    MAP atrifonov.test1, TARGET dwh.test1, KEYCOLS (col1);
    CACHEMGR virtual memory values (may have been adjusted)
    CACHEBUFFERSIZE: 64K
    CACHESIZE: 512M
    CACHEBUFFERSIZE (soft max): 4M
    CACHEPAGEOUTSIZE (normal): 4M
    PROCESS VM AVAIL FROM OS (min): 1G
    CACHESIZEMAX (strict force to disk): 881M
    Database Version:
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    PL/SQL Release 11.2.0.2.0 - Production
    CORE 11.2.0.2.0 Production
    TNS for HPUX: Version 11.2.0.2.0 - Production
    NLSRTL Version 11.2.0.2.0 - Production
    Database Language and Character Set:
    NLS_LANG environment variable specified has invalid format, default value will be used.
    NLS_LANG environment variable not set, using default value AMERICAN_AMERICA.US7ASCII.
    NLS_LANGUAGE = "AMERICAN"
    NLS_TERRITORY = "AMERICA"
    NLS_CHARACTERSET = "AL32UTF8"
    Warning: your NLS_LANG setting does not match database server language setting.
    Please refer to user manual for more information.
    Opened trail file /u01/GG/source/dirdat/rt000022 at 2011-03-30 14:40:39
    Switching to next trail file /u01/GG/source/dirdat/rt000023 at 2011-03-30 14:40:39 due to EOF, with current RBA 1233
    Opened trail file /u01/GG/source/dirdat/rt000023 at 2011-03-30 14:40:39
    2011-03-30 14:40:39 INFO OGG-01014 Positioning with begin time: Mar 30, 2011 2:40:23 PM, starting record time: Mar 3
    0, 2011 2:40:37 PM at extseqno 23, extrba 872.
    ** Run Time Messages **
    Opened trail file /u01/GG/source/dirdat/rt000023 at 2011-03-30 14:40:39
    Processed extract process graceful restart record at seq 23, rba 872.
    2011-03-30 14:43:10 INFO OGG-01021 Command received from GGSCI: STOP.
    * ** Run Time Statistics ** *
    Last record for the last committed transaction is the following:
    Trail name : /u01/GG/source/dirdat/rt000023
    Hdr-Ind : E (x45) Partition : . (x04)
    UndoFlag : . (x00) BeforeAfter: A (x41)
    RecLength : 30 (x001e) IO Time : 2011-03-30 14:41:50.000095
    IOType : 5 (x05) OrigNode : 255 (xff)
    TransInd : . (x03) FormatType : R (x52)
    SyskeyLen : 0 (x00) Incomplete : . (x00)
    AuditRBA : 11498 AuditPos : 327552200
    Continued : N (x00) RecCount : 1 (x01)
    2011-03-30 14:41:50.000095 Insert Len 30 RBA 931
    Name: DWH.TEST1
    Reading /u01/GG/source/dirdat/rt000023, current RBA 1080, 0 records
    Report at 2011-03-30 14:43:10 (activity since 2011-03-30 14:40:39)
    No records were replicated.
    Last log location read:
    FILE: /u01/GG/source/dirdat/rt000023
    SEQNO: 23
    RBA: 1080
    TIMESTAMP: Not Available
    EOF: YES
    READERR: 400
    CACHE OBJECT MANAGER statistics
    CACHE MANAGER VM USAGE
    vm current = 0 vm anon queues = 0
    vm anon in use = 0 vm file = 0
    vm used max = 0 ==> CACHE BALANCED
    CACHE CONFIGURATION
    cache size = 512M cache force paging = 881M
    buffer min = 64K buffer highwater = 4M
    pageout eligible size = 4M
    CACHE Transaction Stats
    trans active = 0 max concurrent = 0
    non-zero total = 0 trans total = 0
    CACHE File Caching
    disk current = 0 disk total = 0
    disk caching = 0 file cached = 0
    file retrieves = 0
    CACHE MANAGEMENT
    buffer links = 0 anon gets = 0
    forced unmaps = 0 cnnbl try = 0
    cached out = 0 force out = 0
    Allocation Request Distribution
    < 128B: 0
    128B: 0 0 | 512B: 0 0
    2K: 0 0 | 8K: 0 0
    32K: 0 0 | 128K: 0 0
    512K: 0 0 | 2M: 0 0
    8M: 0 0 | 32M: 0 0
    128M: 0 0 | 512M: 0 0
    2G: 0 0 | 8G: 0
    Cached Transaction Size Distribution
    0: 0
    < 4K: 0
    4K: 0 0 | 16K: 0 0
    64K: 0 0 | 256K: 0 0
    1M: 0 0 | 4M: 0 0
    16M: 0 0 | 64M: 0 0
    256M: 0 0 | 1G: 0 0
    4G: 0 0 | 16G: 0 0
    64G: 0 0 | 256G: 0 0
    1T: 0 0 | 4T: 0 0
    16T: 0 0 | 64T: 0 0
    256T: 0 0 |1024T: 0 0
    QUEUE Statistics:
    num queues = 15 default index = 0
    cur len = 0 max len = 0
    q vm current = 0 vm max = 0
    q hits = 0 q misses = 0
    queue size q hits curlen maxlen cannibalized
    0 64K 0 0 0 0
    1 128K 0 0 0 0
    2 256K 0 0 0 0
    3 512K 0 0 0 0
    4 1M 0 0 0 0
    5 2M 0 0 0 0
    6 4M 0 0 0 0
    7 8M 0 0 0 0
    8 16M 0 0 0 0
    9 32M 0 0 0 0
    10 64M 0 0 0 0
    11 128M 0 0 0 0
    12 256M 0 0 0 0
    13 512M 0 0 0 0
    14 1G 0 0 0 0
    ================================================================================
    CACHE POOL #0
    POOL INFO group: rep2 id: p29967_BLOB
    trans active = 0 trans concurrent (max) = 0
    trans total = 0 (0 )
    flag = 0x00000000
    last error = (0=<none>)
    Allocation Request Distribution
    < 128B: 0
    128B: 0 0 | 512B: 0 0
    2K: 0 0 | 8K: 0 0
    32K: 0 0 | 128K: 0 0
    512K: 0 0 | 2M: 0 0
    8M: 0 0 | 32M: 0 0
    128M: 0 0 | 512M: 0 0
    2G: 0 0 | 8G: 0

  • Database package for handling SQL queries using JDBC/ODBC bridge

    I perform a package using J2ME which can stores the contact.It consisting of the fascilities of the editing,Inserting, Deleting,Updating records
    i have write import statements as
    import javax.microedition.midlet*;
    import javax.microedition.lcdui.*;
    but when i write import java.sql.* error message shown AS this package does not exist.
    So for J2ME using J2ME wireless toolkit 2.5 cldc which package i want to import to implement the sql statements i implement the Database using the text Files.
    Requirement is that all SQL statements are implemented.also Which other equivalent packages are there for handling the databases in J2ME.
    Please tell me all the package & Answer of the above problem.

    Hey
    I was told that I can (through Java code) read all the registered DSNs and that way basically modify my application to populate it with a list of databases in the system and then when the user clicks on a database, the program would function as before...i.e. read the list of tables with it..yadda yadda yadda
    Can anyone guide me on how to do that? read a list of DSNs in the system etc

Maybe you are looking for

  • Is it possible to make an order with danish keyboard and documentation

    Hallo I need a computer with danish keyboard so my question is Is it possible to make an order with danish keyboard and documentation Jesper Nielsen

  • BOBJ Partner Training Catalog  login errors out  June 5, 2009 at 09:30 PT

    BusinessObjects Partner Training Catalog login page errors June 5, 2009 at 09:30 PT The URL https://partner.enablement.sap.com:/sap/bc/bsp/sap/z_lso_partner/login.htm was not called due to an error. Note ■The following error text was processed in the

  • BEWARE iPhone email

    Just a heads up. When iTunes/iPhone automatically creates email accounts on your iPhone based on what it finds on your computer it takes the liberty of choosing the account type on the iPhone. For example. On my computer my Yahoo and .Mac accounts ar

  • OpenHub Error (Urgent)

    ==== Output of System Commands: Repeat # 0 ==== mv: 0653-401 Cannot rename /interf/BWQ/539/Logility/zdpcdr_co.dat to /interf/BWQ/539/XI_Temp/zdpcdr_co.dat:           A file or directory in the path name does not exist. External program terminated wit

  • Crosstab Webi report

    Hello, I need  to create some dummy columns at the end of the cross tab, any ideas The cross tab may look some thing like      A     B   C  D  E        1 2 3 where the 1,2,3 are rows and A,B,C D and E are columns, both are data objects. Hence the cro