Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: ORACLE 8.0.3.0.0 is extremely slow vs SQL7 for medium database
select round(used.bytes /1024/1024 ,2) used_mb , round(free.bytes /1024/1024 ,2) free_mb , round(tot.bytes /1024/1024 ,2) total_mb from (select sum(bytes) bytes from v$sgastat where name != 'free memory') used , (select sum(bytes) bytes from v$sgastat where name = 'free memory') free , (select sum(bytes) bytes from v$sgastat) tot
IF nesessary increase SGA (shared_pool_size) size in the INIT.ORA and recycle
the database
for changes to take effect.
There lots of things to look at, I dont want to re-write the book !
Good luck!
VItaliy Mogilevskiy
Julian Cowking wrote:
> Vitaliy,
>
> Is there any way i can force a table within a schema to use a specific
> rollback segment? (Since I am trying to run the same code for SQLServer and
> Oracle is there any way this could be configured through, say, Enterprise
> manager?)
> At the moment it seems to be random. The 'SET TRANSACTION USE ROLLBACK
> SEGMENT <RBS_NAME>;' statement has help enormously but this is used via
> SQLWorksheet and would be annoying to put in the middle tier logic for my
> components.
>
> However, using this has helped me able to get all the rows in. When using
> this method it takes just over 2 minutes to insert 100,000 records. If the
> query needs to insert NO records (but still checks all 100,000 possible
> inserts) the time taken is 15 seconds.
> Although this is much better than before, compared to SQL Servers
> comparitive times of 17sec and 6sec respectively, Oracle is still lagging.
> I have configured the extents, and RSs (although still need to know how to
> use them without specifying it in SQL) and although this has made a BIG
> difference SQL7 is still considerably ahead.
>
> Any futher ideas?
>
> Many thanks
>
> Julian
Received on Wed Mar 24 1999 - 11:23:12 CST
![]() |
![]() |