If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Oracle > Can we get trapped by PLSQL?

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-20-10, 01:48
Al_RelEZ_Al Al_RelEZ_Al is offline
Registered User
 
Join Date: Aug 2010
Location: Sydney
Posts: 15
Can we get trapped by PLSQL?

Hi all,

I think PLSQL is brilliant and the optimisations gains from it are phenomenal. However I often think that having so much of my business operations tied to PLSQL (even if they are merely linking a few tables and producing an output) would mean that when I do wish to move off Oracle (highly unlikely... but possible... perhaps scale a feature off to another DB), I may be stuck with a very expensive task.

I just wanted to know from the forum, whether anyone has experienced difficulties migrating code off PLSQL on Oracle over to some other layer like some Services based tier or even to another database compeltely and how they found the migration? (eg: expensive, easy etc)
Reply With Quote
  #2 (permalink)  
Old 08-23-10, 15:07
chuck_forbes chuck_forbes is offline
Registered User
 
Join Date: Dec 2003
Posts: 1,072
I guess if you could give me the alternative implementation, on a platform that you had some guarantee would last longer than PL/SQL, then you could compare. But I don't think there are any guarantees. You're going to have to migrate in time, no matter which way you go.

My 2 cents, would be that you should code to your shop's strengths. If you have plenty of PL/SQL developers, invest in PL/SQL code. Mostly .NET ... code a business layer in C# or VB.

--=cf
Reply With Quote
  #3 (permalink)  
Old 08-23-10, 16:32
PriorityParts PriorityParts is offline
Registered User
 
Join Date: Aug 2010
Location: NYC
Posts: 10
I work in Oracle and Microsoft SQL Server environments and often have to migrate scripts and code back and forth. Being familiar w/ both syntaxes, its usually not such a big deal. If you have thousands of lines of code... well that's going to be a hassle no matter how you slice it.

That being the case, every DB has slightly different functions / syntax. If you are ever to move from Oracle, unless you've coded all of your scripts / queries (both PL and regular SQL) with the intention of universal compatibility, you're going to have a significant migration effort on your hands.

If you are to bring your PL/SQL tasks into an external environment (.NET, etc.), you're basically trading one dependency for another and giving up the PL/SQL efficiences. Even if you drop Oracle as your main environment, would it be possible to keep an instance or 2 up and running for post-processing work?

However, Chuck's point is very true - go with whatever your strengths are.
__________________
--------------------------------------------------
Matt
Case Culture - Fashion Cases for iPhone and BlackBerry
Reply With Quote
  #4 (permalink)  
Old 08-27-10, 02:45
Al_RelEZ_Al Al_RelEZ_Al is offline
Registered User
 
Join Date: Aug 2010
Location: Sydney
Posts: 15
Thanks for all of your responses fellas.

Just related to the 'strengths' argument... in regards to the general population of people who know some form of PL/SQL, or T-SQL or PGPLSQL etc...

Which of the custom scripting languages do you think trump the market in regards to knowledge resources worldwide?
Reply With Quote
  #5 (permalink)  
Old 08-27-10, 18:40
joylynphotos joylynphotos is offline
Registered User
 
Join Date: Aug 2010
Posts: 1
try stabilizing a single site before moving the others. It may cause you much trouble on the latter part. better ready than sorry.
Reply With Quote
Reply

Tags
oracle, plsql

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On