Submitted by dmann on 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 Read more about Need sample data?
Submitted by dmann on Fri, 10/28/2011 - 00:11
I'm starting work on some DB tuning utilities written in Java. I am running the utilities on my local machine against remote servers 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 about Test Driving the h2 Embedded Java Database
Submitted by dmann on Fri, 10/14/2011 - 17:18
Submitted by dmann on Thu, 10/13/2011 - 13:35
When working on a SQL Tuning issue I often kick off a SQL Tuning Advisor job on the SQL while I gather info about statistics and other things I like to check when tuning. After I get an idea of where performance might be suffering I use the SQL Tuning Advisor results for a second opion.
Unfortunately more often than not the SQL Tuning Advisor reports it can dramatically improve the performance of a SQL Statement by using a SQL Profile to force a different plan.
Submitted by dmann on Tue, 10/11/2011 - 23:33
I have been trying to chase down the same SQL being submitted against the same 10.2.0.4 Solaris database from different query tools used in our organization. I have been striking out when trying to match up with SQL IDs.
I connected with 5 different tools (including SQLPLUS on 2 platforms) and submitted the following 4 lines of SQL:
SELECT *
FROM EMP,
DEPT
WHERE EMP.DEPTNO=DEPT.DEPTNO
Read more about A SQL_ID by any other name... Same SQL / Different Tools / Different SQL_ID
Submitted by dmann on Tue, 10/11/2011 - 23:03
Submitted by dmann on Fri, 10/07/2011 - 11:45
Question:
I want to get the information about when a table is queried in oracle. Is there any log in oracle which shows the queries. I was looking around v$sqlarea and v$sqltext but, the system admin does not allow me to reach those tables. - Dursan @ Stack Overflow
My answer:
Submitted by dmann on Mon, 10/03/2011 - 14:53
Ever had a customer asking about the growth of a table? Or suspect an execution plan change might be because of an influx of data into a table?
Well you are in luck (maybe!).
Oracle 10g and 11g have a months worth of historical statistics stored by default. Before stats are gathered for a table their current values are written off into SYS.WRI$OPTSTAT_TAB_HISTORY table.
Submitted by dmann on Tue, 09/27/2011 - 12:54
"The TPC-DS benchmark models the decision support system of a retail product supplier, including queries and data maintenance. Although the underlying business model of TPC-DS is a retail product supplier, the database schema, data population, queries, data maintenance model and implementation rules have been designed to be broadly representative of modern decision support systems."
http://www.tpc.org/tpcds/tpcds.asp Read more about TPC-DS
Submitted by dmann on Wed, 09/14/2011 - 15:12
Was cruising StackOverflow today looking for interesting Oracle questions and noticed a DBA specific Stack has been started - it lives at http://dba.stackexchange.com/.
It is database agnostic but I love the Stack setup and the helpful people it attracts. You can filter by Oracle and create an RSS feed on that filter if you aren't interested in going back to the site periodically to find topics you might be interested in.
-Dave Read more about Moving on up... http://dba.stackexchange.com/
Pages