I noticed that my oracle db automatically creates tables with names such as #T10_sid:201349704_1_FiltFilte.
Does anyone know how these tables are created / what creates them? They are starting to clog up my table list so I would also like a way to automatically remove them (as long as they are not needed).
Can anyone help me there?
Edit:
I am using Oracle SQL Developer, if that makes any difference.
Related
Is it possible to compare data from an Oracle DB and an Azure SQL DB. The data should be the same in each but I want to find out is there a way to check and confirm this?
I'm thinking maybe a Java application that could check and compare the same row of each application, or check totals/counts. Or is there a more straight forward way? Any advice appreciated.
Maybe you should give us more info about the story of the database.
Have you created an Azure SQL Database from an Oracle DB or the other way around?
My approach would be:
Use SSMA to translate the Oracle database to a SQL Server database.
Now use any compare database you find online (there are many) and compare the two.
If you tell me more about the story of the database I can understand better.
I have to delete user data in a database used by a laravel/eloquent application. It can be done with some SQL queries.
Problem: I have no clue of laravel/eloquent. That's where I need your help.
Is it safe to bypass laravel/eloquent and just change/delete data in the database using SQL queries (manually or with a script)?
With the assurance provided in the comments of my original question I deleted the data using some SQL statements, executed by the phpMyAdmin SQL feature.
Everything worked as expected.
Of course I studied the data model, backuped everything, and run tests on a copy of the database before performing the change on the production system.
I'd like to copy a schema to a newly created one in Oracle Database, in Oracle Cloud.
As far as I know, these databases are managed ones, so I can't run expdb / impdb on them.
Any other idea how to copy (~clone) an entire schema?
Thanks,
As #dmitry shared above-
1.Extract DDL stackoverflow.com/questions/10886450/…. 2.Extract data csv github.com/dmitrydemin1973/powershell-oracle/blob/master/… or insert sql. 3. Create tables in cloud. 4 Load data into tables(sqlloader or sqlplus). 5Create other objects(indexes, procedures, packages,etc ).6 Recompile functions, procedures, packages, views.
Please see #dmitrys response above
How can I create a script of inserts for my sybase to oracle Migration? The Migration wizard only gives me the option to migrate procedures and triggers and such. But there is no select for just tables. When I try to migrate tables offline and move data. the datamove/ folder is empty. I would also want to only migrate specific tables (ones with long identifiers) because i was able to migrate the rest with Copy to Oracle.
I must also note that i do not want to upgrade to an new version of oracle. Currently on ~12.1 so i need to limit the identifiers.
How can I get the offline scripts for table inserts?
You (probably!) don't want INSERTs for offline migration scripts. If you're just running INSERTs, then the online method would probably suffice.
The point of the Offline strategy is to take the data from your Sybase instance to flat, delimited text files (using BCP), which we can THEN use to load back into an Oracle Database using SQLLDR or External Tables which will be EXPONENTIALLY faster than using INSERT scripts.
Take a look at this whitepaper where I go into offline Sybase migrations in detail.
You can consider DCO-based Sybase-to-Oracle replication via the Sybase Rep Server. This way, not only will you have all data moved, but you will also be able to have DML updates propagated online, which will make your system switchable live.
I've got an oracle 11 XE database, with 3 schemas in it, that I want to create a DDL file for to make a baseline script to use with flyway.
I've tried to export just the DDL of all 3 schemas, but the resulting sql doesn't include the creation of the users, or the creation of the tablespaces. It just starts off with sql to create tables, which will not work as the users or the tablespaces don't exist.
Is there any way to do this with sql-developer or am I using the wrong tool for the job here?
I'm thinking I may need to include all the SYSTEM objects in the DDL, but no idea how importing that into a running oracle instance will work.
Any tips or hints I'd be grateful for, I'm starting to think this plan just isn't possible. :-(
Thanks
Matt
when we generate the ddl for a schema, we grab the schema objects, not the definition of the user that owns the schema, nor the tablespaces used IN the schema
you can still get those though, just open the DBA Panel -