473,769 Members | 1,752 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1708
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
20627
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 you, John
11
2145
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 the time. select ATTR1,ATTR2,ATTR3,ATTR4 from physical.part_list where S_PART_NUMBER like '%KJS%' The widlcard before and after seems to be hosing it, but for this particular piece of the application, this type of query is neccessary.
1
5726
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. in oracle and ms sqlserver we can create read only views that the users cannot change permissions on. the users can then link these views to their access front ends and query from them. What I am looking for is:
5
8340
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 qry comes for a perticular row which is part of SELECT qry i want to know that whether UPDATE will wait for completing SELECT qry or not, or it simply executing without bothering SELECT qry .
1
4369
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 based avoids the use of shared locks using rowversioning instead. To control rowversions in SQL Server 2000 I was using an extra column in each table containing a rowversion datatype. What i do with this is
3
3644
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 query, it makes 3508 rows. I also know that there are 6288 unique rows in the results. Is there some configuration choice that is causing the snapshot version to return the wrong row count? Thanks for your help on this one. If it wasn't that the...
2
1731
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 specific record on a form. I tried using stLinkCriteria but it always captures all the records on my query as one snapshot attachment with all the records. The only way I can filter the record I wanted was to add a field to my table that users...
25
3724
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 want to take a record set (gained from a query) and pass instead. '*****CURRENT CODE***** Private Sub cmdSendRpt2_Click() ' Attach Access Snapshot Report to Email, take addresses from combo box & Send
3
2462
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 you can send me alink to read how to do it that is fine also) I presently run a macro that: 1) runs a query where User has to input a value for field and 2) prints/saves a report in snapshot view (i have to manually type in file name) I...
0
9589
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10047
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9995
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9863
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8872
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6674
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5304
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3962
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3563
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.