dbTalk Databases Forums  

Hot Tables

sybase.public.ase.performance+tuning sybase.public.ase.performance+tuning


Discuss Hot Tables in the sybase.public.ase.performance+tuning forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Martin N Njeru
 
Posts: n/a

Default Hot Tables - 06-20-2006 , 03:51 AM






Hi all,

1. How would one identify hot tables/indexes in a named data
cache or in the default data cache.

2. I have a database which does fewer updates/inserts on
history tables than select on the same tables. The tables
are large...with more than 10million records (Largest being
50million). Would table partioning help to improve
performance. What other perfomance tuning would you
recommend. (NB Appropriate indexes have been defined on
these tables).

Kind regards,

Martin

Reply With Quote
  #2  
Old   
A.M.
 
Posts: n/a

Default Re: Hot Tables - 06-20-2006 , 07:02 AM






Martin, N, Njeru wrote:
Quote:
1. How would one identify hot tables/indexes in a named data
cache or in the default data cache.
With a thermometer? But seriously, you could snapshot
syslocks. Not very practical though. The MDA tables
might help too (although I've never looked at them
for this).

Quote:
2. I have a database which does fewer updates/inserts on
history tables than select on the same tables. The tables
are large...with more than 10million records (Largest being
50million). Would table partioning help to improve
performance. What other perfomance tuning would you
recommend. (NB Appropriate indexes have been defined on
these tables).
The answer is, it depends. How many users do you have
accessing these tables? Is their access distributed
or are they all trying to access the same data?

-am © MMVI


Reply With Quote
  #3  
Old   
Carl Kayser
 
Posts: n/a

Default Re: Hot Tables - 06-20-2006 , 07:47 AM




<Martin N Njeru> wrote

Quote:
Hi all,

1. How would one identify hot tables/indexes in a named data
cache or in the default data cache.
The MDA tables are usefull for determining hot user tables. (A possible
catch is that the information is since boot time and you might be interested
in a narrow time frame.) System table index usage does not seem to be
stored in the MDA tables.

Quote:
2. I have a database which does fewer updates/inserts on
history tables than select on the same tables. The tables
are large...with more than 10million records (Largest being
50million). Would table partioning help to improve
performance. What other perfomance tuning would you
recommend. (NB Appropriate indexes have been defined on
these tables).

Kind regards,

Martin



Reply With Quote
  #4  
Old   
Martin N. Njeru
 
Posts: n/a

Default Re: Hot Tables - 06-20-2006 , 11:02 AM



Thanks all

Quote:
Martin N Njeru> wrote in message
news:4497b72a.207.1681692777 (AT) sybase (DOT) com... Hi all,

1. How would one identify hot tables/indexes in a named
data cache or in the default data cache.

2. I have a database which does fewer updates/inserts on
history tables than select on the same tables. The
tables are large...with more than 10million records
(Largest being 50million). Would table partioning help
to improve performance. What other perfomance tuning
would you recommend. (NB Appropriate indexes have been
defined on these tables).

1. think of update statistics if you are not doing this
periodically 2. parallism improves performance (worker
process and parallel degree need to be configures)
remember this requires additional memory / worker process
3. re-create clustered indexes atleast min once in 2
months (it will defragement)
4. analyse the locking schemes and think of going in for
allpages since inserts are low. accurate queries use
isolation levels to avoid dirty reads 5. if user-wide
records are fetched depending on the where clause i would
prefer to go in for views and granting required access..
this might help you.
6. go thru sp_cacheconfig and try to create cache and
binding these few tables to a named cache
7. run sp_sysmon and try to figure out any bottleneck

regards
KRV



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.