Skip to main content

PL/SQL Challenge approaches 1,000,000 answers....how should we celebrate?

Chris Saxon, the PL/SQL Challenge Database Design Quizmaster and Oracle Database Advocate for SQL and member of Ask Tom Answer Team, reminded me yesterday that the number of answers submitted on the PL/SQL Challenge is getting close to 1M.


Now in the, ahem, good old days, when we had a daily PL/SQL quiz, the 1M barrier would be smashed in short order. These days, with our sweep of weekly quizzes, we have a little more time before the earth-shaking event.

So I thought I'd reach out to my pals in the Oracle Database community - PL/SQL Challenge players and otherwise - and see if you had any fun, interesting ideas of how we might celebrate this milestone.

We've got some thoughts, but I'll hold off on sharing those until I hear from you.

Comments

  1. Hello Steven, All,
    This is maybe one of those great moments in life when one should look backward and say: "Yes, indeed, this was a very fruitful period of my life, it gave me a lot and I am really grateful to Steven first of all for having created the PL/SQL Challenge and, then, equally grateful to the entire PL/SQL Challenge community which kept it going: quiz authors, reviewers, players, and, not least, the team which develops, maintains and enhances the pl/sql challenge web site :)".

    What I once suggested in the past and maybe reiterate once again
    was to allow the players specify a little more about themselves,
    first of all, their age, of course, if they are willing to publish it. I was always extremely curious to know who am I competing with.

    Then, it would be nice if the players could take some time and specify a few quizzes that they liked most, along all these years.

    A nice indication in this direction could be produced by using
    the feedback information supplied by players, namely, to extract
    for each player the quizzes that he/she ranked with "5 stars"
    and publish a ranking of those quizzes by the number of votes,
    and possibly, allow us to view the effective list of players
    who voted "5 stars" for each quiz.
    Though feedback information is probably partial, it could however be interesting for those players that "use to compare themselves
    to others", and, I am pretty sure that most players do have their
    own "reference list" of players that they use to followup after ...

    And, if we step over to the realm of dreams ...
    I always dreamed of a great meeting face-to-face of the whole PL/SQL Challenge community ... don't know how, don't know where ...
    This will probably still remain a dream ... but it is so nice to have dreams, when real life offers mostly disappointments ...

    Thanks a lot & Best Regards,
    Iudith

    ReplyDelete
  2. Hello Iudith, I read this now for the first time. (08-08-2018) I want just to say "I enjoy reading it. It is grate!!

    Warm reagards,
    Hamid Talebian

    ReplyDelete

Post a Comment

Popular posts from this blog

Running out of PGA memory with MULTISET ops? Watch out for DISTINCT!

A PL/SQL team inside Oracle made excellent use of nested tables and MULTISET operators in SQL, blending data in tables with procedurally-generated datasets (nested tables).  All was going well when they hit the dreaded: ORA-04030: out of process memory when trying to allocate 2032 bytes  They asked for my help.  The error occurred on this SELECT: SELECT  *    FROM header_tab trx    WHERE (generated_ntab1 SUBMULTISET OF trx.column_ntab)       AND ((trx.column_ntab MULTISET             EXCEPT DISTINCT generated_ntab2) IS EMPTY) The problem is clearly related to the use of those nested tables. Now, there was clearly sufficient PGA for the nested tables themselves. So the problem was in executing the MULTISET-related functionality. We talked for a bit about dropping the use of nested tables and instead doing everything in SQL, to avoid the PGA error. That would, however require lots of wo...

How to Pick the Limit for BULK COLLECT

This question rolled into my In Box today: In the case of using the LIMIT clause of BULK COLLECT, how do we decide what value to use for the limit? First I give the quick answer, then I provide support for that answer Quick Answer Start with 100. That's the default (and only) setting for cursor FOR loop optimizations. It offers a sweet spot of improved performance over row-by-row and not-too-much PGA memory consumption. Test to see if that's fast enough (likely will be for many cases). If not, try higher values until you reach the performance level you need - and you are not consuming too much PGA memory.  Don't hard-code the limit value: make it a parameter to your subprogram or a constant in a package specification. Don't put anything in the collection you don't need. [from Giulio Dottorini] Remember: each session that runs this code will use that amount of memory. Background When you use BULK COLLECT, you retrieve more than row with each fetch, ...

PL/SQL 101: Save your source code to files

PL/SQL is a database programming language. This means that your source code is compiled into  and executed from within the Oracle Database. There are many fantastic consequences of this fact, many of which are explored in Bryn Llewellyn's Why Use PL/SQL? whitepaper. But this also can mean that developers see the database as the natural repository for the original source code , and this is a bad mistake to make. It's not the sort of mistake any JavaScript or Java or php developer would ever make, because that code is not compiled into the database (well, you can  compile Java into the database, but that's not where 99.99% of all Java code lives). But it's a mistake that apparently too many Oracle Database developers make. So here's the bottom line: Store each PL/SQL program unit in its own file . Use a source code control system to manage those files. Compile them into the database as needed for development and testing. In other words: you should never kee...