473,320 Members | 1,950 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Query regarding Snapshot API

Hi,

I have gone through the snapshot API. I need to use it for finding
location of database files, tablespace containers etc on a remote
machine. These parameters are present in the response. However, for
getting only some paramters, I get a huge response, with many
parameters that I do not need (mostly many are performance parameters).
How long can the snapshot response be, and can it considerably affect
performance?

Thanks in Advance,
Tejas

Nov 12 '05 #1
3 1678
Tejas wrote:
Hi,

I have gone through the snapshot API. I need to use it for finding
location of database files, tablespace containers etc on a remote
machine. These parameters are present in the response. However, for
getting only some paramters, I get a huge response, with many
parameters that I do not need (mostly many are performance parameters).
How long can the snapshot response be, and can it considerably affect
performance?


You could use the snapshat table functions and query those with SQL. That
allows you to filter out only those information you are really interested
in.

--
Knut Stolze
DB2 Information Integration Development
IBM Germany
Nov 12 '05 #2
Knut,

Thanks a lot dor the reply. I can use these tables, but sadly there are
only available after version 8.1. For earlier versions, I need to use
the API's. I just wanted to know what is the average size of snapshot
data returned( is it in order of KB's or MB's ?)

Thanks,
Tejas

Nov 12 '05 #3
That all depends on the size of your system and the limiting parameters
you pass to the snapshot API (ie, for only this
application/database/etc). There is no way to answer this question, as
it is totally dependant on your system and intended monitor query.

The snapshot APIs do include a sizing function (GetSnapshotSz, or
something like that) that you call exactly how you'd call the snapshot
API, but it will return the estimated size of memory required for the
snapshot in question. Please read the monitor documentation for more
details.

Tejas wrote:
Knut,

Thanks a lot dor the reply. I can use these tables, but sadly there are
only available after version 8.1. For earlier versions, I need to use
the API's. I just wanted to know what is the average size of snapshot
data returned( is it in order of KB's or MB's ?)

Thanks,
Tejas

Nov 12 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: John Carroll | last post by:
Is there a SQL query that can be run against a database that will give me all the details on any locks that are in place at the given time? I am interested in find the lock type and owner. Thank...
11
by: 73blazer | last post by:
We are migrating a customer from Version 7.1 FP3, to Version 8.2 (8.1 FP8). For the most part, things are faster, but there is one query that is much much slower, and it is a query that is used all...
1
by: Edwinah63 | last post by:
i am about to release an access database (all tables and front end are in ms access 2000), where certain trustworthy users wish to make their own read-only queries for flexibility in reporting. ...
5
by: parwal.sandeep | last post by:
Hello grp! i'm using INNODB tables which are using frequently . if i fire a SELECT query which fetch major part of table it usually take 10-20 seconds to complete. in mean time if any UPDATE...
1
by: Guedes | last post by:
Hello all, I am new at SQL Server 2005 and have been reading everything I canfind about the new optimistic concurrency control mechanisms. As far as I can tell, the Snapshot Isolation Level is...
3
by: Bill Hutchison | last post by:
I have a query that returns different results (3508 rows for snapshot, 6288 for dynaset) and that is the only thing I change to get the different results. When I try to make a table from the...
2
by: crisostomofred | last post by:
I have a report with it's source from a query. The query calls data from 3 related tables. The report is a meeting agenda and I only want to attach a snapshot report to my email based on the...
25
damonreid
by: damonreid | last post by:
Hey, I am trying to take the results of a query to auto-email people reports only relating to themselves. I can take e-mail addresses from a ListBox and pass them to the SendObject command but I...
3
by: JDubP | last post by:
I know a bit about VBA in Excel, but not about looping records in Access 2003, so any help will be appreciated. I think if someone can send me some sample code, I can muddle my way through. (or if...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.