Unix Technical Forum

Re: Curious question...

This is a discussion on Re: Curious question... within the Informix forums, part of the Database Server Software category; --> Ian Michael Gumby wrote: > Art, > > Thanks for the response. > > First I'm trying to see ...


Go Back   Unix Technical Forum > Database Server Software > Informix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-20-2008, 12:20 PM
Art S. Kagel
 
Posts: n/a
Default Re: Curious question...

Ian Michael Gumby wrote:
> Art,
>
> Thanks for the response.
>
> First I'm trying to see if there's a trend toward "self-healing" databases.

<SNIP>
Gotcha.

>
> I mean today's buzzword is Hibernate to have persistence java objects... but
> does it scale?


Oh, heck no, it scales like a jagged stone on a choppy day. Maybe once or
twice in the shallows then straight to the bottom.

Art S. Kagel

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-20-2008, 12:21 PM
Art S. Kagel
 
Posts: n/a
Default Re: Curious question...

Ian Michael Gumby wrote:
> "Art S. Kagel" <kagel@bloomberg.net> wrote in message
> news:449034C7.8000009@bloomberg.net...
>
>>Ian Michael Gumby wrote:
>>
>>>Art,
>>>
>>>Thanks for the response.
>>>
>>>First I'm trying to see if there's a trend toward "self-healing"
>>>databases.

>>
>><SNIP>
>>Gotcha.
>>
>>
>>>I mean today's buzzword is Hibernate to have persistence java objects...
>>>but does it scale?

>>
>>Oh, heck no, it scales like a jagged stone on a choppy day. Maybe once or
>>twice in the shallows then straight to the bottom.
>>

>
> Thats the thing.
> You introduce a conceptual tool that should make life easier. Yet life would
> truly be easier if they taught database principals to app developers.
>
> But hey what do I know? ;-)


Taught a seminar here at Bloomberg a few years ago (might be time to repeat
it) on developing applications that use relational databases. One big point
I made was to avoid persisting application objects in the database or
developing application objects that mirror database objects. It's REALLY
inefficient. From either having to delete and reinsert an object to
persist it (a common paradigm), to the overhead of determining, after the
fact that you have one in memory already, whether it's already in the
database and whether it's been modified in memory since it was
fetched/created, so you can decide whether to persist it before it goes out
of scope, to fetching b'jillions of items from a large number of tables so
we can load them all into MAPs and things so we can find them and relate
them to other objects loaded from other tables. Well you get the picture.

Better to start with a SQL statement that gets you the data you need and
wrap an object around it with methods for updating the components in a
transaction safe manner.

Then there's the "We don't need no stinking cursors!" crowd who want to load
the entire database into a scroll window object. OK, I've ranted enough for
one day (I hope).

Art S. Kagel
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:17 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com