.ora-code.com

Links
Home
Oracle DBA Forum
Frequent Oracle Errors
TNS:could not resolve the connect identifier specified
Backtrace message unwound by exceptions
invalid identifier
PL/SQL compilation error
internal error
missing expression
table or view does not exist
end-of-file on communication channel
TNS:listener unknown in connect descriptor
insufficient privileges
PL/SQL: numeric or value error string
TNS:protocol adapter error
ORACLE not available
target host or object does not exist
invalid number
unable to allocate string bytes of shared memory
resource busy and acquire with NOWAIT specified
error occurred at recursive SQL level string
ORACLE initialization or shutdown in progress
archiver error. Connect internal only, until freed
snapshot too old
unable to extend temp segment by string in tablespace
Credential retrieval failed
missing or invalid option
invalid username/password; logon denied
unable to create INITIAL extent for segment
out of process memory when trying to allocate string bytes
shared memory realm does not exist
cannot insert NULL
TNS:unable to connect to destination
remote database not found'>ora-02019
exception encountered: core dump
inconsistent datatypes
no data found
TNS:operation timed out
PL/SQL: could not find program
existing state of packages has been discarded
maximum number of processes exceeded
error signaled in parallel query server
ORACLE instance terminated. Disconnection forced
TNS:packet writer failure
see ORA-12699
missing right parenthesis
name is already used by an existing object
cannot identify/lock data file
invalid file operation
quoted string not properly terminated
AW: [suse-oracle] Performance testing

AW: [suse-oracle] Performance testing

2004-07-13       - By Anton Dischner
Reply:     1     2  

Hi Maurice,

please take this for a very basic benchmark in SQL*Plus,
please share your results:

set timing on
set pause off

drop table benchtest;
create table benchtest (
operator varchar (39),
line integer,
text varchar2(2000)
)
storage (initial 1M next 1M pctincrease 0);
begin
for i in 1..500000 loop
 insert into benchtest(operator, line, text)
  values(user, i, lpad(to_char(i), 200));
end loop;
end;
/

select count(*) from benchtest where operator = user
order by line;

update benchtest set text = text where operator = user;
commit;

delete from benchtest where operator = user;
commit;

select line, text from benchtest where operator = 'abcde'
order by line;

select line, text from benchtest where operator = user
order by line;

drop table benchtest;

regards,

Toni
--
+-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -----+
| Anton Dischner, Unix admin, Oracle-DBA       Phone: +49 89 70953202|
| Institut fuer Klinische Chemie               Fax  : +49 89 70958888|
| Klinikum Grosshadern                         Home : +49 89 69708766|
| Ludwig Maximilians Universitaet Muenchen     Mobil: +49 172 8388880|
| 81366 Muenchen Germany                                             |
| Marchioninistr. 15                  dischner at med.uni-muenchen.de|
+-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -----+


--
To unsubscribe, email: suse-oracle-unsubscribe@(protected)
For additional commands, email: suse-oracle-help@(protected)
Please see http://www.suse.com/oracle/ before posting