Home » RDBMS Server » Performance Tuning » Partitioning in table (Oracle 11gr2 rhel)
Partitioning in table [message #668412] |
Fri, 23 February 2018 04:19  |
dba4oracle
Messages: 100 Registered: June 2010
|
Senior Member |
|
|
Hi ,
I checked on table and queries on this table is having some issues in one of our db, size is about 600 mb(19000 rows) and having 32 hash partitions
i feel it is not good candidate for partitioning,what are your views or should we increase number of partitions instead to 64
Thanks
|
|
|
|
|
|
|
Re: Partitioning in table [message #668442 is a reply to message #668432] |
Mon, 26 February 2018 00:16   |
dba4oracle
Messages: 100 Registered: June 2010
|
Senior Member |
|
|
We suspect below insert which was new sql as compared to good period(when db was not having performance issue)
it seems to be simple insert (but along with this update on same table also running)
insert into config_table values (:1 , :2 , :3 , :4 )
both this update and insert on table was top sql
is any other issue on table we can check (its already having partition which seems not helping)
below is stats of insert
insert into table_config...
Stat Name Statement Total Per Execution % Snap Total
Elapsed Time (ms) 382,558 25.20 9.52
CPU Time (ms) 30,146 1.99 2.24
Executions 15,180
Buffer Gets 956,450 63.01 0.20
Disk Reads 227,853 15.01 3.12
Parse Calls 1,720 0.11 0.05
Rows 15,180 1.00
User I/O Wait Time (ms) 332,626
Cluster Wait Time (ms) 0
Application Wait Time (ms) 0
Concurrency Wait Time (ms) 0
Invalidations 0
Version Count 147
Sharable Mem(KB) 1,022
elapsed time (ms) 382,558 for 3 hrs snap time
in awr for issue period
per exec elapsed time for both sql is 0.03 sec:
update table_config set (c...
insert into table_config...
--moderator update: added [code] tags, made it a bit easier to read.
[Updated on: Mon, 26 February 2018 01:02] by Moderator Report message to a moderator
|
|
|
|
Re: Partitioning in table [message #668444 is a reply to message #668443] |
Mon, 26 February 2018 00:31   |
dba4oracle
Messages: 100 Registered: June 2010
|
Senior Member |
|
|
stats for update on table_config during 3 hrs snap:
Elapsed time (ms):1,046,148
executions:30,303
Stat Name Statement Total Per Execution % Snap Total
Elapsed Time (ms) 1,046,148 34.52 26.04
CPU Time (ms) 85,570 2.82 6.36
Executions 30,303
Buffer Gets 3,183,849 105.07 0.68
Disk Reads 647,236 21.36 8.87
Parse Calls 295 0.01 0.01
Rows 30,303 1.00
User I/O Wait Time (ms) 913,909
Cluster Wait Time (ms) 0
Application Wait Time (ms) 0
Concurrency Wait Time (ms) 0
Invalidations 0
Version Count 141
Sharable Mem(KB) 1,171
plan
Id Operation Name Rows Bytes Cost (%CPU) Time Pstart Pstop
0 UPDATE STATEMENT 2 (100)
1 UPDATE TABLE_CONFIG
2 PARTITION HASH SINGLE 1 2286 1 (0) 00:00:01 KEY KEY
3 INDEX UNIQUE SCAN TABLE_CONFIG_PK 1 2286 1 (0) 00:00:01 KEY KEY
s.-moderator update: added [code] tags, please do it yourself in future
[Updated on: Mon, 26 February 2018 01:03] by Moderator Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
Goto Forum:
Current Time: Sat May 03 05:27:04 CDT 2025
|