Hi,
I'm looking for a script to fill either the data volumes or the log volumes of a MaxDB 7.6.00.35 with sample data.
I tried with x_python filldb.py but I got the error SQLError: sql.SQLError: [-4004] (at 30) Unknown table name: INFO_SYSDD_SERVERDBS.
Is there any new script available or does anybody know how to rig the script filldb.py ?
Any comment welcome !
Thanx and regards,
Christian
Hi Christian,
I'm not sure where you got the filldb.py script, but to generate some log you don't need to use it.
Just do something like this:
create table logger (col1 char(200))
-> now turn off autocommit in SQL Studio
insert into logger select lpad('x',200) from tables t1, tables t2, tables t3 where rownum <=1000
//
rollback
//
execute this statement a few times your log area should get filled quickly.
You can also set 10000 or 100000 rows at a time, but when a LOGFULL occurs you'll have just the option to make a log backup.
KR Lars
Christian,
This python script sounds like it was one of the ones that came with the tutorial for one of the earlier versions of SAP DB (I seem to remember using one of this for a 7.3 setup). You might be able to poke around by editing the script but it might be just as easy to use the new DB management studio and create your own loads using the import function.
Hope that helps.
Thanks,
J. Haynes
Denver, CO
Add a comment