[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: [sqr-users] Re-Indexing a Table in SQR
- Subject: Re: [sqr-users] Re-Indexing a Table in SQR
- From: Les Hancock <les_hanc@yahoo.com>
- Date: Thu, 11 May 2006 11:30:22 -0700 (PDT)
- Delivery-date: Thu, 11 May 2006 14:32:50 -0400
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com;h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding;b=QXVlj2pW7krMFPqdmXMWzCB3ZM0Tp5PxGIV/RxnTDzV+wSB4zLo/YEzB3tNDPmE5pxJvGtJqz27Jnk/aNS9OLbRe0kpRXQxdySjN9uVl8phLsJ98w88KCIkNSFufe8vRPymjw6s+5dNx7D98mV90x+d9wuZrMXeM/R5BH9sr2qI=;
- In-reply-to: <716269FC9101114CBF70650F9AABF8B10E7130@0599-its-exmb02.us.saic.com>
- List-id: "This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions." <sqr-users.sqrug.org>
Something like this may do it:
begin-sql
analyze table sysadm.ps_L_KK_ACTVTY_LOG estimate statistics
sample 15 percent for table for all indexes
for all indexed columns
end-sql
If the table is large, it may take a while.
You probably should verify that command with your DBA's.
Hope that helps,
Les
"Wright, David L. II" <DAVID.L.WRIGHT.II@saic.com> wrote:
Greetings all,
I have a situation where I need to re-index a table in SQR after loading it.
There is no way to organize the input sequentially so therein lies my
problem.
Other than dropping the index and re-indexing (which is a no-no at our site)
is there any other way to re-index a table inside an SQR?
I have already tried to run DBMS_STATS but SQR doesn't like that.
Thanks in advance for any help you can offer
David L. Wright, II
SAIC Sr. Technical Consultant, PeopleSoft
_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users
---------------------------------
Blab-away for as little as 1¢/min. Make PC-to-Phone Calls using Yahoo!
Messenger with Voice.
_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users