MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Opinion on Seeding vs. Row Level Locking

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database
View previous topic :: View next topic  
Author Message
db2rules
Beginner


Joined: 02 Dec 2002
Posts: 4
Topics: 2
Location: Austin Texas

PostPosted: Mon May 10, 2004 11:43 am    Post subject: Opinion on Seeding vs. Row Level Locking Reply with quote

Hello All,

We have a customer going into production with a relatively empty database and about 150 users to start with.

This is a large OLTP application with a browser front-end and DB2/CICS on z/OS as the host. There are obvious concerns about locking/contention until there is enough data so support all the accesses.

I see two methods of getting around this temporarily:

1) Row level locking.

PRO - easily implemented/un-implemented

CON - DB2 overhead

2) Seeding the database. The seeding would consist of loading fake data keyed by state or other method (not thought out completely yet), which could be deleted when no longer required.

PRO - Data is hidden from users (hopefully). Lock and Freespace parms would need little changes going forward.

CON - Application RI would make load program difficult. How would reporting or data warehouse programs react to the fake data? What DBA would actually want to delete production (albeit fake) data when not needed anymore?

Has anyone gone through this in real life or have any opinions they'd like to share?

Thanks!
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12376
Topics: 75
Location: San Jose

PostPosted: Mon May 10, 2004 12:03 pm    Post subject: Reply with quote

Db2rules,

Quote:

This is a large OLTP application with a browser front-end and DB2/CICS on z/OS as the host. There are obvious concerns about locking/contention until there is enough data so support all the accesses.


Does the browser invoke a CICS transaction and scrap the results from the output of the transaction?

I would also be interested to know if there are any updates/deleted involved.

Personally I would go for option 1 even though it might be an overhead on db2. Also for a trial you can mess around with LOCKMAX parameter in SYSIBM.SYSTABLESPACE by setting it to zero, so that lock escalation does not occur.

I also would consider stored procedures instead of invoking a cics transaction everytime.

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
db2rules
Beginner


Joined: 02 Dec 2002
Posts: 4
Topics: 2
Location: Austin Texas

PostPosted: Mon May 10, 2004 1:25 pm    Post subject: Reply with quote

Howdy Kolusu,

The brower is very thin... most all work and data happens on the host and remains on the host, if that's what you mean.

The application is very update / delete / insert / select intensive.

LOCKMAX zero is definitely under consideration.

Thanks for all your help (on this and other posts).

Is there anyone out there with real world experience with this type of "opportunity"?

Remember,

DB2 Rules!
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12376
Topics: 75
Location: San Jose

PostPosted: Mon May 10, 2004 4:37 pm    Post subject: Reply with quote

Db2rules,

How can I forget you ? I always remember all my contacts via helpboards. Unfortunately I do not have any real experience with your situation. sorry about that.

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group