The TRUNCATE TABLE statement is a DDL (Data Definition Language) operation that removes all rows from a table but leaves the table metadata intact, including the table schema, description, and labels. Since TRUNCATE is a metadata operation it does not incur a charge.
@adesojialu1051 Жыл бұрын
How did you write the ddl, which language,is it in SQL?
@LearnGoogleCloudwithMahesh Жыл бұрын
@@adesojialu1051 Sorry, I did not understand the question
@aireddy2 жыл бұрын
Learning from mistakes and sharing with everyone is important to save the cost, It is very informative!
@shanmuksandeep91342 жыл бұрын
Great.. Do extend this for remaining services as well!!
@LearnGoogleCloudwithMahesh2 жыл бұрын
Sure, Shanmuk
@Kay-gg6tw2 жыл бұрын
Great video Mahesh! Thanks.
@pratimalal5024 Жыл бұрын
very nice tips
@VinodW-zc5nm Жыл бұрын
Great Tips Mahesh, I think we can also do partitioning if we know the user is firing a query on particular column like region frequently and as I know if single partitioning goes beyond 1 Gb then we can go for clustering so less data can be scanned and it can save cost
@LearnGoogleCloudwithMahesh Жыл бұрын
True
@dr.amarmudiraj Жыл бұрын
Hi Mahesh, Excellent Work you are doing, I have one small query, can we implement some rules to preempt the BQ queries that would run an excessive workload (e.g. query processing more than 50Gig, or similar spikes)? Please share your comments on this.
@Gaurav-ln7ln Жыл бұрын
thanks sir
@LearnGoogleCloudwithMahesh Жыл бұрын
Thanks Gaurav
@1navneetsingh2 жыл бұрын
Nice tips ,how to analyse reports here in bq for performance part.
@iamram4362 жыл бұрын
Hi Mahesh, I think we can consider to use the partitioning feature? to have cost optimization.
@LearnGoogleCloudwithMahesh2 жыл бұрын
True
@SPs_Travel_Diaries2 жыл бұрын
But truncate can be done by running the query in BQ which incurs certain charges right?
@LearnGoogleCloudwithMahesh2 жыл бұрын
No it will not incur cost
@satisha13512 жыл бұрын
Hi Mahesh....Do you provide GCP and Devops training too
@SmithaM-qc7bi Жыл бұрын
is it the network cost that is optimized if we create in the same region?