Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
fast database resets
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Stephen Haberman  
View profile  
 More options Aug 22 2010, 11:21 pm
From: Stephen Haberman <step...@exigencecorp.com>
Date: Sun, 22 Aug 2010 22:21:09 -0500
Local: Sun, Aug 22 2010 11:21 pm
Subject: fast database resets
Hi,

I reread GOOS today--great book, I really like the focus on acceptance
tests, walking skeletons, etc. The builders too--I use them, but not as
elegantly--something to work on.

The persistence test chapter was also nice. It made me think to write up
a tip I've been using to quickly reset databases with large schemas:

http://www.draconianoverlord.com/2010/08/22/joist-tip-fast-database-r...

I'm sure it's not an original idea, but I thought I'd pass it along in
case it helps others who are currently enjoying working with a large
enterprise schema. :-)

- Stephen


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nat Pryce  
View profile  
 More options Aug 23 2010, 3:38 am
From: Nat Pryce <nat.pr...@gmail.com>
Date: Mon, 23 Aug 2010 08:38:48 +0100
Local: Mon, Aug 23 2010 3:38 am
Subject: Re: [GOOS] fast database resets
Nice. I've used truncate table to speed up db resets in the past. I
like the idea of moving the reset code into the database but worry
about having the logic of what tables store domain objects in
different places. Having the ORM generate the reset procedure is a
neat solution.

--Nat

www.natpryce.com

On 23 Aug 2010, at 04:21, Stephen Haberman <step...@exigencecorp.com>
wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »