AppCrawler

Tying data to business excellence

Main menu

Skip to content
  • Who Is This Guy?
Database, Oracle

Using DBMS_METADATA to get table and index definitions

by Steve • July 29, 2009 • 0 Comments

Below is a quick script I use to extract table and index definitions I may need from time to time. Enjoy… set lines 255 trims on set serveroutput on size unlimited declare l_tab_clob clob := empty_clob(); l_ind_clob clob := empty_clob();…

Read more →

Database, Oracle

More fun with SQL_BIND_CAPTURE

by Steve • July 28, 2009 • 0 Comments

We had a query that was running slow during a performance test, but extremely fast with my laptop based threaded java test. The SQL was exactly the same, so I was driven bonkers by why it wasn’t using an index.…

Read more →

Database, Oracle

dbms_sqltune using AWR data

by Steve • July 27, 2009 • 0 Comments

Today I wanted to use dbms_sqltune on a SQL statement that was run on Friday, but had not been executed since then. dbms_sqltune by default will assume the statement is still in the shared pool. If it is not, you…

Read more →

Database, Oracle

How to gather stats for a single column

by Steve • July 23, 2009 • 2 Comments

I needed to gather stats for only a single column. For whatever reason, the auto stats job was not getting it, but we actually found our execution plans were much better when we had it. I ran what is below…

Read more →

Database, Development, Oracle, Python

Python based stress tester

by Steve • July 22, 2009 • 0 Comments

I often find myself building something in anticipation of needing it at some point.  This is one of those cases 🙂  Below is a template (a real working one for my needs) that you can edit to build a simple…

Read more →

Database, Oracle

Compressing and Decompressing XMLTYPE’s

by Steve • July 8, 2009 • 0 Comments

We are testing with compression of our XMLTYPE data. We are initially testing with the following… create or replace package compression_utils is function comp_data(p_data in xmltype) return blob; function decomp_data(p_data in blob) return xmltype; end; / create or replace package…

Read more →

Page 71 of 77
« 1 … 69 70 71 72 73 … 77 »

Search

Links

  • LinkedIn Profile

Archives

Copyright © 2025 AppCrawler. All Rights Reserved. The Magazine Basic Theme by bavotasan.com.