Friday, August 31, 2007

Common Mistakes in Oracle PL/SQL Programming

I was browsing around YouTube tonight and ran across this video of a webinar that Steve Feuerstein did back in 2005. It's about an hour long. He covers various pl/sql tips that for the most part you should know by now unless you are just starting out. It is probably a good refresher for someone who doesn't spend most of their time coding PL/SQL.

Some of the things he calls mistakes, I would not. Some are just preference issues. Worth watching though.



LewisC



Tuesday, August 28, 2007

A Match Made In Heaven

eHarmony, the large, internet dating site selects Oracle. eHarmony, who call themselves the #1 relationship service, has chosen Oracle to run its websites and data warehouse.

eHarmony uses its patented Compatibility Matching System, developed from 35 years of clinical and empirical research, to match highly compatible singles online. To support the more than 10,000 new users who register each day, eHarmony required a data management solution that would scale to accommodate its growing user base and to help ensure that its site is available 24 hours a day, seven days a week. To enhance its online services and end user experience, eHarmony contracted Cloud Creek Systems, Inc., a Southern California-based Oracle Certified Partner, to assist in the migration of eHarmony's Web sites and data warehouse to Oracle. eHarmony deployed Oracle Database 10g, Oracle Real Application Clusters, Oracle Clusterware, Oracle Automatic Storage Management, and Oracle Enterprise Manager 10g on multiple Sun Fire X4600 servers running Windows.

In addition to its clustered environment, eHarmony operates a rapidly growing Oracle data warehouse to support its extensive real-time and historical reporting initiatives. Oracle Partitioning is used in conjunction with the data warehouse to improve performance. eHarmony's Data Analytics Group relies on the information to support critical business decisions such as how to improve service offerings and enhance the eHarmony customer experience.

"We moved to Oracle because our services required greater scalability and availability," said Mark Douglas, vice president of technology, eHarmony. "We felt we had reached the limits with our previous platform. As a result of the move to Oracle, we're able to confidently support more users and we've improved Web site performance."




Monday, August 27, 2007

Army Corps Chooses Oracle 11g

From GCN.com, Army Corps ready to build on Oracle 11g, Researchers find potentially valuable advances in Web services and working with geographic data.

The Army Corps of Engineers has been beta testing Oracle 11g and is planning to use new Geo-Spatial extensions and 3D data types.


“Our geospatial information and our business information are being dovetailed…more in the same space.” — Michael Smith, Cold Regions Research Engineering Laboratory

In addition to the geospatial data structures, 11g offers other advanced data structures, such as point cloud storage and indexing.

A point cloud is a set of data collection points that represent 3-D space. The laboratory uses this type of data structure for recording measurements that come from its Light Detection and Ranging instruments.

Until now, such data had to be stored on flat text files. Databases had no way to tie together the datasets in a way that would let them calculate the datasets against a single entity. However, 11g can store a point cloud as a single object, against which developers can write simple queries to do line-of-sight, data point intensity or nearest-neighbor calculations “without even moving the data out of the database,” Smith said.


They will also be using ApEx for front-ends.

LewisC




Friday, August 24, 2007

10 Basic Interview Questions for Oracle

For Basic SQL:


  1. How do you convert a date to a string? To_char. A bonus would be that they always include a format mask.

  2. What is an aggregate function? Grouping, sums or counts, etc.

  3. What is an interval? Specifies a period of time.

  4. What is a nested subquery? A subquery in a where clause.

  5. What is the dual table? A single row table provided by oracle for selecting values and expressions.



For Basic PL/SQL:

  1. Describe the block structure of PLSQL. Declaration, Begin, exception, end.

  2. What is an anonymous block? Unnamed PL/SQL block.

  3. What is a PL/SQL collection? PL/SQL Table, Varray, PL/SQL Array, etc.

  4. What is the difference between an explicit cursor and a select into? An explicit cursor is declared in the declaration section, a select into is declared in the body of the code.

  5. Why would you choose to use a package versus straight procedures and functions? I look for maintenance, grouping logical functionality, dependency management, etc. I want to believe that they believe using packages is a "good thing".



Is this list helpful to you? Would you like me to do a series on interviewing and interview questions?

LewisC