Hello,
Is there any other way to determine the size of the current indexes and
materialized views for a certain database than running
DB2-Control-Center, selecting the database, and checking the size of
each index individually then sum them up ? (right click on index -->
estimated size --> current size).
Thanks
Regards,
Salem 5 1591
If you're on a recent fixpack of v8, you can this information at the
table level from a table snapshot...(size of data, index and long
objects for the table).
UnixSlaxer wrote: Hello,
Is there any other way to determine the size of the current indexes and materialized views for a certain database than running DB2-Control-Center, selecting the database, and checking the size of each index individually then sum them up ? (right click on index --> estimated size --> current size).
Thanks
Regards, Salem
Hello,
I'm sorry I didn't get what you mean. Could you please elaborate?
Thanks.
If you do a 'get snapshot for tables on <dbname>' You'll get the number
of pages for data, long, and indexes per table (on recent versions of v8).
UnixSlaxer wrote: Hello,
I'm sorry I didn't get what you mean. Could you please elaborate?
Thanks.
Hey, I have DB2 v8.2, I tried get snapshop, but it doesn't say anything
about the indexes/views size.
get snapshot for tables on tpch
Table Snapshot
First database connect timestamp = 06/11/2005 18:44:36.235458
Last reset timestamp =
Snapshot timestamp = 06/11/2005 18:45:08.216660
Database name = TPCH
Database path = D:\DB2\NODE0000\SQL00003\
Input database alias = TPCH
Number of accessed tables = 0
Sean McKeough wrote: If you do a 'get snapshot for tables on <dbname>' You'll get the number of pages for data, long, and indexes per table (on recent versions of v8).
UnixSlaxer wrote: Hello,
I'm sorry I didn't get what you mean. Could you please elaborate?
Thanks.
Monitor will only report on tables that have been 'active' this means:
1) table with inserts and updates
or
2) (if table switch is on) tables that have been read from
The table switch is really cheap to turn on...if you want to track your
sizes, I'd say flip it (dft_mon_table in the dbm cfg).
UnixSlaxer wrote: Hey, I have DB2 v8.2, I tried get snapshop, but it doesn't say anything about the indexes/views size.
get snapshot for tables on tpch
Table Snapshot
First database connect timestamp = 06/11/2005 18:44:36.235458 Last reset timestamp = Snapshot timestamp = 06/11/2005 18:45:08.216660 Database name = TPCH Database path = D:\DB2\NODE0000\SQL00003\ Input database alias = TPCH Number of accessed tables = 0 Sean McKeough wrote:
If you do a 'get snapshot for tables on <dbname>' You'll get the number of pages for data, long, and indexes per table (on recent versions of v8).
UnixSlaxer wrote:
Hello,
I'm sorry I didn't get what you mean. Could you please elaborate?
Thanks.
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Eddy Stone |
last post by:
Apologies in advance... I am sure this question will have been asked before
in some form or another - please don't flame me !
I am new to creating webpages - is there a website where I can "view"...
|
by: Steve |
last post by:
I have a SQL query I'm invoking via VB6 & ADO 2.8, that requires three
"Left Outer Joins" in order to return every transaction for a specific
set of criteria.
Using three "Left Outer Joins"...
|
by: Christian Fowler |
last post by:
I have a VERY LARGE pile of geographic data that I am importing into a database (db of choice is postgres,
though may hop to oracle if necessary). The data is strictly hierarchical - each node has...
|
by: Gary James |
last post by:
This may not be a direct C# question, but since I'll be using using C# for
development, I thought I'd pose the question here.
I'll soon be involved in the design of a new software product that...
|
by: Dave Benjamin |
last post by:
There's been a lot of discussion lately regarding Ruby and the notion of a
"humane" interface to objects like arrays and maps, as opposed to
"minimalist" ones. I believe the article that started...
|
by: Rico |
last post by:
Hello,
I have an application that I'm converting to Access 2003 and SQL Server 2005
Express. The application uses extensive use of DAO and the SEEK method on
indexes. I'm having an issue when...
|
by: andro |
last post by:
Hi everybody!
I have several tables from which I want to exract the SAME value (along with
other referenced data).
All the values are in the same column within the tables.
How can I achieve...
|
by: wizofaus |
last post by:
I have a chunk of code which is essentially
IDbCommand cmd = db.CreateCommand();
cmd.CommandText = "SELECT X, Y, Count(*) FROM Foo WHERE Z = 1 GROUP BY
X, Y";
using (IDataReader reader =...
|
by: DC |
last post by:
Hi,
the subject says it all. Since visible=false controls will still run
though Page_Load, I was hoping that the MultiView would somehow manage
to avoid a Page_Load of controls in its inactive...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
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,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
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...
|
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,...
| |