Oracle index creation [message #647066] |
Mon, 18 January 2016 14:29 |
|
donep
Messages: 6 Registered: January 2016
|
Junior Member |
|
|
I have an Oracle 10g installed and one of our accounting system tables are setup in that. I have a crystal report that accesses the financial data and displays it to the user. Sometime back I was asked to enable security in the report, so that when a user runs the report, they will only see the data (cost centres) that has been assigned to them.
Since this system is done by a third party, to enable the security, I created a table that has 3 fields (userid, facility, cost centre). In the report my table is linked to the main GL table with facility and cost centre fields. In my selection formula, I pass the logged in user id in Crystal.
Everything was good when I initially did this report only took about 400 seconds to run. After 3 years (with new data being added to the tables), it now takes over 30 mins to run the report.
When I created the table, I didn't create any indexes to it. I am thinking this is the reason for the slowness.
I was wondering if anyone could help me with creating indexes and how to make this run faster as 30 mins for a report is not acceptable.
Any help is greatly appreciated.
|
|
|
|
|
|
Re: Oracle index creation [message #647643 is a reply to message #647642] |
Thu, 04 February 2016 08:57 |
|
Kevin Meade
Messages: 2103 Registered: December 1999 Location: Connecticut USA
|
Senior Member |
|
|
The last two are Word documents. When you say "don't work" do you mean they will not download? or that you cannot open them? or something else? You will need access to MS-WORD to open and edit them.
I was able to download and open them using a different compute and they work fine for me. Please provide more detail of your problem.
[Updated on: Thu, 04 February 2016 08:58] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|