The Oracle Cloud Infrastructure Object Storage service supports multipart uploads for more efficient and resilient uploads, especially for large objects.
Multipart uploads can accommodate objects that are too large for a single upload operation. Oracle recommends that you perform a multipart upload to upload objects larger than 100 MiB. The maximum size for an uploaded object is 10 TiB. Object parts must be no larger than 50 GiB. For large uploads performed through the API, you have the flexibility of pausing between the uploads of individual parts, and resuming the upload when your schedule and resources allow.
With multipart uploads, individual parts of an object can be uploaded in parallel to reduce the amount of time you spend uploading.
Multipart uploads can accommodate objects that are too large for a single upload operation. Oracle recommends that you perform a multipart upload to upload objects larger than 100 MiB. The maximum size for an uploaded object is 10 TiB. Object parts must be no larger than 50 GiB. For large uploads performed through the API, you have the flexibility of pausing between the uploads of individual parts, and resuming the upload when your schedule and resources allow.
The first step is to Install and Configure OCI CLI, you can follow the articles:
You can monitoring the upload by using the command "oci os multipart list":
The Upload will progress much faster:
Once the File is uploaded, you can check its status:
You can check the file in the web:
- How to Install Oracle Cloud Infrastructure CLI in Windows
- How to Install Oracle Cloud Infrastructure CLI in MAC
Then Upload the File using the command "oci os object put", in this example I will upload the file "C:\Users\Deiby Gomez\Documents\OracleDB12102.tar.gz" with a size of 26G, I will create parts of 1G each and upload 4 parts in parallel:
PS C:\WINDOWS\system32> oci os object put --namespace-name idt6zjv16ewi -bn ImportedVMs --file 'C:\Users\Deiby Gomez\Doc
uments\OracleDB12102.tar.gz' --name OracleDB12102 --parallel-upload-count 4 --part-size 1024
Upload ID: b1e5a160-55e0-52e6-09be-4238ac10b9c4
Split file into 26 parts for upload.
Uploading object [------------------------------------] 0%
PS C:\WINDOWS\system32> oci os multipart list --namespace-name idt6zjv16ewi -bn ImportedVMs
{
"data": [
{
"bucket": "ImportedVMs",
"namespace": "idt6zjv16ewi",
"object": "OracleDB12102",
"time-created": "2020-04-23T00:39:42.230000+00:00",
"upload-id": "b1e5a160-55e0-52e6-09be-4238ac10b9c4"
}
]
}
PS C:\WINDOWS\system32>
The Upload will progress much faster:
PS C:\WINDOWS\system32> oci os object put --namespace-name idt6zjv16ewi -bn ImportedVMs --file 'C:\Users\Deiby Gomez\Doc
uments\OracleDB12102.tar.gz' --name OracleDB12102 --parallel-upload-count 4 --part-size 1024
Upload ID: b1e5a160-55e0-52e6-09be-4238ac10b9c4
Split file into 26 parts for upload.
Uploading object [#####-------------------------------] 15% 0d 21:27:16
PS C:\WINDOWS\system32> oci os object put --namespace-name idt6zjv16ewi -bn ImportedVMs --file 'C:\Users\Deiby Gomez\Doc
uments\OracleDB12102.tar.gz' --name OracleDB12102 --parallel-upload-count 4 --part-size 1024
Upload ID: b1e5a160-55e0-52e6-09be-4238ac10b9c4
Split file into 26 parts for upload.
Uploading object [####################################] 100%
{
"etag": "c527ccff-7bcf-4e95-8ead-b1c723ea95a4",
"last-modified": "Thu, 23 Apr 2020 12:49:06 GMT",
"opc-multipart-md5": "DRPDP2U4AhcJIUG0f2W2uw==-26"
}
PS C:\WINDOWS\system32>
Suscribirse a: Enviar comentarios (Atom)
How to deploy an Oracle Autonomous Database 19c
Click in the main menu and then " Autonomous Transaction Processing ": Click in the button " Create Autonomous Database...- The version of Oracle Database Firewall for this article es: 12.2.0.10.0 IP of Oracle Database Firewall: 192.168.56.11 Port of Oracle Dat...
- Downloading JDK for the Agent Agent requires at least the version 1.8 of JDK In this case, I am downloading "Linux x64 - jdk-8u211-...
- This installation is for: Oracle Linux Server release 7.5 Oracle Database 18c Enterprise Edition Release 18.0.0.0.0 Disabling SELINU...
No hay comentarios:
Publicar un comentario