Тёмный
ORACLE-BASE.com
ORACLE-BASE.com
ORACLE-BASE.com
Подписаться
Welcome to the official ORACLE-BASE.com RU-vid channel. This channel contains all Oracle-related video content produced by Tim Hall.
SQLcl : Data Pump (Part 2)
3:40
2 года назад
Ansible Playbooks : Vault
4:20
2 года назад
Ansible Playbooks : Roles
3:35
2 года назад
Ansible Playbooks : Users and Groups
2:46
2 года назад
Ansible Playbooks : Tags
2:41
2 года назад
Ansible Playbooks : Handlers
4:06
2 года назад
Ansible Playbooks : Lists and Loops
4:12
2 года назад
Ansible Playbooks : Introduction
9:06
2 года назад
SQLcl : Data Pump
3:31
2 года назад
SQLcl : Unload and Load Table Data
1:49
2 года назад
Attention Log in Oracle Database 21c
2:31
2 года назад
ORACLE-BASE Channel Cameos - Vol 5
1:53
2 года назад
Комментарии
@SMondalYT
@SMondalYT 9 дней назад
How to parse .xls files ?
@oracle-base
@oracle-base 7 дней назад
".xslx" files work the same as all the other file types.
@AstorSkywalker
@AstorSkywalker 15 дней назад
Is it possible to view to checksum string?
@oracle-base
@oracle-base 15 дней назад
I don't believe so. The checksum itself is written into the file, so I'm not sure you could test it externally to the import, since by writing the checksum to the file, you've actually altered the checksum. :)
@Munzersaker-bh5qn
@Munzersaker-bh5qn 29 дней назад
How can i call the pipelined function over dblink?
@oracle-base
@oracle-base 29 дней назад
You can't. See restriction in docs. docs.oracle.com/en/database/oracle/oracle-database/19/lnpls/PIPELINED-clause.html
@LearningDBwithMemoji
@LearningDBwithMemoji Месяц назад
Hello Tim, I am getting the below errors when running vagrant up for node1. any suggestions on the errors. ? default: Installed: default: cvuqdisk-1.0.10-1.x86_64 default: default: Complete! default: ****************************************************************************** default: Do grid software-only installation. Tue May 28 18:41:51 UTC 2024 default: ****************************************************************************** default: Preparing the home to patch... default: Applying the patch /u01/software/35742441/35642822... default: OPatch command failed while applying the patch. For details look at the logs from /u01/app/19.0.0/grid/cfgtoollogs/opatchauto/. default: ****************************************************************************** default: Run grid root scripts. Tue May 28 18:47:39 UTC 2024 default: ****************************************************************************** default: sh: /u01/app/oraInventory/orainstRoot.sh: No such file or directory default: sh: /u01/app/oraInventory/orainstRoot.sh: No such file or directory default: Check /u01/app/19.0.0/grid/install/root_ol8-19-rac1_2024-05-28_18-47-40-822908792.log for the output of root script default: sh: /u01/app/19.0.0/grid/root.sh: No such file or directory default: ****************************************************************************** default: Do grid configuration. Tue May 28 18:47:42 UTC 2024 default: ****************************************************************************** default: default: ERROR: The home is not clean. This home cannot be used since there was a failed OPatch execution in this home. Use a different home to proceed. default: default: ****************************************************************************** default: Create additional diskgroups. Tue May 28 18:47:43 UTC 2024 default: ****************************************************************************** default: /vagrant/scripts/oracle_grid_software_config.sh: line 48: /u01/app/19.0.0/grid/bin/sqlplus: Permission denied default: ****************************************************************************** default: Check cluster configuration. Tue May 28 18:47:44 UTC 2024 default: ****************************************************************************** default: /vagrant/scripts/oracle_grid_software_config.sh: line 63: /u01/app/19.0.0/grid/bin/crsctl: No such file or directory default: ****************************************************************************** default: Unzip database software. Tue May 28 18:47:44 UTC 2024 default: ****************************************************************************** default: unzip: cannot find or open /vagrant_software/p6880880_190000_Linux-x86-64.zip, /vagrant_software/p6880880_190000_Linux-x86-64.zip.zip or /vagrant_software/p6880880_190000_Linux-x86-64.zip.ZIP. default: ****************************************************************************** default: Do database software-only installation. Tue May 28 18:55:59 UTC 2024 default: ****************************************************************************** default: Preparing the home to patch... default: Applying the patch /u01/software/35742441/35642822... default: OPatch command failed while applying the patch. For details look at the logs from /u01/app/oracle/product/19.0.0/dbhome_1/cfgtoollogs/opatchauto/. default: ****************************************************************************** default: Run DB root scripts. Tue May 28 19:03:07 UTC 2024 default: ****************************************************************************** default: Check /u01/app/oracle/product/19.0.0/dbhome_1/install/root_ol8-19-rac1_2024-05-28_19-03-07-933148407.log for the output of root script default: sh: /u01/app/oracle/product/19.0.0/dbhome_1/root.sh: No such file or directory default: ****************************************************************************** default: OJVM Patch for DB Software. Tue May 28 19:03:10 UTC 2024 default: ****************************************************************************** default: ****************************************************************************** default: Patch Oracle Grid Infrastructure Software. Tue May 28 19:03:10 UTC 2024 default: HOSTNAME=localhost.localdomain default: ORACLE_HOME=/u01/app/oracle/product/19.0.0/dbhome_1 default: ****************************************************************************** default: ****************************************************************************** default: Unzip software. Tue May 28 19:03:10 UTC 2024 default: ****************************************************************************** default: Can't call method "uid" on an undefined value at /u01/app/oracle/product/19.0.0/dbhome_1/OPatch/auto/database/bin/module/DBUtilServices.pm line 28. default: ****************************************************************************** default: Patch Oracle Grid Infrastructure Software. Tue May 28 19:03:11 UTC 2024 default: HOSTNAME=ol8-19-rac2 default: ORACLE_HOME=/u01/app/oracle/product/19.0.0/dbhome_1 default: ****************************************************************************** default: ****************************************************************************** default: Unzip software. Tue May 28 19:03:11 UTC 2024 default: ****************************************************************************** default: /vagrant_scripts/oracle_software_patch.sh: line 26: opatchauto: command not found default: ****************************************************************************** default: Create database. Tue May 28 19:07:33 UTC 2024 default: ****************************************************************************** default: [FATAL] java.lang.NullPointerException default: ****************************************************************************** default: Save state of PDB to enable auto-start. Tue May 28 19:07:44 UTC 2024 default: ****************************************************************************** default: /vagrant/scripts/oracle_create_database.sh: line 32: /u01/app/oracle/product/19.0.0/dbhome_1/bin/sqlplus: Permission denied default: ****************************************************************************** default: Check cluster configuration. Tue May 28 19:07:44 UTC 2024 default: ****************************************************************************** default: ****************************************************************************** default: Output from crsctl stat res -t Tue May 28 19:07:44 UTC 2024 default: ****************************************************************************** default: /vagrant/scripts/oracle_create_database.sh: line 44: /u01/app/19.0.0/grid/bin/crsctl: No such file or directory default: ****************************************************************************** default: Output from srvctl config database -d cdbrac Tue May 28 19:07:44 UTC 2024 default: ****************************************************************************** default: /u01/app/oracle/product/19.0.0/dbhome_1/bin/srvctl: line 259: /u01/app/oracle/product/19.0.0/dbhome_1/srvm/admin/getcrshome: No such file or directory default: PRCD-1027 : Failed to retrieve database cdbrac default: PRCR-1070 : Failed to check if resource ora.cdbrac.db is registered default: CRS-0184 : Cannot communicate with the CRS daemon. default: ****************************************************************************** default: Output from srvctl status database -d cdbrac Tue May 28 19:07:46 UTC 2024 default: ****************************************************************************** default: /u01/app/oracle/product/19.0.0/dbhome_1/bin/srvctl: line 259: /u01/app/oracle/product/19.0.0/dbhome_1/srvm/admin/getcrshome: No such file or directory default: PRCD-1027 : Failed to retrieve database cdbrac default: PRCR-1070 : Failed to check if resource ora.cdbrac.db is registered default: CRS-0184 : Cannot communicate with the CRS daemon. default: ****************************************************************************** default: Output from v$active_instances Tue May 28 19:07:48 UTC 2024 default: ****************************************************************************** default: /vagrant/scripts/oracle_create_database.sh: line 59: /u01/app/oracle/product/19.0.0/dbhome_1/bin/sqlplus: Permission denied default: ****************************************************************************** default: Setup End. Tue May 28 19:07:48 UTC 2024 default: ******************************************************************************
@LearningDBwithMemoji
@LearningDBwithMemoji Месяц назад
I'm using ole8_19
@aruljebin
@aruljebin Месяц назад
Hi Tim, In our database, we are migrating jobs scheduled using DBMS_JOB to DBMS_SCHEDULER. In the current process, we are able to pass the instance ID as an argument in DBMS_JOB, but that option does not seem to be available in DBMS_SCHEDULER. Is there any workaround for this?
@oracle-base
@oracle-base Месяц назад
You create a service with the correct instance association, then create a job assigned to that service.
@user-xj7fv3qp7f
@user-xj7fv3qp7f 2 месяца назад
How to shrink secure file in lower version. Such as 11g or 19c,since shrink space not support for them
@MFM88832
@MFM88832 2 месяца назад
Perfect video with excellent examples, zero fluff and just GOLD! Thank you.
@sankalpgupta6630
@sankalpgupta6630 2 месяца назад
Tim, is there a way to find mimetype of uploaded file ?
@moldovanmoldovan7593
@moldovanmoldovan7593 2 месяца назад
I love that finally there is enough space for naming objects and identifiers in PL/SQL
@catquilt74
@catquilt74 2 месяца назад
Excellent video, short and to the point. Thank you!
@dileepkumarvarma1999
@dileepkumarvarma1999 2 месяца назад
whats the script you are running and why? is that really mandatory to have the max_string_size extended?
@abrhamb2952
@abrhamb2952 3 месяца назад
How do you get port 8080
@oracle-base
@oracle-base 3 месяца назад
ORDS is a PL/SQL gateway. In order to use ORDS you have to install it. You can run it in standalone mode, or under a Java container such as Tomcat. This is how you get access to port 8080, or any other port you define. ORDS then connects to the database, which is where the data and the ORDS package are. Whenever you read anything about ORDS, it assumes you are running ORDS with a connection to an Oracle database. oracle-base.com/articles/misc/oracle-rest-data-services-ords-installation-on-tomcat-22-onward
@abrhamb2952
@abrhamb2952 3 месяца назад
@@oracle-base Thank you
@togaramutasa9669
@togaramutasa9669 День назад
@@oracle-base So if you have Oracle Apex already installed then you are sorted on the ORDS issue, you should already have the ORDS Gateway right?
@TheTimHall
@TheTimHall День назад
@@togaramutasa9669 APEX and ORDS are two separate products. You can install APEX without using ORDS and vice versa. ORDS is the preferred gateway for APEX, so if you are using APEX it is probably you also have ORDS installed, but it's not guaranteed. You need to speak to whoever set up APEX in your company.
@MrZtapp
@MrZtapp 3 месяца назад
Great video. However, how to protect the client secret?
@TheTimHall
@TheTimHall 3 месяца назад
How do you protect any password? Only tell the people who need to know it. If you think it is compromised, change it.
@MrZtapp
@MrZtapp 3 месяца назад
​@@TheTimHall Sorry, I meant that I do not want to expose it in my mobile app code. Trying to find a way of protecting the client secret and not need to hard code it in the app.
@TheTimHall
@TheTimHall 3 месяца назад
@@MrZtapp One again, the same as you would for any other protected resource in your application.
@MrZtapp
@MrZtapp 3 месяца назад
@@TheTimHall Well this is a game (Unity3d) and the only resource I really need to protect is the access to the JSON database where I have all game and player data. As of now I have the client secret hard coded in the code and is currently researching and key management system I can use. However, I know very little about this topic.
@TheTimHall
@TheTimHall 3 месяца назад
@@MrZtapp I know nothing about Unity (apart from they have an atrocious pricing model that has lots of bad press). I suggest you ask on a Unity development forum, as this is not an ORDS issue. It's a programming issue.
@pe500a
@pe500a 4 месяца назад
Wondering if there is a way to print out the sql execution outputs/dbms so we can understand what exactly has been processed at each moment? Cheers
@oracle-base
@oracle-base 4 месяца назад
You can turn on SQL trace for the user and check that. I'm not exactly sure why you would care about execution plans for DDL and procedure creations though.
@pe500a
@pe500a 4 месяца назад
@@oracle-base thanks for your reply. Thought that could be rather interesting to enhance a log such as "<script_name> ran successfully in 100ms" by adding "Table created" so that the implementer has clear picture of what has ran.
@fmsilva11
@fmsilva11 4 месяца назад
any playbook to run on oracle database with multiple cdb and multiple pdb no the host ?
@eduardoantoniogonzalezbarr9369
@eduardoantoniogonzalezbarr9369 4 месяца назад
Muy malo el video, ya que no indica como sigue el proceso, si creao la BD Standby o no se que deja todo en el limbo
@hossamalaaal-deen7173
@hossamalaaal-deen7173 4 месяца назад
are there alternatives to the implicit statements for 11g?
@oracle-base
@oracle-base 4 месяца назад
I'm not sure what you mean. Implicit statement results are an option to interact with the ref cursor contents, but it is an alternative to the traditional approach.
@AlomLt
@AlomLt 4 месяца назад
If I have a table with LONG columns, how does it work? Since it shows me this error: ORA-00997: illegal use of LONG datatype
@oracle-base
@oracle-base 4 месяца назад
As you've discovered, it doesn't. Oracle deprecated LONG columns a very, very long time ago. As a result, most features added since that deprecation do not support LONG columns. You should migrate from LONG to LOB (CLOB or BLOB).
@MohanS-kq4ry
@MohanS-kq4ry 4 месяца назад
Sir may i know the purpose of append that you have used in insert statement?
@oracle-base
@oracle-base 4 месяца назад
Read this. oracle-base.com/articles/misc/append-hint
@MohanS-kq4ry
@MohanS-kq4ry 4 месяца назад
Can we able to disable the virtual column?
@oracle-base
@oracle-base 4 месяца назад
Just drop the column.
@Heldermc04
@Heldermc04 5 месяцев назад
Very helpfull, thank you
@josesousa6428
@josesousa6428 5 месяцев назад
Alguém a ver isto para o exame de BD?
@FrabettiRenan
@FrabettiRenan 5 месяцев назад
Hello, thanks for the videos! Could you please answer me a question? If I have 2 servers differents (A and B) , and I would like to transfer a PDB1 (Server A) to server B. What kind of migration is better performance? 1- Using RMAN (duplicate) 2- CREATE PLUGGABLE DATABASE PDB1_copy FROM PDB1@clone_link;
@oracle-base
@oracle-base 5 месяцев назад
They will be similar. Effectively a hot clone takes a backup and transports it. I typically do this using a PDB clone, as it is logically simipler.
@ilpaolotopleggend6663
@ilpaolotopleggend6663 5 месяцев назад
thanks
@prakasharc7629
@prakasharc7629 6 месяцев назад
In SQL developer ref cursor is not returning the result in grid format, is any way/option to return result in grid/table format? Thank you for the video.
@743Dora
@743Dora 7 месяцев назад
Is it possible to load from the existing directory? If so can I get an example also do I need to install any dependencies to execute it?
@oracle-base
@oracle-base 7 месяцев назад
Yes. You pass in a directory name and file. The example does this, so not sure why you would need a separate example. As explained, it need you to have APEX 19.1 or newer installed in the database.
@mrsdhuha
@mrsdhuha 8 месяцев назад
Many thanks, this was very helpful.
@Everything_Is_Grey
@Everything_Is_Grey 8 месяцев назад
Awesome as always.
@mridulranjan1069
@mridulranjan1069 8 месяцев назад
Hello, may I ask which Terminal and what font are you using in this video?
@mridulranjan1069
@mridulranjan1069 8 месяцев назад
Hello, may I ask which Terminal and what font are you using in this video?
@oracle-base
@oracle-base 8 месяцев назад
It's MobaXterm. The font is the default font in that terminal.
@mridulranjan1069
@mridulranjan1069 8 месяцев назад
Hello, may I ask which Terminal and what font are you using in this video?
@mridulranjan1069
@mridulranjan1069 8 месяцев назад
Allow me to be the first one to leave a comment. This is a great video, simple, concise, clearly explained, no waste of time or resources as most video creators do and absolutely nails the topic! Awesome work and thanks for creating this video!! Cheers!
@emanuelj.rodriguez6389
@emanuelj.rodriguez6389 8 месяцев назад
Great video!
@TheOldMaritimer
@TheOldMaritimer 9 месяцев назад
Hi Tim, Could you do a video on how to ingest a regularly delivered XML file (with several nested children and data) to an Oracle table? Thanks so much!
@oracle-base
@oracle-base 9 месяцев назад
The linked article shows how to deal with nested XML. oracle-base.com/articles/misc/xmltable-convert-xml-data-into-rows-and-columns-using-sql#nested-xml Once you've got the data parsed, just insert it. As for it happening regularly, just use a job. oracle-base.com/articles/10g/scheduler-10g#simple
@zbigniewzak3043
@zbigniewzak3043 9 месяцев назад
The documentation says "DBMS_CLOUD.LIST_FILES is only supported for directory objects mapping to Oracle File System (OFS) or Database File System (DBFS) file systems.". What if we don't have such a file system in our db? We currently use Exadata on-prem and it seems we are not able to use that package because of that. Does some workaround exists? Thx in advance for your answer.
@oracle-base
@oracle-base 9 месяцев назад
Here are some alternatives. oracle-base.com/articles/misc/list-files-in-a-directory-from-plsql-and-sql-comparison-of-methods
@user-ox3gr8qs9x
@user-ox3gr8qs9x 9 месяцев назад
can this migrate Centos 7 to OEL 8 ?
@oracle-base
@oracle-base 9 месяцев назад
This is just a conversion from CentOS to OL of the same version. You can consider using LEAPP to upgrade after that. oracle-base.com/articles/linux/leapp-upgrade-ol7-to-ol8
@JhonatanAguilarplus
@JhonatanAguilarplus 9 месяцев назад
I love it Thnks!
@Leploy
@Leploy 9 месяцев назад
Hi Tim, this is a really great explanation of how to use vagrant to install Oracle Database. I just discovered this Vagrant thing when i read your article about your opinion on GUI installation and i overall agree with your points there. It inspired me to learn how to automate things which in turn would ease my job as a DBA and saves customers' time. I wanna ask some questions unrelated to the technical aspect of using Vagrant, and more of your personal experience with it. 1. Could you share the story of when and how you first encountered with Vagrant, and how did you feel about it at the time? 2. How long does it usually takes for you to create the builds with its configuration file and scripts that are used to create the database? (I assume that there might be typing errors or other kind of errors in the process of building and creating them 😁) 3. How are you using Vagrant at work? I assume that some companies will require us to install the database with its options in a baremetal server, and not with VMs. Have you ever using Vagrant for a production or testing environment? How does using Vagrant help you in serving the customers? I apologize for the long questions 😁. Thanks for your videos and articles anyway, i learn a lot from you.
@oracle-base
@oracle-base 9 месяцев назад
I decided to answer your questions in the form of a blog post. :) oracle-base.com/blog/2023/09/07/some-questions-about-vagrant/
@Leploy
@Leploy 9 месяцев назад
@@oracle-base Hi Tim, i've read your blog post. Thank you very much for your answer, it satisfies my curiosity :D. I'm definitely going to use it, and i'm afraid i'm going to become "addicted" to it. You have to be responsible if that happens, Tim 😁. Thank you once again. Best regards, Levi
@victorbhatti4326
@victorbhatti4326 10 месяцев назад
You are awesome
@jannetarribasplata2378
@jannetarribasplata2378 10 месяцев назад
Hi Tim, can you let me know how to restore a pluggable using a backup from a production database? (They had different DBIDs). I don't know how to catalog them first.
@mstb2
@mstb2 11 месяцев назад
getting below error on using fdisk. what's the command for bash. bash: fdisk: command not found
@ayub2341
@ayub2341 11 месяцев назад
how to find the base url for ORDS and modify it ?
@oracle-base
@oracle-base 11 месяцев назад
The base URL is "{machine-name}:{port}/ords/". Typically if you want to change it you put a load balancer or reverse proxy in front of it.
@akashpandey7262
@akashpandey7262 11 месяцев назад
This is a very useful command in case of workflow type tables where data moves or is copied from one table to another very similar table. MERGE where were you all my life ? Thanks for explaining the important use cases of this statement.
@AarifAhmad2204
@AarifAhmad2204 11 месяцев назад
Can we process excel file using DBMS_CLOUD.COPY_DATA ? If yes? what will be the parameters?
@oracle-base
@oracle-base 11 месяцев назад
According to the docs it only support the following formats. csv, csv with embedded, csv without embedded. docs.oracle.com/en/database/oracle/oracle-database/19/arpls/DBMS_CLOUD.html#GUID-08C44CDA-7C81-481A-BA0A-F7346473B703
@AarifAhmad2204
@AarifAhmad2204 11 месяцев назад
@@oracle-base Thanks for your quick response.
@bardcodeninja
@bardcodeninja 11 месяцев назад
Will this affect any type of application that has been installed on CentOS?
@oracle-base
@oracle-base 11 месяцев назад
It shouldn't affect anything. It's essentially just swapping out repos to the Oracle Linux repo, and installing the Oracle release packages so it is recognized as Oracle Linux.
@barcodeninja3582
@barcodeninja3582 11 месяцев назад
is it the same process, instead of Oracle Im going to convert it to ubuntu.
@Neha-nv6pt
@Neha-nv6pt Год назад
Thanks..😊
@ramchinthakayala2092
@ramchinthakayala2092 Год назад
Thanks!
@tejaswikt4166
@tejaswikt4166 Год назад
Hi Tim, 1) While using Online compression/Partition, will it causes more REDO/UNDO data generated. 2) Online usage, will require same/more space than the original table size, and after the online activity is completed, it fragments the datafile because the table is moved ?
@oracle-base
@oracle-base Год назад
1) Don't know. Never tested it. 2) There will be a period where the before and after version of the table exists at the same time, so there will be extra space used during the operation. The original version of the table is only removed after the operation, so there will be a bunch of unused blocks in the middle of the data files if that us a concern. Online operations track transactions, so a busy table will use more room to track changes, but that is cleaned up at the end.
@king74777
@king74777 Год назад
In 19c we can put the refresh in the same cdb with the source pdb but there is many prob in datafile location in the standby site and with the rman deletion policy refresh stop even if every 1 minute