ba6.us - Dave's Database Related Stuff

  • home
  • blog
  • notebooks
  • projects
  • recent
  • about
  • manifesto
  • !
Home

Tag Cloud

apex Application Express Auditing data dbi development export funnies HTML Java linux monitoring oem oracle performance perl rman scripting sql SQL Developer sqlplus tuning unix windows
more tags

Search

RSS Feed

Blog Posts :

Navigation

  • Feed aggregator

User login

  • Request new password

Blogs

Oracle bug announcement - the sky is not falling...

dmann — Tue, 01/17/2012 - 15:43

...well not yet...

An Infoworld article was released today describing an Oracle vulnerability. The SCN space can be exhausted via bugs or attackers exploiting bugs. Metalink doc: 1376995.1 [Bulletin : Information on the System Change Number (SCN) and how it is used in the Oracle Database] covers a technical description for what SCNs are used for.

You can use this query to find out how close you are to the SCN limit. Read more »

  • bug
  • oracle
  • scn
  • dmann's blog
  • Add new comment

Diagnosing slow client processing of result sets...

dmann — Tue, 01/10/2012 - 13:48

Here are two runs of the same SQL from different programs. The top is an automated process, the bottom is Toad. (SQL is the same, but SQL_ID is different because of white space issues): So why is one finished in 7.2 minutes and one still at 4.7 hours and still counting up?
Read more »
  • performance
  • sql monitoring
  • dmann's blog
  • Add new comment

Quick filter for Application Express Reports

dmann — Mon, 12/05/2011 - 12:44

I normally get a lot of mileage out of Application Express interactive reports. Unfortunately there are some restrictions on the SELECT statements that can be used with them. Here is a demonstration of a technique I use when I want to add some interactivity to a plain old Apex report. I will create a Select List dropdown that submits and refreshes the report data automagically. The value in the select list will be applied as a filter to the report when it refreshes.

1) Create the Select List

• Items -> New Item -> Select List • Choose "Select List with Submit" • Next
Read more »
  • Application Express
  • sql
  • dmann's blog
  • Add new comment

Updated Developer Days Virtual Machine available...

dmann — Wed, 11/30/2011 - 17:33

I just noticed there is a 11gR2 version of the Developer Days VM available now. You can have a running copy of 11gR2,
Oracle TimesTen In-Memory Database, Oracle XML DB, Oracle SQL Developer, Oracle SQL Developer Data Modeler, Oracle Application Express, Oracle JDeveloper, and Hands-On-Labs (accessed via the Toolbar Menu in Firefox) on a copy of Oracle Enterprise Linux 5.

This is great as a sandbox for development or an easy way to stand up a DB for messing around with. The image supplied by Oracle runs inside Oracle VirtualBox VM engine which is also free. Read more »

  • virtualbox
  • vm
  • dmann's blog
  • Add new comment

New web host...

dmann — Sat, 11/26/2011 - 08:39

We moved to a new web host on Black Friday. My old host doesn't appreciate repeat business so it was time to make the change and try something new. I just started up with DreamHost and so far I am impressed. Migration of the site went quicker than expected and so far I only made one mistake that caused any issues but I will blame that on waiting for DNS changes to propagate :) Read more »

  • maintenance
  • dmann's blog
  • Add new comment

HAVING & Bind Variables

dmann — Tue, 11/22/2011 - 17:34

Had an odd one come across my desk today. I have seen Bind variables used in the WHERE clause thousands of times. I have seen Binds in the SELECT lists hundreds of times. I have seen it used in the HAVING clause zero times... until today when it turns out it was causing a performance issue. With the Bind variable in the HAVING clause we were seeing an execution plan with lots of Full Table Scans and 12+ second runtimes. When editing the query and using a literal in the HAVING clause we saw 100ms or less performance and very efficient Execution Plans.
Read more »
  • bind variables
  • sql
  • dmann's blog
  • Add new comment

Speed up SQL Developer Startup

dmann — Mon, 11/14/2011 - 15:23

If you are using SQL Developer 2.x you can reduce your startup time by about 20% by disabling any unneeded extensions. I was able to reduce my startup time from 11 seconds to 8 seconds by turning off all extensions (none of which I really needed anyway). Read more »

  • performance
  • SQL Developer
  • dmann's blog
  • Add new comment

Golden Gate - OS User Permissions on *nix - DBA vs ETL Admin

dmann — Mon, 11/14/2011 - 13:11

Seems like Golden Gate is following me around. I used their tools in 2005 to replicate from OLTP databases to a central reporting database for my previous employer. Now that Oracle bought them the buzz in my current company is to leave Oracle's multiple and complicated incarnations of replication technologies in the dust and try moving forward with GG. Fine with me, I like the product, not a fan of the licensing as I think Oracle has been on the lagging side of vendor supplied replication tools, but hey what do I know, I just arrange zeroes and ones for a living.
Read more »
  • Golden Gate
  • permissions
  • dmann's blog
  • Add new comment

Need sample data?

dmann — Sat, 11/12/2011 - 21:48

Check out http://www.freebase.com/.

You can sort and filter some of their data, download it or access it via an API.

They offer an API for a lot of languages but no PL/SQL directly just yet. But it looks like JSON can be used and there are ways to use JSON in PL/SQL if you want to do the work.

-Dave

  • sample data
  • dmann's blog
  • Add new comment

Test Driving the h2 Embedded Java Database

dmann — Thu, 10/27/2011 - 23:11

I'm starting work on some DB tuning utilities written in Java and I needed a way to hold some data locally. The volume of data I plan on storing is more than I would feel comfortable keeping in local properties or XML files and I didn't want to deal with setting up an Oracle XE instance just to service my lightweight utilities so I checked into a bunch of embedded databases. Embedded databases are databases that I can wrap into my application.
Read more »
  • database
  • Java
  • dmann's blog
  • Add new comment
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • …
  • next ›
  • last »
Syndicate content


Cornify
  • home
  • blog
  • notebooks
  • projects
  • recent
  • about
  • manifesto
  • !

Content Copyright 2006-2010. Links are copyright of respective owners.