I want move indexes from one tablespace to other tablespace
i'd like to know how i get move the index from one tablespace to other tablespace.
Thank's
[]'s
Vitor - Brasil
Thank's for the answer, but i didn`t understand. May you explain better? I`m need to very much!! I want move the procedures from one tablesapce to other tablespace, because when i export the tables to one tablespace, the oracle export to other tablespace. I have to move the tables, but i dìdn`t get move the procedures!!
Thank's
[]'s
Vitor - Brasil
Similar Messages
-
How to move table from one tablespace to other tablespace?
how to move table from one tablespace to other tablespace?
887274 wrote:
how to move table from one tablespace to other tablespace?
alter table <table_name> move tablespace <new_tablespace_name>;
Rebuild the indexes; alter index <index_name> rebuild <new_tablespace_name> online;Example;:
SQL> create table ttt( ID NUMBER PRimary key);
Table created.
SQL> insert into ttt values (1);
1 row created.
SQL> commit;
Commit complete.
SQL> select index_name, status from dba_indexes where table_name='TTT';
INDEX_NAME STATUS
SYS_C0010863 VALID
SQL> alter table ttt move tablespace users;
Table altered.
SQL> select index_name, status from dba_indexes where table_name='TTT';
INDEX_NAME STATUS
SYS_C0010863 UNUSABLE
SQL> alter index SYS_C0010863 rebuild tablespace users online;
Index altered.
SQL> select index_name, status from dba_indexes where table_name='TTT';
INDEX_NAME STATUS
SYS_C0010863 VALID
SQL> -
How to move items from one JList to other
Can u pls help me out to implement this(I m using Netbeans 5.5):
I want to move items from one JList to other thru a ADD button placed between JLists, I am able to add element on Right side JList but as soon as compiler encounter removeElementAt() it throws Array Index Out of Bound Exception
and if I use
removeElement() it removes all items from left side JList and returns value false.
Pls have a look at this code:
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
Object selItem = jList1.getSelectedValue();
int selIndex = jList1.getSelectedIndex();
DefaultListModel model = new DefaultListModel();
jList2.setModel(model);
model.addElement(selItem);
DefaultListModel modelr = new DefaultListModel();
jList1.setModel(modelr);
flag = modelr.removeElement(selItem);
//modelr.removeElementAt(selIndex);
System.out.println(flag);
}hi Rodney_McKay,
Thanks for valuable time but my problem is as it is, pls have a look what I have done and what more can b done in this direction.
Here is the code:
import javax.swing.DefaultListModel;
import javax.swing.JList;
public class twoList extends javax.swing.JFrame {
/** Creates new form twoList */
public twoList() {
initComponents();
//The code shown below is automatically generated and we can�t edit this code
// <editor-fold defaultstate="collapsed" desc=" Generated Code ">
private void initComponents() {
jScrollPane1 = new javax.swing.JScrollPane();
jList1 = new javax.swing.JList();
jButton1 = new javax.swing.JButton();
jScrollPane2 = new javax.swing.JScrollPane();
jList2 = new javax.swing.JList();
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
jList1.setModel(new javax.swing.AbstractListModel() {
String[] strings = { "Item 1", "Item 2", "Item 3", "Item 4", "Item 5" };
public int getSize() { return strings.length; }
public Object getElementAt(int i) { return strings[i]; }
jList1.addListSelectionListener(new javax.swing.event.ListSelectionListener() {
public void valueChanged(javax.swing.event.ListSelectionEvent evt) {
jList1ValueChanged(evt);
jScrollPane1.setViewportView(jList1);
jButton1.setText("ADD>>");
jButton1.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton1ActionPerformed(evt);
jScrollPane2.setViewportView(jList2);
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
getContentPane().setLayout(layout);
layout.setHorizontalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addGap(31, 31, 31)
.addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 44, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jButton1)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, 63, javax.swing.GroupLayout.PREFERRED_SIZE)
.addContainerGap(78, Short.MAX_VALUE))
layout.linkSize(javax.swing.SwingConstants.HORIZONTAL, new java.awt.Component[] {jScrollPane1, jScrollPane2});
layout.setVerticalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addGap(62, 62, 62)
.addComponent(jButton1))
.addGroup(layout.createSequentialGroup()
.addContainerGap()
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))))
.addContainerGap(159, Short.MAX_VALUE))
layout.linkSize(javax.swing.SwingConstants.VERTICAL, new java.awt.Component[] {jScrollPane1, jScrollPane2});
pack();
}// </editor-fold>
//automatic code ends here
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
jList1 = new JList(new DefaultListModel());
jList2 = new JList(new DefaultListModel());
Object selItem = jList1.getSelectedValue();
System.out.println(selItem);
((DefaultListModel) jList1.getModel()).removeElement(selItem);
((DefaultListModel) jList2.getModel()).addElement(selItem);
//Now trying with this code it is neither adding or removing and the value �null� is coming in �selItem� .It may be bcoz JList and Jlist are already instantiated in automatic code. So, I tried this:
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
Object selItem = jList1.getSelectedValue();
System.out.println(selItem);
((DefaultListModel) jList1.getModel()).removeElement(selItem);
((DefaultListModel) jList2.getModel()).addElement(selItem);
//Now with this as soon as I click on �jButton1�, it is throwing this error:
Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: twoList$1 cannot be cast to javax.swing.DefaultListModel
at twoList.jButton1ActionPerformed(twoList.java:105)
at twoList.access$100(twoList.java:13)
at twoList$3.actionPerformed(twoList.java:50)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:6038)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3260)
at java.awt.Component.processEvent(Component.java:5803)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4410)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2429)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121) -
How to move items from one list to other
hi all,
in jsp page i have twolist boxes. i want to move item from one list to other list on click of add or move button. can u plz suggest me an answer for the above. thank u
Regards sangeetThis link should help. Remove from one list and add to the other using Javascript.
http://www.mredkj.com/tutorials/tutorial006.html -
Move objects from one tablespace to another
Hello
Running Oracle 10g rel 2 and I would like to move all objects from one tablespace to another. There are Primary Key indexes to other tables in this tablespace. The size grew too large and I want to reduce the size.
Thank you.Good afternoom Sir!
I believe that below "ask tom - moving tables across tablespaces" may help you.
http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:47812348053
Regards,
Marcello M. -
Move Script from one client to other
Dear All,
How to move a SAP Script from one client to other.
please suggest me in this regard,
Thanks & Regards
Venkat.Hi Venkat,
SCOT is for SAP connect & not for transporting Requests.. I guess Amandeep meant SCC1 (Clent Copy )
Regards,
Suresh Datti -
How to move infoobject from one infoarea to other
Hi All,
I need to move a particular infoobject from one infoobject catalog to other.
1. I went to change mode of infoobject catalog and tried to drag and drop the particular infoobject, but its not possible.
2. Also let me know whether CMOD code is client dependent or independent.
Kindly throw some pointers on this.
Thanks,
Sri Arun PrianHi,
Go to change mode of infoobject for which you want to change Infoarea.
In the Master Data /Text tab you have option of selecting InfoArea Using F4 help,
you can select the new Infoarea then save and activate infoobject.
After that refresh the screen you can infoobject in right Infoarea.
Vikas -
How to move OU from one suffix to other suffix and waht kind of precautions we need to take?
Hi All
Hope all are doing well.I love to read this blog regularly and i also posted couple questions here and i got very brilliant answers and hoping same now.
Question is: We are planning to change our DIT structure like moving OU (contains 80k entries including static groups and managed roles,filtered assigned to users) from one sub-suffix to root suffix as below.
Currently we have ou=ldap,ou=directory,dc=example,dc=com
Where ou=ldap has 80k entries and it included managed roles,filtered roles and static groups assigned.
Planning to change DIT as below.
ou=ldap,dc=example,dc=com
1> How to implement this please give some technical knowledge of doing this
2>What precualtions we need to take?
3> Do we have any outage
We have 12 servers installed ldap instance all MMR and its ODSEE 11.1.1.7.0
Let me know if you need more informationHello,
At first glance, the easiest way would be to use LDAP mod dn operation. However, I would encourage you to review potential issues first:
Before performing a modify DN operation, ensure that the operation would not break client authentication: how do you application depend on the user DNs ? Do they directly bind as <uid=some user>, ou=ldap,ou=directory, dc=example,dc=com or do they discover the actual user dn by doing a lookup/search first as many portal apps do ? Moving entries may require changes to the client application side. Is it something acceptable for you or should that move be transparent for the client apps ?
Similarly, If you move an entry that refers to a SSL client certificate, client authentication will break after moving an entry. Are you using client certificates ?
Before performing a modify DN operation, ensure that the operation would not break your application. The rename or move of an entry can change the following characteristics of the entry: The scope of a filtered role of an entry, The nested role of an entry, where the nested role contains a filtered role, The dynamic group membership of an entry. Furthermore, the entryid attribute of an entry can change when an entry is moved so this may impact your applications if they use the entryid operational attribute.
Static groups that contain reference to the old user dn may be updated automatically if you Enable and configure the referential integrity plug-in on all master replicas in the topology. This action ensures that the server maintains referential integrity for groups and roles.
LDAP mod dn and associated constraints are described at Directory Server Entries - 11g Release 1 (11.1.1.7.0)
-Sylvain
When closing a thread as answered remember to mark the correct and helpful posts to make it easier for others to find them -
How to move segments from one tablespace to another tablespace?
I have created new tablespace now i want to move the old tablespace segments to new one but how?
Please guide
Thanks,
Waheed.If it is Oracle 10g you might consider expdp and impdp and use remap_tablespace. After that you can purge the objects from the old tablespace.
Throught PL/SQL scripting also it is possible.
tables
declare
cursor cursor1 is select table_name from dba_tables where tablespace_name in ('USERDATA1');
begin
for cur1_rec in cursor1 loop
execute immediate 'alter table '||cur1_rec.table_name||' move tablespace userdata2';
end loop;
end;
indexes
declare
cursor cursor1 is select index_name from dba_indexes where tablespace_name in ('USERDATA1');
begin
for cur1_rec in cursor1 loop
begin
execute immediate 'alter index '||cur1_rec.index_name||' rebuild tablespace userdata2';
exception
when others then
null;
end;
end loop;
end;
/ -
I'd like to know how I can move Elements 12 from an old Mac laptop to a new iMac desktop.
you can migrate your catalog (Use Backup, Restore to move catalog | Organizer | Elements 6 or later), but do not move pse; properly install it using the installation files.
Downloads available:
Suites and Programs: CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4 | CS3
Acrobat: XI, X | 9,8 | 9 standard
Premiere Elements: 13 | 12 | 11, 10 | 9, 8, 7
Photoshop Elements: 13 |12 | 11, 10 | 9,8,7
Lightroom: 5.6| 5 | 4 | 3
Captivate: 8 | 7 | 6 | 5
Contribute: CS5 | CS4, CS3
Download and installation help for Adobe links
Download and installation help for Prodesigntools links are listed on most linked pages. They are critical; especially steps 1, 2 and 3. If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'. -
Move Users from one OU to other on AD based on the OIM user profile attrs
Hi All
I am currently pre-populating AD User OU attribute based on the OIM User profile Location attribute. This is working as expected.
Now when the location changes, I wanted to move the user from the current OU to a different one based on the location provided. Here I am kind of stuck.
I think I can use access policies / User triggers to get this done, but is there any other approach / additional configuration for pre-populate.
Are pre-populate only for the first time User Provisioning?
Regards
user12841694Hi Martin
For the above requirement we have used lookups and could accomplish the task.
However, I need a minor clarification here.
I have OU dependent on Location Code & I also have Users Home Directory[on AD process form] dependent on Location Code.
How should I use the User triggers to trigger both Change HomeDir and Change OU process tasks on AD User?
I will create a dummy task with name "*Trigger Location Dependents*" and always return a "TRUE" response in the integrated adapter.
Now upon true I will generate Change HomeDir & Change OU process tasks.
I will provide Trigger Location Dependents name aganist USR_UDF_LOCATION code in the triggers lookup.
Should this work or do u have any suggestion..Please
Regards
user12841694
Edited by: user12841694 on Dec 23, 2010 6:59 AM -
How can we move LDOM from one serve to other.
Hi,
i have an LDOM setup on a T6320 Blade with Solaris 10.
The boot image of LDOM is under a ZPool image of 32 GB.
I want to move this LDOM from T6320 to another T6340. but they don't have the shared disk or not connected to same SAN.
Sun's document talks about moving the LDOM but what i understood is it is only applicable if the virtual disks are accessable from both the servers.
Can anybody help me here ?
Thanks,
jerinHi,
You can try something like this :-
SQL> CONNECT SYS/SYS123@SERVER AS SYSDBA
Connected.
SQL> CREATE USER TEST_1 IDENTIFIED BY TEST_1;
User created.
SQL> CREATE USER TEST_2 IDENTIFIED BY TEST_2;
User created.
SQL> GRANT CONNECT,RESOURCE,DBA TO TEST_1;
Grant succeeded.
SQL> GRANT CONNECT,RESOURCE,DBA TO TEST_2;
Grant succeeded.
SQL> CONNECT TEST_1/TEST_1@SERVER
Connected.
SQL> CREATE TABLE TEST_COPY ( TEST_COL NUMBER );
Table created.
SQL> INSERT INTO TEST_COPY VALUES ( 1 );
1 row created.
SQL> INSERT INTO TEST_COPY VALUES ( 2 );
1 row created.
SQL> COMMIT;
Commit complete.
SQL> GRANT ALL ON TEST_COPY TO TEST_2;
Grant succeeded.
SQL> CONNECT TEST_2/TEST_2@SERVER
Connected.
SQL> CREATE TABLE TEST_COPY AS SELECT * FROM TEST_1.TEST_COPY;
Table created.
SQL> SELECT * FROM TEST_COPY;
TEST_COL
1
2Regards,
Sandeep -
How to move DB from one machine to other
Hi
We have a Oracle DB Server 7.1.6 running on a HP10.20 box. We are migrating our server to a new box with HP11.x with oracle 8i(8.1.7)
What is the best way to move the database between these two machines with out creating the database, tablespaces etc on the
new machine first. I believe Export/Import expects the database to be created beforehand. Or is there any way I can create
the database on the new machine exactly the same way as in the old box by dumping some data or so.
I really appreciate any info on this matter,
Thanks
BhamuBhamu.
Unfortunately, you are kinda stuck. Oracle 7.1.6 is not supported under HP-UX 11.x and 8i is not supported under HP-UX 10.20 (according to Oracle's HP-UX:Compatibility Matrix: Server). Thus you can't do a simple restore to 11.x or an upgrade to 8i prior to a restore.
The only common versions between the two HP-UX releases are Oracle 7.3 and 8.0, which would allow you to perform an upgrade on 10.20 and a restore to 11.x. (Both of these versions of Oracle are on EMS support.)
The best bet is to perform an export and then an import. The data dictionary would provide you with the information you need to re-create the appropriate tablespaces on the new server. -
How to move items from one account to other account - posting program
Hello,
I have FI documents that are posted on clearing account and on other side to costs. But now I need to move open items from clearing account to new clearing account(s) - something like "rename account". Is there any standard program or do you have any idea for programing a customer program?
Thanks zd.Hi,
use report <b>rfbibl00</b> with tcode FB05
(look 1st to the documentation of this report with se38/sa38)
A. -
Modifying the index from one filter to other
All,
We accidentely created the "BINARY_SEARCH_INDEX" index in CTXSYS user with INSO_FILTER, but is there any way that i could modify the filter from INSO_FILTER(current) to AUTO_FILTER without rebuilding the indexes.
Any help would be great.
Regards,
~oraIm working on the same(google) but ..Any help would be great.
Regards,
ora
Maybe you are looking for
-
Check during Excise Invoice J1IIN
Check during Excise Invoice J1IIN While using J1IIN transaction for excise i want to check the posting date entered by the user with the actual GI date during PGI ... so i try to find badi or user exit called when we click form billing and enter bil
-
How do I get iTunes and iPhoto to recognize my iPhone 4?
I have a MacBook Pro (version 10.5.8). I recently installed a new hard drive, battery, and had the Genius Bar reinstall my OS X. Now, iTunes and iPhoto don't recognize my iPhone 4 (version 5.1) when it's attached through the USB port. It simply doesn
-
Opening a URL in a new browser window
Hello Experts, I am trying to open a dynamic url in a new browser window from a Portal application (travel and expenses). Basically, when a user clicks on the submit button, Badi IF_EX_TRIP_WEB_CHECK~USER_CHECK_CHANGES is called. In the BaDI, we have
-
How to resolve "you need to power off" screen looping
I fitted a new hard drive to my MacBook. Have restored from a Time Machine back-up. I have the "you need to power off" screen but every time I power off and power back on I first get the Apple logo screen and then the "you need to power off" screen
-
Desparate to know if I can get my photos which were synced onto my ipod classic.Now I have lost all the data from my computer and want to put the photos back onto computer. I know if it is synced it will delete everything. I have gone into itunes on